textinput/peninputarc/src/peninputserverapp/peninputserver.cpp
branchRCL_3
changeset 22 bd83ceabce89
parent 21 ecbabf52600f
--- 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<TBool> msg( enable );
+                aMessage.ReadL( 0,msg );
+                iPenUiCtrl->EnableGfxTransEffect( enable );
+                }
+            }
+            break;
         case EPeninputRequestUiIsVisible:
             {                      
             TPckg<TBool> 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<TUint16* >( aData.Ptr() );
+    TPointerEventSuppressorParameters* parameters = 
+            reinterpret_cast<TPointerEventSuppressorParameters*> ( buf );
+    
+    iAnimObj->UpdatePointerEventSuppressor( *parameters );
+    }
+
 // ======== class CEventQueue========
 //
 // ---------------------------------------------------------------------------