Update contrib.
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
22 #ifndef TSMALLWINDOWRASTER_H
23 #define TSMALLWINDOWRASTER_H
33 class CTSmallWindowRaster : public CTWindow
36 virtual ~CTSmallWindowRaster();
38 static CTWindow* NewL(RWsSession &aWs,
39 const RWindowTreeNode &aParent,
40 const TPoint& aStartingPoint,
41 const TSize& aWindowSize);
43 virtual void LoadL(CSurfaceUtility* aUtility, TPtrC aFileName);
44 virtual void RenderL();
47 CTSmallWindowRaster(const TPoint& aStartingPoint, const TSize& aWindowSize);
48 void ConstructL(RWsSession &aWs, const RWindowTreeNode &aParent);
49 void DrawBitmap(TRect& aDestRect);
55 CWsScreenDevice* iScreenDev;
59 CFbsBitmap* iSourceBitmap;
62 #endif // TSMALLWINDOWRASTER_H