textinput/peninputarc/inc/peninputlayoutcontrolinc/peninputlayoutbasecontrol.inl
branchRCL_3
changeset 12 5e18d8c489d6
parent 11 c8fb4cf7b3ae
child 20 ebd48d2de13c
equal deleted inserted replaced
11:c8fb4cf7b3ae 12:5e18d8c489d6
   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     }
       
   245  
   218  
   246 
       
   247 // ---------------------------------------------------------------------------
   219 // ---------------------------------------------------------------------------
   248 // get control pointer down status
   220 // get control pointer down status
   249 // ---------------------------------------------------------------------------
   221 // ---------------------------------------------------------------------------
   250 //
   222 //
   251 inline TBool CFepUiBaseCtrl::PointerDown()
   223 inline TBool CFepUiBaseCtrl::PointerDown()
   260 inline void CFepUiBaseCtrl::SetPointerDown(TBool aFlag)
   232 inline void CFepUiBaseCtrl::SetPointerDown(TBool aFlag)
   261     {
   233     {
   262     iPointerDown = aFlag;
   234     iPointerDown = aFlag;
   263     if(!aFlag)
   235     if(!aFlag)
   264         iPointerLeft = EFalse;
   236         iPointerLeft = EFalse;
   265     }
       
   266 // ---------------------------------------------------------------------------
       
   267 // get control background maks bmp
       
   268 // ---------------------------------------------------------------------------
       
   269 //
       
   270 inline CFbsBitmap* CFepUiBaseCtrl::BkMaskBmp()
       
   271     {
       
   272     return iBkMaskBmp;
       
   273     }
   237     }
   274     
   238     
   275 // ---------------------------------------------------------------------------
   239 // ---------------------------------------------------------------------------
   276 // get control background bmp
   240 // get control background bmp
   277 // ---------------------------------------------------------------------------
   241 // ---------------------------------------------------------------------------