diff -r ecbabf52600f -r bd83ceabce89 textinput/peninputarc/src/peninputserverapp/peninputserver.cpp --- a/textinput/peninputarc/src/peninputserverapp/peninputserver.cpp Wed Sep 01 12:23:33 2010 +0100 +++ b/textinput/peninputarc/src/peninputserverapp/peninputserver.cpp Tue Sep 14 21:59:06 2010 +0300 @@ -863,7 +863,17 @@ //message requests UI attribute is always handled. switch(aMessage.Function()) { - + case EPeninputRequestEnableGfxTransEffect: + { + if( iUseWindowCtrl && iPenUiCtrl ) + { + TBool enable = EFalse; + TPckg msg( enable ); + aMessage.ReadL( 0,msg ); + iPenUiCtrl->EnableGfxTransEffect( enable ); + } + } + break; case EPeninputRequestUiIsVisible: { TPckg msg(iActive); @@ -2015,7 +2025,11 @@ iIsLayoutReDrawAllowWhenActive = *retVal; } break; - + case ESignalUpdatePointerSuppressor: + { + UpdatePointerEventSuppressor( aEventData ); + } + break; default: if(iUseWindowCtrl) { @@ -3031,6 +3045,21 @@ iDiscreetPopArea = iAknUiSrv.GetInUseGlobalDiscreetPopupRect(); iAnimObj->SetDiscreetPopArea(iDiscreetPopArea); } + +// --------------------------------------------------------------------------- +// CPeninputServer::UpdatePointerEventSuppressor() +// Update parameters of pointer event suppressor. +// --------------------------------------------------------------------------- +// +void CPeninputServer::UpdatePointerEventSuppressor( const TDesC& aData ) + { + TUint16* buf = const_cast( aData.Ptr() ); + TPointerEventSuppressorParameters* parameters = + reinterpret_cast ( buf ); + + iAnimObj->UpdatePointerEventSuppressor( *parameters ); + } + // ======== class CEventQueue======== // // ---------------------------------------------------------------------------