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); |