comparison g23m/condat/ms/src/bmi/MmiIcons.c @ 0:509db1a7b7b8

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