idlehomescreen/xmluirendering/renderingplugins/xnclockfactory/src/xndatecontrol.cpp
equal
deleted
inserted
replaced
36 |
36 |
37 // Constants |
37 // Constants |
38 const TInt KMaxDateStringLength = 100; |
38 const TInt KMaxDateStringLength = 100; |
39 const TInt KMaxDayNumberStringLength = 10; |
39 const TInt KMaxDayNumberStringLength = 10; |
40 |
40 |
41 _LIT( KDateFont, "EAknLogicalFontSecondaryFont" ); |
|
42 _LIT( KTimeFormat, "%0U %1U" ); |
41 _LIT( KTimeFormat, "%0U %1U" ); |
43 |
42 |
44 |
43 |
45 // ============================ MEMBER FUNCTIONS =============================== |
44 // ============================ MEMBER FUNCTIONS =============================== |
46 |
45 |
208 // |
207 // |
209 const CAknLayoutFont* CXnDateControl::CreateFontL( CXnNodePluginIf& aNode ) |
208 const CAknLayoutFont* CXnDateControl::CreateFontL( CXnNodePluginIf& aNode ) |
210 { |
209 { |
211 if ( !iDateFont ) |
210 if ( !iDateFont ) |
212 { |
211 { |
213 iAdapter.CreateFontL( aNode, KDateFont, iDateFont ); |
212 iAdapter.CreateFontL( aNode, iDateFont ); |
214 } |
213 } |
215 return CAknLayoutFont::AsCAknLayoutFontOrNull( iDateFont ); |
214 return CAknLayoutFont::AsCAknLayoutFontOrNull( iDateFont ); |
216 } |
215 } |
217 |
216 |
218 // ----------------------------------------------------------------------------- |
217 // ----------------------------------------------------------------------------- |