equal
deleted
inserted
replaced
356 // (other items were commented in a header). |
356 // (other items were commented in a header). |
357 // --------------------------------------------------------------------------- |
357 // --------------------------------------------------------------------------- |
358 // |
358 // |
359 EXPORT_C void CButtonBase::SetDimmed(TBool aDimFlag) |
359 EXPORT_C void CButtonBase::SetDimmed(TBool aDimFlag) |
360 { |
360 { |
|
361 if(iDimmed == aDimFlag) |
|
362 return; |
361 //Remove its active flag if dim an active button. |
363 //Remove its active flag if dim an active button. |
362 if(aDimFlag && IsActive()) |
364 if(aDimFlag && IsActive()) |
363 SetActive(EFalse); |
365 SetActive(EFalse); |
364 iDimmed = aDimFlag; |
366 iDimmed = aDimFlag; |
365 if(iDimmed) |
367 if(iDimmed) |