92 TInt aBottomItemBitmapId, |
92 TInt aBottomItemBitmapId, |
93 TInt aBottomItemMaskId |
93 TInt aBottomItemMaskId |
94 ); |
94 ); |
95 |
95 |
96 |
96 |
|
97 /** |
|
98 * Creates a new bitmap based on the given source bitmap. New bitmap |
|
99 * will be rotated 90 degrees agains clock direction if wanted. |
|
100 * |
|
101 * @since 2.6 |
|
102 * @param aSourceBitmap Bitmap which content is copied to new bitmap |
|
103 * @param aRotated If ETrue the source bitmap data is rotated |
|
104 * 90 degrees. |
|
105 * @return a pointer to a new bitmap. |
|
106 * |
|
107 */ |
|
108 CFbsBitmap* CreateBitmapL(CFbsBitmap* aSourceBitmap, TBool aRotated); |
|
109 |
|
110 /** |
|
111 * Creates a new bitmap and a mask based on the given skin item id. |
|
112 * New bitmap will be rotated 90 degrees agains clock direction if wanted. |
|
113 * |
|
114 * @since 2.6 |
|
115 * @param aID Skin item id for the bitmap and mask. |
|
116 * @param aBitmap When this method returns this will contain a poiter |
|
117 * to a new bitmap. |
|
118 * @param aMask When this method returns this will contain a poiter |
|
119 * to a new mask bitmap. |
|
120 * @param aRotated If ETrue the skin source bitmap data is rotated |
|
121 * 90 degrees. |
|
122 * |
|
123 */ |
|
124 void CreateSkinnedBitmapAndMaskL(MAknsSkinInstance* aInstance, |
|
125 const TAknsItemID& aID, |
|
126 CFbsBitmap*& aBitmap, |
|
127 CFbsBitmap*& aMask, |
|
128 TBool aRotated); |
|
129 |
|
130 |
97 public: // data |
131 public: // data |
98 TAknsItemID iTopId; |
132 TAknsItemID iTopId; |
99 TAknsItemID iMidId; |
133 TAknsItemID iMidId; |
100 TAknsItemID iBottomId; |
134 TAknsItemID iBottomId; |
|
135 |
|
136 CFbsBitmap* iTop; |
|
137 CFbsBitmap* iTopMask; |
|
138 CFbsBitmap* iMiddle; |
|
139 CFbsBitmap* iMiddleMask; |
|
140 CFbsBitmap* iBottom; |
|
141 CFbsBitmap* iBottomMask; |
101 TSize iItemSize; |
142 TSize iItemSize; |
|
143 |
102 }; |
144 }; |
103 |
145 |
104 #endif |
146 #endif |