uiacceltk/hitchcock/ServerCore/Src/alfhierarchymodel.cpp
branchRCL_3
changeset 17 3ac8bf5c5014
parent 11 46927d61fef3
child 24 f93c875b566e
--- a/uiacceltk/hitchcock/ServerCore/Src/alfhierarchymodel.cpp	Wed Apr 14 16:53:50 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Src/alfhierarchymodel.cpp	Tue Apr 27 17:34:42 2010 +0300
@@ -185,10 +185,10 @@
 // RequestFrameEndCallback
 // ---------------------------------------------------------------------------
 //
-void CAlfHierarchyModel::RequestFrameEndCallback( )
+void CAlfHierarchyModel::RequestFrameEndCallback(TBool aCompositionModified)
     {
-    __ALFLOGSTRING( "CAlfHierarchyModel::RequestFrameEndCallback" );
-    iServer.Bridge()->StartNewBlock();
+    __ALFLOGSTRING1( "CAlfHierarchyModel::RequestFrameEndCallback, composition modified: %d", aCompositionModified);
+    iServer.Bridge()->StartNewBlock(aCompositionModified);
     }
 // ---------------------------------------------------------------------------
 // HandleMessageL
@@ -216,7 +216,7 @@
             {
             if ( iChunk.Handle() )
                 {
-                ExecuteCommandsL();
+                ExecuteCommandsL(aMessage.Int1());
                 if ( iBatchAlreadyCommited )
                     {
                     // This may happen, if alfstreamerbridge happens to process the commands (containing the EAlfCommitBatch) 
@@ -398,7 +398,7 @@
 // ExecuteCommandsL
 // ---------------------------------------------------------------------------
 //
-void CAlfHierarchyModel::ExecuteCommandsL(  )
+void CAlfHierarchyModel::ExecuteCommandsL( TBool aCompositionModified )
     {
     if ( !iStream )
         {
@@ -564,7 +564,7 @@
                 
             case EAlfCommitBatch:
                 {
-                RequestFrameEndCallback();
+                RequestFrameEndCallback(aCompositionModified);
                 break;
                 }
 #ifdef ALF_DEBUG_TRACK_DRAWING              
@@ -1097,6 +1097,9 @@
         {
         // SetLayerUsesAplhaFlag is not supported for image visual
         node->Window()->SetLayerUsesAplhaFlag( enabled );
+#ifdef SYMBIAN_GRAPHICS_WSERV_QT_EFFECTS        
+        node->Window()->SetTransparencyAlphaChannel( enabled );
+#endif // #ifdef SYMBIAN_GRAPHICS_WSERV_QT_EFFECTS        
         }
     else if( node ) // this would mean that node has being orphaneded but not yet deleted
         {