textinput/peninputarc/src/peninputlayoutcontrol/peninputuilayout.cpp
branchRCL_3
changeset 22 1bbdde98cc2d
parent 19 5e18d8c489d6
child 43 ebd48d2de13c
equal deleted inserted replaced
19:5e18d8c489d6 22:1bbdde98cc2d
   185         case ECmdPeninputDisableLayoutDrawing:
   185         case ECmdPeninputDisableLayoutDrawing:
   186             {
   186             {
   187             DisableLayoutDrawing(*(reinterpret_cast<TBool*>(aData)));
   187             DisableLayoutDrawing(*(reinterpret_cast<TBool*>(aData)));
   188             }
   188             }
   189             break;
   189             break;
       
   190         case ECmdPeninputEnalbeLayoutReDrawWhenActive:
       
   191             {
       
   192             TBool enableLayoutRedraw = ETrue;
       
   193             TPtrC data(reinterpret_cast<TUint16*>(&enableLayoutRedraw),sizeof(TBool)/2);
       
   194             SignalOwner(ESignalEnableLayoutRedrawWhenActive,data);
       
   195             }
       
   196             break;
   190         default: 
   197         default: 
   191             {
   198             {
   192             ret = -1;
   199             ret = -1;
   193             }	
   200             }	
   194             break;
   201             break;
   478 //         
   485 //         
   479 EXPORT_C void CFepUiLayout::OnDeActivate()
   486 EXPORT_C void CFepUiLayout::OnDeActivate()
   480     {
   487     {
   481     iLayoutReady = EFalse;
   488     iLayoutReady = EFalse;
   482     iRootCtrl->OnDeActivate();
   489     iRootCtrl->OnDeActivate();
       
   490     TBool enableLayoutRedraw = ETrue;
       
   491     TPtrC data(reinterpret_cast<TUint16*>(&enableLayoutRedraw),sizeof(TBool)/2);
       
   492     SignalOwner(ESignalEnableLayoutRedrawWhenActive,data);
   483     }    
   493     }    
   484 // ---------------------------------------------------------------------------
   494 // ---------------------------------------------------------------------------
   485 // CFepUiLayout::SetLayoutPos
   495 // CFepUiLayout::SetLayoutPos
   486 // Set layout position
   496 // Set layout position
   487 // (other items were commented in a header).
   497 // (other items were commented in a header).