uiacceltk/hitchcock/ServerCore/Inc/alfwindowdata.h
changeset 0 15bf7259bb7c
child 6 10534483575f
equal deleted inserted replaced
-1:000000000000 0:15bf7259bb7c
       
     1 /*
       
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef ALFWINDOWDATA_H_
       
    20 #define ALFWINDOWDATA_H_
       
    21 
       
    22 // ---------------------------------------------------------------------------
       
    23 // TAlfWindowData declaration
       
    24 // ---------------------------------------------------------------------------
       
    25 //
       
    26 class TAlfWindowData
       
    27     {
       
    28     
       
    29     public:
       
    30         enum TFlags
       
    31         {
       
    32         EShouldInactivate = 0x01,
       
    33         EShouldDestroy = 0x20
       
    34         };
       
    35 
       
    36 
       
    37     CAlfWindowManager* iWindowManager;
       
    38     TPoint iPosition;
       
    39     TSize iSize;
       
    40     TReal32 iOpacity;
       
    41     TReal32 iRotation;
       
    42     TRect iSurfaceExtent;
       
    43     TBool iLayerUsesAlphaFlagEnabled;
       
    44     TUint iIdentifier;
       
    45     TUint iIndex;
       
    46     CAlfWindowBuffer* iInBuffer;
       
    47     CAlfWindowBuffer* iOutBuffer;
       
    48     TAlfWServInfo iOriginalInfo;
       
    49     TBool iHasPlugin; // plugin that has reserved the window for painting
       
    50     CFbsBitmapDevice* iBufferDev;
       
    51     CFbsBitGc* iBufferGc;
       
    52     TBool iIsActive;
       
    53     TBool iIsInScene;
       
    54     // was not set inactive because was reserved,
       
    55     // should be set inactive as soon as is reserved.
       
    56     TInt iFlags;
       
    57     };
       
    58 
       
    59 
       
    60 #endif /* ALFWINDOWDATA_H_ */