equal
deleted
inserted
replaced
676 // The appearance mode is the EPlain. |
676 // The appearance mode is the EPlain. |
677 DEBUG("CMIDStringItem::SetColorL - EPlain"); |
677 DEBUG("CMIDStringItem::SetColorL - EPlain"); |
678 // Same color - no matter if focused or not |
678 // Same color - no matter if focused or not |
679 AknsUtils::GetCachedColor( |
679 AknsUtils::GetCachedColor( |
680 AknsUtils::SkinInstance(), color, |
680 AknsUtils::SkinInstance(), color, |
681 KAknsIIDQsnTextColors, EAknsCIQsnTextColorsCG8); |
681 KAknsIIDQsnTextColors, EAknsCIQsnTextColorsCG6); |
682 labelColor = color; |
682 labelColor = color; |
683 contentColor = color; |
683 contentColor = color; |
684 } |
684 } |
685 else |
685 else |
686 { |
686 { |
715 else |
715 else |
716 { |
716 { |
717 // Item is not focused |
717 // Item is not focused |
718 AknsUtils::GetCachedColor( |
718 AknsUtils::GetCachedColor( |
719 AknsUtils::SkinInstance(), labelColor, |
719 AknsUtils::SkinInstance(), labelColor, |
720 KAknsIIDQsnTextColors, EAknsCIQsnTextColorsCG8); |
720 KAknsIIDQsnTextColors, EAknsCIQsnTextColorsCG6); |
721 AknsUtils::GetCachedColor( |
721 AknsUtils::GetCachedColor( |
722 AknsUtils::SkinInstance(), contentColor, |
722 AknsUtils::SkinInstance(), contentColor, |
723 KAknsIIDQsnHighlightColors, EAknsCIQsnHighlightColorsCG3); |
723 KAknsIIDQsnHighlightColors, EAknsCIQsnHighlightColorsCG3); |
724 } |
724 } |
725 |
725 |
741 if (RenderedAppearance() == MMIDItem::EButton) |
741 if (RenderedAppearance() == MMIDItem::EButton) |
742 { |
742 { |
743 if (iButton) |
743 if (iButton) |
744 { |
744 { |
745 iButton->SetTextColorIds( |
745 iButton->SetTextColorIds( |
746 KAknsIIDQsnTextColors, EAknsCIQsnTextColorsCG8); |
746 KAknsIIDQsnTextColors, EAknsCIQsnTextColorsCG6); |
747 } |
747 } |
748 } |
748 } |
749 |
749 |
750 DEBUG("CMIDStringItem::SetColorL - end"); |
750 DEBUG("CMIDStringItem::SetColorL - end"); |
751 } |
751 } |