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