FreeCalypso > hg > fc-tourmaline
comparison src/ui/bmi/mmiIcons.c @ 3:67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 16 Oct 2020 06:33:10 +0000 |
parents | |
children | 40d5d4addfb2 |
comparison
equal
deleted
inserted
replaced
2:3a14ee9a9843 | 3:67bfe9f274f6 |
---|---|
1 /******************************************************************************* | |
2 | |
3 CONDAT (UK) | |
4 | |
5 ******************************************************************************** | |
6 | |
7 This software product is the property of Condat (UK) Ltd and may not be | |
8 disclosed to any third party without the express permission of the owner. | |
9 | |
10 ******************************************************************************** | |
11 | |
12 $Project name: Basic MMI | |
13 $Project code: BMI (6349) | |
14 $Module: Icons | |
15 $File: Mmiicons.h | |
16 $Revision: 1.0 | |
17 | |
18 $Author: Condat(UK) | |
19 $Date: 25/10/00 | |
20 | |
21 ******************************************************************************** | |
22 | |
23 Description: | |
24 | |
25 This provides the implementation of the icon handling in the basic MMI | |
26 | |
27 ******************************************************************************** | |
28 $History: Mmiicons.h | |
29 | |
30 Jun 09, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar) | |
31 Description : CPHS Roaming indication feature implementation | |
32 Solution : As part of the implementation, in this file, roaming icon (small yellow triangle) is shown based on a global roaming flag | |
33 | |
34 Apr 17, 2006 REF: ER OMAPS00075178 x0pleela | |
35 Description: When the charger connect to phone(i-sample), the charger driver works, but the MMI and App don't work | |
36 Solution: Added a counter to animate battery charging icons | |
37 Added Timer handler for Battery charging indication | |
38 Added new function BattChargeEventTim which is the callback called | |
39 for the timeout of battery charging timer | |
40 | |
41 Oct 28, 2004 REF: CRR 25886 xnkulkar | |
42 Description: SMS Icon is not seen in Idle Screen. | |
43 Solution: A check is done to determine if sms memory is full when the phone is in idle screen or | |
44 when any calls are present and blinking sms icon is displayed. | |
45 | |
46 Apr 27, 2004 REF: ENH 12646 Deepa M.D | |
47 Fix: When the SMS memory is full,the SMS icon is made to blink | |
48 SPR:12822 vvadiraj : Network Icon status info displayed always | |
49 25/10/00 Original Condat(UK) BMI version. | |
50 | |
51 $End | |
52 *******************************************************************************/ | |
53 | |
54 | |
55 | |
56 | |
57 /******************************************************************************* | |
58 | |
59 Include Files | |
60 | |
61 *******************************************************************************/ | |
62 | |
63 #define ENTITY_MFW | |
64 | |
65 /* includes */ | |
66 #include <string.h> | |
67 #include <stdio.h> | |
68 #include <stdlib.h> | |
69 | |
70 #if defined (NEW_FRAME) | |
71 | |
72 #include "typedefs.h" | |
73 #include "vsi.h" | |
74 #include "pei.h" | |
75 #include "custom.h" | |
76 #include "gsm.h" | |
77 | |
78 #else | |
79 | |
80 #include "STDDEFS.H" | |
81 #include "custom.h" | |
82 #include "gsm.h" | |
83 #include "vsi.h" | |
84 | |
85 #endif | |
86 | |
87 #include "mfw_sys.h" | |
88 | |
89 #include "mfw_mfw.h" | |
90 #include "mfw_win.h" | |
91 #include "mfw_kbd.h" | |
92 #include "mfw_lng.h" | |
93 /* SPR#1428 - SH - New Editor changes */ | |
94 #ifndef NEW_EDITOR | |
95 #include "mfw_edt.h" | |
96 #endif | |
97 #include "mfw_icn.h" | |
98 #include "mfw_mnu.h" | |
99 #include "mfw_tim.h" | |
100 | |
101 #include "mfw_sim.h" | |
102 #include "mfw_cm.h" | |
103 #include "mfw_nm.h" | |
104 #include "mfw_phb.h" | |
105 #include "mfw_mme.h" | |
106 #include "mfw_sat.h" | |
107 #include "mfw_sms.h" | |
108 | |
109 #include "dspl.h" | |
110 | |
111 #include "ksd.h" | |
112 #include "psa.h" | |
113 | |
114 #include "MmiMain.h" | |
115 #include "MmiBookController.h" | |
116 #include "MmiDummy.h" | |
117 #include "MmiDialogs.h" | |
118 #include "MmiLists.h" | |
119 | |
120 | |
121 | |
122 #include "MmiMenu.h" | |
123 #include "mmiCall.h" | |
124 #include "Mmiicons.h" | |
125 #include "MmiIdle.h" | |
126 | |
127 #include "MmiSoftKeys.h" | |
128 #include "MmiSounds.h" | |
129 #include "MmiIdle.h" | |
130 #include "MmiNetwork.h" | |
131 #include "mmiSat_i.h" | |
132 #include "MmiAoc.h" | |
133 | |
134 #include "gdi.h" | |
135 #include "audio.h" | |
136 | |
137 #include "cus_aci.h" | |
138 #include "mfw_ffs.h" | |
139 #include "MmiTimers.h" | |
140 /* sbh...21/01/02 */ | |
141 #ifdef MMI_GPRS_ENABLED | |
142 #include "MmiGprs.h" | |
143 #endif | |
144 #include "MmiResources.h" | |
145 #include "mmiColours.h" | |
146 | |
147 #include "Icons\IcnDefs.h" | |
148 | |
149 // Oct 28, 2004 REF: CRR 25886 xnkulkar | |
150 // Description: SMS Icon is not seen in Idle Screen. | |
151 // Added extern call_data to determine if there are any calls active. | |
152 extern T_call call_data; | |
153 | |
154 //x0pleela 11 Apr, 2006 ER: OMAPS00075178 | |
155 //static counter to animate battery charging icons | |
156 static int icon_ctr; | |
157 /******************************************************************************* | |
158 | |
159 Local definitions | |
160 | |
161 *******************************************************************************/ | |
162 | |
163 #define CLEAR_BOTTOM_ZONE_ICON dspl_Clear(42,54,52,60) | |
164 | |
165 /******************************************************************************* | |
166 | |
167 Local function prototypes | |
168 | |
169 *******************************************************************************/ | |
170 /* ADDED - 28-11-2005 */ | |
171 EXTERN BOOL smsidle_get_memory_full(void); | |
172 /* END - 28-11-2005 */ | |
173 | |
174 static void iconsEvent( MfwEvt e, MfwIcn *i ); | |
175 static void iconsBattEvent( MfwEvt e, MfwIcn *i ); | |
176 static void iconsSignEvent( MfwEvt e, MfwIcn *i ); | |
177 #ifndef COLOURDISPLAY | |
178 static void iconsScreenDelete( void ); | |
179 #endif | |
180 // Apr 27, 2004 REF: ENH 12646 Deepa M.D | |
181 static UBYTE smsStatus=0; //Used to blink the SMS icon.0=Icon visible 1=Icon invisible | |
182 MfwHnd sms_animate; // Timer for SMS Full Icon | |
183 //x0pleela 11 Apr, 2006 ER: OMAPS00075178 | |
184 // Timer for Battery charging indication | |
185 MfwHnd battery_charging_animate; | |
186 UBYTE isIconBlinking=0; //Flag to check whether the timer is running | |
187 | |
188 | |
189 #define CLEAR_ICON_AREA dspl_Clear(0,7,LCD_X,52); | |
190 | |
191 #if ! defined(WIN32) | |
192 extern void scrOnOff (int on); /* ES!! add. functions */ | |
193 #endif | |
194 | |
195 /******************************************************************************* | |
196 | |
197 Icon Bitmaps | |
198 | |
199 *******************************************************************************/ | |
200 | |
201 /* battery 0-4% | |
202 */ | |
203 #ifndef COLOURDISPLAY | |
204 static const unsigned char idlBattery4[] = | |
205 { | |
206 0xff,0x81,0x81,0x81,0xff | |
207 }; | |
208 | |
209 /* battery 5-14% | |
210 */ | |
211 static const unsigned char idlBattery14[] = | |
212 { | |
213 0xff,0xc1,0xc1,0xc1,0xff | |
214 }; | |
215 | |
216 /* battery 15-24% | |
217 */ | |
218 static const unsigned char idlBattery24[] = | |
219 { | |
220 0xff,0xe1,0xe1,0xe1,0xff | |
221 }; | |
222 | |
223 /* battery 25-49% | |
224 */ | |
225 static const unsigned char idlBattery49[] = | |
226 { | |
227 0xff,0xf9,0xf9,0xf9,0xff | |
228 }; | |
229 | |
230 /* battery 50-100% | |
231 */ | |
232 static const unsigned char idlBattery100[] = | |
233 { | |
234 0xff,0xff,0xff,0xff,0xff | |
235 }; | |
236 | |
237 /* SMS | |
238 */ | |
239 static const unsigned char idlSMS[] = | |
240 { | |
241 0xff,0xc3,0xa5,0x99,0xff | |
242 }; | |
243 | |
244 /* Voice | |
245 */ | |
246 static const unsigned char idlVoice[] = | |
247 { | |
248 0x00,0x00,0x3F,0xC0,0x50,0xE0,0x89,0xF0,0x50,0xE0,0x00,0x00 | |
249 }; | |
250 | |
251 /* Call forwarding uncond | |
252 */ | |
253 static const unsigned char idlCallforw[] = | |
254 { | |
255 0xC4,0xC6,0xFF,0x7E,0x04 | |
256 }; | |
257 | |
258 | |
259 | |
260 /* Keypad locked | |
261 */ | |
262 static const unsigned char idlKeypLock[] = | |
263 { | |
264 0x41,0xa1,0xbe,0xa0,0x40 | |
265 }; | |
266 | |
267 | |
268 /* Ciphering | |
269 */ | |
270 static const unsigned char idlCipheringActiv[] = | |
271 { | |
272 0x18,0x24,0x3c,0x24,0x3c | |
273 }; | |
274 | |
275 static const unsigned char idlCipheringDeActiv[] = | |
276 { | |
277 0x28,0x44,0x6c,0x6c,0x6c | |
278 }; | |
279 | |
280 | |
281 /* Signal strength 0-49 | |
282 */ | |
283 static const unsigned char idlSigStr49[] = | |
284 { | |
285 0x00,0x00,0x00,0x00,0x00 | |
286 }; | |
287 | |
288 /* Signal strength 50-99 | |
289 */ | |
290 static const unsigned char idlSigStr99[] = | |
291 { | |
292 0x00,0x00,0x00,0x80,0x80 | |
293 }; | |
294 | |
295 /* Signal strength 100-149 | |
296 */ | |
297 static const unsigned char idlSigStr149[] = | |
298 { | |
299 0x00,0x00,0x20,0xa0,0xa0 | |
300 }; | |
301 | |
302 /* Signal strength 150-199 | |
303 */ | |
304 static const unsigned char idlSigStr199[] = | |
305 { | |
306 0x00,0x08,0x28,0xa8,0xa8 | |
307 }; | |
308 | |
309 /* Signal strength 200-255 | |
310 */ | |
311 static const unsigned char idlSigStr255[] = | |
312 { | |
313 0x02,0x0a,0x2a,0xaa,0xaa | |
314 }; | |
315 | |
316 /* sbh...18/01/02. GPRS On icon - appears when GPRS is on | |
317 */ | |
318 static const unsigned char idlGPRSOn[] = | |
319 { | |
320 0x3E,0x60,0x6E,0x66,0x3E | |
321 }; | |
322 | |
323 /* Homezone icon | |
324 */ | |
325 static const unsigned char idlHomezone[] = | |
326 { | |
327 0x38,0x7C,0xFE,0xAA,0xEE | |
328 }; | |
329 | |
330 /* SPR#1352 - SH - TTY icon | |
331 */ | |
332 static const unsigned char idlTTY[] = | |
333 { | |
334 0x7D,0x7D,0x2A,0x2A,0x2A | |
335 }; | |
336 #endif | |
337 | |
338 /* Silent ringer | |
339 */ | |
340 static const unsigned char idlSilRinger[] = | |
341 { | |
342 0xa4,0xa4,0xbf,0xae,0x44 | |
343 }; | |
344 | |
345 #ifdef NEPTUNE_BOARD | |
346 /* OMAPS00074454 - Edge icon*/ | |
347 static const unsigned char idlEDGEOn[] = | |
348 { | |
349 0x7E,0x40,0x78,0x40,0x7E | |
350 }; | |
351 /* END */ | |
352 #endif | |
353 | |
354 | |
355 /* SPR#1985 - SH - Larger TTY icon */ | |
356 | |
357 static const unsigned char idlTTYLarge[] = | |
358 { | |
359 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
360 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
361 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
362 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x25,0x25,0x25,0x00, | |
363 0x25,0x25,0x00,0x25,0x25,0x25,0x25,0x00,0x25,0x25,0x00,0x25,0x25,0x25,0x00, | |
364 0x25,0x25,0x00,0x25,0x25,0x25,0x25,0x00,0x25,0x25,0x00,0x25,0x25,0x25,0x00, | |
365 0x25,0x25,0x00,0x25,0x25,0x25,0x25,0x00,0x25,0x25,0x00,0x25,0x25,0x25,0x00, | |
366 0x25,0x25,0x00,0x25,0x25,0x25,0x25,0x00,0x25,0x25,0x25,0x00,0x25,0x00,0x25, | |
367 0x25,0x25,0x00,0x25,0x25,0x25,0x25,0x00,0x25,0x25,0x25,0x25,0x00,0x25,0x25, | |
368 0x25,0x25,0x00,0x25,0x25,0x25,0x25,0x00,0x25,0x25,0x25,0x25,0x00,0x25,0x25, | |
369 0x25,0x25,0x00,0x25,0x25,0x25,0x25,0x00,0x25,0x25,0x25,0x25,0x00,0x25,0x25, | |
370 0x25,0x25,0x00,0x25,0x25,0x25,0x25,0x00,0x25,0x25,0x25,0x25,0x00,0x25,0x25, | |
371 0x25,0x25,0x00,0x25,0x25,0x25,0x25,0x00,0x25,0x25,0x25,0x25,0x00,0x25,0x25, | |
372 0x25,0x25,0x00,0x25,0x25,0x25,0x25,0x00,0x25,0x25,0x25,0x25,0x00,0x25,0x25 | |
373 }; | |
374 | |
375 //Game: Four in a row icons | |
376 const unsigned char game_field[]={ | |
377 0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x84,0x21,0x08,0x42,0x10,0x84,0x21, | |
378 0x84,0x21,0x08,0x42,0x10,0x84,0x21, 0x84,0x21,0x08,0x42,0x10,0x84,0x21, | |
379 0x84,0x21,0x08,0x42,0x10,0x84,0x21, 0x84,0x21,0x08,0x42,0x10,0x84,0x21, | |
380 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, 0x84,0x21,0x08,0x42,0x10,0x84,0x21, | |
381 0x84,0x21,0x08,0x42,0x10,0x84,0x21, 0x84,0x21,0x08,0x42,0x10,0x84,0x21, | |
382 0x84,0x21,0x08,0x42,0x10,0x84,0x21, 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, | |
383 0x84,0x21,0x08,0x42,0x10,0x84,0x21, 0x84,0x21,0x08,0x42,0x10,0x84,0x21, | |
384 0x84,0x21,0x08,0x42,0x10,0x84,0x21, 0x84,0x21,0x08,0x42,0x10,0x84,0x21, | |
385 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, 0x84,0x21,0x08,0x42,0x10,0x84,0x21, | |
386 0x84,0x21,0x08,0x42,0x10,0x84,0x21, 0x84,0x21,0x08,0x42,0x10,0x84,0x21, | |
387 0x84,0x21,0x08,0x42,0x10,0x84,0x21, 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, | |
388 0x84,0x21,0x08,0x42,0x10,0x84,0x21, 0x84,0x21,0x08,0x42,0x10,0x84,0x21, | |
389 0x84,0x21,0x08,0x42,0x10,0x84,0x21, 0x84,0x21,0x08,0x42,0x10,0x84,0x21, | |
390 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, 0x84,0x21,0x08,0x42,0x10,0x84,0x21, | |
391 0x84,0x21,0x08,0x42,0x10,0x84,0x21, 0x84,0x21,0x08,0x42,0x10,0x84,0x21, | |
392 0x84,0x21,0x08,0x42,0x10,0x84,0x21, 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, | |
393 0x84,0x21,0x08,0x42,0x10,0x84,0x21, 0x84,0x21,0x08,0x42,0x10,0x84,0x21, | |
394 0x84,0x21,0x08,0x42,0x10,0x84,0x21, 0x84,0x21,0x08,0x42,0x10,0x84,0x21, | |
395 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, 0x84,0x21,0x08,0x42,0x10,0x84,0x21, | |
396 0x84,0x21,0x08,0x42,0x10,0x84,0x21, 0x84,0x21,0x08,0x42,0x10,0x84,0x21, | |
397 0x84,0x21,0x08,0x42,0x10,0x84,0x21, 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, | |
398 }; | |
399 | |
400 #ifndef LSCREEN | |
401 | |
402 /* | |
403 * FreeCalypso change: multi_pointer[] was only defined for the | |
404 * LSCREEN configuration in the original TCS211 source, thus the | |
405 * sans-LSCREEN config (old C-Sample) would not compile. | |
406 * | |
407 * Although I don't know if it's correct or not, I have copied | |
408 * the definition from the LSCREEN code in order to get the build | |
409 * to pass. -- Space Falcon | |
410 */ | |
411 const unsigned char multi_pointer[]={ | |
412 0x08,0x0C,0xFE,0xFF,0xFE,0x0C,0x08,0x00, | |
413 }; | |
414 | |
415 const unsigned char game_cursor[]={ | |
416 0x00,0xFC,0xFC,0x78,0x78,0x30, | |
417 }; | |
418 const unsigned char black_stone_bw[]={ | |
419 0x60,0xF0,0xF0,0x60, | |
420 }; | |
421 const unsigned char white_stone_bw[]={ | |
422 0x60,0x90,0x90,0x60, | |
423 }; | |
424 | |
425 #else | |
426 | |
427 const unsigned char multi_pointer[]={ | |
428 0x08,0x0C,0xFE,0xFF,0xFE,0x0C,0x08,0x00, | |
429 }; | |
430 const unsigned char game_cursor[]={ | |
431 0x18,0x18,0x18,0x18,0xFF,0x7E,0x3C,0x18, | |
432 }; | |
433 const unsigned char black_stone_bw[]={ | |
434 0x3C,0x7E,0xFF,0xFF,0xFF,0xFF,0x7E,0x3C, | |
435 }; | |
436 const unsigned char white_stone_bw[]={ | |
437 0x18,0x3C,0x42,0xC3,0xC3,0x42,0x3C,0x18, | |
438 }; | |
439 | |
440 #endif | |
441 | |
442 const unsigned char game_name1[]={ | |
443 0x00,0x00,0x00,0x6F,0x52,0x33,0x6F,0x5A,0x4B,0x6F,0x56,0x4B,0x6F,0x56,0x7B, | |
444 0x6F,0x52,0x4B,0x61,0x00,0x03,0x6D,0xFF,0xFF,0x6C,0x08,0x08,0x7E,0xE3,0x2A, | |
445 0x7E,0x94,0xAA,0x0C,0x94,0xAA,0xEC,0xE4,0xA2,0xEC,0xC4,0xAA,0xEC,0xA4,0xAA, | |
446 0xEC,0x93,0x14,0xE0,0x00,0x01,0xFF,0xFE,0x0F | |
447 }; | |
448 const unsigned char game_name2[]={ | |
449 0xAA,0xA8,0xE1,0x55,0x53,0x18, | |
450 0xAA,0xA4,0x04,0x55,0x49,0x12,0xAA,0x88,0x02,0x55,0x50,0x01,0xAA,0x90,0x01, | |
451 0x55,0x52,0x09,0xAA,0x89,0x12,0x50,0x48,0xE2,0x87,0x04,0x04,0x1F,0xC3,0x19, | |
452 0x3F,0xE0,0xE2,0x77,0x74,0x05,0x7F,0xF2,0xAA,0xFF,0xF9,0x55,0xFF,0xFA,0xAA, | |
453 0xFF,0xF9,0x55,0x6F,0xB2,0xAA,0x77,0x75,0x55,0x38,0xE2,0xAA,0x1F,0xC5,0x55, | |
454 0x87,0x0A,0xAA,0x50,0x55,0x55 | |
455 }; | |
456 const unsigned char board_full1[]={ | |
457 0x00,0x00,0x00,0xE3,0x19,0xCE,0x94,0xA5,0x29,0x94,0xA5,0x29,0xE4,0xA5,0x29, | |
458 0x94,0xBD,0xC9,0x94,0xA5,0x89,0x94,0xA5,0x49,0xE3,0x25,0x2E,0x00,0x00,0x00, | |
459 0x00,0x00,0x00,0x3D,0x28,0x40,0x21,0x28,0x40,0x21,0x28,0x40,0x21,0x28,0x40, | |
460 0x39,0x28,0x40,0x21,0x28,0x40,0x21,0x28,0x40,0x20,0xCF,0x78,0x00,0x00,0x00, | |
461 0xFF,0xFF,0xFF | |
462 }; | |
463 const unsigned char board_full2[]={ | |
464 0x00,0x00,0x00,0xFE,0xFD,0xFF,0x00,0xFC,0x00,0xFE,0xFD,0xFF, | |
465 0x00,0xFC,0x00,0xFE,0x79,0xFF,0x00,0x78,0x00,0xFF,0x7B,0xFF,0x00,0x30,0x00, | |
466 0xFF,0xB7,0xFF,0x00,0x30,0x00,0xFF,0x87,0xFF,0x00,0x30,0x00,0xFF,0x7B,0xFF, | |
467 0x00,0x78,0x00,0xFF,0x33,0xFF,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00, | |
468 0xFF,0xFF,0xFF,0x00,0x00,0x00 | |
469 }; | |
470 const unsigned char player_win1[]={ | |
471 0x00,0x00,0x00,0xC6,0x7C,0xC3,0xC6,0xFE,0xC3,0x6C,0xC6,0xC3,0x3C,0xC6,0xC3, | |
472 0x30,0xC6,0xC3,0x70,0xC6,0xC3,0xE0,0xC6,0xE7,0x80,0xFE,0x7E,0x80,0x7C,0x3C, | |
473 0x00,0x00,0x00,0x00,0x00,0x00,0xC3,0x36,0x30,0xC3,0x36,0x30,0xC3,0x37,0x30, | |
474 0xC3,0x37,0xB0,0xDB,0x37,0xF0,0xDB,0x36,0xF0,0xFF,0x36,0x70,0x66,0x36,0x30, | |
475 0x00,0x00,0x00 | |
476 }; | |
477 const unsigned char player_win2[]={ | |
478 0x00,0x78,0x00,0x01,0x86,0x00,0x02,0x01,0x00,0x04,0x84,0x80, | |
479 0x09,0xCE,0x40,0x08,0x84,0x40,0x10,0x00,0x20,0x16,0x01,0xA0,0x13,0x03,0x20, | |
480 0x12,0x85,0x20,0x09,0x7A,0x40,0x08,0x84,0x40,0x04,0x48,0x80,0x02,0x31,0x00, | |
481 0x01,0x86,0x00,0x00,0x78,0x00,0x00,0x00,0x00,0x02,0xAA,0x00,0x09,0x54,0x80, | |
482 0x02,0xAA,0x00,0x00,0x00,0x00 | |
483 }; | |
484 const unsigned char player_lost1[]={ | |
485 0x00,0x00,0x00,0xC6,0x7C,0xC3,0xC6,0xFE,0xC3,0x6C,0xC6,0xC3,0x3C,0xC6,0xC3, | |
486 0x30,0xC6,0xC3,0x70,0xC6,0xC3,0xE0,0xC6,0xE7,0x80,0xFE,0x7E,0x80,0x7C,0x3C, | |
487 0x00,0x00,0x00,0x00,0x00,0x00,0xC3,0x8F,0x7E,0xC7,0xDF,0x7E,0xC6,0xD8,0x18, | |
488 0xC6,0xCE,0x18,0xC6,0xC7,0x98,0xC6,0xD9,0x98,0xF7,0xDF,0x98,0xF3,0x8F,0x18, | |
489 0x00,0x00,0x00 | |
490 }; | |
491 const unsigned char player_lost2[]={ | |
492 0x00,0x78,0x00,0x01,0x86,0x00,0x02,0x01,0x00,0x04,0x84,0x80, | |
493 0x09,0xCE,0x40,0x08,0x84,0x40,0x10,0x00,0x20,0x10,0x00,0x20,0x10,0x00,0x20, | |
494 0x10,0x30,0x20,0x08,0xCC,0x40,0x09,0x02,0x40,0x04,0x00,0x80,0x02,0x01,0x00, | |
495 0x01,0x86,0x00,0x00,0x78,0x00,0x00,0x00,0x00,0x02,0xAA,0x00,0x09,0x54,0x80, | |
496 0x02,0xAA,0x00,0x00,0x00,0x00, | |
497 }; | |
498 | |
499 //Melodygenerator icons | |
500 | |
501 const unsigned char akt_frame[]={ | |
502 0xF0,0x0F,0x80,0x01,0x80,0x01,0x80,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
503 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
504 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80, | |
505 0x01,0x80,0x01,0x80,0x01,0xF0,0x0F, | |
506 }; | |
507 const unsigned char noteline_begin[]={ | |
508 0xAA,0xAA,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0xAA,0xAA,0x00,0x02,0x00,0x02, | |
509 0x00,0x1A,0x00,0x22,0xAA,0xA2,0x00,0x22,0x00,0x1A,0x00,0x02,0x00,0x02,0xAA, | |
510 0xAA,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0xAA,0xAA,0x00,0x02,0x00,0x02, | |
511 0x00,0x02,0x00,0x02,0xAA,0x82,0x00,0x1A,0x00,0x22,0x00,0x22,0x00,0x22,0xAA, | |
512 0x9A,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0xAA,0xAA,0x00,0x02,0x00,0x02, | |
513 0x00,0x02,0x00,0x02,0xAA,0xAA,0x00,0x02,0x00,0x02,0x00,0x1A,0x00,0x22,0xAA, | |
514 0xA2,0x00,0x22,0x00,0x1A,0x00,0x02,0x00,0x02,0xAA,0xAA,0x00,0x02,0x00,0x02, | |
515 0x06,0x02,0x0F,0x02,0xD3,0xBF,0x11,0x82,0x09,0x82,0x09,0x82,0x05,0x02,0xF6, | |
516 0x7F,0x04,0x02,0x0A,0x02,0x0A,0x02,0x10,0xE2,0x91,0xF3,0x33,0x1A,0x30,0x1A, | |
517 0x10,0x9A,0x10,0x92,0xC8,0xB7,0x0C,0x62,0x03,0x82,0x00,0x42,0x03,0x42,0xF7, | |
518 0x2F,0x06,0x22,0x03,0xC2,0x01,0x9A,0x00,0x22,0xAA,0xA2,0x00,0x22,0x00,0x1A, | |
519 0x00,0x02,0x00,0x02,0xAA,0xAA,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0xAA, | |
520 0xAA,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0xAA,0x82,0x00,0x1A,0x00,0x22, | |
521 0x00,0x22,0x00,0x22,0xAA,0x9A,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0xAA, | |
522 0xAA,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02, | |
523 }; | |
524 const unsigned char noteline_end[]={ | |
525 0xAB,0xBA,0x01,0x18,0x01,0x18,0x01,0x18,0x01,0x18,0xAB,0xBA,0x01,0x18,0x01, | |
526 0x18,0x01,0x18,0x01,0x18,0xAB,0xBA,0x01,0x18,0x01,0x18,0x01,0x18,0x01,0x18, | |
527 0xAB,0xBA,0x01,0x18,0x01,0x18,0x01,0x18,0x01,0x18,0xAB,0xBA,0x01,0x18,0x01, | |
528 0x18,0x01,0x18,0x01,0x18,0xAB,0xBA,0x01,0x18,0x01,0x18,0x01,0x18,0x01,0x18, | |
529 0xAB,0xBA,0x01,0x18,0x01,0x18,0x01,0x18,0x01,0x18,0xAB,0xBA,0x01,0x18,0x01, | |
530 0x18,0x01,0x18,0x01,0x18,0xAB,0xBA,0x01,0x18,0x01,0x18,0x01,0x18,0x01,0x18, | |
531 0xAB,0xBA,0x01,0x18,0x01,0x18,0x01,0x18,0x01,0x18,0xAB,0xBA,0x01,0x18,0x01, | |
532 0x18,0x01,0x18,0x01,0x18,0xFF,0xFF,0x01,0x18,0x01,0x18,0x01,0x18,0x01,0x18, | |
533 0xFF,0xFF,0x01,0x18,0x01,0x18,0x01,0x18,0x01,0x18,0xFF,0xFF,0x01,0x18,0x01, | |
534 0x18,0x01,0x18,0x01,0x18,0xFF,0xFF,0x01,0x18,0x01,0x18,0x01,0x18,0x01,0x18, | |
535 0xFF,0xFF,0x01,0x18,0x01,0x18,0x01,0x18,0x01,0x18,0xAB,0xBA,0x01,0x18,0x01, | |
536 0x18,0x01,0x18,0x01,0x18,0xAB,0xBA,0x01,0x18,0x01,0x18,0x01,0x18,0x01,0x18, | |
537 0xAB,0xBA,0x01,0x18,0x01,0x18,0x01,0x18,0x01,0x18,0xAB,0xBA,0x01,0x18,0x01, | |
538 0x18,0x01,0x18,0x01,0x18,0xAB,0xBA,0x01,0x18,0x01,0x18,0x01,0x18,0x01,0x18, | |
539 0xAB,0xBA,0x01,0x18,0x01,0x18,0x01,0x18,0x01,0x18,0x01,0x18, | |
540 }; | |
541 const unsigned char noteline_background[]={ | |
542 0xAA,0xAA,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xAA,0xAA,0x00,0x00,0x00, | |
543 0x00,0x00,0x00,0x00,0x00,0xAA,0xAA,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
544 0xAA,0xAA,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xAA,0xAA,0x00,0x00,0x00, | |
545 0x00,0x00,0x00,0x00,0x00,0xAA,0xAA,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
546 0xAA,0xAA,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xAA,0xAA,0x00,0x00,0x00, | |
547 0x00,0x00,0x00,0x00,0x00,0xAA,0xAA,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
548 0xAA,0xAA,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xAA,0xAA,0x00,0x00,0x00, | |
549 0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
550 0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x00,0x00,0x00, | |
551 0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
552 0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xAA,0xAA,0x00,0x00,0x00, | |
553 0x00,0x00,0x00,0x00,0x00,0xAA,0xAA,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
554 0xAA,0xAA,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xAA,0xAA,0x00,0x00,0x00, | |
555 0x00,0x00,0x00,0x00,0x00,0xAA,0xAA,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
556 0xAA,0xAA,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
557 }; | |
558 const unsigned char n1[]={ | |
559 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08, | |
560 0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x68,0x00,0xF8,0x00,0xF0,0x00,0x60,0x00,0x00, | |
561 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
562 0x00,0x00,0x00,0x00, | |
563 }; | |
564 const unsigned char n1_16[]={ | |
565 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0C,0x00,0x0A,0x00,0x09,0x00,0x0C,0x00,0x0A, | |
566 0x00,0x09,0x00,0x08,0x00,0x08,0x00,0x68,0x00,0xF8,0x00,0xF0,0x00,0x60,0x00,0x00, | |
567 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
568 0x00,0x00,0x00,0x00, | |
569 }; | |
570 const unsigned char n1_32[]={ | |
571 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0C,0x00,0x0A,0x00,0x09,0x00,0x0C,0x00,0x0A, | |
572 0x00,0x09,0x00,0x0C,0x00,0x0A,0x00,0x69,0x00,0xF8,0x00,0xF0,0x00,0x60,0x00,0x00, | |
573 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
574 0x00,0x00,0x00,0x00, | |
575 }; | |
576 const unsigned char n1_8[]={ | |
577 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0C,0x00,0x0A,0x00,0x09,0x00,0x08,0x00,0x08, | |
578 0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x68,0x00,0xF8,0x00,0xF0,0x00,0x60,0x00,0x00, | |
579 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
580 0x00,0x00,0x00,0x00, | |
581 }; | |
582 const unsigned char n1_f[]={ | |
583 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
584 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x90,0x00,0x90,0x00,0x60,0x00,0x00, | |
585 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
586 0x00,0x00,0x00,0x00, | |
587 }; | |
588 const unsigned char n1_h[]={ | |
589 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08, | |
590 0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x68,0x00,0x98,0x00,0x90,0x00,0x60,0x00,0x00, | |
591 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
592 0x00,0x00,0x00,0x00, | |
593 }; | |
594 const unsigned char n5[]={ | |
595 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
596 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0xF0,0x00,0xF8,0x00,0x68,0x00,0x08, | |
597 0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x00, | |
598 0x00,0x00,0x00,0x00, | |
599 }; | |
600 const unsigned char n5_16[]={ | |
601 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
602 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0xF0,0x00,0xF8,0x00,0x68,0x00,0x08, | |
603 0x00,0x08,0x00,0x08,0x00,0x48,0x00,0x28,0x00,0x58,0x00,0x28,0x00,0x18,0x00,0x00, | |
604 0x00,0x00,0x00,0x00, | |
605 }; | |
606 const unsigned char n5_32[]={ | |
607 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
608 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0xF0,0x00,0xF8,0x00,0x68,0x00,0x08, | |
609 0x00,0x48,0x00,0x28,0x00,0x58,0x00,0x28,0x00,0x58,0x00,0x28,0x00,0x18,0x00,0x00, | |
610 0x00,0x00,0x00,0x00, | |
611 }; | |
612 const unsigned char n5_8[]={ | |
613 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
614 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0xF0,0x00,0xF8,0x00,0x68,0x00,0x08, | |
615 0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x48,0x00,0x28,0x00,0x18,0x00,0x00, | |
616 0x00,0x00,0x00,0x00, | |
617 }; | |
618 const unsigned char n5_h[]={ | |
619 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
620 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x90,0x00,0x98,0x00,0x68,0x00,0x08, | |
621 0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x00, | |
622 0x00,0x00,0x00,0x00, | |
623 }; | |
624 const unsigned char n4_b[]={ | |
625 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
626 0x00,0x00,0x00,0x80,0x00,0x40,0x00,0x60,0x00,0x60,0x00,0x40,0x00,0x80,0x00,0x80, | |
627 0x00,0x80,0x00,0x40,0x00,0x80,0x01,0x80,0x01,0x80,0x00,0x80,0x00,0x40,0x00,0x00, | |
628 0x00,0x00,0x00,0x00, | |
629 }; | |
630 const unsigned char n8_b[]={ | |
631 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
632 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x30,0x03,0xD0,0x00,0x20,0x00,0x60, | |
633 0x00,0x40,0x00,0x40,0x00,0x80,0x00,0x80,0x01,0x00,0x01,0x00,0x02,0x00,0x02,0x00, | |
634 0x00,0x00,0x00,0x00, | |
635 }; | |
636 const unsigned char n16_b[]={ | |
637 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
638 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x30,0x03,0xD0,0x00,0x20,0x06,0x60, | |
639 0x07,0xC0,0x00,0x40,0x00,0x80,0x00,0x80,0x01,0x00,0x01,0x00,0x02,0x00,0x02,0x00, | |
640 0x00,0x00,0x00,0x00, | |
641 }; | |
642 const unsigned char n32_b[]={ | |
643 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
644 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x30,0x03,0xD0,0x00,0x20,0x06,0x60, | |
645 0x07,0xC0,0x00,0x40,0x19,0x80,0x1E,0x80,0x01,0x00,0x01,0x00,0x02,0x00,0x02,0x00, | |
646 0x00,0x00,0x00,0x00, | |
647 }; | |
648 const unsigned char nf_b[]={ | |
649 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
650 0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xE0,0x07,0xE0,0x00,0x00,0x00,0x00,0x00,0x00, | |
651 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
652 0x00,0x00,0x00,0x00, | |
653 }; | |
654 const unsigned char nh_b[]={ | |
655 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
656 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xE0,0x07,0xE0,0x00,0x00, | |
657 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
658 0x00,0x00,0x00,0x00, | |
659 }; | |
660 const unsigned char n_point[]={ | |
661 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
662 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x03,0x00,0x00,0x00,0x00, | |
663 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
664 0x00,0x00,0x00,0x00, | |
665 }; | |
666 const unsigned char n_hash[]={ | |
667 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
668 0x00,0x00,0x00,0x00,0x00,0x00,0x14,0x00,0x3E,0x00,0x14,0x00,0x3E,0x00,0x14,0x00, | |
669 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
670 0x00,0x00,0x00,0x00, | |
671 }; | |
672 //the seperate screenparts are in the begining empty | |
673 const unsigned char screenpart0[]={ | |
674 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
675 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
676 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
677 0x00,0x00,0x00,0x00, | |
678 }; | |
679 const unsigned char screenpart1[]={ | |
680 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
681 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
682 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
683 0x00,0x00,0x00,0x00, | |
684 }; | |
685 const unsigned char screenpart2[]={ | |
686 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
687 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
688 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
689 0x00,0x00,0x00,0x00, | |
690 }; | |
691 const unsigned char screenpart3[]={ | |
692 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
693 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
694 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
695 0x00,0x00,0x00,0x00, | |
696 }; | |
697 const unsigned char screenpart4[]={ | |
698 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
699 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
700 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
701 0x00,0x00,0x00,0x00, | |
702 }; | |
703 //End of the melodygenerator icons | |
704 | |
705 #ifdef COLOURDISPLAY | |
706 | |
707 #endif | |
708 | |
709 /*Calculator Icon | |
710 */ | |
711 #ifndef COLOURDISPLAY /* x0039928 - Lint warning removal */ | |
712 static const unsigned char iconMainCalculator[] = | |
713 { | |
714 0xFE,0x0F,0x5A,0x44,0x00,0x00,0x00,0x00, 0x00,0x00,0xFC,0xE7,0xFD,0x10,0x00,0x1F, | |
715 0x80,0x00,0x00,0xFC,0xF9,0x13,0xFA,0x00, 0x00,0x66,0x40,0x00,0x03,0x32,0xF2,0x09, | |
716 0xDC,0x40,0x01,0x98,0x40,0x00,0x0C,0xC2, 0xE4,0xE4,0xFA,0x00,0x06,0x60,0x40,0x00, | |
717 0x33,0x02,0xC9,0x12,0x74,0x80,0x0F,0x83, 0x4C,0x18,0x7C,0x02,0x92,0x09,0x3A,0x28, | |
718 0x0D,0x04,0xDE,0x24,0xE8,0x02,0x24,0x44, 0x9D,0x00,0x0B,0x3B,0xFF,0xDF,0xD8,0x02, | |
719 0x48,0x22,0x4A,0x00,0x0D,0x4A,0x38,0x51, 0xE8,0x02,0x91,0x11,0x20,0x20,0x0B,0x6B, | |
720 0x7D,0x5B,0xD8,0x02,0x22,0x88,0x92,0x80, 0x0D,0x3B,0xFF,0xDF,0xE8,0x02,0x44,0x44, | |
721 0x88,0x04,0x0B,0x04,0xDE,0x24,0xD8,0x02, 0x80,0x80,0x84,0x00,0x0D,0x03,0x4C,0x18, | |
722 0x68,0x02,0x01,0x11,0x22,0x20,0x0B,0x07, 0x40,0x60,0x58,0x02,0x08,0xA2,0x51,0x00, | |
723 0x0D,0x0F,0xC0,0x90,0x68,0x02,0x44,0x44, 0xA8,0x80,0x0B,0x3F,0xFF,0x7F,0xD8,0x02, | |
724 0x2A,0x09,0x54,0x40,0x0D,0x5C,0x01,0x40, 0x68,0x02,0x11,0x12,0x2A,0x20,0x0B,0x7D, | |
725 0x55,0x6A,0xD8,0x02,0x00,0x25,0x11,0x10, 0x0D,0x3F,0xFF,0x7F,0xE8,0x02,0x00,0x4A, | |
726 0xAA,0x88,0x0B,0x0F,0xC0,0x90,0x58,0x02, 0x80,0x95,0x44,0x44,0x0D,0x07,0x40,0x60, | |
727 0x68,0x02,0x41,0x22,0xAA,0xA2,0x0B,0x00, 0x4C,0x01,0xD8,0x02,0xA2,0x51,0x11,0x11, | |
728 0x0D,0x00,0x5E,0x02,0x68,0x02,0xDC,0xAA, 0xAA,0xA8,0x8B,0x3F,0xFF,0xFD,0xD8,0x02, | |
729 0x61,0x54,0x44,0x44,0x8D,0x40,0x38,0x05, 0x68,0x02,0x32,0x2A,0xAA,0xA8,0x8B,0x6A, | |
730 0xBD,0x55,0xD8,0x02,0x99,0x11,0x11,0x11, 0x0D,0x3F,0xFF,0xFD,0xE8,0x02,0xCC,0xAA, | |
731 0xAA,0xA2,0x0B,0x01,0x9E,0x02,0x58,0x0C, 0xE6,0x44,0x44,0x44,0x0D,0x07,0x4C,0x01, | |
732 0xE8,0x3A,0xF3,0x2A,0xAA,0x88,0x0B,0x1A, 0xA0,0x00,0x58,0xD5,0xF9,0x91,0x11,0x10, | |
733 0x0D,0x75,0x50,0x00,0x6B,0xAA, | |
734 | |
735 }; | |
736 | |
737 /*CallDivert Icon | |
738 */ | |
739 static const unsigned char iconMainCallDivert[] = | |
740 { | |
741 0xFF,0xDD,0x49,0x20,0x0C,0x00,0x00,0x00, 0x00,0x00,0xFF,0x7A,0xA0,0x01,0x18,0x00, | |
742 0x00,0x00,0x00,0x00,0xFF,0xFD,0x52,0x88, 0x30,0x00,0x00,0x00,0x00,0x00,0xE3,0xEE, | |
743 0xA0,0x00,0x60,0x00,0x00,0x00,0x00,0x00, 0xE9,0xFD,0x54,0x80,0xC0,0x00,0x00,0x00, | |
744 0x00,0x00,0xEC,0xDE,0xA0,0x01,0x80,0x00, 0x00,0x00,0x00,0x00,0xE6,0x7B,0x52,0x83, | |
745 0x00,0x00,0x1F,0xFF,0x80,0x00,0xF3,0x3E, 0xA4,0x26,0x00,0x00,0x18,0x00,0x80,0x00, | |
746 0xF9,0x87,0x40,0x0C,0x00,0x00,0x73,0x9C, 0x60,0x00,0xFC,0xF2,0xA8,0x99,0x00,0x01, | |
747 0xD3,0xF4,0x18,0x00,0xF8,0xC9,0x40,0x30, 0x00,0x03,0x46,0x02,0x04,0x00,0xE3,0x34, | |
748 0x2A,0x60,0x00,0x07,0xFD,0x01,0xFE,0x00, 0x8C,0xCA,0x50,0xC4,0x00,0x06,0x08,0xF1, | |
749 0x82,0x00,0xB3,0x15,0x21,0x80,0x00,0x07, 0xFD,0x09,0xFE,0x00,0x24,0x24,0x83,0x00, | |
750 0x00,0x40,0x1A,0x64,0x80,0x00,0x54,0x08, 0x46,0x00,0x00,0x60,0x34,0x92,0x40,0x00, | |
751 0x4A,0x91,0xA1,0x99,0x99,0xF0,0x3D,0x02, 0x40,0x00,0x25,0x23,0x51,0x99,0x99,0xF0, | |
752 0x35,0x22,0x40,0x00,0xB2,0xC6,0xA8,0x00, 0x00,0x60,0x3C,0x82,0x40,0x00,0x99,0x0D, | |
753 0x54,0x20,0x00,0x40,0x32,0x44,0x40,0x00, 0xCC,0x9A,0xAA,0x00,0x00,0x00,0x79,0x08, | |
754 0x20,0x00,0xEA,0x5D,0x55,0x04,0x00,0x00, 0x60,0xF0,0x20,0x00,0xE5,0x2E,0xAA,0x80, | |
755 0x00,0x00,0xD0,0x00,0x10,0x00,0xF2,0x97, 0x55,0x40,0x20,0x01,0xFF,0xFF,0xF8,0x00, | |
756 0xF9,0x4B,0xAA,0xA0,0x00,0x03,0x50,0x00, 0x04,0x00,0xFC,0xA5,0xD5,0xA0,0x00,0x03, | |
757 0xA0,0x00,0x07,0x80,0xFE,0x52,0xEB,0x44, 0x00,0x01,0xFF,0xFF,0xF8,0xC0,0xFF,0x29, | |
758 0x77,0x40,0x00,0x00,0x00,0x00,0x00,0x78, 0xFF,0x94,0xBA,0x80,0x00,0x00,0x00,0x00, | |
759 0x00,0x0F,0xFF,0xCA,0x5C,0x80,0x00,0x00, 0x00,0x00,0x00,0x00,0xFF,0xE5,0x29,0x00, | |
760 0x00,0x00,0x00,0x00,0x00,0x00, | |
761 }; | |
762 | |
763 /*Messages Icon | |
764 */ | |
765 static const unsigned char iconMainMessages[] = | |
766 { | |
767 0xFF,0xF8,0xC4,0x27,0x04,0x00,0x00,0x01, 0x05,0x60,0xFF,0xE3,0x04,0x12,0x40,0x0F, | |
768 0x00,0x02,0x0A,0xC0,0xFF,0x8C,0x04,0x09, 0x10,0xFF,0x00,0x02,0x0D,0x80,0xFE,0x30, | |
769 0x04,0x04,0x01,0xF9,0x80,0x04,0x0A,0x80, 0xF8,0xC0,0x04,0x02,0x43,0x01,0x80,0x04, | |
770 0x15,0x80,0xE3,0x00,0x04,0x01,0x03,0x01, 0xC0,0x08,0x1B,0x00,0x8C,0x00,0x04,0x00, | |
771 0x80,0x01,0xC0,0x08,0x36,0x00,0x30,0x00, 0x04,0x00,0x48,0x01,0xC0,0x08,0x2A,0x00, | |
772 0xC0,0x00,0x04,0x00,0x20,0x7F,0xC0,0x04, 0x54,0x00,0x00,0x00,0x04,0x00,0x21,0xFF, | |
773 0xC0,0x04,0x78,0x00,0x00,0x00,0x04,0x00, 0x43,0xC0,0xC0,0x04,0xC0,0x00,0x00,0x00, | |
774 0x04,0x00,0x47,0x00,0xC0,0x02,0x80,0x00, 0x00,0x00,0x04,0x00,0x8E,0x00,0xC0,0x01, | |
775 0x80,0x00,0x00,0x00,0x04,0x00,0x8C,0x00, 0xC0,0xFF,0xE0,0x00,0x00,0x00,0x04,0x01, | |
776 0x0E,0x00,0xE3,0x01,0x18,0x00,0xFF,0xFF, 0xFC,0x01,0x27,0x03,0xF6,0x7F,0xCC,0x00, | |
777 0x00,0x00,0x00,0x02,0x07,0x87,0xF5,0x00, 0x14,0x00,0x00,0x00,0x00,0x02,0x81,0xFF, | |
778 0xF4,0xFF,0xE4,0x00,0x00,0x00,0x00,0x04, 0x00,0xFC,0x72,0x00,0x08,0x00,0x00,0x00, | |
779 0x00,0x04,0x00,0x00,0x01,0xFF,0xF0,0x00, 0x80,0x00,0x00,0x08,0x80,0x00,0x01,0x02, | |
780 0x10,0x00,0x40,0x00,0x00,0x0A,0x10,0x00, 0x01,0x22,0x10,0x00,0x20,0x00,0x00,0x10, | |
781 0x40,0x01,0xC1,0x24,0x10,0x00,0x90,0x00, 0x00,0x12,0x03,0xE0,0x02,0xA4,0x68,0x00, | |
782 0xC8,0x00,0x00,0x20,0x0F,0xE0,0x04,0x55, 0x04,0x00,0xE4,0x00,0x00,0x29,0xFF,0xF8, | |
783 0x0A,0xAE,0xAA,0x00,0xF2,0x00,0x00,0x42, 0x7F,0xF8,0x0F,0x5D,0x5E,0x00,0xF9,0x00, | |
784 0x00,0x58,0x07,0x00,0x0B,0xEA,0xFE,0x00, 0xFC,0x80,0x00,0x95,0x00,0x00,0x0B,0xFF, | |
785 0xFE,0x00,0xFE,0x40,0x00,0xBA,0x18,0x00, 0x0B,0xFF,0xFE,0x00,0xFF,0x20,0x01,0x35, | |
786 0x00,0x00,0x0F,0xFF,0xFE,0x00, | |
787 }; | |
788 | |
789 /*Phonebook Icon | |
790 */ | |
791 static const unsigned char iconMainPhonebook[] = | |
792 { | |
793 0xFF,0xB8,0xED,0x00,0x00,0x00,0x00,0x00, 0x30,0xC4,0xFF,0x9E,0x7A,0x14,0x80,0x00, | |
794 0x00,0x00,0xC3,0x22,0xFF,0x19,0x34,0x80, 0x00,0x00,0x00,0x03,0x0C,0x11,0xFC,0x60, | |
795 0xBA,0x00,0x00,0x00,0x00,0x0C,0x30,0x08, 0xF1,0x86,0x9D,0x10,0x00,0x00,0x00,0x30, | |
796 0xC0,0x0C,0xC6,0x1A,0x5A,0x04,0x00,0x00, 0x00,0x23,0x00,0x30,0x18,0x61,0x4C,0x40, | |
797 0x80,0x00,0x00,0x52,0x00,0xC0,0x61,0x81, 0x2A,0x00,0x00,0x00,0x00,0xA9,0x03,0x00, | |
798 0x86,0x04,0xA4,0x90,0x00,0x00,0xF0,0xD5, 0xEC,0x00,0x98,0x60,0x92,0x00,0x00,0x03, | |
799 0x0C,0x6E,0x18,0x00,0x51,0x82,0x50,0x00, 0x00,0x0C,0x03,0x38,0x06,0x00,0x4A,0x20, | |
800 0xCA,0x41,0x00,0x01,0xE0,0xA3,0xE1,0x80, 0xA8,0xC3,0x08,0x10,0x00,0x52,0x18,0x4C, | |
801 0x18,0x40,0xA5,0x0C,0x64,0x30,0x00,0x18, 0x06,0x50,0x06,0xC0,0x54,0x31,0xC4,0x7F, | |
802 0xFF,0xFC,0xC0,0x80,0x00,0xC0,0x52,0xC0, 0x12,0xFF,0xFF,0xFE,0x30,0x8F,0x81,0x80, | |
803 0x2B,0x00,0x72,0x7F,0xFF,0xFC,0x0D,0x30, 0x61,0x80,0xA8,0x61,0xE9,0x30,0x00,0x19, | |
804 0x01,0x40,0x1B,0x80,0x95,0xC7,0xB9,0x10, 0x02,0x10,0xC2,0x00,0x03,0x40,0xD4,0x1E, | |
805 0xF4,0x80,0x04,0x40,0x32,0x3E,0x06,0x21, 0xCA,0x7B,0xDC,0x82,0x04,0x8E,0x04,0xC1, | |
806 0x86,0x96,0xEA,0x6F,0x7A,0x48,0x08,0x31, 0x85,0x00,0x6F,0x4D,0xE5,0x3D,0xEE,0x40, | |
807 0x08,0xC0,0x68,0x00,0x0D,0xBA,0xF5,0x37, 0xBD,0x20,0x11,0x00,0x08,0xF8,0x18,0xD5, | |
808 0xF2,0x9E,0xF7,0x20,0x10,0x00,0x13,0x06, 0x18,0x6A,0xFA,0x9B,0xDE,0x91,0x20,0x00, | |
809 0x14,0x01,0xB8,0x35,0xF9,0x4F,0x7B,0x90, 0x20,0xF0,0x21,0xE0,0x30,0x1B,0xFD,0x4D, | |
810 0xEF,0x48,0x43,0x5C,0x26,0xB8,0x60,0x0E, 0xFC,0xA7,0xBD,0xC8,0x4E,0xAB,0x5D,0x56, | |
811 0x40,0x00,0xFE,0xA6,0xF7,0x84,0x35,0xFF, 0xFF,0xAB,0x80,0x00,0xFE,0x53,0xDE,0x04, | |
812 0x0B,0x00,0x00,0xFE,0x00,0x00, | |
813 }; | |
814 | |
815 /*RecentCalls Icon | |
816 */ | |
817 static const unsigned char iconMainRecentCalls[] = | |
818 { | |
819 0xFE,0xE8,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0xFF,0xD4,0x20,0x00,0x00,0x60, | |
820 0x00,0x00,0x00,0x00,0xFF,0xE8,0x80,0x00, 0x00,0x60,0x00,0x00,0x00,0x00,0xFF,0xD0, | |
821 0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x00, 0xFF,0x68,0x88,0x00,0x00,0x60,0x00,0x00, | |
822 0x00,0x00,0xFF,0xD2,0x00,0x01,0xFF,0xE0, 0x00,0x00,0x00,0x00,0xFF,0xA8,0x00,0x02, | |
823 0x00,0x10,0x00,0x00,0x00,0x00,0xFE,0xD4, 0x00,0x02,0xFF,0xD0,0x00,0x00,0x00,0x00, | |
824 0xFF,0xE8,0x80,0x03,0x00,0x30,0x00,0x00, 0x00,0x00,0xFF,0xD0,0x00,0x03,0x09,0x30, | |
825 0x00,0x00,0x00,0x00,0xFF,0x68,0x04,0x03, 0x35,0x30,0x04,0x00,0x00,0x00,0xFF,0xD5, | |
826 0x06,0x03,0x00,0x30,0x06,0x00,0x00,0x00, 0xFF,0xA8,0x27,0x03,0x00,0x30,0x07,0x00, | |
827 0x00,0x00,0xFF,0xD0,0x05,0x82,0xFF,0xD0, 0x05,0x80,0x00,0x00,0xFF,0x6B,0xFE,0xC2, | |
828 0x00,0x13,0xFE,0xC0,0x00,0x00,0xFD,0xD2, 0x07,0x62,0xC0,0xD2,0x07,0x60,0x00,0x00, | |
829 0xFF,0xEB,0xFF,0xB2,0xC0,0xD3,0xFF,0xB0, 0x00,0x00,0xFF,0xD3,0xFF,0xFA,0x00,0x13, | |
830 0xFF,0xF8,0x00,0x00,0xFF,0xAB,0xFF,0xF2, 0xFF,0xD3,0xFF,0xF0,0x00,0x00,0xFF,0xD3, | |
831 0xFF,0xE2,0x92,0x53,0xFF,0xE0,0x00,0x00, 0xFF,0xEB,0xFF,0xC2,0x92,0x53,0xFF,0xC0, | |
832 0x00,0x00,0xFE,0xD0,0x07,0x82,0xFF,0xD0, 0x07,0x80,0x00,0x00,0xFF,0xE8,0x47,0x02, | |
833 0x92,0x50,0x07,0x00,0x00,0x00,0xFF,0xD4, 0x06,0x02,0x92,0x50,0x06,0x00,0x00,0x00, | |
834 0xFB,0xA8,0x04,0x02,0xFF,0xD0,0x04,0x00, 0x00,0x00,0xFF,0xD0,0x00,0x02,0x92,0x50, | |
835 0x00,0x00,0x00,0x00,0xFF,0xE9,0x00,0x02, 0x92,0x50,0x00,0x00,0x00,0x00,0xFF,0x50, | |
836 0x00,0x02,0xFF,0xD0,0x00,0x00,0x00,0x00, 0xFD,0xE8,0x10,0x02,0x00,0x10,0x00,0x00, | |
837 0x00,0x00,0xFF,0xD4,0x80,0x01,0xFF,0xE0, 0x00,0x00,0x00,0x00,0xFF,0xA8,0x00,0x00, | |
838 0x00,0x00,0x00,0x00,0x00,0x00, | |
839 }; | |
840 | |
841 /*Security Icon | |
842 */ | |
843 static const unsigned char iconMainSecurity[] = | |
844 { | |
845 0xF0,0xC3,0x6A,0x10,0x00,0x38,0x00,0x00, 0x00,0x00,0xC7,0x3B,0xD5,0x44,0x80,0xC6, | |
846 0x00,0x00,0x00,0x00,0x98,0x09,0xEA,0x00, 0x01,0x01,0x80,0x00,0x00,0x00,0x21,0xE4, | |
847 0xB4,0x84,0x01,0x38,0x40,0x07,0xFF,0xFF, 0x56,0x12,0xEA,0x10,0x02,0x46,0x20,0x08, | |
848 0x00,0x00,0x68,0xD2,0x74,0x40,0x02,0x41, 0x20,0x11,0xFF,0xFF,0x7B,0xC9,0x28,0x01, | |
849 0x0C,0x9D,0x20,0x12,0x00,0x00,0x69,0xE4, 0x81,0x20,0x30,0x62,0x20,0x14,0x72,0x90, | |
850 0x35,0xC4,0xFC,0x08,0xC3,0x2C,0xC0,0x14, 0x4A,0xD4,0xBC,0x1B,0x32,0x43,0x17,0xA9, | |
851 0x80,0x14,0x72,0xB0,0x9A,0x60,0xC1,0x0C, 0x5C,0x6E,0xC0,0x14,0x42,0x94,0xDD,0x83, | |
852 0x00,0xB1,0x70,0x2A,0x40,0x14,0x42,0x90, 0xCF,0x0C,0x00,0xC5,0xC0,0x25,0x40,0x12, | |
853 0x00,0x00,0x97,0x30,0x03,0x57,0x00,0x12, 0x40,0x11,0xFF,0xFF,0xA8,0xD0,0x02,0xAC, | |
854 0x00,0x08,0x80,0x10,0x00,0x00,0xBF,0xA1, 0xE1,0x4C,0x00,0x04,0x80,0x10,0x00,0x00, | |
855 0xBB,0x43,0xF0,0xA7,0x00,0x06,0x80,0x11, 0xFF,0xFF,0xB6,0xA3,0xF0,0x50,0x80,0x04, | |
856 0x80,0x12,0x0A,0x14,0xBB,0x43,0xF0,0x29, 0x80,0x06,0x80,0x15,0x0C,0x18,0x9D,0xA1, | |
857 0xF0,0x17,0x00,0x04,0x80,0x16,0x0A,0x14, 0xDE,0xD0,0x78,0x0D,0x00,0x06,0x80,0x15, | |
858 0x0C,0x18,0xCD,0xA0,0x7C,0x01,0x00,0x04, 0x80,0x16,0x0A,0x14,0xEE,0xD0,0x7E,0x01, | |
859 0x00,0x06,0x80,0x17,0xFF,0xFF,0xE7,0x68, 0x3F,0x01,0x00,0x04,0x80,0x15,0x0A,0x14, | |
860 0xF6,0xB0,0x3F,0xC1,0x00,0x06,0x80,0x16, 0x0C,0x18,0xF3,0x68,0x3F,0x81,0x00,0x04, | |
861 0x80,0x15,0x0A,0x14,0xFB,0xB4,0x1F,0x02, 0x00,0x06,0xE0,0x16,0x0C,0x18,0xFB,0xDA, | |
862 0x1C,0x02,0x00,0x04,0x20,0x15,0x0A,0x14, 0xF9,0xAD,0x10,0x04,0x00,0x06,0xE0,0x17, | |
863 0xFF,0xFF,0xFD,0xDA,0x80,0x04,0x00,0x04, 0xF8,0x15,0x0A,0x14,0xFC,0xEF,0x40,0x08, | |
864 0x00,0x06,0x08,0x16,0x0C,0x18, | |
865 }; | |
866 | |
867 /*Settings Icon | |
868 */ | |
869 static const unsigned char iconMainSettings[] = | |
870 { | |
871 0xFF,0xFE,0x55,0x2D,0x44,0x00,0x05,0x00, 0x00,0x70,0xFF,0xFC,0xB6,0xBA,0x90,0x80, | |
872 0x08,0x80,0x01,0x88,0x1F,0xFD,0xA0,0x5D, 0x44,0x00,0x50,0x40,0x02,0x10,0xCF,0xF8, | |
873 0x80,0x8A,0x90,0x80,0xA0,0x20,0x04,0x61, 0xA8,0xFB,0x88,0xED,0x44,0x01,0xC0,0x40, | |
874 0x04,0x82,0xE2,0x7B,0x1C,0x2A,0x90,0x80, 0x80,0x80,0x08,0x85,0xA7,0x3B,0x88,0xED, | |
875 0x44,0x01,0x41,0x00,0x08,0x44,0x6C,0xB8, 0x80,0x8A,0x90,0x82,0x82,0x00,0x04,0x3B, | |
876 0x99,0x3D,0xA0,0x5D,0x44,0x07,0x25,0x00, 0x04,0x07,0x02,0x7C,0xB6,0x9A,0x90,0x86, | |
877 0x8C,0x80,0x08,0xAE,0x84,0xFE,0x55,0x3D, 0x44,0x07,0x56,0x40,0x11,0xFC,0x04,0x0F, | |
878 0x1C,0x6A,0x90,0x86,0xA3,0x20,0x23,0x30, 0x83,0xEF,0xC0,0xF5,0x44,0x07,0x41,0x90, | |
879 0x46,0x00,0xC0,0x2F,0xFF,0xBA,0x90,0x06, 0x80,0xC8,0x8C,0x00,0xC0,0x2F,0xFE,0xFD, | |
880 0x00,0x87,0x00,0x65,0x18,0x00,0x83,0xEF, 0xFF,0xEA,0x3C,0x06,0x00,0x32,0x30,0x00, | |
881 0x04,0x0F,0x00,0x7D,0x7E,0x00,0x00,0x19, 0x60,0x00,0x84,0xFF,0x7F,0x7A,0x7E,0x80, | |
882 0x00,0x0C,0xC0,0x00,0x02,0x63,0x69,0x61, 0x7E,0x00,0x01,0x96,0x40,0x00,0x99,0x09, | |
883 0x71,0x48,0x39,0x00,0x02,0x63,0x20,0x00, 0x6C,0x9C,0x69,0x14,0x84,0x80,0x04,0x07, | |
884 0x90,0x00,0xA7,0x32,0x71,0x22,0x12,0x40, 0x04,0x44,0xC8,0x00,0xE2,0x69,0x80,0xC1, | |
885 0x01,0x20,0x09,0xA4,0x78,0x00,0xA8,0xD0, 0x00,0x00,0x90,0x90,0x0A,0x52,0x30,0x00, | |
886 0xCE,0x69,0x00,0x01,0x04,0x48,0x04,0x26, 0x00,0x00,0x1F,0x32,0x00,0x02,0x50,0x27, | |
887 0xC0,0x36,0x00,0x00,0xF8,0x10,0x00,0x04, 0x04,0x9F,0xF0,0x5C,0x00,0x00,0xFB,0xE0, | |
888 0x00,0x03,0xF0,0x1F,0x98,0xF8,0x00,0x00, 0xFB,0x48,0x1C,0x00,0x14,0x7F,0xEE,0x60, | |
889 0x00,0x00,0xFB,0xA0,0x3E,0x00,0x10,0xFF, 0xF3,0x00,0x00,0x00,0xFB,0x48,0x77,0x00, | |
890 0x14,0xFF,0xFD,0x00,0x00,0x00, | |
891 }; | |
892 | |
893 /*SimToolkit Icon | |
894 */ | |
895 static const unsigned char iconMainSimToolkit[] = | |
896 { | |
897 0xFF,0xFF,0xFB,0xAA,0x08,0x80,0x40,0x00, 0x96,0x00,0x00,0x0F,0xDE,0xA0,0x40,0x00, | |
898 0x00,0x01,0x2C,0x00,0xFF,0xE1,0xFB,0x0A, 0x08,0x00,0x00,0xF2,0x58,0x00,0x80,0x14, | |
899 0xF7,0xA8,0x40,0x80,0x01,0x0C,0xB0,0x00, 0x40,0x0A,0x7D,0x22,0x08,0x08,0x02,0x01, | |
900 0x60,0x00,0x20,0x05,0x37,0xA8,0x40,0x00, 0x44,0x02,0xC0,0x00,0x90,0x03,0xBE,0x82, | |
901 0x08,0x00,0x04,0xF1,0x80,0x00,0xC8,0x01, 0x3F,0xAA,0x40,0x80,0x05,0x0A,0x80,0x00, | |
902 0xE4,0x00,0x98,0x00,0x00,0x00,0x02,0x09, 0x80,0x00,0xF2,0x00,0x43,0xFF,0xFF,0xFF, | |
903 0xC0,0x0A,0x80,0x00,0xF3,0x00,0x24,0x00, 0x00,0x00,0x20,0x15,0x80,0x00,0xE5,0x80, | |
904 0x58,0x00,0x00,0x00,0x10,0xE7,0x00,0x00, 0xC8,0xC0,0xB9,0xFF,0xFE,0x00,0x08,0x7E, | |
905 0x00,0x00,0x91,0x61,0x6A,0xAA,0xAB,0x00, 0x04,0x38,0x00,0x00,0x22,0xDA,0xCB,0xFD, | |
906 0x55,0x80,0x02,0x00,0x00,0x00,0x45,0x8D, 0x8B,0x02,0xAA,0x80,0x01,0x00,0x00,0x00, | |
907 0x8B,0x27,0x2A,0x01,0x55,0x80,0x01,0x00, 0x00,0x00,0x16,0x72,0x6A,0x01,0xBE,0x80, | |
908 0x01,0x00,0x00,0x00,0x2C,0xF8,0xEB,0x03, 0x41,0x80,0x01,0x00,0x00,0x00,0x59,0xFF, | |
909 0xEA,0xFE,0x80,0x80,0x01,0x00,0x00,0x00, 0xB3,0xFF,0xEB,0x55,0x80,0x80,0x01,0x00, | |
910 0x00,0x00,0x67,0xFF,0xEA,0xFE,0x80,0x80, 0x01,0x00,0x00,0x00,0xCF,0xFF,0xEB,0x03, | |
911 0x41,0x80,0x01,0x00,0x00,0x00,0x9F,0xFF, 0xEA,0x01,0xBE,0x80,0x01,0x00,0x00,0x00, | |
912 0x3F,0xFF,0xEA,0x01,0x55,0x80,0x01,0x00, 0x00,0x00,0xFF,0xFF,0xEB,0x02,0xAA,0x80, | |
913 0x01,0x00,0x00,0x00,0xFF,0xFF,0xEB,0xFD, 0x55,0x80,0x01,0x00,0x00,0x00,0xFF,0xFF, | |
914 0xE9,0xAA,0xAB,0x00,0x01,0x00,0x00,0x00, 0xFF,0xFF,0xE8,0xFF,0xFE,0x00,0x01,0x00, | |
915 0x00,0x00,0xFF,0xFF,0xE4,0x00,0x00,0x00, 0x02,0x00,0x00,0x00,0xFF,0xFF,0xF3,0xFF, | |
916 0xFF,0xFF,0xFC,0x00,0x00,0x00, | |
917 }; | |
918 | |
919 | |
920 /*WAP Icon | |
921 */ | |
922 static const unsigned char iconMainWAP[] = | |
923 { | |
924 0xFF,0xDA,0x90,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xF5,0x00,0x10,0x00,0x00, | |
925 0x00,0x00,0x00,0x00,0xFF,0x6A,0x40,0x80,0x03,0xFC,0x00,0x00,0x00,0x00,0xFF,0xF5, | |
926 0x10,0x00,0x1F,0xFF,0x00,0x00,0x00,0x00,0xFF,0xDA,0x80,0x00,0x3F,0xFF,0xC0,0x00, | |
927 0x00,0x00,0xFF,0xF5,0x40,0x00,0xFC,0x07,0xE0,0x00,0x00,0x00,0xF0,0x68,0x04,0x01, | |
928 0xF0,0x01,0xF0,0x00,0x00,0x00,0xF7,0x35,0xC0,0x71,0xE0,0x00,0xF8,0x3F,0xF0,0x00, | |
929 0xF7,0xB9,0xC0,0xF3,0xC3,0xC7,0x78,0x3F,0xFC,0x00,0xF3,0xB3,0xE0,0xE3,0x8F,0xEF, | |
930 0x38,0x3F,0xFC,0x00,0xFB,0xBB,0xE0,0xE7,0x1F,0xFE,0x3C,0x38,0x1E,0x00,0xFB,0x93, | |
931 0x60,0xE7,0x1E,0x3E,0x1C,0x38,0x0E,0x00,0xF9,0xD7,0x71,0xCF,0x38,0x1E,0x1C,0x38, | |
932 0x0E,0x00,0xFD,0xD7,0x71,0xCE,0x38,0x1E,0x1C,0x38,0x0E,0x00,0xFD,0xC7,0x71,0xCE, | |
933 0x70,0x1C,0x1C,0x38,0x1E,0x00,0xFD,0xEE,0x33,0xCE,0x70,0x1C,0x1C,0x3F,0xFC,0x00, | |
934 0xFC,0xEE,0x3B,0x8E,0x70,0x1C,0x38,0x3F,0xF8,0x00,0xFE,0xEE,0x3B,0x8E,0x70,0x3C, | |
935 0x38,0x3F,0xF0,0x00,0xFE,0xEE,0x3B,0x8E,0x70,0x78,0x70,0x38,0x00,0x00,0xFE,0x7C, | |
936 0x1F,0x0E,0x78,0xF8,0x70,0x38,0x00,0x00,0xFF,0x7D,0x1F,0x07,0x3F,0xF9,0xE0,0x38, | |
937 0x00,0x00,0xFF,0x7C,0x1F,0x07,0x1F,0xBF,0x80,0x38,0x00,0x00,0xFF,0x39,0x4E,0x07, | |
938 0x8F,0x1F,0x0E,0x38,0x00,0x00,0xFF,0xBA,0x0E,0x03,0xC0,0x00,0x1C,0x38,0x00,0x00, | |
939 0xFF,0x81,0x00,0x01,0xF0,0x00,0x78,0x00,0x00,0x00,0xFF,0xEA,0x90,0x00,0xFC,0x01, | |
940 0xF0,0x00,0x00,0x00,0xFD,0xF5,0x00,0x80,0x7F,0xFF,0xE0,0x00,0x00,0x00,0xFF,0xDA, | |
941 0x44,0x00,0x1F,0xFF,0x80,0x00,0x00,0x00,0xFF,0xF5,0x10,0x20,0x03,0xFE,0x00,0x00, | |
942 0x00,0x00,0xFF,0xAA,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xF5,0x22,0x00, | |
943 0x00,0x00,0x00,0x00,0x00,0x00, | |
944 }; | |
945 #endif | |
946 #if 0 | |
947 //Old Condat logo | |
948 /*animframe01 Icon | |
949 */ | |
950 static const unsigned char animframe01[] = | |
951 { | |
952 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x0C,0x00,0x00,0x00,0x00,0x00,0x00, | |
953 0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, | |
954 | |
955 }; | |
956 | |
957 /*animframe0 Icon | |
958 */ | |
959 static const unsigned char animframe0[] = | |
960 { | |
961 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00, | |
962 0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x1C, 0x00,0x00,0x00,0x00,0x00,0x00,0x1E,0x00, | |
963 0x00,0x00,0x00,0x00,0x00,0x1F,0x80,0x00, 0x00,0x00,0x00,0x00,0x0F,0x00,0x00,0x00, | |
964 0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
965 | |
966 }; | |
967 | |
968 /*animframe1 Icon | |
969 */ | |
970 static const unsigned char animframe1[] = | |
971 { | |
972 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00, | |
973 0x00,0x30,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
974 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
975 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00, | |
976 0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00, 0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x3C, | |
977 0x00,0x00,0x00,0x00,0x00,0x00,0x3C,0x00, 0x00,0x00,0x00,0x00,0x00,0x3F,0x00,0x00, | |
978 0x00,0x00,0x00,0x00,0x3F,0xC0,0x00,0x00, 0x00,0x00,0x00,0x3F,0x80,0x00,0x00,0x00, | |
979 0x00,0x00,0x0F,0x00,0x00,0x00,0x00,0x00, 0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00, | |
980 0x00,0x00,0x00,0x00,0x00, | |
981 | |
982 }; | |
983 | |
984 /*animframe2 Icon | |
985 */ | |
986 static const unsigned char animframe2[] = | |
987 { | |
988 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x1E,0x00,0x00,0x00,0x00,0x00, | |
989 0x00,0x3C,0x00,0x00,0x00,0x00,0x00,0x00, 0x78,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
990 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
991 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00, | |
992 0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00, 0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x7C, | |
993 0x00,0x00,0x00,0x00,0x00,0x00,0x7C,0x00, 0x00,0x00,0x00,0x00,0x00,0x7E,0x00,0x00, | |
994 0x00,0x00,0x00,0x00,0x7F,0x80,0x00,0x00, 0x00,0x00,0x00,0x7F,0xE0,0x00,0x00,0x00, | |
995 0x00,0x00,0x7F,0xC0,0x00,0x00,0x00,0x00, 0x00,0x3F,0x80,0x00,0x00,0x00,0x00,0x00, | |
996 0x0F,0x00,0x00,0x00,0x00,0x00,0x00,0x02, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
997 0x00,0x00,0x00, | |
998 }; | |
999 | |
1000 /*animframe3 Icon | |
1001 */ | |
1002 static const unsigned char animframe3[] = | |
1003 { | |
1004 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x1F,0x80,0x00,0x00,0x00,0x00, | |
1005 0x00,0x3F,0x00,0x00,0x00,0x00,0x00,0x00, 0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0xFC, | |
1006 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
1007 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00, | |
1008 0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00, 0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x7C, | |
1009 0x00,0x00,0x00,0x00,0x00,0x00,0xFC,0x00, 0x00,0x00,0x00,0x00,0x00,0xFE,0x00,0x00, | |
1010 0x00,0x00,0x00,0x00,0xFF,0x00,0x00,0x00, 0x00,0x00,0x00,0xFF,0xE0,0x00,0x00,0x00, | |
1011 0x00,0x00,0xFF,0xF0,0x00,0x00,0x00,0x00, 0x00,0xFF,0xE0,0x00,0x00,0x00,0x00,0x00, | |
1012 0x7F,0xC0,0x00,0x00,0x00,0x00,0x00,0x3F, 0x80,0x00,0x00,0x00,0x00,0x00,0x0F,0x00, | |
1013 0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
1014 0x00, | |
1015 }; | |
1016 | |
1017 /*animframe4 Icon | |
1018 */ | |
1019 static const unsigned char animframe4[] = | |
1020 { | |
1021 | |
1022 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x1F,0xF8,0x00,0x00,0x00,0x00, | |
1023 0x00,0x3F,0xF0,0x00,0x00,0x00,0x00,0x00, 0x7F,0xE0,0x00,0x00,0x00,0x00,0x00,0xFF, | |
1024 0xC0,0x00,0x00,0x00,0x00,0x01,0xFF,0x80, 0x00,0x00,0x00,0x00,0x03,0xFF,0x00,0x00, | |
1025 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00, | |
1026 0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00, 0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x78, | |
1027 0x00,0x00,0x00,0x00,0x00,0x00,0xFC,0x00, 0x00,0x00,0x00,0x00,0x01,0xFC,0x00,0x00, | |
1028 0x00,0x00,0x00,0x03,0xFE,0x00,0x00,0x00, 0x00,0x00,0x03,0xFE,0x00,0x00,0x00,0x00, | |
1029 0x00,0x03,0xFF,0x80,0x00,0x00,0x00,0x00, 0x03,0xFF,0xF0,0x00,0x00,0x00,0x00,0x03, | |
1030 0xFF,0xFC,0x00,0x00,0x00,0x00,0x03,0xFF, 0xF8,0x00,0x00,0x00,0x00,0x01,0xFF,0xF0, | |
1031 0x00,0x00,0x00,0x00,0x00,0xFF,0xE0,0x00, 0x00,0x00,0x00,0x00,0x7F,0xC0,0x00,0x00, | |
1032 0x00,0x00,0x00,0x3F,0x80,0x00,0x00,0x00, 0x00,0x00,0x0F,0x00,0x00,0x00,0x00,0x00, | |
1033 0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1034 }; | |
1035 | |
1036 /*animframe5 Icon | |
1037 */ | |
1038 static const unsigned char animframe5[] = | |
1039 { | |
1040 | |
1041 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x2A,0xAA,0x00,0x00,0x00,0x00, | |
1042 0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00, 0x9F,0xFE,0x00,0x00,0x00,0x00,0x00,0x3F, | |
1043 0xFC,0x80,0x00,0x00,0x00,0x02,0x7F,0xF9, 0x00,0x00,0x00,0x00,0x00,0xFF,0xF0,0x00, | |
1044 0x00,0x00,0x00,0x09,0xFF,0xE4,0x00,0x00, 0x00,0x00,0x03,0xFF,0xC0,0x00,0x00,0x00, | |
1045 0x00,0x27,0xFF,0x90,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x99, | |
1046 0x55,0x40,0x00,0x00,0x00,0x00,0x38,0x00, 0x00,0x00,0x00,0x00,0x02,0x79,0x00,0x00, | |
1047 0x00,0x00,0x00,0x00,0xFC,0x00,0x00,0x00, 0x00,0x00,0x09,0xFC,0x80,0x00,0x00,0x00, | |
1048 0x00,0x03,0xFE,0x00,0x00,0x00,0x00,0x00, 0x17,0xFE,0x40,0x00,0x00,0x00,0x00,0x07, | |
1049 0xFF,0x14,0x00,0x00,0x00,0x00,0x17,0xFF, 0xC1,0x00,0x00,0x00,0x00,0x07,0xFF,0xF8, | |
1050 0x00,0x00,0x00,0x00,0x17,0xFF,0xFE,0x80, 0x00,0x00,0x00,0x03,0xFF,0xFC,0x00,0x00, | |
1051 0x00,0x00,0x0B,0xFF,0xF9,0x00,0x00,0x00, 0x00,0x01,0xFF,0xF0,0x00,0x00,0x00,0x00, | |
1052 0x04,0xFF,0xE4,0x00,0x00,0x00,0x00,0x00, 0x7F,0xC0,0x00,0x00,0x00,0x00,0x01,0x1F, | |
1053 0x90,0x00,0x00,0x00,0x00,0x00,0x47,0x00, 0x00,0x00,0x00,0x00,0x00,0x10,0x40,0x00, | |
1054 0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
1055 }; | |
1056 | |
1057 /*animframe6 Icon | |
1058 */ | |
1059 static const unsigned char animframe6[] = | |
1060 { | |
1061 | |
1062 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x22,0x22,0x00,0x00,0x00,0x00, | |
1063 0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x01, 0x2A,0xAA,0x00,0x00,0x00,0x00,0x00,0x00, | |
1064 0x00,0x80,0x00,0x00,0x00,0x04,0x9F,0xFE, 0x08,0x00,0x00,0x00,0x08,0x3F,0xFC,0x80, | |
1065 0x00,0x00,0x00,0x02,0x7F,0xF9,0x20,0x00, 0x00,0x00,0x00,0xFF,0xF0,0x00,0x00,0x00, | |
1066 0x01,0x49,0xFF,0xE4,0x80,0x00,0x00,0x00, 0x03,0xFF,0xC0,0x40,0x00,0x00,0x00,0x27, | |
1067 0xFF,0x90,0x00,0x00,0x00,0x0A,0x08,0x00, 0x05,0x00,0x00,0x00,0x00,0x99,0x55,0x40, | |
1068 0x00,0x00,0x00,0x28,0x38,0x11,0x14,0x00, 0x00,0x00,0x02,0x79,0x22,0x21,0x00,0x00, | |
1069 0x00,0x00,0xFC,0x00,0x00,0x00,0x00,0x00, 0x09,0xFC,0xA0,0x10,0x00,0x00,0x00,0x43, | |
1070 0xFE,0x04,0x80,0x00,0x00,0x00,0x17,0xFE, 0x40,0x00,0x00,0x00,0x00,0x07,0xFF,0x14, | |
1071 0x40,0x00,0x00,0x00,0x37,0xFF,0xC1,0x24, 0x00,0x00,0x00,0x47,0xFF,0xF8,0x00,0x00, | |
1072 0x00,0x00,0x17,0xFF,0xFE,0x80,0x00,0x00, 0x01,0x03,0xFF,0xFC,0x08,0x00,0x00,0x00, | |
1073 0x2B,0xFF,0xF9,0x20,0x00,0x00,0x00,0x01, 0xFF,0xF0,0x00,0x00,0x00,0x00,0x44,0xFF, | |
1074 0xE4,0x80,0x00,0x00,0x00,0x00,0x7F,0xC1, 0x40,0x00,0x00,0x00,0x49,0x1F,0x90,0x00, | |
1075 0x00,0x00,0x00,0x10,0x47,0x05,0x00,0x00, 0x00,0x00,0x02,0x10,0x40,0x00,0x00,0x00, | |
1076 0x00,0x04,0x45,0x14,0x00,0x00,0x00,0x00, 0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00, | |
1077 0x11,0x10,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, | |
1078 | |
1079 | |
1080 }; | |
1081 | |
1082 /*animframe7 Icon | |
1083 */ | |
1084 static const unsigned char animframe7[] = | |
1085 { | |
1086 | |
1087 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x80,0xA0,0x40,0x00,0x00,0x00, | |
1088 0x00,0x10,0x08,0x04,0x00,0x00,0x00,0x08, 0x00,0x00,0x40,0x00,0x00,0x00,0x01,0x22, | |
1089 0x22,0x00,0x00,0x00,0x00,0x00,0x14,0x51, 0x00,0x00,0x00,0x00,0x85,0x3F,0xFF,0x20, | |
1090 0x00,0x00,0x00,0x10,0x40,0x00,0xC0,0x00, 0x00,0x00,0x04,0x9F,0xFE,0x88,0x00,0x00, | |
1091 0x08,0x29,0x3F,0xFC,0x80,0x00,0x00,0x01, 0x02,0x7F,0xF9,0x22,0x00,0x00,0x00,0x04, | |
1092 0xFF,0xF2,0x00,0x00,0x00,0x01,0x49,0xFF, 0xE4,0x80,0x00,0x00,0x10,0x13,0xFF,0xC8, | |
1093 0x40,0x00,0x01,0x00,0x27,0xFF,0x90,0x08, 0x00,0x00,0x0A,0x48,0x00,0x25,0x00,0x00, | |
1094 0x00,0x00,0x99,0xFF,0xC0,0x00,0x00,0x00, 0x29,0x3A,0x11,0x14,0x00,0x00,0x00,0x82, | |
1095 0x79,0x22,0x21,0x00,0x00,0x00,0x04,0xFD, 0x00,0x00,0x00,0x00,0x00,0x09,0xFC,0xA0, | |
1096 0x10,0x00,0x00,0x00,0x53,0xFE,0x84,0x80, 0x00,0x00,0x04,0x17,0xFE,0x60,0x00,0x00, | |
1097 0x00,0x00,0x17,0xFF,0x1C,0x40,0x00,0x00, 0x00,0x37,0xFF,0xC3,0x24,0x00,0x00,0x00, | |
1098 0x57,0xFF,0xF8,0x80,0x00,0x00,0x00,0x17, 0xFF,0xFE,0x80,0x00,0x00,0x01,0x13,0xFF, | |
1099 0xFC,0x88,0x00,0x00,0x00,0x2B,0xFF,0xF9, 0x20,0x00,0x00,0x04,0x09,0xFF,0xF2,0x00, | |
1100 0x00,0x00,0x00,0x44,0xFF,0xE4,0x80,0x00, 0x00,0x00,0x02,0x7F,0xC9,0x40,0x00,0x00, | |
1101 0x00,0x49,0x1F,0x90,0x04,0x00,0x00,0x00, 0x10,0xC7,0x25,0x00,0x00,0x00,0x00,0x02, | |
1102 0x30,0x40,0x20,0x00,0x00,0x00,0x04,0x4F, 0x94,0x00,0x00,0x00,0x00,0x80,0x80,0x00, | |
1103 0x00,0x00,0x00,0x00,0x00,0x11,0x12,0x00, 0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00, | |
1104 0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00, 0x00,0x00,0x80,0x40,0x00,0x00,0x00,0x00, | |
1105 0x00,0x00,0x00,0x00,0x00,0x00, | |
1106 | |
1107 | |
1108 }; | |
1109 | |
1110 /*animframe8 Icon | |
1111 */ | |
1112 static const unsigned char animframe8[] = | |
1113 { | |
1114 | |
1115 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x80,0xA0,0x40,0x00,0x00,0x00, | |
1116 0x00,0x10,0x08,0x04,0x00,0x00,0x00,0x08, 0x00,0x00,0x40,0x00,0x00,0x00,0x01,0x22, | |
1117 0x22,0x00,0x00,0x00,0x00,0x00,0x55,0x55, 0x40,0x00,0x00,0x00,0x85,0x7F,0xFF,0xA0, | |
1118 0x00,0x00,0x00,0x12,0xC0,0x00,0xC0,0x00, 0x00,0x00,0x05,0x9F,0xFE,0x88,0x00,0x00, | |
1119 0x08,0x2B,0x3F,0xFC,0xC0,0x00,0x00,0x01, 0x16,0x7F,0xF9,0xA2,0x00,0x00,0x00,0x2C, | |
1120 0xFF,0xF3,0x40,0x00,0x00,0x01,0x59,0xFF, 0xE6,0x80,0x00,0x00,0x10,0xB3,0xFF,0xCD, | |
1121 0x40,0x00,0x01,0x01,0x67,0xFF,0x9A,0x08, 0x00,0x00,0x0A,0xC8,0x00,0x35,0x00,0x00, | |
1122 0x00,0x05,0x9B,0xFF,0xE8,0x00,0x00,0x00, 0x2B,0x3B,0x55,0x54,0x00,0x00,0x00,0x96, | |
1123 0x79,0xA2,0x21,0x00,0x00,0x00,0x0C,0xFD, 0xC0,0x00,0x00,0x00,0x00,0x39,0xFC,0xA0, | |
1124 0x10,0x00,0x00,0x00,0x53,0xFE,0xD4,0x80, 0x00,0x00,0x04,0x37,0xFE,0x7A,0x00,0x00, | |
1125 0x00,0x00,0x17,0xFF,0x1F,0x40,0x00,0x00, 0x00,0x37,0xFF,0xC3,0xA4,0x00,0x00,0x00, | |
1126 0x57,0xFF,0xF8,0xC0,0x00,0x00,0x00,0x37, 0xFF,0xFE,0x80,0x00,0x00,0x01,0x13,0xFF, | |
1127 0xFC,0xC8,0x00,0x00,0x00,0x3B,0xFF,0xF9, 0xA0,0x00,0x00,0x04,0x19,0xFF,0xF3,0x40, | |
1128 0x00,0x00,0x00,0x4C,0xFF,0xE6,0x80,0x00, 0x00,0x00,0x16,0x7F,0xCD,0x40,0x00,0x00, | |
1129 0x00,0x4B,0x1F,0x9A,0x04,0x00,0x00,0x00, 0x15,0xC7,0x35,0x00,0x00,0x00,0x00,0x02, | |
1130 0xF0,0x68,0x20,0x00,0x00,0x00,0x04,0x5F, 0xD4,0x00,0x00,0x00,0x00,0x80,0xAA,0xA0, | |
1131 0x00,0x00,0x00,0x00,0x00,0x11,0x12,0x00, 0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00, | |
1132 0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00, 0x00,0x00,0x80,0x40,0x00,0x00,0x00,0x00, | |
1133 0x00,0x00,0x00,0x00,0x00,0x00, | |
1134 | |
1135 | |
1136 }; | |
1137 #endif | |
1138 | |
1139 #ifdef EASY_TEXT_ENABLED | |
1140 | |
1141 // AP - 06/09/2001 | |
1142 /* eZitext Icon | |
1143 */ | |
1144 | |
1145 static const unsigned char TextIconeZiText[] = | |
1146 { | |
1147 0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
1148 0x00,0x07,0x86,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
1149 0x00,0x07,0x86,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
1150 0x00,0x01,0x86,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
1151 0x00,0x01,0x86,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
1152 0x01,0xF8,0x06,0x00,0x1F,0x99,0xFF,0x80,0x01,0x80, | |
1153 0x01,0xF8,0x06,0x00,0x1F,0x99,0xFF,0x80,0x01,0x80, | |
1154 0x07,0xF8,0x06,0x00,0x01,0x80,0x18,0x00,0x07,0xE0, | |
1155 0x07,0xF8,0x06,0x00,0x01,0x80,0x18,0x00,0x07,0xE0, | |
1156 0x18,0x78,0x06,0x06,0x01,0x98,0x18,0x61,0x99,0x80, | |
1157 0x18,0x78,0x06,0x06,0x01,0x98,0x18,0x61,0x99,0x80, | |
1158 0x01,0xE0,0x06,0x19,0x86,0x18,0x19,0x99,0x99,0x80, | |
1159 0x01,0xE0,0x06,0x19,0x86,0x18,0x19,0x99,0x99,0x80, | |
1160 0x07,0x80,0x06,0x1F,0x98,0x18,0x19,0xF8,0x61,0x80, | |
1161 0x07,0x80,0x06,0x1F,0x98,0x18,0x19,0xF8,0x61,0x80, | |
1162 0x18,0x60,0x06,0x18,0x18,0x18,0x19,0x81,0x99,0x98, | |
1163 0x18,0x60,0x06,0x18,0x18,0x18,0x19,0x81,0x99,0x98, | |
1164 0x1F,0x80,0x06,0x07,0x9F,0x98,0x18,0x79,0x98,0x60, | |
1165 0x1F,0x80,0x06,0x07,0x9F,0x98,0x18,0x79,0x98,0x60, | |
1166 0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00 | |
1167 | |
1168 }; | |
1169 | |
1170 static const unsigned char TextIconeZiTextSmall[] = | |
1171 { | |
1172 0x03, | |
1173 0x03, | |
1174 0x18, | |
1175 0x7c, | |
1176 0xcc, | |
1177 0x08, | |
1178 0x10, | |
1179 0x0c | |
1180 }; | |
1181 | |
1182 #endif | |
1183 | |
1184 /* SIM Toolkit icons | |
1185 */ | |
1186 static const unsigned char SIMToolAll[] = | |
1187 { | |
1188 /* Large Icon | |
1189 */ | |
1190 0x00,0x1f,0xff,0xf8,0x00, 0x00,0x7f,0xff,0xfe,0x00, | |
1191 0x01,0xff,0xff,0xff,0x80, 0x03,0xff,0xff,0xff,0xc0, | |
1192 0x07,0xff,0xff,0xff,0xe0, 0x0f,0xff,0xff,0xff,0xf0, | |
1193 0x1f,0xff,0xff,0xff,0xf8, 0x3f,0xff,0xff,0xff,0xfc, | |
1194 0x7f,0xff,0xff,0xff,0xfe, 0x7f,0xff,0xff,0xff,0xfe, | |
1195 0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff, | |
1196 0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff, | |
1197 0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff, | |
1198 0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff, | |
1199 0x7f,0xff,0xff,0xff,0xfe, 0x7f,0xff,0xff,0xff,0xfe, | |
1200 0x3f,0xff,0xff,0xff,0xfc, 0x1f,0xff,0xff,0xff,0xf8, | |
1201 0x0f,0xff,0xff,0xff,0xf0, 0x07,0xff,0xff,0xff,0xe0, | |
1202 0x03,0xff,0xff,0xff,0xc0, 0x01,0xff,0xff,0xff,0x80, | |
1203 0x00,0x7f,0xff,0xfe,0x00, 0x00,0x1f,0xff,0xf8,0x00, | |
1204 | |
1205 /* Primary Icon | |
1206 */ | |
1207 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1208 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1209 0x00,0xff,0xff,0xff,0x00, 0x07,0xff,0xff,0xff,0xe0, | |
1210 0x0f,0xff,0xff,0xff,0xf0, 0x1f,0xff,0xff,0xff,0xf8, | |
1211 0x3f,0xff,0xff,0xff,0xfc, 0x7f,0xff,0xff,0xff,0xfe, | |
1212 0x7f,0xff,0xff,0xff,0xfe, 0xff,0xff,0xff,0xff,0xff, | |
1213 0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff, | |
1214 0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff, | |
1215 0xff,0xff,0xff,0xff,0xff, 0x7f,0xff,0xff,0xff,0xfe, | |
1216 0x7f,0xff,0xff,0xff,0xfe, 0x3f,0xff,0xff,0xff,0xfc, | |
1217 0x1f,0xff,0xff,0xff,0xf8, 0x0f,0xff,0xff,0xff,0xf0, | |
1218 0x07,0xff,0xff,0xff,0xe0, 0x00,0xff,0xff,0xff,0x00, | |
1219 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1220 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1221 | |
1222 /* Secondary Icon | |
1223 */ | |
1224 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1225 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1226 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1227 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1228 0x00,0x0f,0xff,0xf0,0x00, 0x01,0xff,0xff,0xff,0x80, | |
1229 0x0f,0xff,0xff,0xff,0xf0, 0x7f,0xff,0xff,0xff,0xfe, | |
1230 0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff, | |
1231 0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff, | |
1232 0x7f,0xff,0xff,0xff,0xfe, 0x0f,0xff,0xff,0xff,0xf0, | |
1233 0x01,0xff,0xff,0xff,0x80, 0x00,0x0f,0xff,0xf0,0x00, | |
1234 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1235 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1236 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1237 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1238 | |
1239 /* Tertiary Icon | |
1240 */ | |
1241 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1242 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1243 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1244 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1245 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1246 0x00,0x00,0x00,0x00,0x00, 0x0f,0xff,0xff,0xff,0xf0, | |
1247 0x7f,0xff,0xff,0xff,0xfe, 0xff,0xff,0xff,0xff,0xff, | |
1248 0xff,0xff,0xff,0xff,0xff, 0x7f,0xff,0xff,0xff,0xfe, | |
1249 0x0f,0xff,0xff,0xff,0xf0, 0x00,0x00,0x00,0x00,0x00, | |
1250 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1251 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1252 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1253 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1254 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00 | |
1255 }; | |
1256 | |
1257 /* Message icons | |
1258 */ | |
1259 static const unsigned char MessageAll[] = | |
1260 { | |
1261 /* Large Icon | |
1262 */ | |
1263 0x00,0x1f,0xff,0xf8,0x00, 0x00,0x7f,0xff,0xfe,0x00, | |
1264 0x01,0xff,0xff,0xff,0x80, 0x03,0xff,0xff,0xff,0xc0, | |
1265 0x07,0xff,0xff,0xff,0xe0, 0x0f,0xff,0xff,0xff,0xf0, | |
1266 0x1f,0xc0,0x00,0x03,0xf8, 0x3f,0xdf,0xff,0xf3,0xfc, | |
1267 0x7f,0xd7,0xff,0xeb,0xfe, 0x7f,0xdb,0xff,0xdb,0xfe, | |
1268 0xff,0xdd,0xff,0xbb,0xff, 0xff,0xde,0xff,0x7b,0xff, | |
1269 0xff,0xdf,0x7e,0xfb,0xff, 0xff,0xdf,0xbd,0xfb,0xff, | |
1270 0xff,0xdf,0xdb,0xfb,0xff, 0xff,0xdf,0xe7,0xfb,0xff, | |
1271 0xff,0xdf,0xff,0xfb,0xff, 0xff,0xdf,0xff,0xfb,0xff, | |
1272 0x7f,0xdf,0xff,0xfb,0xfe, 0x7f,0xdf,0xff,0xfb,0xfe, | |
1273 0x3f,0xdf,0xff,0xf3,0xfc, 0x1f,0xc0,0x00,0x03,0xf8, | |
1274 0x0f,0xff,0xff,0xff,0xf0, 0x07,0xff,0xff,0xff,0xe0, | |
1275 0x03,0xff,0xff,0xff,0xc0, 0x01,0xff,0xff,0xff,0x80, | |
1276 0x00,0x7f,0xff,0xfe,0x00, 0x00,0x1f,0xff,0xf8,0x00, | |
1277 | |
1278 /* Primary Icon | |
1279 */ | |
1280 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1281 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1282 0x00,0xff,0xff,0xff,0x00, 0x07,0xff,0xff,0xff,0xe0, | |
1283 0x0f,0xff,0xff,0xff,0xf0, 0x1f,0xff,0xff,0xff,0xf8, | |
1284 0x3f,0xc0,0x00,0x03,0xfc, 0x7f,0xcf,0xff,0xf3,0xfe, | |
1285 0x7f,0xd7,0xff,0xeb,0xfe, 0xff,0xdb,0xff,0xdb,0xff, | |
1286 0xff,0xdd,0xff,0xbb,0xff, 0xff,0xde,0xff,0x7b,0xff, | |
1287 0xff,0xdf,0x7e,0xfb,0xff, 0xff,0xdf,0xbd,0xfb,0xff, | |
1288 0xff,0xdf,0xdb,0xfb,0xff, 0x7f,0xdf,0xe7,0xfb,0xfe, | |
1289 0x7f,0xdf,0xff,0xfb,0xfe, 0x3f,0xc0,0x00,0x03,0xfc, | |
1290 0x1f,0xff,0xff,0xff,0xf8, 0x0f,0xff,0xff,0xff,0xf0, | |
1291 0x07,0xff,0xff,0xff,0xe0, 0x00,0xff,0xff,0xff,0x00, | |
1292 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1293 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1294 | |
1295 /* Secondary Icon | |
1296 */ | |
1297 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1298 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1299 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1300 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1301 0x00,0x0f,0xff,0xf0,0x00, 0x01,0xff,0xff,0xff,0x80, | |
1302 0x0f,0xff,0xff,0xff,0xf0, 0x7f,0xff,0xff,0xff,0xfe, | |
1303 0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff, | |
1304 0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff, | |
1305 0x7f,0xff,0xff,0xff,0xfe, 0x0f,0xff,0xff,0xff,0xf0, | |
1306 0x01,0xff,0xff,0xff,0x80, 0x00,0x0f,0xff,0xf0,0x00, | |
1307 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1308 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1309 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1310 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1311 | |
1312 /* Tertiary Icon | |
1313 */ | |
1314 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1315 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1316 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1317 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1318 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1319 0x00,0x00,0x00,0x00,0x00, 0x0f,0xff,0xff,0xff,0xf0, | |
1320 0x7f,0xff,0xff,0xff,0xfe, 0xff,0xff,0xff,0xff,0xff, | |
1321 0xff,0xff,0xff,0xff,0xff, 0x7f,0xff,0xff,0xff,0xfe, | |
1322 0x0f,0xff,0xff,0xff,0xf0, 0x00,0x00,0x00,0x00,0x00, | |
1323 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1324 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1325 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1326 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | |
1327 0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00 | |
1328 }; | |
1329 | |
1330 static const unsigned char TILogo_bw[] = { | |
1331 0x00,0x00,0x3F,0xE0,0x00,0x00,0x00, 0x00,0x00,0x3F,0xE0,0x00,0x00,0x00, 0x00,0x00,0x3F,0xE0,0x00,0x00,0x00, 0x00,0x00,0x3F,0xE0,0x00,0x00,0x00, | |
1332 0x00,0x00,0x3F,0xE0,0xE0,0x00,0x00, 0x00,0x00,0x3F,0xE0,0xE0,0x00,0x00, 0x00,0x00,0x3F,0xF0,0xE0,0x00,0x00, 0x00,0x00,0x3F,0xF8,0xE0,0x00,0x00, | |
1333 0x00,0x00,0x3F,0xF8,0x07,0xF0,0x00, 0x00,0x00,0x3F,0xF8,0x07,0xF0,0x00, 0x00,0x00,0x3F,0xF1,0xC7,0xF0,0x00, 0x00,0x00,0x3F,0xF3,0xCF,0xF0,0x00, | |
1334 0x00,0x00,0x3F,0x83,0xC1,0xF0,0x00, 0x00,0x00,0x3F,0x83,0x81,0xF0,0x00, 0x00,0x00,0x3F,0x83,0x81,0xF8,0x00, 0x00,0xFF,0xFF,0x03,0x81,0xF8,0x00, | |
1335 0x00,0xFF,0xFF,0x03,0x81,0xFC,0x00, 0x00,0xFF,0xFF,0xE7,0x9F,0xFE,0x00, 0x00,0x7F,0xFF,0xE7,0x9F,0xFE,0x00, 0x00,0x3F,0xFF,0xE7,0x1F,0xFE,0x00, | |
1336 0x00,0x1F,0xFF,0xEF,0x3F,0xFC,0x00, 0x00,0x0F,0xFF,0xCF,0x3F,0xFC,0x00, 0x00,0x07,0xFF,0xCF,0x7F,0xFC,0x00, 0x00,0x07,0xFF,0xC0,0x27,0xFC,0x00, | |
1337 0x00,0x07,0xF3,0xC0,0x0F,0xF0,0x00, 0x00,0x03,0xC3,0xC0,0x0F,0xE0,0x00, 0x00,0x01,0xC1,0xE0,0x1F,0x00,0x00, 0x00,0x00,0x00,0xE0,0x3E,0x00,0x00, | |
1338 0x00,0x00,0x00,0xF8,0xFC,0x00,0x00, 0x00,0x00,0x00,0x7F,0xF8,0x00,0x00, 0x00,0x00,0x00,0x7F,0xF0,0x00,0x00, 0x00,0x00,0x00,0x3F,0xE0,0x00,0x00, | |
1339 0x00,0x00,0x00,0x3F,0xE0,0x00,0x00, 0x00,0x00,0x00,0x1F,0xE0,0x00,0x00, 0x00,0x00,0x00,0x0F,0xE0,0x00,0x00, 0x00,0x00,0x00,0x0F,0xE0,0x00,0x00, | |
1340 0x00,0x00,0x00,0x03,0xE0,0x00,0x00, 0x00,0x00,0x00,0x03,0xE0,0x00,0x00}; | |
1341 | |
1342 /* | |
1343 0x00,0x3F,0xE0,0x00,0x00, 0x00,0x3F,0xE0,0x00,0x00, 0x00,0x3F,0xE0,0x00,0x00, 0x00,0x3F,0xE0,0x00,0x00, | |
1344 0x00,0x3F,0xE0,0xE0,0x00, 0x00,0x3F,0xE0,0xE0,0x00, 0x00,0x3F,0xF0,0xE0,0x00, 0x00,0x3F,0xF8,0xE0,0x00, | |
1345 0x00,0x3F,0xF8,0x07,0xF0, 0x00,0x3F,0xF8,0x07,0xF0, 0x00,0x3F,0xF1,0xC7,0xF0, 0x00,0x3F,0xF3,0xCF,0xF0, | |
1346 0x00,0x3F,0x83,0xC1,0xF0, 0x00,0x3F,0x83,0x81,0xF0, 0x00,0x3F,0x83,0x81,0xF8, 0xFF,0xFF,0x03,0x81,0xF8, | |
1347 0xFF,0xFF,0x03,0x81,0xFC, 0xFF,0xFF,0xE7,0x9F,0xFE, 0x7F,0xFF,0xE7,0x9F,0xFE, 0x3F,0xFF,0xE7,0x1F,0xFE, | |
1348 0x1F,0xFF,0xEF,0x3F,0xFC, 0x0F,0xFF,0xCF,0x3F,0xFC, 0x07,0xFF,0xCF,0x7F,0xFC, 0x07,0xFF,0xC0,0x27,0xFC, | |
1349 0x07,0xF3,0xC0,0x0F,0xF0, 0x03,0xC3,0xC0,0x0F,0xE0, 0x01,0xC1,0xE0,0x1F,0x00, 0x00,0x00,0xE0,0x3E,0x00, | |
1350 0x00,0x00,0xF8,0xFC,0x00, 0x00,0x00,0x7F,0xF8,0x00, 0x00,0x00,0x7F,0xF0,0x00, 0x00,0x00,0x3F,0xE0,0x00, | |
1351 0x00,0x00,0x3F,0xE0,0x00, 0x00,0x00,0x1F,0xE0,0x00, 0x00,0x00,0x0F,0xE0,0x00, 0x00,0x00,0x0F,0xE0,0x00, | |
1352 0x00,0x00,0x03,0xE0,0x00, 0x00,0x00,0x03,0xE0,0x00 };*/ | |
1353 | |
1354 /* May 30, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar) | |
1355 Description : CPHS Roaming indication feature implementation | |
1356 Solution : As part of this implementation, here we adding the hexdump of the roaming icon(small yellow triangle)*/ | |
1357 | |
1358 #ifdef WIDEICONS | |
1359 /*21 x 22*/ | |
1360 const unsigned char RoamingIcon[] = { | |
1361 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
1362 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
1363 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
1364 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
1365 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0xFF,0xFF,0x25, 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
1366 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0xFF,0xFF,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
1367 0x25, 0x25,0x25,0x25,0x25,0x25,0x25,0xFF,0x00,0x00,0xFF,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
1368 0x25,0x25,0x25,0x25,0x25,0x25,0xFF,0x00,0x00,0xFF,0x25, 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
1369 0x25,0x25,0x25,0x25,0xFF,0x00,0xFC,0xFC,0x00,0xFF,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, 0x25, | |
1370 0x25,0x25,0x25,0xFF,0x00,0xFC,0xFC,0x00,0xFF,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
1371 0x25,0xFF,0x00,0xFC,0xFC,0xFC,0xFC,0x00,0xFF, 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
1372 0x25,0xFF,0x00,0xFC,0xFC,0xFC,0xFC,0x00,0xFF,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, 0x25, | |
1373 0xFF,0x00,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0x00,0xFF,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0xFF, | |
1374 0x00,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0x00,0xFF, 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0xFF,0x00, | |
1375 0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0x00,0xFF,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0xFF, 0x00, | |
1376 0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0x00,0xFF,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0xFF,0x00,0x00, | |
1377 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xFF,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0xFF,0xFF,0xFF, | |
1378 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
1379 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
1380 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
1381 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
1382 0x25, 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
1383 }; | |
1384 | |
1385 #else | |
1386 /*19 x 22 */ | |
1387 const unsigned char RoamingIcon[] = { | |
1388 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
1389 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
1390 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
1391 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
1392 0x25,0xFF,0xFF,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0xFF, | |
1393 0xFF,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0xFF,0x00,0x00,0xFF, | |
1394 0x25,0x25,0x25, 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0xFF,0x00,0x00,0xFF,0x25,0x25, | |
1395 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0xFF,0x00, 0xFC,0xFC,0x00,0xFF,0x25,0x25,0x25, | |
1396 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0xFF,0x00,0xFC,0xFC,0x00,0xFF,0x25,0x25,0x25,0x25,0x25, | |
1397 0x25,0x25,0x25,0x25, 0x25,0x25,0x25,0xFF,0x00,0xFC,0xFC,0xFC,0xFC,0x00,0xFF,0x25,0x25,0x25,0x25,0x25,0x25, | |
1398 0x25,0x25,0x25,0x25,0x25,0xFF,0x00,0xFC,0xFC,0xFC,0xFC,0x00,0xFF,0x25,0x25, 0x25,0x25,0x25,0x25,0x25,0x25, | |
1399 0x25,0x25,0xFF,0x00,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0x00,0xFF,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
1400 0xFF,0x00,0xFC,0xFC,0xFC, 0xFC,0xFC,0xFC,0x00,0xFF,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0xFF,0x00,0xFC, | |
1401 0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0x00,0xFF,0x25,0x25,0x25,0x25,0x25,0x25,0x25, 0xFF,0x00,0xFC,0xFC,0xFC, | |
1402 0xFC,0xFC,0xFC,0xFC,0xFC,0x00,0xFF,0x25,0x25,0x25,0x25,0x25,0x25,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
1403 0x00,0x00,0x00,0x00,0x00,0xFF, 0x25,0x25,0x25,0x25,0x25,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, | |
1404 0xFF,0xFF,0xFF,0xFF,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, 0x25,0x25,0x25,0x25, | |
1405 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
1406 0x25,0x25,0x25,0x25,0x25,0x25,0x25, 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | |
1407 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, 0x25,0x25, | |
1408 }; | |
1409 | |
1410 | |
1411 #endif | |
1412 /******************************************************************************* | |
1413 | |
1414 Icon Attribute structures | |
1415 | |
1416 *******************************************************************************/ | |
1417 //GW #1555 - Adapted icons for large monochrome display by scaling 2xwidth, 4xheight | |
1418 #ifndef COLOURDISPLAY | |
1419 #ifdef LSCREEN | |
1420 #define ICONTYPE 0x0080 | |
1421 #define ICNSX 2 | |
1422 #define ICNSY 4 | |
1423 #else | |
1424 #define ICONTYPE ICON_TYPE_1BIT_UNPACKED | |
1425 #define ICNSX 1 | |
1426 #define ICNSY 1 | |
1427 #endif | |
1428 #else | |
1429 #define ICONTYPE ICON_TYPE_256_COL | |
1430 | |
1431 #endif | |
1432 | |
1433 | |
1434 #ifndef COLOURDISPLAY | |
1435 | |
1436 #ifndef LSCREEN | |
1437 const MfwIcnAttr idl_Attr [idlIdMax] = /* all our icon attributes */ | |
1438 { | |
1439 { { 13, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlSMS }, /* short message indicator */ | |
1440 { { 36, 0, 12, 6 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlVoice }, /* voice mail indicator */ | |
1441 { { 50, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlCallforw }, /* call forwarding uncond. */ | |
1442 { { 59, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlSilRinger }, /* silent ringer */ | |
1443 /* Jun 09, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar)*/ | |
1444 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICONTYPE, 0 }, /*roaming icon*/ | |
1445 { { 60, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlKeypLock }, /* keypad locked */ | |
1446 { { 23, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlCipheringActiv }, /* Ciphering */ | |
1447 { { 23, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlCipheringDeActiv }, /* Ciphering */ | |
1448 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICONTYPE, 0 }, /*ringer icon*/ | |
1449 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICONTYPE, 0 }, /*vibrator icon*/ | |
1450 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICONTYPE, 0 }, /*ringvibrator icon*/ | |
1451 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICONTYPE, 0 }, /*alarm icon*/ | |
1452 { { 24, 18, 40, 28 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) SIMToolAll }, /* SIMToolkit Large */ | |
1453 { { 24, 18, 40, 28 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) MessageAll }, /* Messages Large */ | |
1454 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICONTYPE, 0 }, /* Organiser Large */ | |
1455 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICONTYPE, 0 }, /* Sounds Large */ | |
1456 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICONTYPE, 0 }, /* Settings Large */ | |
1457 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICONTYPE, 0 }, /* Services Large */ | |
1458 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICONTYPE, 0 }, /* Extra Large */ | |
1459 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICONTYPE, 0 }, /* WAP Large */ | |
1460 { { 60, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlGPRSOn }, /* SH - GPRS On icon */ | |
1461 { { 60, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlHomezone }, /* SH - Homezone icon */ | |
1462 { { 60, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlTTY }, /* SPR#1352 - SH - TTY icon */ | |
1463 #ifdef NEPTUNE_BOARD | |
1464 /* OMAPS00074454 - Edge icon display specification */ | |
1465 { { 60, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlEDGEOn } /* SH - EDGE On icon */ | |
1466 /*END */ | |
1467 #endif | |
1468 }; | |
1469 #else | |
1470 | |
1471 #define ICON_Y_OFS 6 | |
1472 | |
1473 const MfwIcnAttr idl_Attr [idlIdMax] = /* all our icon attributes */ | |
1474 { | |
1475 { { 13*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlSMS }, /* short message indicator */ | |
1476 { { 36*ICNSX, ICON_Y_OFS, 12*ICNSX, 6*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlVoice }, /* voice mail indicator */ | |
1477 { { 50*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlCallforw }, /* call forwarding uncond. */ | |
1478 { { 59*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlSilRinger }, /* silent ringer */ | |
1479 /* Jun 09, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar)*/ | |
1480 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*roaming icon*/ | |
1481 { { 60*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlKeypLock }, /* keypad locked */ | |
1482 { { 23*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlCipheringActiv }, /* Ciphering */ | |
1483 { { 23*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlCipheringDeActiv }, /* Ciphering */ | |
1484 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*ringer icon*/ | |
1485 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*vibrator icon*/ | |
1486 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*ringvibrator icon*/ | |
1487 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*alarm icon*/ | |
1488 { { 24, 18, 40, 28 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) SIMToolAll }, /* SIMToolkit Large */ | |
1489 { { 24, 18, 40, 28 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) MessageAll }, /* Messages Large */ | |
1490 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /* Organiser Large */ | |
1491 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /* Sounds Large */ | |
1492 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /* Settings Large */ | |
1493 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /* Services Large */ | |
1494 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /* Extra Large */ | |
1495 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /* WAP Large */ | |
1496 { { 60*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlGPRSOn }, /* SH - GPRS On icon */ | |
1497 { { 60*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlHomezone }, /* SH - Homezone icon */ | |
1498 { { 60*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlTTY }, /* SPR#1352 - SH - TTY icon */ | |
1499 #ifdef NEPTUNE_BOARD | |
1500 /* OMAPS00074454 - Edge Icon display specification */ | |
1501 { { 60*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlEDGEOn } /* SH - EDGE On icon */ | |
1502 /*END */ | |
1503 #endif | |
1504 }; | |
1505 #endif //Large b+w display | |
1506 | |
1507 #else | |
1508 | |
1509 | |
1510 #define ICON_POS_Y (1) | |
1511 #ifdef WIDEICONS | |
1512 #define ICON_SX (21) | |
1513 #define ICON_WIDTH ((SCREEN_SIZE_X)/8) | |
1514 #define ICON_POS_X_BATT (0) | |
1515 #define ICON_POS_X_CPR (ICON_WIDTH) | |
1516 #define ICON_POS_X_MSG (ICON_WIDTH*2) | |
1517 #define ICON_POS_X_VMAIL (ICON_WIDTH*3) | |
1518 #define ICON_POS_X_FOR (ICON_WIDTH*4) | |
1519 #define ICON_POS_X_KLK (ICON_WIDTH*5) | |
1520 #define ICON_POS_X_GPRS (ICON_WIDTH*6) | |
1521 #define ICON_POS_X_HZONE (ICON_WIDTH*6) | |
1522 #define ICON_POS_X_SIG (ICON_WIDTH*7) | |
1523 #define ICON_POS_X_SRNG (0) | |
1524 #else | |
1525 #define ICON_SX (19) | |
1526 #define ICON_WIDTH ((SCREEN_SIZE_X)/9) | |
1527 #define ICON_POS_X_BATT (0) | |
1528 #define ICON_POS_X_CPR (ICON_WIDTH) | |
1529 #define ICON_POS_X_MSG (ICON_WIDTH*2) | |
1530 #define ICON_POS_X_VMAIL (ICON_WIDTH*3) | |
1531 #define ICON_POS_X_FOR (ICON_WIDTH*4) | |
1532 #define ICON_POS_X_KLK (ICON_WIDTH*5) | |
1533 #define ICON_POS_X_GPRS (ICON_WIDTH*6) | |
1534 #define ICON_POS_X_HZONE (ICON_WIDTH*7) | |
1535 #define ICON_POS_X_SIG (ICON_WIDTH*8) | |
1536 #define ICON_POS_X_SRNG (0) | |
1537 #endif | |
1538 #define ICON_SY (22) | |
1539 | |
1540 const MfwIcnAttr idl_Attr [idlIdMax] = /* all our icon attributes */ | |
1541 { | |
1542 | |
1543 { { ICON_POS_X_MSG, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_msgColour }, /* short message indicator */ | |
1544 { { ICON_POS_X_VMAIL, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_voicemailColour }, /* call forwarding uncond. */ | |
1545 { { ICON_POS_X_FOR, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_forColour }, /* call forwarding uncond. */ | |
1546 { { ICON_POS_X_SRNG, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) idlSilRinger }, /* silent ringer */ | |
1547 /* Jun 09, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar) | |
1548 Roaming icon is made to overlap with voice mail indication icon since there's no space in the first row of the screen*/ | |
1549 { { ICON_POS_X_VMAIL, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) RoamingIcon }, /* Roaming Indication */ | |
1550 { { ICON_POS_X_KLK, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_klkColour }, /* keypad locked */ | |
1551 { { ICON_POS_X_CPR, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_cipheringActivColour }, /* Ciphering */ | |
1552 { { ICON_POS_X_CPR, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_cipheringDeactivColour }, /* Ciphering */ | |
1553 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*ringer icon*/ | |
1554 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*vibrator icon*/ | |
1555 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*ringvibrator icon*/ | |
1556 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*alarm icon*/ | |
1557 { { 24, 18, 40, 28 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) SIMToolAll }, /* SIMToolkit Large */ | |
1558 { { 24, 18, 40, 28 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) MessageAll }, /* Messages Large */ | |
1559 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /* Organiser Large */ | |
1560 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /* Sounds Large */ | |
1561 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /* Settings Large */ | |
1562 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /* Services Large */ | |
1563 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /* SPR#1626 - SH - Added */ | |
1564 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /* SPR#1626 - SH - Added */ | |
1565 { { ICON_POS_X_GPRS, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *)I_gprsColour }, /* sbh - GPRS On icon */ | |
1566 { { ICON_POS_X_HZONE, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_homeZoneColour }, /* sbh - GPRS Attached icon */ | |
1567 { { ICON_POS_X_HZONE, ICON_POS_Y, 15, 14 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) idlTTYLarge }, /* SPR#1958 - SH - TTY icon now larger,colour */ | |
1568 #ifdef NEPTUNE_BOARD | |
1569 /* OMAPS00074454 - Edge icon - 24-04-2006*/ | |
1570 { { ICON_POS_X_GPRS, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *)I_edgeColour }, /* sbh - EDGE On icon */ | |
1571 /* END */ | |
1572 #endif | |
1573 }; | |
1574 | |
1575 #endif | |
1576 | |
1577 #ifndef COLOURDISPLAY | |
1578 #ifdef LSCREEN | |
1579 const MfwIcnAttr batt_Attr [iconBattMax] = /* all batt icon attributes */ | |
1580 { | |
1581 { { 3*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery4 }, /* battery status 0-4% */ | |
1582 { { 3*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery14 }, /* battery status 5-14% */ | |
1583 { { 3*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery24 }, /* battery status 15-24% */ | |
1584 { { 3*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery49 }, /* battery status 25-49% */ | |
1585 { { 3*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery100 } /* battery status 50-100% */ | |
1586 }; | |
1587 #else | |
1588 const MfwIcnAttr batt_Attr [iconBattMax] = /* all batt icon attributes */ | |
1589 { | |
1590 { { 3, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery4 }, /* battery status 0-4% */ | |
1591 { { 3, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery14 }, /* battery status 5-14% */ | |
1592 { { 3, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery24 }, /* battery status 15-24% */ | |
1593 { { 3, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery49 }, /* battery status 25-49% */ | |
1594 { { 3, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery100 } /* battery status 50-100% */ | |
1595 }; | |
1596 #endif | |
1597 #else | |
1598 const MfwIcnAttr batt_Attr [iconBattMax] = /* all batt icon attributes */ | |
1599 { | |
1600 { { ICON_POS_X_BATT, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_batColour4 }, /* battery status 0-4% */ | |
1601 { { ICON_POS_X_BATT, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_batColour14 }, /* battery status 5-14% */ | |
1602 { { ICON_POS_X_BATT, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_batColour24 }, /* battery status 15-24% */ | |
1603 { { ICON_POS_X_BATT, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_batColour49 }, /* battery status 25-49% */ | |
1604 { { ICON_POS_X_BATT, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_batColour100 } /* battery status 50-100% */ | |
1605 }; | |
1606 #endif | |
1607 | |
1608 #ifndef COLOURDISPLAY | |
1609 #ifdef LSCREEN | |
1610 const MfwIcnAttr sign_Attr [iconSignalMax] = /* all sig icon attributes */ | |
1611 { | |
1612 { { 75*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlSigStr49 }, /* signal status 0-49 */ | |
1613 { { 75*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlSigStr99 }, /* signal status 50-99 */ | |
1614 { { 75*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlSigStr149 }, /* signal status 100-149 */ | |
1615 { { 75*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlSigStr199 }, /* signal status 150-199 */ | |
1616 { { 75*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlSigStr255 } /* signal status 200-255 */ | |
1617 | |
1618 }; | |
1619 #else | |
1620 const MfwIcnAttr sign_Attr [iconSignalMax] = /* all sig icon attributes */ | |
1621 { | |
1622 { { 75, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlSigStr49 }, /* signal status 0-49 */ | |
1623 { { 75, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlSigStr99 }, /* signal status 50-99 */ | |
1624 { { 75, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlSigStr149 }, /* signal status 100-149 */ | |
1625 { { 75, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlSigStr199 }, /* signal status 150-199 */ | |
1626 { { 75, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlSigStr255 } /* signal status 200-255 */ | |
1627 | |
1628 }; | |
1629 #endif | |
1630 #else | |
1631 const MfwIcnAttr sign_Attr [iconSignalMax] = /* all sig icon attributes */ | |
1632 { | |
1633 { { ICON_POS_X_SIG, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_sigColour49 }, /* signal status 0-49 */ | |
1634 { { ICON_POS_X_SIG, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_sigColour99 }, /* signal status 50-99 */ | |
1635 { { ICON_POS_X_SIG, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_sigColour149 }, /* signal status 100-149 */ | |
1636 { { ICON_POS_X_SIG, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_sigColour199 }, /* signal status 150-199 */ | |
1637 { { ICON_POS_X_SIG, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_sigColour255 } /* signal status 200-255 */ | |
1638 | |
1639 }; | |
1640 #endif | |
1641 | |
1642 #ifndef COLOURDISPLAY | |
1643 const MfwIcnAttr goodbye_Attr [animGoodbye] = /* all goodby icon attributes */ | |
1644 { | |
1645 /* { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+1, 56, 42 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe8 }, | |
1646 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+1, 56, 42 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe7 }, | |
1647 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+4, 56, 36 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe6 }, | |
1648 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+6, 56, 32 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe5 }, | |
1649 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+9, 56, 27 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe4 }, | |
1650 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+11, 56, 23 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe3 }, | |
1651 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+12, 56, 21 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe2 }, | |
1652 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+13, 56, 19 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe1 }, | |
1653 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+22, 56, 9 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe0 }, | |
1654 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+26, 56, 4 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe01 } */ | |
1655 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | |
1656 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | |
1657 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | |
1658 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | |
1659 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | |
1660 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | |
1661 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | |
1662 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | |
1663 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | |
1664 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] } | |
1665 }; | |
1666 | |
1667 const MfwIcnAttr welcome_Attr [animwelcome] = | |
1668 { | |
1669 /* { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+26, 56, 4 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe01 }, | |
1670 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+22, 56, 9 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe0 }, | |
1671 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+13, 56, 19 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe1 }, | |
1672 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+12, 56, 21 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe2 }, | |
1673 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+11, 56, 23 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe3 }, | |
1674 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+9, 56, 27 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe4 }, | |
1675 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+6, 56, 32 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe5 }, | |
1676 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+4, 56, 36 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe6 }, | |
1677 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+1, 56, 42 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe7 }, | |
1678 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+1, 56, 42 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe8 } | |
1679 */ | |
1680 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | |
1681 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | |
1682 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | |
1683 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | |
1684 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | |
1685 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | |
1686 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | |
1687 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | |
1688 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | |
1689 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] } | |
1690 }; | |
1691 | |
1692 #else | |
1693 | |
1694 const MfwIcnAttr welcome_Attr [animwelcome] = | |
1695 { | |
1696 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 176, 60 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *)&TIlogColour[0] }, | |
1697 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 176, 60 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *)&TIlogColour[0] } | |
1698 | |
1699 }; | |
1700 /* GW #1471 11/12/02 - Add TI logo as powerdown animation */ | |
1701 const MfwIcnAttr goodbye_Attr [animGoodbye] = /* all goodby icon attributes */ | |
1702 { | |
1703 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 176, 60 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *)&TIlogColour[0] }, | |
1704 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 176, 60 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *)&TIlogColour[0] } | |
1705 }; | |
1706 | |
1707 | |
1708 #endif | |
1709 | |
1710 #ifdef COLOURDISPLAY | |
1711 const MfwIcnAttr incoming_call_animate [CALLANIMATION] = { | |
1712 {{40,5,100,80},1,COLOUR_ICON_XX,BMP_FORMAT_32BIT_COLOUR, (char *)callAnimation1}, | |
1713 {{40,5,100,80},1,COLOUR_ICON_XX,BMP_FORMAT_32BIT_COLOUR, (char *)callAnimation2}, | |
1714 {{40,5,100,80},1,COLOUR_ICON_XX,BMP_FORMAT_32BIT_COLOUR, (char *)callAnimation3}, | |
1715 {{40,5,100,80},1,COLOUR_ICON_XX,BMP_FORMAT_32BIT_COLOUR, (char *)callAnimation2} | |
1716 | |
1717 }; | |
1718 | |
1719 #endif | |
1720 #if(0) /* x0039928 - Lint warning removal */ | |
1721 /* test | |
1722 */ | |
1723 static const MfwIcnAttr simtool = | |
1724 { | |
1725 { 24, 18, 40, 28 }, 4, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) SIMToolAll | |
1726 }; | |
1727 | |
1728 /* icon messages | |
1729 */ | |
1730 static const MfwIcnAttr mess = | |
1731 { | |
1732 { 24, 18, 40, 28 }, 4, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) MessageAll | |
1733 }; | |
1734 | |
1735 /* icon organiser | |
1736 */ | |
1737 static const MfwIcnAttr organ = | |
1738 { | |
1739 { 0, 0, 0, 0 }, 4, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 | |
1740 }; | |
1741 | |
1742 /* icon sounds | |
1743 */ | |
1744 static const MfwIcnAttr sound = | |
1745 { | |
1746 { 0, 0, 0, 0 }, 4, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 | |
1747 }; | |
1748 | |
1749 | |
1750 /* icon settings | |
1751 */ | |
1752 static const MfwIcnAttr sett = | |
1753 { | |
1754 { 0, 0, 0, 0 }, 4, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 | |
1755 }; | |
1756 | |
1757 | |
1758 /* icon services | |
1759 */ | |
1760 static const MfwIcnAttr servic = | |
1761 { | |
1762 { 0, 0, 0, 0 }, 4, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 | |
1763 }; | |
1764 | |
1765 | |
1766 /* icon extras | |
1767 */ | |
1768 static const MfwIcnAttr extr = | |
1769 { | |
1770 { 0, 0, 0, 0 }, 4, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 | |
1771 }; | |
1772 #endif | |
1773 | |
1774 /*** MAIN ICONS **/ | |
1775 | |
1776 MfwIcnAttr mainIconSimToolkit = | |
1777 { | |
1778 #ifndef COLOURDISPLAY | |
1779 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainSimToolkit | |
1780 #else | |
1781 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) stkColour | |
1782 #endif | |
1783 }; | |
1784 | |
1785 MfwIcnAttr mainIconCalculator = | |
1786 { | |
1787 #ifndef COLOURDISPLAY | |
1788 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainCalculator | |
1789 #else | |
1790 #ifdef USE_110X110 | |
1791 { 0, 12, 110, 110 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) applications110x110_bmp | |
1792 #else | |
1793 { 0, 12, 97, 97 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) applications97x97_bmp | |
1794 #endif | |
1795 #endif | |
1796 }; | |
1797 | |
1798 MfwIcnAttr mainIconSettings = | |
1799 { | |
1800 #ifndef COLOURDISPLAY | |
1801 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainSettings | |
1802 #else | |
1803 #ifdef USE_110X110 | |
1804 { 0, 12, 110, 110 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) phonesettings110x110_bmp | |
1805 #else | |
1806 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) phoneSettings96x96_bmp | |
1807 #endif | |
1808 #endif | |
1809 }; | |
1810 | |
1811 MfwIcnAttr mainIconRecentCalls = | |
1812 { | |
1813 #ifndef COLOURDISPLAY | |
1814 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainRecentCalls | |
1815 #else | |
1816 #ifdef USE_110X110 | |
1817 { 0, 12, 110, 110 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) recentcalls110x110_bmp | |
1818 #else | |
1819 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) recentcalls96x96_bmp | |
1820 #endif | |
1821 | |
1822 #endif | |
1823 }; | |
1824 MfwIcnAttr mainIconCallDivert = | |
1825 { | |
1826 #ifndef COLOURDISPLAY | |
1827 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainCallDivert | |
1828 #else | |
1829 #ifdef USE_110X110 | |
1830 { 0, 12, 110, 110 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) networkservices110x110_bmp | |
1831 #else | |
1832 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) netWorkServices96x96_bmp | |
1833 #endif | |
1834 | |
1835 #endif | |
1836 }; | |
1837 MfwIcnAttr mainIconSecurity = | |
1838 { | |
1839 #ifndef COLOURDISPLAY | |
1840 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainSecurity | |
1841 #else | |
1842 #ifdef USE_110X110 | |
1843 { 0, 12, 110, 110 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) security110x110_bmp | |
1844 #else | |
1845 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) security96x96_bmp | |
1846 #endif | |
1847 #endif | |
1848 }; | |
1849 MfwIcnAttr mainIconMessages = | |
1850 { | |
1851 #ifndef COLOURDISPLAY | |
1852 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainMessages | |
1853 #else | |
1854 #ifdef USE_110X110 | |
1855 { 0, 12, 110, 110 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) messages110x110_bmp | |
1856 #else | |
1857 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) messages96x96_bmp | |
1858 #endif | |
1859 #endif | |
1860 }; | |
1861 | |
1862 MfwIcnAttr mainIconPhonebook = | |
1863 { | |
1864 #ifndef COLOURDISPLAY | |
1865 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainPhonebook | |
1866 #else | |
1867 #ifdef USE_110X110 | |
1868 { 0, 12, 110, 110 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) phonebook110x110_bmp | |
1869 #else | |
1870 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) phonebook96x96_bmp | |
1871 #endif | |
1872 #endif | |
1873 }; | |
1874 | |
1875 MfwIcnAttr mainIconWAP = | |
1876 { | |
1877 #ifndef COLOURDISPLAY | |
1878 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainWAP | |
1879 #else | |
1880 #ifdef USE_110X110 | |
1881 { 0, 12, 110, 110 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) wap110x110_bmp | |
1882 #else | |
1883 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) wap96x96_bmp | |
1884 #endif | |
1885 #endif | |
1886 }; | |
1887 | |
1888 MfwIcnAttr mainIconGoodbye = | |
1889 { | |
1890 // { 13, 0, 56, 48 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) animframe8 | |
1891 { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] | |
1892 }; | |
1893 | |
1894 #ifdef EASY_TEXT_ENABLED | |
1895 | |
1896 /* API - 03/09/03 - SPR2383 - Edit the px and py positons so that the icon is in themiddle of the screen for 1.7.0*/ | |
1897 #ifdef COLOURDISPLAY | |
1898 MfwIcnAttr IconTexteZiText = | |
1899 { | |
1900 {(SCREEN_SIZE_X / 2) - 40, (SCREEN_SIZE_Y / 2) - 10, 80, 20}, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) TextIconeZiText | |
1901 }; | |
1902 #else | |
1903 MfwIcnAttr IconTexteZiText = | |
1904 { | |
1905 {2, 8, 80, 20}, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) TextIconeZiText | |
1906 }; | |
1907 #endif | |
1908 /* API - 03/09/03 - SPR2383 - END*/ | |
1909 | |
1910 MfwIcnAttr IconTexteZiTextSmall = | |
1911 { | |
1912 {2, 12, 8, 8}, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) TextIconeZiTextSmall | |
1913 }; | |
1914 | |
1915 #endif | |
1916 | |
1917 #ifdef COLOURDISPLAY | |
1918 MfwIcnAttr mainIconBackground = | |
1919 {{ 0, 0, 176, 220 }, 1, COLOUR_ICON_XX, COLOUR_ICON_XX, (char *)bmpDataSquares }; | |
1920 #else | |
1921 MfwIcnAttr mainIconBackground = | |
1922 {{ 0, 0, SCREEN_SIZE_X, SCREEN_SIZE_Y }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, NULL }; | |
1923 #endif | |
1924 | |
1925 /******************************************************************************* | |
1926 | |
1927 $Function: icon_setMainBgdBitmap | |
1928 | |
1929 $Description: Change the background bitmap for the main menu to the id supplied | |
1930 | |
1931 $Returns: None. | |
1932 | |
1933 $Arguments: bmpId - enumerated type for background bitmaps | |
1934 | |
1935 *******************************************************************************/ | |
1936 void icon_setMainBgdBitmap (int bmpId) | |
1937 { | |
1938 TRACE_FUNCTION("icon_setMainBgdBitmap()"); | |
1939 icon_getBitmapFromId(bmpId, &mainIconBackground); | |
1940 } | |
1941 | |
1942 | |
1943 /*** Melodygenerator Icons ***/ | |
1944 | |
1945 const MfwIcnAttr melodygenerator_Attr [screenparts] = /* all welcome icon attributes */ | |
1946 { | |
1947 { { 2, 8, 16, 26 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) screenpart0 }, /* screenpart0*/ | |
1948 { { 18, 8, 16, 26 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) screenpart1 }, /* screenpart1*/ | |
1949 { { 34, 8, 16, 26 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) screenpart2 }, /* screenpart2*/ | |
1950 { { 50, 8, 16, 26 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) screenpart3 }, /* screenpart3*/ | |
1951 { { 66, 8, 16, 26 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) screenpart4 } /* screenpart4*/ | |
1952 }; | |
1953 /******************************************************************************* | |
1954 | |
1955 Additional type definitions | |
1956 | |
1957 *******************************************************************************/ | |
1958 | |
1959 typedef struct iconStateTag /* state icons */ | |
1960 { | |
1961 MfwHnd h; /* mfw handle of icon */ | |
1962 U8 state; /* state of icon */ | |
1963 } IconState; | |
1964 | |
1965 | |
1966 /******************************************************************************* | |
1967 | |
1968 Static data | |
1969 | |
1970 *******************************************************************************/ | |
1971 | |
1972 static IconState state[ idlIdMax ]; | |
1973 static IconState battstate[ iconBattMax ]; | |
1974 static IconState signalstate[ iconSignalMax ]; | |
1975 | |
1976 | |
1977 | |
1978 | |
1979 /******************************************************************************* | |
1980 | |
1981 Private Methods | |
1982 | |
1983 *******************************************************************************/ | |
1984 | |
1985 | |
1986 /******************************************************************************* | |
1987 | |
1988 $Function: iconsEvent | |
1989 | |
1990 $Description: handle an icon event, empty handler | |
1991 | |
1992 $Returns: None. | |
1993 | |
1994 $Arguments: e, event, i, icon | |
1995 | |
1996 *******************************************************************************/ | |
1997 | |
1998 static void iconsEvent( MfwEvt e, MfwIcn *i ) | |
1999 { | |
2000 } | |
2001 | |
2002 | |
2003 /******************************************************************************* | |
2004 | |
2005 $Function: iconsBattEvent | |
2006 | |
2007 $Description: handle a battery icon event, empty handler | |
2008 | |
2009 $Returns: None. | |
2010 | |
2011 $Arguments: e, event, i, icon | |
2012 | |
2013 *******************************************************************************/ | |
2014 | |
2015 static void iconsBattEvent( MfwEvt e, MfwIcn *i ) | |
2016 { | |
2017 } | |
2018 | |
2019 | |
2020 | |
2021 /******************************************************************************* | |
2022 | |
2023 $Function: iconsSignEvent | |
2024 | |
2025 $Description: handle a signal icon event, empty handler | |
2026 | |
2027 $Returns: None. | |
2028 | |
2029 $Arguments: e, event, i, icon | |
2030 | |
2031 *******************************************************************************/ | |
2032 | |
2033 static void iconsSignEvent( MfwEvt e, MfwIcn *i ) | |
2034 { | |
2035 } | |
2036 | |
2037 | |
2038 #ifndef COLOURDISPLAY | |
2039 /******************************************************************************* | |
2040 | |
2041 $Function: iconsScreenDelete | |
2042 | |
2043 $Description: Clears the icon area of all currently displayed icons | |
2044 | |
2045 $Returns: None. | |
2046 | |
2047 $Arguments: None. | |
2048 | |
2049 *******************************************************************************/ | |
2050 | |
2051 static void iconsScreenDelete( void ) | |
2052 { | |
2053 dspl_Clear( 0,0, SCREEN_SIZE_X, Mmi_layout_IconHeight()-1 ); | |
2054 } | |
2055 #endif | |
2056 | |
2057 | |
2058 | |
2059 /******************************************************************************* | |
2060 | |
2061 $Function: iconsShowIcon | |
2062 | |
2063 $Description: display a single icon if it is currently visible | |
2064 | |
2065 $Returns: None | |
2066 | |
2067 $Arguments: Icon, pointer to the icon in question | |
2068 | |
2069 *******************************************************************************/ | |
2070 | |
2071 static void iconsShowIcon( IconState *Icon ) | |
2072 { | |
2073 if ( Icon->state == ICON_VISIBLE ) | |
2074 { | |
2075 icnShow( Icon->h ); | |
2076 } | |
2077 } | |
2078 | |
2079 | |
2080 | |
2081 | |
2082 | |
2083 /******************************************************************************* | |
2084 | |
2085 Public Methods | |
2086 | |
2087 *******************************************************************************/ | |
2088 | |
2089 /******************************************************************************* | |
2090 | |
2091 $Function: iconsInit | |
2092 | |
2093 $Description: Initialise the MMI Icon handling | |
2094 | |
2095 $Returns: None | |
2096 | |
2097 $Arguments: None | |
2098 | |
2099 *******************************************************************************/ | |
2100 | |
2101 void iconsInit() | |
2102 { | |
2103 int i; | |
2104 | |
2105 /* Create and initialise each of the icon state tables, to provide | |
2106 invisible (initially) icons | |
2107 */ | |
2108 for (i = 0; i < idlIdMax; i++) | |
2109 { | |
2110 state[i].state = ICON_INVISIBLE; | |
2111 state[i].h = icnCreate( 0, (MfwIcnAttr *)&idl_Attr[i], E_ICN_VISIBLE, (MfwCb) iconsEvent ); | |
2112 } | |
2113 | |
2114 /* Battery icons | |
2115 */ | |
2116 for (i = 0; i < iconBattMax; i++) | |
2117 { | |
2118 battstate[i].state = ICON_INVISIBLE; | |
2119 battstate[i].h = icnCreate( 0, (MfwIcnAttr *)&batt_Attr[i], E_ICN_VISIBLE, (MfwCb) iconsBattEvent ); | |
2120 } | |
2121 | |
2122 /* Signal icons | |
2123 */ | |
2124 for (i = 0; i < iconSignalMax; i++) | |
2125 { | |
2126 signalstate[i].state = ICON_INVISIBLE; | |
2127 signalstate[i].h = icnCreate( 0, (MfwIcnAttr *)&sign_Attr[i], E_ICN_VISIBLE, (MfwCb) iconsSignEvent ); | |
2128 } | |
2129 } | |
2130 | |
2131 | |
2132 | |
2133 | |
2134 | |
2135 /******************************************************************************* | |
2136 | |
2137 $Function: iconsExit | |
2138 | |
2139 $Description: Exit the MMI icons handling | |
2140 | |
2141 $Returns: None. | |
2142 | |
2143 $Arguments: None. | |
2144 | |
2145 *******************************************************************************/ | |
2146 | |
2147 void iconsExit( void ) | |
2148 { | |
2149 int i; | |
2150 | |
2151 /* Delete all of the icons created during the iconsInit routine | |
2152 */ | |
2153 for ( i = 0; i < idlIdMax; i++ ) | |
2154 icnDelete( state[i].h ); | |
2155 | |
2156 for ( i = 0; i < iconBattMax; i++ ) | |
2157 icnDelete( battstate[i].h ); | |
2158 | |
2159 for ( i = 0; i < iconSignalMax; i++ ) | |
2160 icnDelete( signalstate[i].h ); | |
2161 | |
2162 } | |
2163 | |
2164 //API - 1259 - 13-01-03 - Removed Functions iconsChargeDisplayOnOff & iconsStateOfCharge they were not being called. | |
2165 | |
2166 /******************************************************************************* | |
2167 | |
2168 $Function: iconsGetState | |
2169 | |
2170 $Description: Get the state of an icon ICON_VISIBLE/ICON_INVISIBLE | |
2171 | |
2172 $Returns: Return state of icon. | |
2173 | |
2174 $Arguments: iconId, the id of the icon to be set | |
2175 | |
2176 *******************************************************************************/ | |
2177 | |
2178 U8 iconsGetState( int iconId ) | |
2179 { | |
2180 TRACE_FUNCTION("iconsGetState() "); | |
2181 /* Only set the state if the iconId is valid, ie in range | |
2182 */ | |
2183 if ( ( iconId >= 0 ) && ( iconId < idlIdMax ) ) | |
2184 return state[iconId].state; | |
2185 | |
2186 /* x0045876, 14-Aug-2006 (WR - missing return statement at end of non-void function) */ | |
2187 return ICON_INVISIBLE; | |
2188 } | |
2189 | |
2190 /******************************************************************************* | |
2191 | |
2192 $Function: iconsSetState | |
2193 | |
2194 $Description: Sets the state of an icon to be visible | |
2195 | |
2196 $Returns: None | |
2197 | |
2198 $Arguments: iconId, the id of the icon to be set | |
2199 | |
2200 *******************************************************************************/ | |
2201 | |
2202 void iconsSetState( int iconId ) | |
2203 { | |
2204 TRACE_FUNCTION("iconsSetState() "); | |
2205 /* Only set the state if the iconId is valid, ie in range | |
2206 */ | |
2207 if ( ( iconId >= 0 ) && ( iconId < idlIdMax ) ) | |
2208 state[iconId].state = ICON_VISIBLE; | |
2209 } | |
2210 | |
2211 | |
2212 | |
2213 | |
2214 | |
2215 /******************************************************************************* | |
2216 | |
2217 $Function: iconsDeleteState | |
2218 | |
2219 $Description: Sets the state of an icon to be invisible | |
2220 | |
2221 $Returns: None | |
2222 | |
2223 $Arguments: iconId, the id of the icon to be deleted | |
2224 | |
2225 *******************************************************************************/ | |
2226 | |
2227 void iconsDeleteState( int iconId ) | |
2228 { | |
2229 TRACE_FUNCTION("iconsDeleteState()"); | |
2230 /* Only set the state if the iconId is valid, ie in range | |
2231 */ | |
2232 if ( ( iconId >= 0 ) && ( iconId < idlIdMax ) ) | |
2233 state[iconId].state = ICON_INVISIBLE; | |
2234 } | |
2235 | |
2236 | |
2237 | |
2238 | |
2239 /******************************************************************************* | |
2240 | |
2241 $Function: iconsShow | |
2242 | |
2243 $Description: Show the current set of icons on the display | |
2244 | |
2245 $Returns: None | |
2246 | |
2247 $Arguments: None | |
2248 | |
2249 *******************************************************************************/ | |
2250 | |
2251 void iconsShow( void ) | |
2252 { | |
2253 #ifdef NEPTUNE_BOARD | |
2254 int iResult = 0; /* Get the GPRS Status */ | |
2255 #endif | |
2256 | |
2257 TRACE_FUNCTION("iconsShow"); | |
2258 | |
2259 /* The power-off scenario requires a check in here to override the | |
2260 normal behaviour of the show routine | |
2261 */ | |
2262 | |
2263 //nm + 25.2.01 | |
2264 //it is only temporary for the B-Sample | |
2265 // just testing the icon | |
2266 //globalBatteryPicNumber = 4; //Leela 10 Apr, 2006 | |
2267 resources_setTitleColour( COLOUR_IDLE ); | |
2268 #ifndef COLOURDISPLAY | |
2269 iconsScreenDelete(); | |
2270 #endif | |
2271 | |
2272 if ( GlobalIconStatus & GlobalBatteryIconFlag ) | |
2273 { | |
2274 TRACE_EVENT_P1("iconsShow:globalBatteryPicNumber:%d", globalBatteryPicNumber); | |
2275 iconsShowBattery( globalBatteryPicNumber ); | |
2276 } | |
2277 | |
2278 if ( GlobalIconStatus & GlobalSignalIconFlag ) | |
2279 iconsShowSignal( globalSignalPicNumber ); | |
2280 // Apr 27, 2004 REF: ENH 12646 Deepa M.D | |
2281 if ( GlobalIconStatus & GlobalSMSIconFlag ) | |
2282 { | |
2283 if (smsidle_get_memory_full()) //If memory is full, blink the SMS icon | |
2284 iconsShowSmsFull ( ); | |
2285 else | |
2286 iconsShowIcon( &state[ iconIdSMS ] ); //else show the normal SMS icon | |
2287 } | |
2288 | |
2289 //nm do it later, step by step | |
2290 | |
2291 if ( GlobalIconStatus & GlobalVoiceMailIconFlag ) | |
2292 iconsShowIcon( &state[ iconIdVoice ] ); | |
2293 | |
2294 if ( GlobalIconStatus & GlobalCallForwardingIconFlag ) | |
2295 iconsShowIcon( &state[ iconIdCallFor ] ); | |
2296 | |
2297 | |
2298 if ( GlobalIconStatus & GlobalKeyplockIconFlag ) | |
2299 iconsShowIcon( &state[ iconIdKeyplock ] ); | |
2300 | |
2301 if ( GlobalIconStatus & GlobalCipheringActivIconFlag ) | |
2302 iconsShowIcon( &state[ iconIdCipheringActiv ] ); | |
2303 | |
2304 if ( GlobalIconStatus & GlobalCipheringDeactivIconFlag ) | |
2305 iconsShowIcon( &state[ iconIdCipheringDeActiv ] ); | |
2306 | |
2307 /* SPR#2346 - SH - Show GPRS Attached icon*/ | |
2308 | |
2309 #ifdef MMI_GPRS_ENABLED | |
2310 if ( GlobalIconStatus & GlobalGPRSOnIconFlag ) | |
2311 { | |
2312 #ifdef NEPTUNE_BOARD | |
2313 iResult = GPRS_Status(); | |
2314 | |
2315 if (iResult == GPRS_ATTACHED) | |
2316 { | |
2317 iconsShowIcon( &state[ iconIdGPRSOn ] ); | |
2318 } | |
2319 | |
2320 if (iResult == EDGE_ATTACHED) | |
2321 { | |
2322 iconsShowIcon( &state[ iconIdEdgeOn] ); | |
2323 } | |
2324 #else | |
2325 GPRS_Status(); | |
2326 iconsShowIcon( &state[ iconIdGPRSOn ] ); | |
2327 #endif | |
2328 } | |
2329 #endif | |
2330 | |
2331 /* SPR#1985 - SH - Only show one of TTY or Homezone icons. | |
2332 * Homezone takes precedence */ | |
2333 | |
2334 /* Show Homezone icon. */ | |
2335 | |
2336 #ifdef MMI_HOMEZONE_ENABLED | |
2337 if ( GlobalIconStatus & GlobalHomezoneIconFlag ) | |
2338 { | |
2339 iconsShowIcon( &state[ iconIdHomezone ] ); | |
2340 } | |
2341 #endif | |
2342 | |
2343 /* Show TTY icon if active & homezone icon is not shown */ | |
2344 #ifdef MMI_TTY_ENABLED | |
2345 if ( (GlobalIconStatus & GlobalTTYIconFlag) && | |
2346 !( ( GlobalIconStatus & GlobalHomezoneIconFlag ) && state[iconIdHomezone].state==ICON_VISIBLE ) ) | |
2347 { | |
2348 iconsShowIcon( &state[ iconIdTTY ] ); | |
2349 } | |
2350 #endif | |
2351 /* end SH */ | |
2352 | |
2353 | |
2354 | |
2355 | |
2356 if ( GlobalIconStatus & GlobalAlarmIconFlag ) | |
2357 iconsShowIcon( &state[ iconIdAlarm ] ); | |
2358 | |
2359 /* May 30, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar) | |
2360 Description : CPHS Roaming indication feature implementation | |
2361 Solution : As part of this implementation, roaming icon is showed based on a flag corresponding to roaming*/ | |
2362 | |
2363 if(GlobalIconStatus & GlobalRoamingIconFlag) | |
2364 iconsShowIcon(&state[iconIdRoaming]); | |
2365 //Change the colour back to what the menu was. | |
2366 resources_restoreMnuColour(); | |
2367 } | |
2368 | |
2369 /******************************************************************************* | |
2370 | |
2371 $Function: iconsShowBattery | |
2372 | |
2373 $Description: Show battery status icons | |
2374 | |
2375 $Returns: 0 if error detected, otherwise 1 | |
2376 | |
2377 $Arguments: batterystatus, the current battery icon to be displayed | |
2378 | |
2379 *******************************************************************************/ | |
2380 | |
2381 int iconsShowBattery( U8 batterystatus ) | |
2382 { | |
2383 MfwIcn *icn; | |
2384 int i; | |
2385 | |
2386 TRACE_FUNCTION("iconsShowBattery()"); | |
2387 | |
2388 /* If we have an error, ie invalid id then return 0 */ | |
2389 /* x0045876, 14-Aug-2006 (WR - pointless comparison of unsigned integer with zero) */ | |
2390 /* if ( ( batterystatus < 0 ) || ( batterystatus >= iconBattMax ) ) */ | |
2391 if (batterystatus >= iconBattMax) | |
2392 return 0; | |
2393 | |
2394 if( (globalMobileMode & (GlobalMobileOn|GlobalCharging)) AND | |
2395 (globalBatteryMode NEQ GlobalBatteryFull) ) | |
2396 { | |
2397 if ( idleIsFocussed() AND battery_charging_animate) | |
2398 { | |
2399 icn=((MfwHdr *)battstate[ icon_ctr].h)->data; | |
2400 dspl_BitBlt2(icn->attr->area.px,icn->attr->area.py, | |
2401 icn->attr->area.sx,icn->attr->area.sy, | |
2402 icn->attr->icons,icn->index,icn->attr->icnType); | |
2403 timStart(battery_charging_animate); | |
2404 } | |
2405 } | |
2406 else | |
2407 { | |
2408 /* Otherwise clear all of the battery icons, and then set the | |
2409 selected value to be visible | |
2410 */ | |
2411 for( i = 0; i < iconBattMax; i++ ) | |
2412 battstate[ i ].state = ICON_INVISIBLE; | |
2413 battstate[ batterystatus ].state = ICON_VISIBLE; | |
2414 | |
2415 /* and display the current selection | |
2416 */ | |
2417 icnShow( battstate[ batterystatus ].h ); | |
2418 } | |
2419 return 1; | |
2420 } | |
2421 | |
2422 /******************************************************************************* | |
2423 | |
2424 $Function: BattChargeEventTim | |
2425 | |
2426 $Description: Timer callback for battery charging animation | |
2427 | |
2428 $Returns: 0 if error detected, otherwise 1 | |
2429 | |
2430 $Arguments: | |
2431 | |
2432 *******************************************************************************/ | |
2433 //x0pleela 11 Apr, 2006 ER: OMAPS00075178 | |
2434 int BattChargeEventTim( MfwEvt e, MfwTim *tc ) | |
2435 { | |
2436 int i; | |
2437 if( (globalMobileMode & (GlobalMobileOn|GlobalCharging)) AND | |
2438 (globalBatteryMode NEQ GlobalBatteryFull) ) | |
2439 { | |
2440 if (idleIsFocussed() AND battery_charging_animate) | |
2441 { | |
2442 TRACE_EVENT_P1("Battery charging..timer cb: %d", icon_ctr); | |
2443 timStop(battery_charging_animate); | |
2444 icon_ctr++; | |
2445 | |
2446 if( icon_ctr >4 ) | |
2447 icon_ctr = 0; | |
2448 | |
2449 TRACE_EVENT_P1("icon_ctr:%d", icon_ctr); | |
2450 for( i = 0; i < iconBattMax; i++ ) | |
2451 { | |
2452 battstate[ i ].state = ICON_INVISIBLE; | |
2453 icnHide(battstate[ i].h ); | |
2454 } | |
2455 battstate[ icon_ctr ].state = ICON_VISIBLE; | |
2456 | |
2457 /* and display the current selection */ | |
2458 icnUnhide(battstate[ icon_ctr ].h ); | |
2459 | |
2460 windowsUpdate(); //redraw the idle screen again. | |
2461 timStart(battery_charging_animate); | |
2462 } | |
2463 else //else stop animation | |
2464 { | |
2465 if (battery_charging_animate) | |
2466 timStop(battery_charging_animate); | |
2467 } | |
2468 } | |
2469 return MFW_EVENT_CONSUMED; | |
2470 } | |
2471 | |
2472 | |
2473 // Apr 27, 2004 REF: ENH 12646 Deepa M.D | |
2474 /******************************************************************************* | |
2475 | |
2476 $Function: iconsShowSmsFull | |
2477 | |
2478 $Description: When SMS meory is full,start the timer for blinking the icon. | |
2479 | |
2480 $Returns: 0 if error detected, otherwise 1 | |
2481 | |
2482 $Arguments: None | |
2483 | |
2484 *******************************************************************************/ | |
2485 int iconsShowSmsFull( ) | |
2486 { | |
2487 MfwIcn *icn; | |
2488 TRACE_FUNCTION("iconsShowSmsFull"); | |
2489 if(isIconBlinking==1) | |
2490 { | |
2491 if(smsStatus==0) | |
2492 { | |
2493 | |
2494 icn=((MfwHdr *)state[ iconIdSMS ] .h)->data; | |
2495 dspl_BitBlt2(icn->attr->area.px,icn->attr->area.py, | |
2496 icn->attr->area.sx,icn->attr->area.sy, | |
2497 icn->attr->icons,icn->index,icn->attr->icnType); | |
2498 } | |
2499 return 0; | |
2500 } | |
2501 | |
2502 isIconBlinking=1; | |
2503 | |
2504 if (sms_animate) | |
2505 { | |
2506 | |
2507 timStart(sms_animate); | |
2508 } | |
2509 | |
2510 return 1; | |
2511 } | |
2512 | |
2513 | |
2514 // Apr 27, 2004 REF: ENH 12646 Deepa M.D | |
2515 /******************************************************************************* | |
2516 | |
2517 $Function: smsFullEventTim | |
2518 | |
2519 $Description: Callback function for SMSFull timer.The SMS icon is toggled between visible | |
2520 and invisible. | |
2521 | |
2522 $Returns: Event consumed | |
2523 | |
2524 $Arguments: unused | |
2525 | |
2526 *******************************************************************************/ | |
2527 | |
2528 int smsFullEventTim( MfwEvt e, MfwTim *tc ) | |
2529 { | |
2530 | |
2531 TRACE_FUNCTION("smsFullEventTim"); | |
2532 | |
2533 // Oct 28, 2004 REF: CRR 25886 xnkulkar | |
2534 // Description: SMS Icon is not seen in Idle Screen. | |
2535 // Solution: A check is done to determine if sms memory is full when the phone is in idle screen or | |
2536 // when any calls are present and blinking sms icon is displayed. | |
2537 if(idleIsFocussed() ||(call_data.calls.numCalls!=0)) | |
2538 { | |
2539 smsStatus++; | |
2540 /* x0045876, 14-Aug-2006 (WR - pointless comparison of unsigned integer with zero) */ | |
2541 /* if( smsStatus<0 || smsStatus>=2) */ | |
2542 if(smsStatus>=2) | |
2543 smsStatus=0; | |
2544 | |
2545 if(smsStatus==0) //The icon will be visible | |
2546 { | |
2547 state[ iconIdSMS ] .state = ICON_VISIBLE; | |
2548 icnUnhide(state[ iconIdSMS ] .h); | |
2549 } | |
2550 else //The icon will be invisible | |
2551 { | |
2552 state[ iconIdSMS ] .state = ICON_INVISIBLE; | |
2553 icnHide(state[ iconIdSMS ] .h); | |
2554 } | |
2555 windowsUpdate(); //redraw the idle screen again. | |
2556 if (sms_animate) | |
2557 { | |
2558 timStart(sms_animate); | |
2559 } | |
2560 | |
2561 } | |
2562 else //else stop the timer for blinking. | |
2563 { | |
2564 isIconBlinking=0; | |
2565 | |
2566 if (sms_animate) | |
2567 { | |
2568 timStop(sms_animate); | |
2569 } | |
2570 } | |
2571 | |
2572 return MFW_EVENT_CONSUMED; | |
2573 } | |
2574 | |
2575 | |
2576 /******************************************************************************* | |
2577 | |
2578 $Function: iconShowGoodbye | |
2579 | |
2580 $Description: | |
2581 | |
2582 $Returns: | |
2583 | |
2584 $Arguments: | |
2585 | |
2586 *******************************************************************************/ | |
2587 | |
2588 void iconShowGoodbye( void) | |
2589 { | |
2590 // iconsShowIcon( &state[ iconGoodbye ] ); | |
2591 } | |
2592 | |
2593 | |
2594 | |
2595 /******************************************************************************* | |
2596 | |
2597 $Function: iconsShowSignal | |
2598 | |
2599 $Description: Shows the signal status icons | |
2600 | |
2601 $Returns: 0 if error detected, otherwise 1 | |
2602 | |
2603 $Arguments: signalstatus, the current signal icon to be displayed | |
2604 | |
2605 *******************************************************************************/ | |
2606 | |
2607 int iconsShowSignal (U8 signalstatus) | |
2608 { | |
2609 int i; | |
2610 | |
2611 /* If we have an error, ie invalid id then return 0 | |
2612 */ | |
2613 /* x0045876, 14-Aug-2006 (WR - pointless comparison of unsigned integer with zero) */ | |
2614 /* if ( ( signalstatus < 0 ) || ( signalstatus >= iconSignalMax ) ) */ | |
2615 if (signalstatus >= iconSignalMax) | |
2616 return 0; | |
2617 | |
2618 /* Otherwise clear all of the signal icons, and then set the | |
2619 selected value to be visible | |
2620 */ | |
2621 for( i = 0; i < iconSignalMax; i++ ) | |
2622 signalstate[ i ].state = ICON_INVISIBLE; | |
2623 signalstate[ signalstatus ].state = ICON_VISIBLE; | |
2624 | |
2625 /* and display the current selection | |
2626 */ | |
2627 icnShow( signalstate[ signalstatus ].h ); | |
2628 | |
2629 return 1; | |
2630 } | |
2631 | |
2632 | |
2633 | |
2634 /******************************************************************************* | |
2635 | |
2636 $Function: iconsInputShow | |
2637 | |
2638 $Description: show current input icons | |
2639 | |
2640 $Returns: None | |
2641 | |
2642 $Arguments: IconInputId, id of icon to be displayed | |
2643 | |
2644 *******************************************************************************/ | |
2645 | |
2646 void iconsInputShow (int IconInputId) | |
2647 { | |
2648 CLEAR_BOTTOM_ZONE_ICON; | |
2649 } | |
2650 | |
2651 | |
2652 /******************************************************************************* | |
2653 | |
2654 $Function: iconsMainIconsAreaSet | |
2655 | |
2656 $Description: sets the current main icons area | |
2657 | |
2658 $Returns: None | |
2659 | |
2660 $Arguments: None | |
2661 | |
2662 *******************************************************************************/ | |
2663 | |
2664 #ifndef LSCREEN | |
2665 #define MAIN_ICON_Y 31 | |
2666 #endif | |
2667 | |
2668 void copyAreaAttr(MfwRect *iconArea, MfwRect *display_area) | |
2669 { | |
2670 if (display_area->sx > iconArea->sx) | |
2671 { | |
2672 iconArea->px = display_area->px + (display_area->sx - iconArea->sx)/2; | |
2673 } | |
2674 else | |
2675 { | |
2676 iconArea->px = display_area->px; | |
2677 } | |
2678 if (display_area->sy > iconArea->sy) | |
2679 { | |
2680 iconArea->py = display_area->py + (display_area->sy - iconArea->sy)/2; | |
2681 } | |
2682 else | |
2683 { | |
2684 iconArea->py = display_area->py; | |
2685 | |
2686 if (display_area->sy < iconArea->sy) | |
2687 iconArea->sy = display_area->sy; | |
2688 #ifndef LSCREEN | |
2689 /*With the small screen we change the size of the idle icons (when changing language)*/ | |
2690 else | |
2691 iconArea->sy = MAIN_ICON_Y; | |
2692 #endif | |
2693 } | |
2694 } | |
2695 | |
2696 void iconsMainIconsAreaSet (MfwRect selected_area) | |
2697 { | |
2698 | |
2699 | |
2700 copyAreaAttr( &mainIconSimToolkit.area, &selected_area); | |
2701 copyAreaAttr( &mainIconCalculator.area, &selected_area); | |
2702 copyAreaAttr( &mainIconSettings.area, &selected_area); | |
2703 copyAreaAttr( &mainIconWAP.area, &selected_area); | |
2704 copyAreaAttr( &mainIconRecentCalls.area, &selected_area); | |
2705 copyAreaAttr( &mainIconCallDivert.area, &selected_area); | |
2706 copyAreaAttr( &mainIconSecurity.area, &selected_area); | |
2707 copyAreaAttr( &mainIconMessages.area, &selected_area); | |
2708 copyAreaAttr( &mainIconPhonebook.area, &selected_area); | |
2709 | |
2710 /* | |
2711 #ifdef COLOURDISPLAY | |
2712 #ifdef USE110X110 | |
2713 //No 110x110 for sim toolkit yet | |
2714 mainIconSimToolkit.area.sx = 96; | |
2715 mainIconSimToolkit.area.sy = 96; | |
2716 #else | |
2717 //Applications icon is 1 pixel wider than the rest | |
2718 mainIconCalculator.area.sx = 97; | |
2719 mainIconCalculator.area.sy = 96; | |
2720 #endif | |
2721 #endif*/ | |
2722 } | |
2723 | |
2724 | |
2725 /******************************************************************************* | |
2726 | |
2727 $Function: () | |
2728 | |
2729 $Description: | |
2730 | |
2731 $Returns: None | |
2732 | |
2733 $Arguments: None | |
2734 | |
2735 *******************************************************************************/ | |
2736 #ifdef COLOURDISPLAY | |
2737 static T_BITMAP bgdBmpBubbles = {{0,0,120,120},1,COLOUR_ICON_XX,BMP_FORMAT_32BIT_COLOUR,(char*) bmpDataBubbles}; | |
2738 static T_BITMAP bgdBmpCloud = {{0,0,120,100},1,COLOUR_ICON_XX,BMP_FORMAT_32BIT_COLOUR,(char*) bmpDataCloud}; | |
2739 /* x0039928 - Lint warning removal | |
2740 static T_BITMAP bgdBmpSquares = {{0,0,176,220},1,COLOUR_ICON_XX, ICON_TYPE_16BIT_COL, (char *)bmpDataSquares }; | |
2741 static T_BITMAP bgdBmpO2 = {{0,0,120,100},1,COLOUR_ICON_XX,BMP_FORMAT_16BIT_LCD_COLOUR,(char*) bmpDataSquares}; | |
2742 static T_BITMAP bgdBmpTree = {{0,0,120,100},1,COLOUR_ICON_XX,BMP_FORMAT_16BIT_LCD_COLOUR,(char*) bmpDataSquares}; */ | |
2743 // by Nitin to set the TI Logo position | |
2744 // This has to be permamnantly done for Neptune | |
2745 #if (BOARD == 61) | |
2746 static T_BITMAP TI_Bgd = {{32,50,176,220},1,COLOUR_ICON_XX,ICON_TYPE_256_COL, (char*) Ti_bgd_bmp}; | |
2747 #else | |
2748 static T_BITMAP TI_Bgd = {{0,0,176,220},1,COLOUR_ICON_XX,ICON_TYPE_256_COL, (char*) Ti_bgd_bmp}; | |
2749 #endif //(BOARD == 61) | |
2750 | |
2751 static T_BITMAP call_backdrop = {{2,8,120,170},1,COLOUR_ICON_XX,ICON_TYPE_1BIT_UNPACKED, (char *) iconInCallBackDrop}; | |
2752 | |
2753 static T_BITMAP Edinburgh1_Bgd = {{0,0,175,220},1,COLOUR_ICON_XX,BMP_FORMAT_16BIT_LCD_COLOUR, (char*) Edinburgh1_bgd_bmp}; | |
2754 static T_BITMAP Edinburgh2_Bgd = {{0,0,175,220},1,COLOUR_ICON_XX,BMP_FORMAT_16BIT_LCD_COLOUR, (char*) &Edinburgh1_bgd_bmp[2]}; | |
2755 static T_BITMAP Edinburgh3_Bgd = {{0,0,175,220},1,COLOUR_ICON_XX,BMP_FORMAT_16BIT_LCD_COLOUR, (char*) Edinburgh3_bgd_bmp}; | |
2756 static T_BITMAP Edinburgh4_Bgd = {{0,0,175,220},1,COLOUR_ICON_XX,BMP_FORMAT_16BIT_LCD_COLOUR, (char*) &Edinburgh3_bgd_bmp[2]}; | |
2757 | |
2758 #endif | |
2759 | |
2760 T_BITMAP* icon_getBgdBitmap( int bgdId ) | |
2761 { | |
2762 TRACE_FUNCTION("icon_getBgdBitmap()"); | |
2763 #ifdef COLOURDISPLAY | |
2764 switch (bgdId) | |
2765 { | |
2766 case BGD_NONE: | |
2767 return (NULL); | |
2768 case BGD_BUBBLES: | |
2769 return (&bgdBmpBubbles); | |
2770 case BGD_CLOUD: | |
2771 return (&bgdBmpCloud); | |
2772 case BGD_SQUARE: | |
2773 // return (&bgdBmpSquares); | |
2774 break; | |
2775 case BGD_TI_LOGO: | |
2776 return (&TI_Bgd); | |
2777 case BGD_O2: | |
2778 return (NULL); | |
2779 case BGD_TREE: | |
2780 return (NULL); | |
2781 case BGD_SUNSET: | |
2782 return (NULL); | |
2783 case BGD_EDINBURGH1: | |
2784 return (&Edinburgh1_Bgd); | |
2785 case BGD_EDINBURGH2: | |
2786 return (&Edinburgh2_Bgd); | |
2787 case BGD_EDINBURGH3: | |
2788 return (&Edinburgh3_Bgd); | |
2789 case BGD_EDINBURGH4: | |
2790 return (&Edinburgh4_Bgd); | |
2791 case BGD_INCALL: | |
2792 return(&call_backdrop); | |
2793 | |
2794 } | |
2795 #endif | |
2796 return (NULL); | |
2797 } | |
2798 | |
2799 | |
2800 #ifdef COLOURDISPLAY | |
2801 /******************************************************************************* | |
2802 | |
2803 $Function: addnetwork | |
2804 | |
2805 $Description: This function adds a link between a bitmap and a network number. | |
2806 | |
2807 $Returns: None | |
2808 | |
2809 $Arguments: networkBitmap - pointer to the bitmap data | |
2810 networkNo - pointer to the UBYTE array containing the network number | |
2811 | |
2812 *******************************************************************************/ | |
2813 #define MAX_NETWORK_NUMBER 50 | |
2814 typedef struct { | |
2815 char *num; | |
2816 T_BITMAP *bmp; | |
2817 } T_NETWORK_BITMAP; | |
2818 static T_NETWORK_BITMAP networkBitmap[MAX_NETWORK_NUMBER]; | |
2819 | |
2820 static void addnetwork(T_BITMAP *networkBmp, char* networkNo) | |
2821 { | |
2822 int i=0; | |
2823 while (i<MAX_NETWORK_NUMBER) | |
2824 { | |
2825 if (networkBitmap[i].num == NULL) | |
2826 { | |
2827 networkBitmap[i].num = networkNo; | |
2828 networkBitmap[i].bmp = networkBmp; | |
2829 return; | |
2830 } | |
2831 i++; | |
2832 } | |
2833 } | |
2834 | |
2835 T_BITMAP Bouygues_icon = {{0,0,175,50},1,COLOUR_ICON_XX,ICON_TYPE_256_COL, (char*)Bouygues_bmp}; | |
2836 T_BITMAP SFR_icon = {{0,0,103,64},1,COLOUR_ICON_XX,ICON_TYPE_256_COL, (char*)SFR_bmp}; | |
2837 T_BITMAP VodafoneD2_icon = {{0,0,107,64},1,COLOUR_ICON_XX,ICON_TYPE_256_COL, (char*)VodafoneD2_bmp}; | |
2838 T_BITMAP Chinamobile_icon = {{0,0,175,51},1,COLOUR_ICON_XX,ICON_TYPE_256_COL, (char*)Chinamobile_bmp}; | |
2839 T_BITMAP Fareast_icon = {{0,0,110,64},1,COLOUR_ICON_XX,ICON_TYPE_256_COL, (char*)Fareast_bmp}; | |
2840 T_BITMAP orange_icon = {{0,0, 64,64},1,COLOUR_ICON_XX,ICON_TYPE_256_COL, (char*)orange_bmp}; | |
2841 T_BITMAP sonofon_icon = {{0,0,174,64},1,COLOUR_ICON_XX,ICON_TYPE_256_COL, (char*)sonofon_bmp}; | |
2842 T_BITMAP Vodafone_icon = {{0,0,108,64},1,COLOUR_ICON_XX,ICON_TYPE_256_COL, (char*)Vodafone_bmp}; | |
2843 T_BITMAP Tmobile_icon = {{0,0,175,49},1,COLOUR_ICON_XX,ICON_TYPE_256_COL, (char*) Tmobile_bmp}; | |
2844 | |
2845 /******************************************************************************* | |
2846 | |
2847 $Function: icon_initNetworkBitmaps | |
2848 | |
2849 $Description: This procedure initialises the link between a network icon and a network | |
2850 number. | |
2851 NB This data should probably be stored in flash. | |
2852 | |
2853 $Returns: None | |
2854 | |
2855 $Arguments: None | |
2856 | |
2857 *******************************************************************************/ | |
2858 void icon_initNetworkBitmaps( void ) | |
2859 { | |
2860 int i; | |
2861 for (i=0;i< MAX_NETWORK_NUMBER;i++) | |
2862 { | |
2863 networkBitmap[i].num = NULL; | |
2864 networkBitmap[i].bmp = NULL; | |
2865 } | |
2866 //AP - 29-01-03 - initialise the value to true to show the Bitmap | |
2867 //FFS_flashData.ProviderNetworkShow = FFS_flashData.ProviderNetworkShow; | |
2868 /* API - 29-01-03 - Allowed to uses these service provider bitmaps O2 is still commented out we | |
2869 dont have this bitmap yet. | |
2870 */ | |
2871 /* T MOBILE Bitmaps */ | |
2872 addnetwork(&Tmobile_icon, "23430"); /* UK */ | |
2873 addnetwork(&Tmobile_icon, "23431"); /* UK */ | |
2874 addnetwork(&Tmobile_icon, "23432"); /* UK */ | |
2875 addnetwork(&Tmobile_icon, "23203"); /* Austria */ | |
2876 addnetwork(&Tmobile_icon, "23001"); /* Czeck */ | |
2877 addnetwork(&Tmobile_icon, "26201"); /* Germany */ | |
2878 addnetwork(&Tmobile_icon, "TMO UK"); /* UK */ | |
2879 | |
2880 addnetwork(&Tmobile_icon, "31016"); /* USA */ | |
2881 addnetwork(&Tmobile_icon, "31020"); /* USA */ | |
2882 addnetwork(&Tmobile_icon, "31021"); /* USA */ | |
2883 addnetwork(&Tmobile_icon, "31022"); /* USA */ | |
2884 addnetwork(&Tmobile_icon, "31023"); /* USA */ | |
2885 addnetwork(&Tmobile_icon, "31024"); /* USA */ | |
2886 addnetwork(&Tmobile_icon, "31025"); /* USA */ | |
2887 addnetwork(&Tmobile_icon, "31026"); /* USA */ | |
2888 addnetwork(&Tmobile_icon, "31027"); /* USA */ | |
2889 addnetwork(&Tmobile_icon, "31031"); /* USA */ | |
2890 addnetwork(&Tmobile_icon, "31058"); /* USA */ | |
2891 addnetwork(&Tmobile_icon, "31066"); /* USA */ | |
2892 addnetwork(&Tmobile_icon, "31080"); /* USA */ | |
2893 | |
2894 /* VODAFONE Bitmaps */ | |
2895 addnetwork(&Vodafone_icon, "23415"); /* UK */ | |
2896 addnetwork(&Vodafone_icon, "26202"); /* Germany */ | |
2897 addnetwork(&Vodafone_icon, "27201"); /* Ireland */ | |
2898 addnetwork(&Vodafone_icon, "20404"); /* Holand */ | |
2899 addnetwork(&Vodafone_icon, "24008"); /* Sweden */ | |
2900 | |
2901 /* O2 Bitmaps */ | |
2902 // addnetwork(&O2UK_bmp, "23410"); | |
2903 | |
2904 /* Orange Bitmaps */ | |
2905 addnetwork(&orange_icon, "34001"); | |
2906 addnetwork(&orange_icon, "20801"); | |
2907 addnetwork(&orange_icon, "23433"); | |
2908 addnetwork(&orange_icon, "23830"); | |
2909 | |
2910 | |
2911 } | |
2912 | |
2913 /******************************************************************************* | |
2914 | |
2915 $Function: | |
2916 | |
2917 $Description: function to convert 'n' characters in an UBYTE array into a positive integer. | |
2918 | |
2919 $Returns: Value in the string | |
2920 | |
2921 $Arguments: str - pointer to the string | |
2922 maxChar - last possible char of the number | |
2923 | |
2924 *******************************************************************************/ | |
2925 int UbyteToInt(UBYTE* str, int maxChar) | |
2926 { | |
2927 int num = 0; | |
2928 int i; | |
2929 for (i=0;i<maxChar;i++) | |
2930 { | |
2931 if ((str[i] >='0') && (str[i] <='9')) | |
2932 num = num*10+str[i]-'0'; | |
2933 else | |
2934 return (num); | |
2935 } | |
2936 return (num); | |
2937 } | |
2938 | |
2939 /******************************************************************************* | |
2940 | |
2941 $Function: icon_getNetworkIcon | |
2942 | |
2943 $Description: This procedure returns a bitmap based on the suplied network number. | |
2944 | |
2945 $Returns: Pointer to the network logo bitmap | |
2946 | |
2947 $Arguments: networkNumber - array of data corresponding to the network number | |
2948 NB This may not be null terminated. | |
2949 | |
2950 *******************************************************************************/ | |
2951 T_BITMAP* icon_getNetworkIcon( UBYTE* networkNumber) | |
2952 { | |
2953 char num[SIZE_PLMN_NAME+1]; | |
2954 int i; | |
2955 static int init=1; | |
2956 TRACE_FUNCTION("icon_getNetworkIcon()"); | |
2957 if (init) | |
2958 { | |
2959 icon_initNetworkBitmaps( ); | |
2960 init=0; | |
2961 } | |
2962 // AP - 29-01-03 - IF this is satisfied we dont want to show provider icon | |
2963 if( FFS_flashData.ProviderNetworkShow == FALSE ) | |
2964 return ( NULL ); | |
2965 | |
2966 //NB: NetworkNumber may not be null terminated | |
2967 for (i=0;i<SIZE_PLMN_NAME;i++) | |
2968 num[i] = (char)networkNumber[i]; | |
2969 num[SIZE_PLMN_NAME] = 0x00; | |
2970 for (i=0;i<MAX_NETWORK_NUMBER;i++) | |
2971 { | |
2972 if (strcmp(num,networkBitmap[i].num)==0) | |
2973 return (networkBitmap[i].bmp); | |
2974 } | |
2975 TRACE_EVENT_P1("No match for %s",num); | |
2976 return (NULL); | |
2977 } | |
2978 /******************************************************************************* | |
2979 | |
2980 $Function: icon_getBitmapIdFromText() | |
2981 | |
2982 $Description: This procedure selects a bitmap Id depending on the textid passed to it. | |
2983 | |
2984 $Returns: data - enumerated type corresponding to the desired bitmap | |
2985 | |
2986 $Arguments: mnuId - text id corresponding to the desired bitmap | |
2987 | |
2988 *******************************************************************************/ | |
2989 int icon_getBitmapIdFromText( int mnuId ) | |
2990 { | |
2991 int data; | |
2992 TRACE_FUNCTION("icon_getBitmapIdFromText()"); | |
2993 switch (mnuId) | |
2994 { | |
2995 case TxtNone: | |
2996 data = BGD_NONE; | |
2997 break; | |
2998 case TxtBgdSquares: | |
2999 data = BGD_SQUARE; | |
3000 break; | |
3001 case TxtBgdO2: | |
3002 data = BGD_O2; | |
3003 break; | |
3004 case TxtBgdTree: | |
3005 data = BGD_TREE; | |
3006 break; | |
3007 case TxtBgdSunset: | |
3008 data = BGD_SUNSET; | |
3009 break; | |
3010 case TxtBgdEdinburgh1: | |
3011 data = BGD_EDINBURGH1; | |
3012 break; | |
3013 case TxtBgdEdinburgh2: | |
3014 data = BGD_EDINBURGH2; | |
3015 break; | |
3016 case TxtBgdEdinburgh3: | |
3017 data = BGD_EDINBURGH3; | |
3018 break; | |
3019 case TxtBgdEdinburgh4: | |
3020 data = BGD_EDINBURGH4; | |
3021 break; | |
3022 case TxtBgdTILogo: | |
3023 data = BGD_TI_LOGO ; | |
3024 break; | |
3025 default: | |
3026 data = BGD_NONE; | |
3027 break; | |
3028 } | |
3029 return (data); | |
3030 } | |
3031 | |
3032 /******************************************************************************* | |
3033 | |
3034 $Function: icon_getBitmapFromId | |
3035 | |
3036 $Description: This procedure selects a bitmap depending on the bgd id passed to it. | |
3037 The procedure can return a pointer to the data or, if a data structure is | |
3038 already in use, can copy the data out into the new structure. | |
3039 | |
3040 $Returns: data - pointer to the bitmap | |
3041 | |
3042 $Arguments: bgdId - enumerated type corresponding to the desired bitmap | |
3043 *bmpData - pointer to a structure that can store the bitmap data (if required) | |
3044 | |
3045 *******************************************************************************/ | |
3046 T_BITMAP *icon_getBitmapFromId( int bgdId, T_BITMAP *bmpData) | |
3047 { | |
3048 T_BITMAP* data; | |
3049 TRACE_FUNCTION("icon_getBitmapFromId()"); | |
3050 | |
3051 data = icon_getBgdBitmap( bgdId ); | |
3052 //Update the supplied data structure (if any) | |
3053 if (bmpData != NULL) | |
3054 { | |
3055 if (data == NULL) | |
3056 { | |
3057 bmpData->area.sx = 0; | |
3058 bmpData->area.sy = 0; | |
3059 } | |
3060 else | |
3061 { | |
3062 bmpData->area.px = data->area.px; | |
3063 bmpData->area.py = data->area.py; | |
3064 bmpData->area.sx = data->area.sx; | |
3065 bmpData->area.sy = data->area.sy; | |
3066 bmpData->area.sx = data->area.sx; | |
3067 bmpData->nIcons = data->nIcons; | |
3068 bmpData->iconCol = data->iconCol; | |
3069 bmpData->icnType = data->icnType; | |
3070 bmpData->icons = data->icons; | |
3071 } | |
3072 } | |
3073 return (data); | |
3074 } | |
3075 | |
3076 | |
3077 /******************************************************************************* | |
3078 | |
3079 $Function: icon_bgdMenuSelected() | |
3080 | |
3081 $Description: This procedure is called when a background image is selected from a menu. | |
3082 | |
3083 $Returns: None | |
3084 | |
3085 $Arguments: None | |
3086 | |
3087 *******************************************************************************/ | |
3088 int icon_bgdMenuSelected(MfwMnu* mnu, MfwMnuItem* mnuItem) | |
3089 { | |
3090 T_MFW_HND win = mfw_parent(mfw_header()); | |
3091 int mnuId; | |
3092 /* int colDisplayType; */ /* Warning */ | |
3093 /* int colType; */ /* Warning */ | |
3094 /* int colFgdSelect = FALSE; */ /* Warning */ | |
3095 int bmpId; | |
3096 /* T_BITMAP *backgroundBmp; */ /* Warning */ | |
3097 int storedMenuId; | |
3098 | |
3099 //The destination for the bitmap has been storeed by the previous menu selection | |
3100 storedMenuId = MmiBook_getStoredOption(); | |
3101 mnuId = (int)mnuItem->str; | |
3102 | |
3103 //Get the BMI index corresponding to the text string | |
3104 bmpId = icon_getBitmapIdFromText(mnuId); | |
3105 | |
3106 //Depending on where this is to be displayed, we need either a pointer to the data or we | |
3107 //must copy the data out of the structure to update another structure. | |
3108 switch (storedMenuId) | |
3109 { | |
3110 case TxtIdleScreen: | |
3111 /* Update idle screen bitmap */ | |
3112 idle_setBgdBitmap(bmpId); | |
3113 FFS_flashData.IdleScreenBgd = bmpId; | |
3114 break; | |
3115 case TxtMenuScreen: | |
3116 /* The menu screen bitmap is a fixed structure - we need to update the data within*/ | |
3117 icon_setMainBgdBitmap(bmpId); | |
3118 FFS_flashData.MainMenuBgd = bmpId; | |
3119 break; | |
3120 | |
3121 default: //unknown option | |
3122 break; | |
3123 } | |
3124 | |
3125 info_screen(win, TxtBackground, TxtSelected, 0); | |
3126 flash_write(); | |
3127 return(0); | |
3128 } | |
3129 /******************************************************************************* | |
3130 | |
3131 $Function: icon_networkShow | |
3132 | |
3133 $Description: Procedure to show acivation of Provider Bitmap | |
3134 | |
3135 $Returns: Event consumed | |
3136 | |
3137 $Arguments: None | |
3138 | |
3139 *******************************************************************************/ | |
3140 | |
3141 int icon_networkShow (MfwMnu* m, MfwMnuItem* i) | |
3142 { | |
3143 T_MFW_HND win = mfwParent(mfw_header()); | |
3144 T_DISPLAY_DATA display_info; | |
3145 | |
3146 if(FFS_flashData.ProviderNetworkShow == FALSE ) | |
3147 { | |
3148 FFS_flashData.ProviderNetworkShow = TRUE; | |
3149 flash_write(); | |
3150 }// SPR:12822 vvadiraj | |
3151 dlg_initDisplayData_TextId( &display_info, TxtNull, TxtNull, TxtProviderIcon, TxtOn, COLOUR_STATUS); | |
3152 dlg_initDisplayData_events( &display_info, NULL, THREE_SECS, KEY_CLEAR|KEY_LEFT|KEY_RIGHT ); | |
3153 | |
3154 info_dialog(win, &display_info); | |
3155 | |
3156 return MFW_EVENT_CONSUMED; | |
3157 // SPR:12822 vvadiraj } | |
3158 } | |
3159 /******************************************************************************* | |
3160 | |
3161 $Function: icon_networkDontShow | |
3162 | |
3163 $Description: Procedure to show deActivate of Provider Bitmap | |
3164 | |
3165 $Returns: None | |
3166 | |
3167 $Arguments: None | |
3168 | |
3169 *******************************************************************************/ | |
3170 | |
3171 int icon_networkDontShow (MfwMnu* m, MfwMnuItem* i) | |
3172 { | |
3173 T_MFW_HND win = mfwParent(mfw_header()); | |
3174 T_DISPLAY_DATA display_info; | |
3175 | |
3176 if(FFS_flashData.ProviderNetworkShow == TRUE ) | |
3177 { | |
3178 FFS_flashData.ProviderNetworkShow = FALSE; | |
3179 flash_write(); | |
3180 }// SPR:12822 vvadiraj | |
3181 dlg_initDisplayData_TextId( &display_info, TxtNull, TxtNull, TxtProviderIcon, TxtOff, COLOUR_STATUS); | |
3182 dlg_initDisplayData_events( &display_info, NULL, THREE_SECS, KEY_CLEAR|KEY_LEFT|KEY_RIGHT ); | |
3183 | |
3184 info_dialog(win, &display_info); | |
3185 | |
3186 return MFW_EVENT_CONSUMED; | |
3187 // SPR:12822 vvadiraj} | |
3188 } | |
3189 #endif | |
3190 | |
3191 #ifndef COLOURDISPLAY | |
3192 | |
3193 /******************************************************************************* | |
3194 | |
3195 $Function: icon_getNetworkIcon | |
3196 | |
3197 $Description: Dummy procedure for non-colour displays | |
3198 | |
3199 $Returns: None | |
3200 | |
3201 $Arguments: None | |
3202 | |
3203 *******************************************************************************/ | |
3204 T_BITMAP* icon_getNetworkIcon( UBYTE* networkNumber) | |
3205 { | |
3206 return (NULL); | |
3207 } | |
3208 /******************************************************************************* | |
3209 | |
3210 $Function: icon_getBitmapFromId | |
3211 | |
3212 $Description: Dummy procedure for non-colour displays | |
3213 | |
3214 $Returns: None | |
3215 | |
3216 $Arguments: None | |
3217 | |
3218 *******************************************************************************/ | |
3219 | |
3220 T_BITMAP *icon_getBitmapFromId( int bgdId, T_BITMAP *bmpData) | |
3221 { | |
3222 return (NULL); | |
3223 } | |
3224 #endif | |
3225 | |
3226 /******************************************************************************* | |
3227 | |
3228 End Of File | |
3229 | |
3230 *******************************************************************************/ | |
3231 |