comparison src/ui3/bmi/Icons/IcnDefs.h @ 420:e8ddbb0837ed

src/ui3: initial import of TCS3/LoCosto BMI & MFW code
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 21 Jan 2018 03:09:00 +0000
parents
children
comparison
equal deleted inserted replaced
419:59143cd42ec7 420:e8ddbb0837ed
1 #ifndef _MMIICNDEFS_H_
2 #define _MMIICNDEFS_H_ 1
3
4 /*******************************************************************************
5
6 CONDAT (UK)
7
8 ********************************************************************************
9
10 This software product is the property of Condat (UK) Ltd and may not be
11 disclosed to any third party without the express permission of the owner.
12
13 ********************************************************************************
14
15 $Project name: Basic MMI
16 $Project code: BMI (6349)
17 $Module: Icons
18 $File: IcnDefs.h
19 $Revision: 1.0
20
21 $Author: Condat(UK)
22 $Date: 01/11/02
23
24 ********************************************************************************
25
26 Description:
27
28 This provides the references to the colour icon data arrays
29
30 ********************************************************************************
31 $History:
32
33 01/11/02 Original Condat(UK) BMI version.
34
35 $End
36
37 *******************************************************************************/
38 enum {
39 //Idle screen
40 ICON_IDLE_Background,
41
42 ICON_IDLE_Battery4,
43 ICON_IDLE_Battery14,
44 ICON_IDLE_Battery24,
45 ICON_IDLE_Battery49,
46 ICON_IDLE_Battery100,
47 ICON_IDLE_forwarding,
48 ICON_IDLE_keylock,
49 ICON_IDLE_message,
50 ICON_IDLE_signalStr49,
51 ICON_IDLE_signalStr99,
52 ICON_IDLE_signalStr149,
53 ICON_IDLE_signalStr199,
54 ICON_IDLE_signalStr255,
55 ICON_IDLE_homeZone,
56 ICON_IDLE_gprs,
57 ICON_IDLE_voicemail,
58
59
60 //'main' icons
61 ICON_MAIN_Application,
62 ICON_MAIN_Divert,
63 ICON_MAIN_Messages,
64 ICON_MAIN_Phonebook,
65 ICON_MAIN_RecentCalls,
66 ICON_MAIN_Security,
67 ICON_MAIN_Settings,
68 ICON_MAIN_SIM_Toolkit,
69 ICON_MAIN_WAP,
70
71 //popup
72 ICON_POPUP_CLOUDS,
73
74 //network
75 ICON_Bouygues,
76 ICON_Vodafone,
77 ICON_SFR,
78 ICON_VodafoneD2,
79 ICON_Chinamobile,
80 ICON_Fareast,
81 ICON_orange,
82 ICON_sonofon,
83 ICON_Tmobile,
84
85 //Background
86 ICON_BgdSquares,
87 #if (BOARD == 61)
88 /* OMAPS00074454 - 24-06-2006*/
89 ICON_IDLE_edge,
90 /* END */
91 #endif
92
93 ICON_END
94
95 };
96
97 enum {
98 ICON_TYPE_bw,
99 ICON_TYPE_256Colour, //R=0xE0, G=0x1C, B=0x03
100 ICON_TYPE_24BitColour, //R=0xFF0000, G=0x00FF00, B=0x0000FF
101 ICON_TYPE_32BitColour, //riviera format with alpha=0xFF000000,
102 ICON_TYPE_256PaletteColour, //separate palette needed
103
104 ICON_TYPE_LCD16bit //data matches D-sample LCD format 32 bits with 16bits used.
105 };
106
107 int icnGPRS_dataformat( char* *bmp, int *sx, int *sy, int *format, char **palette);
108 #if (BOARD == 61)
109 /*OMAPS00074454 - 24-06-2006 */
110 int icnEDGE_dataformat( char* *bmp, int *sx, int *sy, int *format, char **palette);
111 /*END */
112 #endif
113 int icnBgdSquares_dataformat( char* *bmp, int *sx, int *sy, int *format, char **palette);
114 int icnSignalStr_dataformat( int iconId, char* *bmp, int *sx, int *sy, int *format, char **palette);
115
116 //#define USE_110X110
117
118 //Logo for powerup screen
119 extern const unsigned char TIlogColour[];
120 //Main icons
121 #ifndef USE_110X110
122 extern const unsigned char applications97x97_bmp[];
123 extern const unsigned char netWorkServices96x96_bmp[];
124 extern const unsigned char messages96x96_bmp[];
125 extern const unsigned char phonebook96x96_bmp[];
126 extern const unsigned char recentcalls96x96_bmp[];
127 extern const unsigned char security96x96_bmp[];
128 extern const unsigned char phoneSettings96x96_bmp[];
129 extern const unsigned char stkColour[];
130 extern const unsigned char wap96x96_bmp[];
131 #else
132 extern const unsigned char applications110x110_bmp[];
133 extern const unsigned char recentcalls110x110_bmp[] ;
134 extern const unsigned char messages110x110_bmp[] ;
135 extern const unsigned char phonebook110x110_bmp[] ;
136 extern const unsigned char security110x110_bmp[] ;
137 extern const unsigned char wap110x110_bmp[] ;
138 extern const unsigned char networkservices110x110_bmp[];
139 extern const unsigned char phonesettings110x110_bmp[] ;
140 extern const unsigned char stkColour[];
141 #endif
142 //Popup + background
143 extern const unsigned char bmpDataBubbles[];
144 extern const unsigned char bmpDataCloud[];
145 extern const unsigned char bmpDataSquares[];
146 extern const unsigned char Edinburgh1_bgd_bmp[];
147 extern const unsigned char Edinburgh2_bgd_bmp[];
148 extern const unsigned char Edinburgh3_bgd_bmp[];
149 extern const unsigned char Edinburgh4_bgd_bmp[];
150
151 //Network bitmaps
152 extern const unsigned char Bouygues_bmp[];
153 extern const unsigned char Vodafone_bmp[];
154 extern const unsigned char SFR_bmp[];
155 extern const unsigned char VodafoneD2_bmp[];
156 extern const unsigned char Chinamobile_bmp[];
157 extern const unsigned char Fareast_bmp[];
158 extern const unsigned char orange_bmp[];
159 extern const unsigned char SFR_bmp[];
160 extern const unsigned char sonofon_bmp[];
161 extern const unsigned char Tmobile_bmp[];
162
163 //Idle Icons
164 extern const unsigned char I_forColour[] ;
165 extern const unsigned char I_klkColour[] ;
166
167 //Idle Bitmaps
168 extern const unsigned char Ti_bgd_bmp[] ;
169 extern const unsigned char I_batColour[] ;
170 extern const unsigned char iconInCallBackDrop[];
171
172 //Animation Bitmaps
173 extern const unsigned char callAnimation1[] ;
174 extern const unsigned char callAnimation2[] ;
175 extern const unsigned char callAnimation3[] ;
176
177 #ifdef WIDEICONS
178 #define I_batColour4 I_batColour
179 #define I_batColour14 I_batColour
180 #define I_batColour24 I_batColour
181 #define I_batColour49 I_batColour
182 #define I_batColour100 I_batColour
183 #else
184 extern const unsigned char I_batColour4[] ;
185 extern const unsigned char I_batColour14[] ;
186 extern const unsigned char I_batColour24[] ;
187 extern const unsigned char I_batColour49[] ;
188 extern const unsigned char I_batColour100[] ;
189 #endif
190 extern const unsigned char I_msgColour[] ;
191 extern const unsigned char I_sigColour[] ;
192 #ifdef WIDEICONS
193 #define I_sigColour49 I_sigColour
194 #define I_sigColour99 I_sigColour
195 #define I_sigColour149 I_sigColour
196 #define I_sigColour199 I_sigColour
197 #define I_sigColour255 I_sigColour
198 #else
199 extern const unsigned char I_sigColour49[] ;
200 extern const unsigned char I_sigColour99[] ;
201 extern const unsigned char I_sigColour149[] ;
202 extern const unsigned char I_sigColour199[] ;
203 extern const unsigned char I_sigColour255[] ;
204 #endif
205 extern const unsigned char I_homeZoneColour[] ;
206 extern const unsigned char I_gprsColour[] ;
207
208 #if (BOARD == 61)
209 /* OMAPS00074454 - 24-04-2006 */
210 extern const unsigned char I_edgeColour[] ;
211 /* END */
212 #endif
213
214 extern const unsigned char I_voicemailColour[];
215 extern const unsigned char I_cipheringDeactivColour[];
216 extern const unsigned char I_cipheringActivColour[];
217
218 #endif