First public contribution.
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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
19 @internalComponent - Internal Symbian test code
28 #include <graphics/sgimagecollection.h>
29 #include <graphics/surfaceupdateclient.h>
32 * This class uses a RSgImage for drawing. The surface Id of the RSgImageCollection is used
33 * by the SurfaceUpdateManager to draw the surface to the screen.
36 class CTFlowWindow : public CTWindow
39 virtual ~CTFlowWindow();
40 static CTWindow* NewL(RWsSession &aWs, const RWindowTreeNode &aParent,
41 const TPoint& aStartingPoint, const TSize& aWindowSize);
43 virtual void LoadL(CSurfaceUtility* aUtility, TPtrC aFileName);
44 virtual void RenderL();
47 CTFlowWindow(const TPoint& aStartingPoint, const TSize& aWindowSize);
48 void ConstructL(RWsSession &aWs, const RWindowTreeNode &aParent);
51 RSgImageCollection iImageCollection;
53 TSgImageInfo iImageInfo;
54 RSurfaceUpdateSession iUpdateSession;
57 #endif /*TFLOWINDOW_H*/