textinput/peninputarc/inc/peninputlayoutcontrolinc/peninputlayoutbasecontrol.inl
branchRCL_3
changeset 20 ebd48d2de13c
parent 12 5e18d8c489d6
child 21 ecbabf52600f
equal deleted inserted replaced
19:ac7e4d1d9209 20:ebd48d2de13c
   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 // ---------------------------------------------------------------------------
   374 // get tactile feedback type
   410 // get tactile feedback type
   375 // ---------------------------------------------------------------------------
   411 // ---------------------------------------------------------------------------
   376 //
   412 //
   377 inline TInt CFepUiBaseCtrl::TactileFeedbackType() const
   413 inline TInt CFepUiBaseCtrl::TactileFeedbackType() const
   378     {
   414     {
   379     return iExtension->TactileFeedbackType();	
   415     return reinterpret_cast<CFepUiBaseCtrlExtension*>(iReservered1)->TactileFeedbackType();	
   380     }
   416     }
   381 //end of file
   417 //end of file