equal
deleted
inserted
replaced
33 public: |
33 public: |
34 /** |
34 /** |
35 * Two-phased constructor. |
35 * Two-phased constructor. |
36 * |
36 * |
37 * @param aBitmapId |
37 * @param aBitmapId |
|
38 * @param aParent parent control |
38 * @param aScaleMode |
39 * @param aScaleMode |
39 * @return Pointer to created and initialized mr image object. |
40 * @return Pointer to created and initialized mr image object. |
40 */ |
41 */ |
41 IMPORT_C static CMRImage* NewL( |
42 IMPORT_C static CMRImage* NewL( |
42 NMRBitmapManager::TMRBitmapId aBitmapId, |
43 NMRBitmapManager::TMRBitmapId aBitmapId, |
|
44 const CCoeControl* aParent = NULL, |
43 TBool aIsMaskIcon = EFalse, |
45 TBool aIsMaskIcon = EFalse, |
44 TScaleMode aScaleMode = EAspectRatioPreserved |
46 TScaleMode aScaleMode = EAspectRatioPreserved |
45 ); |
47 ); |
46 |
48 |
47 /** |
49 /** |
54 private: |
56 private: |
55 /** |
57 /** |
56 * C++ default constructor |
58 * C++ default constructor |
57 */ |
59 */ |
58 CMRImage( TScaleMode aScaleMode ); |
60 CMRImage( TScaleMode aScaleMode ); |
59 void ConstructL( NMRBitmapManager::TMRBitmapId aBitmapId, TBool aIsMaskIcon ); |
61 void ConstructL( |
|
62 NMRBitmapManager::TMRBitmapId aBitmapId, |
|
63 const CCoeControl* aParent, |
|
64 TBool aIsMaskIcon ); |
60 void CreateIconL( NMRBitmapManager::TMRBitmapId aBitmapId ); |
65 void CreateIconL( NMRBitmapManager::TMRBitmapId aBitmapId ); |
61 void CreateMaskIconL( NMRBitmapManager::TMRBitmapId aBitmapId ); |
66 void CreateMaskIconL( NMRBitmapManager::TMRBitmapId aBitmapId ); |
62 |
67 |
63 private: |
68 private: |
64 TScaleMode iScaleMode; |
69 TScaleMode iScaleMode; |