equal
deleted
inserted
replaced
241 } |
241 } |
242 else |
242 else |
243 { |
243 { |
244 iInitialised = EFalse; |
244 iInitialised = EFalse; |
245 } |
245 } |
|
246 |
246 // Text colour from skin |
247 // Text colour from skin |
247 iEditor->SetSkinTextColorL(EAknsCIQsnTextColorsCG8); |
248 iEditor->SetSkinTextColorL(EAknsCIQsnTextColorsCG6); |
248 } |
249 } |
249 |
250 |
250 void CMIDDateFieldItem::SetInitialized(TInt aSetCurrentTime /* = ETrue */) |
251 void CMIDDateFieldItem::SetInitialized(TInt aSetCurrentTime /* = ETrue */) |
251 { |
252 { |
252 iInitialised = ETrue; |
253 iInitialised = ETrue; |
811 |
812 |
812 void CMIDDateFieldItem::FocusChanged(TDrawNow aDrawNow) |
813 void CMIDDateFieldItem::FocusChanged(TDrawNow aDrawNow) |
813 { |
814 { |
814 TBool focus = IsFocused(); |
815 TBool focus = IsFocused(); |
815 |
816 |
816 |
|
817 iEditor->SetFocus(focus); |
817 iEditor->SetFocus(focus); |
818 if (focus) |
818 if (focus) |
819 { |
819 { |
|
820 // Text colour from skin - focused |
|
821 iEditor->SetSkinTextColorL(EAknsCIQsnTextColorsCG8); |
820 TRAP_IGNORE(iUIManager->OpenNaviPaneControllerL()->PauseTickerL( |
822 TRAP_IGNORE(iUIManager->OpenNaviPaneControllerL()->PauseTickerL( |
821 TICKER_PAUSE_INTERVAL, this)); |
823 TICKER_PAUSE_INTERVAL, this)); |
822 } |
824 } |
823 else |
825 else |
824 { |
826 { |
|
827 // Text colour from skin - unfocused |
|
828 iEditor->SetSkinTextColorL(EAknsCIQsnTextColorsCG6); |
825 TRAP_IGNORE(iUIManager->OpenNaviPaneControllerL()->PauseTickerL( |
829 TRAP_IGNORE(iUIManager->OpenNaviPaneControllerL()->PauseTickerL( |
826 0, this)); |
830 0, this)); |
827 #ifdef RD_SCALABLE_UI_V2 |
831 #ifdef RD_SCALABLE_UI_V2 |
828 iGrabbingControl = NULL; |
832 iGrabbingControl = NULL; |
829 #endif |
833 #endif |