equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-2009 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 DISPLAY_CONSTANTS_H |
|
20 #define DISPLAY_CONSTANTS_H |
|
21 |
|
22 #include <gdi.h> |
|
23 |
|
24 const TInt KNumDispModes = 12; |
|
25 const TInt KNumTestBackgrounds = 6; |
|
26 const TInt KNumTestColors = 12; |
|
27 const TInt KNumDrawModes = 6; |
|
28 const TInt KMaskFill =3; |
|
29 const TInt KNumShadowModes = 4; |
|
30 const TInt KRectWidth = 32; |
|
31 |
|
32 const TDisplayMode TestDisplayMode[KNumDispModes] = |
|
33 { |
|
34 EGray2, |
|
35 EGray4, |
|
36 EGray16, |
|
37 EGray256, |
|
38 EColor16, |
|
39 EColor256, |
|
40 EColor4K, |
|
41 EColor64K, |
|
42 EColor16M, |
|
43 ERgb, |
|
44 EColor16MU, |
|
45 EColor16MA, |
|
46 }; |
|
47 |
|
48 const TRgb TestBackground[KNumTestBackgrounds] = |
|
49 { |
|
50 KRgbWhite, |
|
51 KRgbBlack, |
|
52 TRgb(20,250,160), |
|
53 TRgb(0xff27D99f), |
|
54 TRgb(0x00E73121), |
|
55 TRgb(0x771FE3B7), |
|
56 }; |
|
57 |
|
58 /** |
|
59 * Defines Color Values |
|
60 */ |
|
61 const TRgb TestColor[KNumTestColors] = |
|
62 { |
|
63 KRgbBlack, |
|
64 KRgbDarkGray, |
|
65 KRgbGray, |
|
66 KRgbWhite, |
|
67 KRgbRed, |
|
68 KRgbCyan, |
|
69 TRgb(230,180,70), |
|
70 TRgb(150,240,30), |
|
71 TRgb(20,250,160), |
|
72 TRgb((TUint32)0xff2665A3), |
|
73 TRgb((TUint32)0x002766A4), |
|
74 TRgb((TUint32)0x57339A4E), |
|
75 }; |
|
76 |
|
77 const TUint32 MaskFill[KMaskFill] = |
|
78 { |
|
79 0x00, |
|
80 0xff, |
|
81 0x3A, |
|
82 }; |
|
83 |
|
84 enum TPostShadowMode |
|
85 { |
|
86 ENoPostShadow, |
|
87 EPostShadow, |
|
88 EPostFade, |
|
89 EPostShadowFade, |
|
90 }; |
|
91 |
|
92 #endif // DISPLAY_CONSTANTS_H |