comparison g23m/condat/ms/src/bmi/mmiColours.h @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
1 #ifndef _MMI_Colours_H_
2 #define _MMI_Colours_H_
3 /*******************************************************************************
4
5 CONDAT (UK)
6
7 ********************************************************************************
8
9 This software product is the property of Condat (UK) Ltd and may not be
10 disclosed to any third party without the express permission of the owner.
11
12 ********************************************************************************
13
14 $Project name: Basic MMI
15 $Project code: BMI (6349)
16 $Module:
17 $File: mmiColours.h
18 $Revision: 1.0
19
20 $Author: Condat(UK)
21 $Date: 25/01/02
22
23 ********************************************************************************
24
25 Description:
26
27 This header file provides definitions for various screen colours to allow us to
28 set different parts of the display to foreground and background colours.
29
30
31 ********************************************************************************
32
33 $History:
34
35 25/01/02 Original Condat(UK) BMI version.
36 28/11/02 - Corrected definitions for some colours
37 Removed unused definitions/commented out code.
38
39 $End
40
41 *******************************************************************************/
42
43 #define COL_R 0x00FF0000
44 #define COL_RG 0x00FFFF00
45 #define COL_G 0x0000FF00
46 #define COL_GB 0x0000FFFF
47 #define COL_B 0x000000FF
48 #define COL_BR 0x00FF00FF
49 #define COL_W 0x00FEFEFE
50 #define COL_BLK 0x00010101
51
52 #define COL_R2 0x00800000
53 #define COL_RG2 0x00808000
54 #define COL_G2 0x00008000
55 #define COL_GB2 0x00008080
56 #define COL_B2 0x00000080
57 #define COL_BR2 0x00800080
58 #define COL_W2 0x00808080
59
60 #define COL_TRANSPARENT 0xFF000000
61
62 #define COL_BG COL_GB
63 #define COL_RB COL_BR
64 #define COL_GR COL_RG
65
66 #define COL_Black COL_BLK
67 #define COL_Red COL_R
68 #define COL_Green COL_G
69 #define COL_Blue COL_B
70 #define COL_Magenta COL_RB
71 #define COL_Cyan COL_GB
72 #define COL_Yellow COL_RG
73 #define COL_White COL_W
74 #define COL_Pink 0x00FF4040 //0x00FF80FF
75 #define COL_Orange 0x00FF8000
76 #define COL_LightBlue 0x004040FF //0x008080FF
77 #define COL_LightGreen 0x0040FF40 //0x0080FF80
78 #define COL_PaleYellow 0x00FFFF40 //0x00FFFF80
79 #define COL_MidGrey 0x00404040
80 #define COL_Transparent 0xFF000000
81 /***************************Go-lite Optimization changes Start***********************/
82 //Aug 25, 2004 REF: CRR 24297 Deepa M.D
83 //Define colors for Go-lite
84 #define COL_Lite_Black 0x00
85 #define COL_Lite_White 0x01
86 /***************************Go-lite Optimization changes end***********************/
87
88
89 enum {
90 FIRST_COLOUR_DEF,
91
92 //generic status/popup windows
93 COLOUR_STATUS, //generic status window
94 COLOUR_POPUP, //generic status window
95
96 //Colour for all lists (unless otherwise specifically defined)
97 COLOUR_LIST_MAIN, //main icons
98 COLOUR_LIST_SUBMENU, //sub-menu
99 //The following are currently unused but can be used for other sub-menus
100 COLOUR_LIST_SUBMENU1,
101 COLOUR_LIST_SUBMENU2,
102 COLOUR_LIST_SUBMENU3,
103 COLOUR_LIST_SUBMENU4,
104
105 //Special define when list elements have their own associated colour.
106 COLOUR_LIST_COLOUR,
107
108 //colour for all editors
109 COLOUR_EDITOR,
110
111 //Colours for specific displays
112 COLOUR_GAME,
113 COLOUR_IDLE,
114 COLOUR_INCALL,
115
116 //Colours for opening/closing animation
117 COLOUR_STATUS_WELCOME,
118 COLOUR_STATUS_GOODBYE,
119
120
121 LAST_COLOUR_DEF
122 };
123 /*
124 #define COLOUR_XX COLOUR_LIST_SUBMENU
125 #define COLOUR_POPUP_XX COLOUR_POPUP
126 */
127
128 #define COLOUR_LIST_XX COLOUR_LIST_SUBMENU
129 #define COLOUR_ICON_XX COLOUR_IDLE
130 #define COLOUR_EDITOR_XX COLOUR_EDITOR
131
132
133 #define COLOUR_STATUS_INCOMINGCALL COLOUR_INCALL
134 #define COLOUR_STATUS_CALLING COLOUR_INCALL
135 #define COLOUR_STATUS_CCNOTIFY COLOUR_INCALL
136
137 #define COLOUR_STATUS_WAIT COLOUR_STATUS
138 #define COLOUR_STATUS_EZITEXT COLOUR_STATUS
139 #define COLOUR_STATUS_NETWORKS COLOUR_STATUS
140 #define COLOUR_STATUS_PINS COLOUR_STATUS
141 #define COLOUR_AOC COLOUR_STATUS
142
143 #define COLOUR_WAP_POPUP COLOUR_POPUP
144 #define COLOUR_BOOK_POPUP COLOUR_POPUP
145
146 #define COLOUR_LIST_SETTINGS COLOUR_LIST_SUBMENU
147 #define COLOUR_LIST_SMS COLOUR_LIST_SUBMENU
148 #define COLOUR_LIST_PHONEBOOK COLOUR_LIST_SUBMENU
149 #define COLOUR_LIST_CALL COLOUR_LIST_SUBMENU
150 #define COLOUR_LIST_DIVERT COLOUR_LIST_SUBMENU
151 #define COLOUR_LIST_SECURITY COLOUR_LIST_SUBMENU
152 #define COLOUR_LIST_APPLICATIONS COLOUR_LIST_SUBMENU
153 #define COLOUR_LIST_SIM_TOOLKIT COLOUR_LIST_SUBMENU
154 #define COLOUR_LIST_NETWORK COLOUR_LIST_SUBMENU
155
156 #define COLOUR_WAP COLOUR_LIST_MAIN
157
158
159 #define COLOUR_STATUS_OKRESET COLOUR_STATUS
160
161 //Default colour for creating windows
162 //#define DEFAULT_COL COL_RG, COL_B2
163
164 //These definitions match dspl.h
165 #define ICON_TYPE_1BIT_PACKED 0x00
166 #define ICON_TYPE_256_COL 0x02
167 #define ICON_TYPE_32BIT_COL 0x03
168 #define ICON_TYPE_16BIT_COL 0x04
169 #define ICON_TYPE_1BIT_UNPACKED 0x01
170
171
172 #endif
173
174