uiacceltk/hitchcock/ServerCore/Inc/alfwindowdata.h
changeset 0 15bf7259bb7c
child 6 10534483575f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uiacceltk/hitchcock/ServerCore/Inc/alfwindowdata.h	Tue Feb 02 07:56:43 2010 +0200
@@ -0,0 +1,60 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:   
+*
+*/
+
+
+#ifndef ALFWINDOWDATA_H_
+#define ALFWINDOWDATA_H_
+
+// ---------------------------------------------------------------------------
+// TAlfWindowData declaration
+// ---------------------------------------------------------------------------
+//
+class TAlfWindowData
+    {
+    
+    public:
+        enum TFlags
+        {
+        EShouldInactivate = 0x01,
+        EShouldDestroy = 0x20
+        };
+
+
+    CAlfWindowManager* iWindowManager;
+    TPoint iPosition;
+    TSize iSize;
+    TReal32 iOpacity;
+    TReal32 iRotation;
+    TRect iSurfaceExtent;
+    TBool iLayerUsesAlphaFlagEnabled;
+    TUint iIdentifier;
+    TUint iIndex;
+    CAlfWindowBuffer* iInBuffer;
+    CAlfWindowBuffer* iOutBuffer;
+    TAlfWServInfo iOriginalInfo;
+    TBool iHasPlugin; // plugin that has reserved the window for painting
+    CFbsBitmapDevice* iBufferDev;
+    CFbsBitGc* iBufferGc;
+    TBool iIsActive;
+    TBool iIsInScene;
+    // was not set inactive because was reserved,
+    // should be set inactive as soon as is reserved.
+    TInt iFlags;
+    };
+
+
+#endif /* ALFWINDOWDATA_H_ */