|
1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @test |
|
19 @internalComponent - Internal Symbian test code |
|
20 */ |
|
21 |
|
22 #ifndef TFLOWWINDOWOPENVG_H |
|
23 #define TFLOWWINDOWOPENVG_H |
|
24 |
|
25 #include "twindow.h" |
|
26 #include "eglrendering.h" |
|
27 |
|
28 #include <e32std.h> |
|
29 #include <e32base.h> |
|
30 |
|
31 |
|
32 /** |
|
33 * Renders and draws OpenVG scenes to the screen. |
|
34 * |
|
35 */ |
|
36 class CTFlowWindowOpenVG : public CTWindow |
|
37 { |
|
38 public: |
|
39 virtual ~CTFlowWindowOpenVG(); |
|
40 static CTWindow* NewL(RWsSession &aWs, |
|
41 const RWindowTreeNode &aParent, |
|
42 const TPoint& aStartingPoint, |
|
43 const TSize& aWindowSize); |
|
44 |
|
45 virtual void RenderL(); |
|
46 |
|
47 protected: |
|
48 CTFlowWindowOpenVG(const TPoint& aStartingPoint, const TSize& aWindowSize); |
|
49 void ConstructL(RWsSession &aWs, const RWindowTreeNode &aParent); |
|
50 |
|
51 private: |
|
52 CEGLRendering* iVGRendering; |
|
53 TInt iInterleaveCounter; |
|
54 }; |
|
55 |
|
56 #endif // TFLOWWINDOWOPENVG_H |