uiacceltk/hitchcock/AlfRenderStage/inc/alfrenderstage.h
changeset 13 8f67d927ea57
parent 0 15bf7259bb7c
equal deleted inserted replaced
0:15bf7259bb7c 13:8f67d927ea57
     1 /*
     1 /*
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2006-2008 Nokia Corporation and/or its subsidiary(-ies). 
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    18 
    18 
    19 
    19 
    20 #ifndef __ALFRENDERSTAGE_H__
    20 #ifndef __ALFRENDERSTAGE_H__
    21 #define __ALFRENDERSTAGE_H__
    21 #define __ALFRENDERSTAGE_H__
    22 
    22 
       
    23 #define AMT_CONTROL() static_cast<CAlfModuleTestDataControl*>(Dll::Tls())
       
    24 #include "alfmoduletest.h"
       
    25 
    23 #include <graphics/wsrenderstage.h>
    26 #include <graphics/wsrenderstage.h>
    24 #include <graphics/wscursor.h>
    27 #include <graphics/wscursor.h>
    25 #include "alfrsgc.h"
    28 #include "alfrsgc.h"
    26 #include <alfhintapi.h>
    29 #include <alfhintapi.h>
    27 
    30 
    53     public CWsRenderStage, 
    56     public CWsRenderStage, 
    54     public MWsEventHandler,
    57     public MWsEventHandler,
    55     public MWsTextCursor,
    58     public MWsTextCursor,
    56     public MAlfCompositionAgnosticWindowTreeObserver,
    59     public MAlfCompositionAgnosticWindowTreeObserver,
    57     public MAlfHintObserver,
    60     public MAlfHintObserver,
    58     public MWsDrawAnnotationObserver
    61     public MWsDrawAnnotationObserver,
       
    62     public MAlfSynchronizationInterface
    59         {
    63         {
    60 public:
    64 public:
    61 
    65 
    62     /**
    66     /**
    63      * NewL
    67      * NewL
   144 	void MovedToWindowGroup(const MWsWindowTreeNode& aWindowTreeNode, const MWsWindowTreeNode& aNewWindowGroupNode);
   148 	void MovedToWindowGroup(const MWsWindowTreeNode& aWindowTreeNode, const MWsWindowTreeNode& aNewWindowGroupNode);
   145 	void WindowGroupChained(const MWsWindowTreeNode& aParent, const MWsWindowTreeNode& aChild);
   149 	void WindowGroupChained(const MWsWindowTreeNode& aParent, const MWsWindowTreeNode& aChild);
   146 	void WindowGroupChainBrokenAfter(const MWsWindowTreeNode& aWindowGroupNode);
   150 	void WindowGroupChainBrokenAfter(const MWsWindowTreeNode& aWindowGroupNode);
   147 	void FadeAllChildren(const MWsWindowTreeNode& aWindowTreeNode, TBool aFaded);
   151 	void FadeAllChildren(const MWsWindowTreeNode& aWindowTreeNode, TBool aFaded);
   148 	
   152 	
       
   153 public: // from MAlfSynchronizationInterface
       
   154     	
       
   155 	TInt Synchronize(TInt& aId);
       
   156 	
   149 public: // from MWsDrawAnnotationObserver
   157 public: // from MWsDrawAnnotationObserver
   150 	void WindowRedrawStart(const MWsWindowTreeNode& aWindowTreeNode, const TRegion& aRegion);
   158 	void WindowRedrawStart(const MWsWindowTreeNode& aWindowTreeNode, const TRegion& aRegion);
   151 	void WindowRedrawEnd(const MWsWindowTreeNode& aWindowTreeNode);
   159 	void WindowRedrawEnd(const MWsWindowTreeNode& aWindowTreeNode);
   152 	void WindowAnimRedrawStart(const MWsWindowTreeNode& aWindowTreeNode, const TRegion& aRegion);
   160 	void WindowAnimRedrawStart(const MWsWindowTreeNode& aWindowTreeNode, const TRegion& aRegion);
   153 	void WindowAnimRedrawEnd(const MWsWindowTreeNode& aWindowTreeNode);
   161 	void WindowAnimRedrawEnd(const MWsWindowTreeNode& aWindowTreeNode);
   293         // Sprite flash set with EFalse parameter
   301         // Sprite flash set with EFalse parameter
   294         ESpriteFlashOff
   302         ESpriteFlashOff
   295         };
   303         };
   296     // Sprite flash setting for iSpriteRedraw
   304     // Sprite flash setting for iSpriteRedraw
   297     TSpriteFlash iSpriteRedrawFlash;
   305     TSpriteFlash iSpriteRedrawFlash;
   298     
   306 
       
   307     // Synchronization identifier.
       
   308     TInt iSyncId;
   299 	};
   309 	};
   300 
   310 
   301 #endif //__ALFRENDERSTAGE_H__
   311 #endif //__ALFRENDERSTAGE_H__