equal
deleted
inserted
replaced
675 |
675 |
676 void CMIDTextFieldItem::UpdateTextColorsL() |
676 void CMIDTextFieldItem::UpdateTextColorsL() |
677 { |
677 { |
678 if (iTextField) |
678 if (iTextField) |
679 { |
679 { |
680 // Set color for content text according to item highlight |
|
681 // (logical color constants are defined in lcdui.h) |
|
682 if (iHighlighted) |
680 if (iHighlighted) |
683 { |
681 { |
684 // Text colour from skin - highlighted |
682 // Text colour from skin - highlighted |
685 iTextField->SetTextSkinColorIdL(KHighlightedItemTextColor); |
683 iTextField->SetTextSkinColorIdL(EAknsCIQsnTextColorsCG8); |
686 } |
684 } |
687 else |
685 else |
688 { |
686 { |
689 // Text colour from skin - unfocused |
687 // Text colour from skin - unfocused |
690 iTextField->SetTextSkinColorIdL(KNonHighlightedItemTextColor); |
688 iTextField->SetTextSkinColorIdL(EAknsCIQsnTextColorsCG6); |
691 } |
689 } |
692 } |
690 } |
693 } |
691 } |