equal
deleted
inserted
replaced
32 public: // public API |
32 public: // public API |
33 IMPORT_C static CCalenExtraRowFormatter* NewL(); |
33 IMPORT_C static CCalenExtraRowFormatter* NewL(); |
34 |
34 |
35 IMPORT_C virtual ~CCalenExtraRowFormatter(); |
35 IMPORT_C virtual ~CCalenExtraRowFormatter(); |
36 |
36 |
37 IMPORT_C TPtrC FormatExtraRowInformationL( CCalenLunarLocalizedInfo& aLocInfo, |
37 IMPORT_C TPtrC FormatExtraRowInformationL( |
38 RArray<CCalenLunarLocalizedInfo::TField>& aPrioritizedFields, |
38 CCalenLunarLocalizedInfo& aLocInfo, |
39 TInt aMaxWidth, |
39 RArray<CCalenLunarLocalizedInfo::TField>& aPrioritizedFields |
40 const CFont& aFont |
40 ); |
41 |
|
42 , TBool aTwoLines |
|
43 |
|
44 ); |
|
45 |
|
46 private: |
|
47 TBool TryToFitL( const TDesC& aStr, TInt aMaxWidth, const CFont& aFont |
|
48 |
|
49 , TBool aTwoLines |
|
50 |
|
51 ); |
|
52 |
|
53 |
41 |
54 private: // own methods |
42 private: // own methods |
55 CCalenExtraRowFormatter(); |
43 CCalenExtraRowFormatter(); |
56 |
44 |
57 void ConstructL(); |
45 void ConstructL(); |