|
1 // Copyright (c) 1998-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 the License "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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // e32\include\winsdef.h |
|
15 // |
|
16 // WARNING: This file contains some APIs which are internal and are subject |
|
17 // to change without notice. Such APIs should therefore not be used |
|
18 // outside the Kernel and Hardware Services package. |
|
19 // |
|
20 |
|
21 /** |
|
22 @file |
|
23 @internalAll |
|
24 */ |
|
25 |
|
26 #ifndef __WINSDEF_H__ |
|
27 #define __WINSDEF_H__ |
|
28 |
|
29 #include <e32def.h> |
|
30 |
|
31 |
|
32 // flip the emulator window |
|
33 |
|
34 enum TEmulatorFlip {EEmulatorFlipRestore,EEmulatorFlipInvert,EEmulatorFlipLeft,EEmulatorFlipRight}; |
|
35 |
|
36 // emulator multiple color depth capabilities |
|
37 |
|
38 enum |
|
39 { |
|
40 KEmulGray2= 0x00000001, |
|
41 KEmulGray4= 0x00000002, |
|
42 KEmulGray16= 0x00000004, |
|
43 KEmulGray256= 0x00000008, |
|
44 KEmulColor16= 0x00000010, |
|
45 KEmulColor256= 0x00000020, |
|
46 KEmulColor4K= 0x00000040, |
|
47 KEmulColor64K= 0x00000080, |
|
48 KEmulColor16M= 0x00000100, |
|
49 |
|
50 KEmulMaxNumModes= 30, //Setting this to max bit index (9) will save a few bytes... |
|
51 |
|
52 KEmulIsBitMask= 0x40000000, |
|
53 |
|
54 KEmulColours= KEmulColor16|KEmulColor256|KEmulColor4K|KEmulColor64K|KEmulColor16M, |
|
55 KEmulGrays= KEmulGray2|KEmulGray4|KEmulGray16|KEmulGray256, |
|
56 KEmulModes= KEmulColours|KEmulGrays, |
|
57 |
|
58 KEmulPixPerLong32= KEmulGray2, |
|
59 KEmulPixPerLong16= KEmulGray4, |
|
60 KEmulPixPerLong8= KEmulGray16|KEmulColor16, |
|
61 KEmulPixPerLong4= KEmulGray256|KEmulColor256, |
|
62 KEmulPixPerLong2= KEmulColor4K|KEmulColor64K, |
|
63 KEmulPixPerLong1= KEmulColor16M, |
|
64 }; |
|
65 |
|
66 #endif |
|
67 |
|
68 |