213 // |
213 // |
214 inline CFepUiLayoutRootCtrl* CFepUiBaseCtrl::RootControl() |
214 inline CFepUiLayoutRootCtrl* CFepUiBaseCtrl::RootControl() |
215 { |
215 { |
216 return iRootCtrl; |
216 return iRootCtrl; |
217 } |
217 } |
|
218 |
|
219 // --------------------------------------------------------------------------- |
|
220 // get graphics context for sprite or window |
|
221 // --------------------------------------------------------------------------- |
|
222 // |
|
223 inline CBitmapContext* CFepUiBaseCtrl::BitGc() |
|
224 { |
|
225 return iLayoutOwner->BitmapContext(); |
|
226 } |
|
227 |
|
228 // --------------------------------------------------------------------------- |
|
229 // get Bitmap device for sprite or window |
|
230 // --------------------------------------------------------------------------- |
|
231 // |
|
232 inline CFbsBitmapDevice* CFepUiBaseCtrl::BitmapDevice() |
|
233 { |
|
234 return iLayoutOwner->BitmapDevice(); |
|
235 } |
|
236 |
|
237 // --------------------------------------------------------------------------- |
|
238 // get Mask bitmap device for sprite or window |
|
239 // --------------------------------------------------------------------------- |
|
240 // |
|
241 inline CFbsBitmapDevice* CFepUiBaseCtrl::MaskBitmapDevice() |
|
242 { |
|
243 return iLayoutOwner->MaskBmpDevice(); |
|
244 } |
218 |
245 |
|
246 |
219 // --------------------------------------------------------------------------- |
247 // --------------------------------------------------------------------------- |
220 // get control pointer down status |
248 // get control pointer down status |
221 // --------------------------------------------------------------------------- |
249 // --------------------------------------------------------------------------- |
222 // |
250 // |
223 inline TBool CFepUiBaseCtrl::PointerDown() |
251 inline TBool CFepUiBaseCtrl::PointerDown() |
232 inline void CFepUiBaseCtrl::SetPointerDown(TBool aFlag) |
260 inline void CFepUiBaseCtrl::SetPointerDown(TBool aFlag) |
233 { |
261 { |
234 iPointerDown = aFlag; |
262 iPointerDown = aFlag; |
235 if(!aFlag) |
263 if(!aFlag) |
236 iPointerLeft = EFalse; |
264 iPointerLeft = EFalse; |
|
265 } |
|
266 // --------------------------------------------------------------------------- |
|
267 // get control background maks bmp |
|
268 // --------------------------------------------------------------------------- |
|
269 // |
|
270 inline CFbsBitmap* CFepUiBaseCtrl::BkMaskBmp() |
|
271 { |
|
272 return iBkMaskBmp; |
237 } |
273 } |
238 |
274 |
239 // --------------------------------------------------------------------------- |
275 // --------------------------------------------------------------------------- |
240 // get control background bmp |
276 // get control background bmp |
241 // --------------------------------------------------------------------------- |
277 // --------------------------------------------------------------------------- |