sl@0: // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // e32\include\winsdef.h sl@0: // sl@0: // WARNING: This file contains some APIs which are internal and are subject sl@0: // to change without notice. Such APIs should therefore not be used sl@0: // outside the Kernel and Hardware Services package. sl@0: // sl@0: sl@0: /** sl@0: @file sl@0: @internalAll sl@0: */ sl@0: sl@0: #ifndef __WINSDEF_H__ sl@0: #define __WINSDEF_H__ sl@0: sl@0: #include sl@0: sl@0: sl@0: // flip the emulator window sl@0: sl@0: enum TEmulatorFlip {EEmulatorFlipRestore,EEmulatorFlipInvert,EEmulatorFlipLeft,EEmulatorFlipRight}; sl@0: sl@0: // emulator multiple color depth capabilities sl@0: sl@0: enum sl@0: { sl@0: KEmulGray2= 0x00000001, sl@0: KEmulGray4= 0x00000002, sl@0: KEmulGray16= 0x00000004, sl@0: KEmulGray256= 0x00000008, sl@0: KEmulColor16= 0x00000010, sl@0: KEmulColor256= 0x00000020, sl@0: KEmulColor4K= 0x00000040, sl@0: KEmulColor64K= 0x00000080, sl@0: KEmulColor16M= 0x00000100, sl@0: sl@0: KEmulMaxNumModes= 30, //Setting this to max bit index (9) will save a few bytes... sl@0: sl@0: KEmulIsBitMask= 0x40000000, sl@0: sl@0: KEmulColours= KEmulColor16|KEmulColor256|KEmulColor4K|KEmulColor64K|KEmulColor16M, sl@0: KEmulGrays= KEmulGray2|KEmulGray4|KEmulGray16|KEmulGray256, sl@0: KEmulModes= KEmulColours|KEmulGrays, sl@0: sl@0: KEmulPixPerLong32= KEmulGray2, sl@0: KEmulPixPerLong16= KEmulGray4, sl@0: KEmulPixPerLong8= KEmulGray16|KEmulColor16, sl@0: KEmulPixPerLong4= KEmulGray256|KEmulColor256, sl@0: KEmulPixPerLong2= KEmulColor4K|KEmulColor64K, sl@0: KEmulPixPerLong1= KEmulColor16M, sl@0: }; sl@0: sl@0: #endif sl@0: sl@0: