FreeCalypso > hg > fc-tourmaline
comparison src/ui/bmi/mmiIcons.c @ 67:40d5d4addfb2
mmiIcons.c: trailing white space fixes
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 23 Oct 2020 01:29:36 +0000 |
parents | 67bfe9f274f6 |
children | e9a4b683f697 |
comparison
equal
deleted
inserted
replaced
66:74a034762083 | 67:40d5d4addfb2 |
---|---|
1 /******************************************************************************* | 1 /******************************************************************************* |
2 | 2 |
3 CONDAT (UK) | 3 CONDAT (UK) |
4 | 4 |
5 ******************************************************************************** | 5 ******************************************************************************** |
6 | 6 |
7 This software product is the property of Condat (UK) Ltd and may not be | 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. | 8 disclosed to any third party without the express permission of the owner. |
9 | 9 |
10 ******************************************************************************** | 10 ******************************************************************************** |
11 | 11 |
12 $Project name: Basic MMI | 12 $Project name: Basic MMI |
13 $Project code: BMI (6349) | 13 $Project code: BMI (6349) |
14 $Module: Icons | 14 $Module: Icons |
15 $File: Mmiicons.h | 15 $File: Mmiicons.h |
16 $Revision: 1.0 | 16 $Revision: 1.0 |
17 | 17 |
18 $Author: Condat(UK) | 18 $Author: Condat(UK) |
19 $Date: 25/10/00 | 19 $Date: 25/10/00 |
20 | 20 |
21 ******************************************************************************** | 21 ******************************************************************************** |
22 | 22 |
23 Description: | 23 Description: |
24 | 24 |
25 This provides the implementation of the icon handling in the basic MMI | 25 This provides the implementation of the icon handling in the basic MMI |
26 | 26 |
27 ******************************************************************************** | 27 ******************************************************************************** |
28 $History: Mmiicons.h | 28 $History: Mmiicons.h |
29 | 29 |
30 Jun 09, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar) | 30 Jun 09, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar) |
31 Description : CPHS Roaming indication feature implementation | 31 Description : CPHS Roaming indication feature implementation |
32 Solution : As part of the implementation, in this file, roaming icon (small yellow triangle) is shown based on a global roaming flag | 32 Solution : As part of the implementation, in this file, roaming icon (small yellow triangle) is shown based on a global roaming flag |
33 | 33 |
34 Apr 17, 2006 REF: ER OMAPS00075178 x0pleela | 34 Apr 17, 2006 REF: ER OMAPS00075178 x0pleela |
35 Description: When the charger connect to phone(i-sample), the charger driver works, but the MMI and App don't work | 35 Description: When the charger connect to phone(i-sample), the charger driver works, but the MMI and App don't work |
36 Solution: Added a counter to animate battery charging icons | 36 Solution: Added a counter to animate battery charging icons |
37 Added Timer handler for Battery charging indication | 37 Added Timer handler for Battery charging indication |
38 Added new function BattChargeEventTim which is the callback called | 38 Added new function BattChargeEventTim which is the callback called |
39 for the timeout of battery charging timer | 39 for the timeout of battery charging timer |
40 | 40 |
41 Oct 28, 2004 REF: CRR 25886 xnkulkar | 41 Oct 28, 2004 REF: CRR 25886 xnkulkar |
42 Description: SMS Icon is not seen in Idle Screen. | 42 Description: SMS Icon is not seen in Idle Screen. |
43 Solution: A check is done to determine if sms memory is full when the phone is in idle screen or | 43 Solution: A check is done to determine if sms memory is full when the phone is in idle screen or |
44 when any calls are present and blinking sms icon is displayed. | 44 when any calls are present and blinking sms icon is displayed. |
45 | 45 |
46 Apr 27, 2004 REF: ENH 12646 Deepa M.D | 46 Apr 27, 2004 REF: ENH 12646 Deepa M.D |
47 Fix: When the SMS memory is full,the SMS icon is made to blink | 47 Fix: When the SMS memory is full,the SMS icon is made to blink |
48 SPR:12822 vvadiraj : Network Icon status info displayed always | 48 SPR:12822 vvadiraj : Network Icon status info displayed always |
49 25/10/00 Original Condat(UK) BMI version. | 49 25/10/00 Original Condat(UK) BMI version. |
50 | 50 |
51 $End | 51 $End |
52 *******************************************************************************/ | 52 *******************************************************************************/ |
53 | 53 |
54 | 54 |
55 | 55 |
56 | 56 |
57 /******************************************************************************* | 57 /******************************************************************************* |
58 | 58 |
59 Include Files | 59 Include Files |
60 | 60 |
61 *******************************************************************************/ | 61 *******************************************************************************/ |
62 | 62 |
63 #define ENTITY_MFW | 63 #define ENTITY_MFW |
64 | 64 |
65 /* includes */ | 65 /* includes */ |
137 #include "cus_aci.h" | 137 #include "cus_aci.h" |
138 #include "mfw_ffs.h" | 138 #include "mfw_ffs.h" |
139 #include "MmiTimers.h" | 139 #include "MmiTimers.h" |
140 /* sbh...21/01/02 */ | 140 /* sbh...21/01/02 */ |
141 #ifdef MMI_GPRS_ENABLED | 141 #ifdef MMI_GPRS_ENABLED |
142 #include "MmiGprs.h" | 142 #include "MmiGprs.h" |
143 #endif | 143 #endif |
144 #include "MmiResources.h" | 144 #include "MmiResources.h" |
145 #include "mmiColours.h" | 145 #include "mmiColours.h" |
146 | 146 |
147 #include "Icons\IcnDefs.h" | 147 #include "Icons\IcnDefs.h" |
151 // Added extern call_data to determine if there are any calls active. | 151 // Added extern call_data to determine if there are any calls active. |
152 extern T_call call_data; | 152 extern T_call call_data; |
153 | 153 |
154 //x0pleela 11 Apr, 2006 ER: OMAPS00075178 | 154 //x0pleela 11 Apr, 2006 ER: OMAPS00075178 |
155 //static counter to animate battery charging icons | 155 //static counter to animate battery charging icons |
156 static int icon_ctr; | 156 static int icon_ctr; |
157 /******************************************************************************* | 157 /******************************************************************************* |
158 | 158 |
159 Local definitions | 159 Local definitions |
160 | 160 |
161 *******************************************************************************/ | 161 *******************************************************************************/ |
162 | 162 |
163 #define CLEAR_BOTTOM_ZONE_ICON dspl_Clear(42,54,52,60) | 163 #define CLEAR_BOTTOM_ZONE_ICON dspl_Clear(42,54,52,60) |
164 | 164 |
165 /******************************************************************************* | 165 /******************************************************************************* |
166 | 166 |
167 Local function prototypes | 167 Local function prototypes |
168 | 168 |
169 *******************************************************************************/ | 169 *******************************************************************************/ |
170 /* ADDED - 28-11-2005 */ | 170 /* ADDED - 28-11-2005 */ |
171 EXTERN BOOL smsidle_get_memory_full(void); | 171 EXTERN BOOL smsidle_get_memory_full(void); |
172 /* END - 28-11-2005 */ | 172 /* END - 28-11-2005 */ |
173 | 173 |
177 #ifndef COLOURDISPLAY | 177 #ifndef COLOURDISPLAY |
178 static void iconsScreenDelete( void ); | 178 static void iconsScreenDelete( void ); |
179 #endif | 179 #endif |
180 // Apr 27, 2004 REF: ENH 12646 Deepa M.D | 180 // Apr 27, 2004 REF: ENH 12646 Deepa M.D |
181 static UBYTE smsStatus=0; //Used to blink the SMS icon.0=Icon visible 1=Icon invisible | 181 static UBYTE smsStatus=0; //Used to blink the SMS icon.0=Icon visible 1=Icon invisible |
182 MfwHnd sms_animate; // Timer for SMS Full Icon | 182 MfwHnd sms_animate; // Timer for SMS Full Icon |
183 //x0pleela 11 Apr, 2006 ER: OMAPS00075178 | 183 //x0pleela 11 Apr, 2006 ER: OMAPS00075178 |
184 // Timer for Battery charging indication | 184 // Timer for Battery charging indication |
185 MfwHnd battery_charging_animate; | 185 MfwHnd battery_charging_animate; |
186 UBYTE isIconBlinking=0; //Flag to check whether the timer is running | 186 UBYTE isIconBlinking=0; //Flag to check whether the timer is running |
187 | 187 |
191 #if ! defined(WIN32) | 191 #if ! defined(WIN32) |
192 extern void scrOnOff (int on); /* ES!! add. functions */ | 192 extern void scrOnOff (int on); /* ES!! add. functions */ |
193 #endif | 193 #endif |
194 | 194 |
195 /******************************************************************************* | 195 /******************************************************************************* |
196 | 196 |
197 Icon Bitmaps | 197 Icon Bitmaps |
198 | 198 |
199 *******************************************************************************/ | 199 *******************************************************************************/ |
200 | 200 |
201 /* battery 0-4% | 201 /* battery 0-4% |
202 */ | 202 */ |
203 #ifndef COLOURDISPLAY | 203 #ifndef COLOURDISPLAY |
204 static const unsigned char idlBattery4[] = | 204 static const unsigned char idlBattery4[] = |
205 { | 205 { |
206 0xff,0x81,0x81,0x81,0xff | 206 0xff,0x81,0x81,0x81,0xff |
207 }; | 207 }; |
208 | 208 |
209 /* battery 5-14% | 209 /* battery 5-14% |
210 */ | 210 */ |
211 static const unsigned char idlBattery14[] = | 211 static const unsigned char idlBattery14[] = |
212 { | 212 { |
213 0xff,0xc1,0xc1,0xc1,0xff | 213 0xff,0xc1,0xc1,0xc1,0xff |
214 }; | 214 }; |
215 | 215 |
216 /* battery 15-24% | 216 /* battery 15-24% |
217 */ | 217 */ |
218 static const unsigned char idlBattery24[] = | 218 static const unsigned char idlBattery24[] = |
219 { | 219 { |
220 0xff,0xe1,0xe1,0xe1,0xff | 220 0xff,0xe1,0xe1,0xe1,0xff |
221 }; | 221 }; |
222 | 222 |
223 /* battery 25-49% | 223 /* battery 25-49% |
224 */ | 224 */ |
225 static const unsigned char idlBattery49[] = | 225 static const unsigned char idlBattery49[] = |
226 { | 226 { |
227 0xff,0xf9,0xf9,0xf9,0xff | 227 0xff,0xf9,0xf9,0xf9,0xff |
228 }; | 228 }; |
229 | 229 |
230 /* battery 50-100% | 230 /* battery 50-100% |
231 */ | 231 */ |
232 static const unsigned char idlBattery100[] = | 232 static const unsigned char idlBattery100[] = |
233 { | 233 { |
234 0xff,0xff,0xff,0xff,0xff | 234 0xff,0xff,0xff,0xff,0xff |
235 }; | 235 }; |
236 | 236 |
237 /* SMS | 237 /* SMS |
238 */ | 238 */ |
239 static const unsigned char idlSMS[] = | 239 static const unsigned char idlSMS[] = |
240 { | 240 { |
241 0xff,0xc3,0xa5,0x99,0xff | 241 0xff,0xc3,0xa5,0x99,0xff |
242 }; | 242 }; |
243 | 243 |
244 /* Voice | 244 /* Voice |
245 */ | 245 */ |
246 static const unsigned char idlVoice[] = | 246 static const unsigned char idlVoice[] = |
247 { | 247 { |
248 0x00,0x00,0x3F,0xC0,0x50,0xE0,0x89,0xF0,0x50,0xE0,0x00,0x00 | 248 0x00,0x00,0x3F,0xC0,0x50,0xE0,0x89,0xF0,0x50,0xE0,0x00,0x00 |
249 }; | 249 }; |
250 | 250 |
251 /* Call forwarding uncond | 251 /* Call forwarding uncond |
252 */ | 252 */ |
253 static const unsigned char idlCallforw[] = | 253 static const unsigned char idlCallforw[] = |
254 { | 254 { |
255 0xC4,0xC6,0xFF,0x7E,0x04 | 255 0xC4,0xC6,0xFF,0x7E,0x04 |
256 }; | 256 }; |
257 | 257 |
258 | 258 |
259 | 259 |
260 /* Keypad locked | 260 /* Keypad locked |
261 */ | 261 */ |
262 static const unsigned char idlKeypLock[] = | 262 static const unsigned char idlKeypLock[] = |
263 { | 263 { |
264 0x41,0xa1,0xbe,0xa0,0x40 | 264 0x41,0xa1,0xbe,0xa0,0x40 |
265 }; | 265 }; |
266 | 266 |
267 | 267 |
268 /* Ciphering | 268 /* Ciphering |
269 */ | 269 */ |
270 static const unsigned char idlCipheringActiv[] = | 270 static const unsigned char idlCipheringActiv[] = |
271 { | 271 { |
272 0x18,0x24,0x3c,0x24,0x3c | 272 0x18,0x24,0x3c,0x24,0x3c |
273 }; | 273 }; |
274 | 274 |
275 static const unsigned char idlCipheringDeActiv[] = | 275 static const unsigned char idlCipheringDeActiv[] = |
276 { | 276 { |
277 0x28,0x44,0x6c,0x6c,0x6c | 277 0x28,0x44,0x6c,0x6c,0x6c |
278 }; | 278 }; |
279 | 279 |
280 | 280 |
281 /* Signal strength 0-49 | 281 /* Signal strength 0-49 |
282 */ | 282 */ |
283 static const unsigned char idlSigStr49[] = | 283 static const unsigned char idlSigStr49[] = |
284 { | 284 { |
285 0x00,0x00,0x00,0x00,0x00 | 285 0x00,0x00,0x00,0x00,0x00 |
286 }; | 286 }; |
287 | 287 |
288 /* Signal strength 50-99 | 288 /* Signal strength 50-99 |
289 */ | 289 */ |
290 static const unsigned char idlSigStr99[] = | 290 static const unsigned char idlSigStr99[] = |
291 { | 291 { |
292 0x00,0x00,0x00,0x80,0x80 | 292 0x00,0x00,0x00,0x80,0x80 |
293 }; | 293 }; |
294 | 294 |
295 /* Signal strength 100-149 | 295 /* Signal strength 100-149 |
296 */ | 296 */ |
297 static const unsigned char idlSigStr149[] = | 297 static const unsigned char idlSigStr149[] = |
298 { | 298 { |
299 0x00,0x00,0x20,0xa0,0xa0 | 299 0x00,0x00,0x20,0xa0,0xa0 |
300 }; | 300 }; |
301 | 301 |
302 /* Signal strength 150-199 | 302 /* Signal strength 150-199 |
303 */ | 303 */ |
304 static const unsigned char idlSigStr199[] = | 304 static const unsigned char idlSigStr199[] = |
305 { | 305 { |
306 0x00,0x08,0x28,0xa8,0xa8 | 306 0x00,0x08,0x28,0xa8,0xa8 |
307 }; | 307 }; |
308 | 308 |
309 /* Signal strength 200-255 | 309 /* Signal strength 200-255 |
310 */ | 310 */ |
311 static const unsigned char idlSigStr255[] = | 311 static const unsigned char idlSigStr255[] = |
312 { | 312 { |
313 0x02,0x0a,0x2a,0xaa,0xaa | 313 0x02,0x0a,0x2a,0xaa,0xaa |
314 }; | 314 }; |
315 | 315 |
316 /* sbh...18/01/02. GPRS On icon - appears when GPRS is on | 316 /* sbh...18/01/02. GPRS On icon - appears when GPRS is on |
317 */ | 317 */ |
318 static const unsigned char idlGPRSOn[] = | 318 static const unsigned char idlGPRSOn[] = |
319 { | 319 { |
320 0x3E,0x60,0x6E,0x66,0x3E | 320 0x3E,0x60,0x6E,0x66,0x3E |
321 }; | 321 }; |
322 | 322 |
323 /* Homezone icon | 323 /* Homezone icon |
324 */ | 324 */ |
325 static const unsigned char idlHomezone[] = | 325 static const unsigned char idlHomezone[] = |
326 { | 326 { |
327 0x38,0x7C,0xFE,0xAA,0xEE | 327 0x38,0x7C,0xFE,0xAA,0xEE |
328 }; | 328 }; |
329 | 329 |
330 /* SPR#1352 - SH - TTY icon | 330 /* SPR#1352 - SH - TTY icon |
331 */ | 331 */ |
332 static const unsigned char idlTTY[] = | 332 static const unsigned char idlTTY[] = |
333 { | 333 { |
334 0x7D,0x7D,0x2A,0x2A,0x2A | 334 0x7D,0x7D,0x2A,0x2A,0x2A |
335 }; | 335 }; |
336 #endif | 336 #endif |
337 | 337 |
338 /* Silent ringer | 338 /* Silent ringer |
339 */ | 339 */ |
340 static const unsigned char idlSilRinger[] = | 340 static const unsigned char idlSilRinger[] = |
341 { | 341 { |
342 0xa4,0xa4,0xbf,0xae,0x44 | 342 0xa4,0xa4,0xbf,0xae,0x44 |
343 }; | 343 }; |
344 | 344 |
345 #ifdef NEPTUNE_BOARD | 345 #ifdef NEPTUNE_BOARD |
346 /* OMAPS00074454 - Edge icon*/ | 346 /* OMAPS00074454 - Edge icon*/ |
347 static const unsigned char idlEDGEOn[] = | 347 static const unsigned char idlEDGEOn[] = |
348 { | 348 { |
349 0x7E,0x40,0x78,0x40,0x7E | 349 0x7E,0x40,0x78,0x40,0x7E |
350 }; | 350 }; |
351 /* END */ | 351 /* END */ |
352 #endif | 352 #endif |
353 | 353 |
354 | 354 |
704 | 704 |
705 #ifdef COLOURDISPLAY | 705 #ifdef COLOURDISPLAY |
706 | 706 |
707 #endif | 707 #endif |
708 | 708 |
709 /*Calculator Icon | 709 /*Calculator Icon |
710 */ | 710 */ |
711 #ifndef COLOURDISPLAY /* x0039928 - Lint warning removal */ | 711 #ifndef COLOURDISPLAY /* x0039928 - Lint warning removal */ |
712 static const unsigned char iconMainCalculator[] = | 712 static const unsigned char iconMainCalculator[] = |
713 { | 713 { |
714 0xFE,0x0F,0x5A,0x44,0x00,0x00,0x00,0x00, 0x00,0x00,0xFC,0xE7,0xFD,0x10,0x00,0x1F, | 714 0xFE,0x0F,0x5A,0x44,0x00,0x00,0x00,0x00, 0x00,0x00,0xFC,0xE7,0xFD,0x10,0x00,0x1F, |
732 0xE8,0x3A,0xF3,0x2A,0xAA,0x88,0x0B,0x1A, 0xA0,0x00,0x58,0xD5,0xF9,0x91,0x11,0x10, | 732 0xE8,0x3A,0xF3,0x2A,0xAA,0x88,0x0B,0x1A, 0xA0,0x00,0x58,0xD5,0xF9,0x91,0x11,0x10, |
733 0x0D,0x75,0x50,0x00,0x6B,0xAA, | 733 0x0D,0x75,0x50,0x00,0x6B,0xAA, |
734 | 734 |
735 }; | 735 }; |
736 | 736 |
737 /*CallDivert Icon | 737 /*CallDivert Icon |
738 */ | 738 */ |
739 static const unsigned char iconMainCallDivert[] = | 739 static const unsigned char iconMainCallDivert[] = |
740 { | 740 { |
741 0xFF,0xDD,0x49,0x20,0x0C,0x00,0x00,0x00, 0x00,0x00,0xFF,0x7A,0xA0,0x01,0x18,0x00, | 741 0xFF,0xDD,0x49,0x20,0x0C,0x00,0x00,0x00, 0x00,0x00,0xFF,0x7A,0xA0,0x01,0x18,0x00, |
742 0x00,0x00,0x00,0x00,0xFF,0xFD,0x52,0x88, 0x30,0x00,0x00,0x00,0x00,0x00,0xE3,0xEE, | 742 0x00,0x00,0x00,0x00,0xFF,0xFD,0x52,0x88, 0x30,0x00,0x00,0x00,0x00,0x00,0xE3,0xEE, |
758 0x77,0x40,0x00,0x00,0x00,0x00,0x00,0x78, 0xFF,0x94,0xBA,0x80,0x00,0x00,0x00,0x00, | 758 0x77,0x40,0x00,0x00,0x00,0x00,0x00,0x78, 0xFF,0x94,0xBA,0x80,0x00,0x00,0x00,0x00, |
759 0x00,0x0F,0xFF,0xCA,0x5C,0x80,0x00,0x00, 0x00,0x00,0x00,0x00,0xFF,0xE5,0x29,0x00, | 759 0x00,0x0F,0xFF,0xCA,0x5C,0x80,0x00,0x00, 0x00,0x00,0x00,0x00,0xFF,0xE5,0x29,0x00, |
760 0x00,0x00,0x00,0x00,0x00,0x00, | 760 0x00,0x00,0x00,0x00,0x00,0x00, |
761 }; | 761 }; |
762 | 762 |
763 /*Messages Icon | 763 /*Messages Icon |
764 */ | 764 */ |
765 static const unsigned char iconMainMessages[] = | 765 static const unsigned char iconMainMessages[] = |
766 { | 766 { |
767 0xFF,0xF8,0xC4,0x27,0x04,0x00,0x00,0x01, 0x05,0x60,0xFF,0xE3,0x04,0x12,0x40,0x0F, | 767 0xFF,0xF8,0xC4,0x27,0x04,0x00,0x00,0x01, 0x05,0x60,0xFF,0xE3,0x04,0x12,0x40,0x0F, |
768 0x00,0x02,0x0A,0xC0,0xFF,0x8C,0x04,0x09, 0x10,0xFF,0x00,0x02,0x0D,0x80,0xFE,0x30, | 768 0x00,0x02,0x0A,0xC0,0xFF,0x8C,0x04,0x09, 0x10,0xFF,0x00,0x02,0x0D,0x80,0xFE,0x30, |
784 0x00,0x58,0x07,0x00,0x0B,0xEA,0xFE,0x00, 0xFC,0x80,0x00,0x95,0x00,0x00,0x0B,0xFF, | 784 0x00,0x58,0x07,0x00,0x0B,0xEA,0xFE,0x00, 0xFC,0x80,0x00,0x95,0x00,0x00,0x0B,0xFF, |
785 0xFE,0x00,0xFE,0x40,0x00,0xBA,0x18,0x00, 0x0B,0xFF,0xFE,0x00,0xFF,0x20,0x01,0x35, | 785 0xFE,0x00,0xFE,0x40,0x00,0xBA,0x18,0x00, 0x0B,0xFF,0xFE,0x00,0xFF,0x20,0x01,0x35, |
786 0x00,0x00,0x0F,0xFF,0xFE,0x00, | 786 0x00,0x00,0x0F,0xFF,0xFE,0x00, |
787 }; | 787 }; |
788 | 788 |
789 /*Phonebook Icon | 789 /*Phonebook Icon |
790 */ | 790 */ |
791 static const unsigned char iconMainPhonebook[] = | 791 static const unsigned char iconMainPhonebook[] = |
792 { | 792 { |
793 0xFF,0xB8,0xED,0x00,0x00,0x00,0x00,0x00, 0x30,0xC4,0xFF,0x9E,0x7A,0x14,0x80,0x00, | 793 0xFF,0xB8,0xED,0x00,0x00,0x00,0x00,0x00, 0x30,0xC4,0xFF,0x9E,0x7A,0x14,0x80,0x00, |
794 0x00,0x00,0xC3,0x22,0xFF,0x19,0x34,0x80, 0x00,0x00,0x00,0x03,0x0C,0x11,0xFC,0x60, | 794 0x00,0x00,0xC3,0x22,0xFF,0x19,0x34,0x80, 0x00,0x00,0x00,0x03,0x0C,0x11,0xFC,0x60, |
810 0xEF,0x48,0x43,0x5C,0x26,0xB8,0x60,0x0E, 0xFC,0xA7,0xBD,0xC8,0x4E,0xAB,0x5D,0x56, | 810 0xEF,0x48,0x43,0x5C,0x26,0xB8,0x60,0x0E, 0xFC,0xA7,0xBD,0xC8,0x4E,0xAB,0x5D,0x56, |
811 0x40,0x00,0xFE,0xA6,0xF7,0x84,0x35,0xFF, 0xFF,0xAB,0x80,0x00,0xFE,0x53,0xDE,0x04, | 811 0x40,0x00,0xFE,0xA6,0xF7,0x84,0x35,0xFF, 0xFF,0xAB,0x80,0x00,0xFE,0x53,0xDE,0x04, |
812 0x0B,0x00,0x00,0xFE,0x00,0x00, | 812 0x0B,0x00,0x00,0xFE,0x00,0x00, |
813 }; | 813 }; |
814 | 814 |
815 /*RecentCalls Icon | 815 /*RecentCalls Icon |
816 */ | 816 */ |
817 static const unsigned char iconMainRecentCalls[] = | 817 static const unsigned char iconMainRecentCalls[] = |
818 { | 818 { |
819 0xFE,0xE8,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0xFF,0xD4,0x20,0x00,0x00,0x60, | 819 0xFE,0xE8,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0xFF,0xD4,0x20,0x00,0x00,0x60, |
820 0x00,0x00,0x00,0x00,0xFF,0xE8,0x80,0x00, 0x00,0x60,0x00,0x00,0x00,0x00,0xFF,0xD0, | 820 0x00,0x00,0x00,0x00,0xFF,0xE8,0x80,0x00, 0x00,0x60,0x00,0x00,0x00,0x00,0xFF,0xD0, |
836 0x00,0x02,0xFF,0xD0,0x00,0x00,0x00,0x00, 0xFD,0xE8,0x10,0x02,0x00,0x10,0x00,0x00, | 836 0x00,0x02,0xFF,0xD0,0x00,0x00,0x00,0x00, 0xFD,0xE8,0x10,0x02,0x00,0x10,0x00,0x00, |
837 0x00,0x00,0xFF,0xD4,0x80,0x01,0xFF,0xE0, 0x00,0x00,0x00,0x00,0xFF,0xA8,0x00,0x00, | 837 0x00,0x00,0xFF,0xD4,0x80,0x01,0xFF,0xE0, 0x00,0x00,0x00,0x00,0xFF,0xA8,0x00,0x00, |
838 0x00,0x00,0x00,0x00,0x00,0x00, | 838 0x00,0x00,0x00,0x00,0x00,0x00, |
839 }; | 839 }; |
840 | 840 |
841 /*Security Icon | 841 /*Security Icon |
842 */ | 842 */ |
843 static const unsigned char iconMainSecurity[] = | 843 static const unsigned char iconMainSecurity[] = |
844 { | 844 { |
845 0xF0,0xC3,0x6A,0x10,0x00,0x38,0x00,0x00, 0x00,0x00,0xC7,0x3B,0xD5,0x44,0x80,0xC6, | 845 0xF0,0xC3,0x6A,0x10,0x00,0x38,0x00,0x00, 0x00,0x00,0xC7,0x3B,0xD5,0x44,0x80,0xC6, |
846 0x00,0x00,0x00,0x00,0x98,0x09,0xEA,0x00, 0x01,0x01,0x80,0x00,0x00,0x00,0x21,0xE4, | 846 0x00,0x00,0x00,0x00,0x98,0x09,0xEA,0x00, 0x01,0x01,0x80,0x00,0x00,0x00,0x21,0xE4, |
862 0x1C,0x02,0x00,0x04,0x20,0x15,0x0A,0x14, 0xF9,0xAD,0x10,0x04,0x00,0x06,0xE0,0x17, | 862 0x1C,0x02,0x00,0x04,0x20,0x15,0x0A,0x14, 0xF9,0xAD,0x10,0x04,0x00,0x06,0xE0,0x17, |
863 0xFF,0xFF,0xFD,0xDA,0x80,0x04,0x00,0x04, 0xF8,0x15,0x0A,0x14,0xFC,0xEF,0x40,0x08, | 863 0xFF,0xFF,0xFD,0xDA,0x80,0x04,0x00,0x04, 0xF8,0x15,0x0A,0x14,0xFC,0xEF,0x40,0x08, |
864 0x00,0x06,0x08,0x16,0x0C,0x18, | 864 0x00,0x06,0x08,0x16,0x0C,0x18, |
865 }; | 865 }; |
866 | 866 |
867 /*Settings Icon | 867 /*Settings Icon |
868 */ | 868 */ |
869 static const unsigned char iconMainSettings[] = | 869 static const unsigned char iconMainSettings[] = |
870 { | 870 { |
871 0xFF,0xFE,0x55,0x2D,0x44,0x00,0x05,0x00, 0x00,0x70,0xFF,0xFC,0xB6,0xBA,0x90,0x80, | 871 0xFF,0xFE,0x55,0x2D,0x44,0x00,0x05,0x00, 0x00,0x70,0xFF,0xFC,0xB6,0xBA,0x90,0x80, |
872 0x08,0x80,0x01,0x88,0x1F,0xFD,0xA0,0x5D, 0x44,0x00,0x50,0x40,0x02,0x10,0xCF,0xF8, | 872 0x08,0x80,0x01,0x88,0x1F,0xFD,0xA0,0x5D, 0x44,0x00,0x50,0x40,0x02,0x10,0xCF,0xF8, |
888 0x00,0x03,0xF0,0x1F,0x98,0xF8,0x00,0x00, 0xFB,0x48,0x1C,0x00,0x14,0x7F,0xEE,0x60, | 888 0x00,0x03,0xF0,0x1F,0x98,0xF8,0x00,0x00, 0xFB,0x48,0x1C,0x00,0x14,0x7F,0xEE,0x60, |
889 0x00,0x00,0xFB,0xA0,0x3E,0x00,0x10,0xFF, 0xF3,0x00,0x00,0x00,0xFB,0x48,0x77,0x00, | 889 0x00,0x00,0xFB,0xA0,0x3E,0x00,0x10,0xFF, 0xF3,0x00,0x00,0x00,0xFB,0x48,0x77,0x00, |
890 0x14,0xFF,0xFD,0x00,0x00,0x00, | 890 0x14,0xFF,0xFD,0x00,0x00,0x00, |
891 }; | 891 }; |
892 | 892 |
893 /*SimToolkit Icon | 893 /*SimToolkit Icon |
894 */ | 894 */ |
895 static const unsigned char iconMainSimToolkit[] = | 895 static const unsigned char iconMainSimToolkit[] = |
896 { | 896 { |
897 0xFF,0xFF,0xFB,0xAA,0x08,0x80,0x40,0x00, 0x96,0x00,0x00,0x0F,0xDE,0xA0,0x40,0x00, | 897 0xFF,0xFF,0xFB,0xAA,0x08,0x80,0x40,0x00, 0x96,0x00,0x00,0x0F,0xDE,0xA0,0x40,0x00, |
898 0x00,0x01,0x2C,0x00,0xFF,0xE1,0xFB,0x0A, 0x08,0x00,0x00,0xF2,0x58,0x00,0x80,0x14, | 898 0x00,0x01,0x2C,0x00,0xFF,0xE1,0xFB,0x0A, 0x08,0x00,0x00,0xF2,0x58,0x00,0x80,0x14, |
915 0x00,0x00,0xFF,0xFF,0xE4,0x00,0x00,0x00, 0x02,0x00,0x00,0x00,0xFF,0xFF,0xF3,0xFF, | 915 0x00,0x00,0xFF,0xFF,0xE4,0x00,0x00,0x00, 0x02,0x00,0x00,0x00,0xFF,0xFF,0xF3,0xFF, |
916 0xFF,0xFF,0xFC,0x00,0x00,0x00, | 916 0xFF,0xFF,0xFC,0x00,0x00,0x00, |
917 }; | 917 }; |
918 | 918 |
919 | 919 |
920 /*WAP Icon | 920 /*WAP Icon |
921 */ | 921 */ |
922 static const unsigned char iconMainWAP[] = | 922 static const unsigned char iconMainWAP[] = |
923 { | 923 { |
924 0xFF,0xDA,0x90,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xF5,0x00,0x10,0x00,0x00, | 924 0xFF,0xDA,0x90,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xF5,0x00,0x10,0x00,0x00, |
925 0x00,0x00,0x00,0x00,0xFF,0x6A,0x40,0x80,0x03,0xFC,0x00,0x00,0x00,0x00,0xFF,0xF5, | 925 0x00,0x00,0x00,0x00,0xFF,0x6A,0x40,0x80,0x03,0xFC,0x00,0x00,0x00,0x00,0xFF,0xF5, |
943 0x00,0x00,0x00,0x00,0x00,0x00, | 943 0x00,0x00,0x00,0x00,0x00,0x00, |
944 }; | 944 }; |
945 #endif | 945 #endif |
946 #if 0 | 946 #if 0 |
947 //Old Condat logo | 947 //Old Condat logo |
948 /*animframe01 Icon | 948 /*animframe01 Icon |
949 */ | 949 */ |
950 static const unsigned char animframe01[] = | 950 static const unsigned char animframe01[] = |
951 { | 951 { |
952 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x0C,0x00,0x00,0x00,0x00,0x00,0x00, | 952 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x0C,0x00,0x00,0x00,0x00,0x00,0x00, |
953 0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, | 953 0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, |
954 | 954 |
955 }; | 955 }; |
956 | 956 |
957 /*animframe0 Icon | 957 /*animframe0 Icon |
958 */ | 958 */ |
959 static const unsigned char animframe0[] = | 959 static const unsigned char animframe0[] = |
960 { | 960 { |
961 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00, | 961 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00, |
962 0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x1C, 0x00,0x00,0x00,0x00,0x00,0x00,0x1E,0x00, | 962 0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x1C, 0x00,0x00,0x00,0x00,0x00,0x00,0x1E,0x00, |
963 0x00,0x00,0x00,0x00,0x00,0x1F,0x80,0x00, 0x00,0x00,0x00,0x00,0x0F,0x00,0x00,0x00, | 963 0x00,0x00,0x00,0x00,0x00,0x1F,0x80,0x00, 0x00,0x00,0x00,0x00,0x0F,0x00,0x00,0x00, |
964 0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00, | 964 0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
965 | 965 |
966 }; | 966 }; |
967 | 967 |
968 /*animframe1 Icon | 968 /*animframe1 Icon |
969 */ | 969 */ |
970 static const unsigned char animframe1[] = | 970 static const unsigned char animframe1[] = |
971 { | 971 { |
972 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00, | 972 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00, |
973 0x00,0x30,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | 973 0x00,0x30,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
976 0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00, 0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x3C, | 976 0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00, 0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x3C, |
977 0x00,0x00,0x00,0x00,0x00,0x00,0x3C,0x00, 0x00,0x00,0x00,0x00,0x00,0x3F,0x00,0x00, | 977 0x00,0x00,0x00,0x00,0x00,0x00,0x3C,0x00, 0x00,0x00,0x00,0x00,0x00,0x3F,0x00,0x00, |
978 0x00,0x00,0x00,0x00,0x3F,0xC0,0x00,0x00, 0x00,0x00,0x00,0x3F,0x80,0x00,0x00,0x00, | 978 0x00,0x00,0x00,0x00,0x3F,0xC0,0x00,0x00, 0x00,0x00,0x00,0x3F,0x80,0x00,0x00,0x00, |
979 0x00,0x00,0x0F,0x00,0x00,0x00,0x00,0x00, 0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00, | 979 0x00,0x00,0x0F,0x00,0x00,0x00,0x00,0x00, 0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00, |
980 0x00,0x00,0x00,0x00,0x00, | 980 0x00,0x00,0x00,0x00,0x00, |
981 | 981 |
982 }; | 982 }; |
983 | 983 |
984 /*animframe2 Icon | 984 /*animframe2 Icon |
985 */ | 985 */ |
986 static const unsigned char animframe2[] = | 986 static const unsigned char animframe2[] = |
987 { | 987 { |
988 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x1E,0x00,0x00,0x00,0x00,0x00, | 988 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x1E,0x00,0x00,0x00,0x00,0x00, |
989 0x00,0x3C,0x00,0x00,0x00,0x00,0x00,0x00, 0x78,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | 989 0x00,0x3C,0x00,0x00,0x00,0x00,0x00,0x00, 0x78,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
993 0x00,0x00,0x00,0x00,0x00,0x00,0x7C,0x00, 0x00,0x00,0x00,0x00,0x00,0x7E,0x00,0x00, | 993 0x00,0x00,0x00,0x00,0x00,0x00,0x7C,0x00, 0x00,0x00,0x00,0x00,0x00,0x7E,0x00,0x00, |
994 0x00,0x00,0x00,0x00,0x7F,0x80,0x00,0x00, 0x00,0x00,0x00,0x7F,0xE0,0x00,0x00,0x00, | 994 0x00,0x00,0x00,0x00,0x7F,0x80,0x00,0x00, 0x00,0x00,0x00,0x7F,0xE0,0x00,0x00,0x00, |
995 0x00,0x00,0x7F,0xC0,0x00,0x00,0x00,0x00, 0x00,0x3F,0x80,0x00,0x00,0x00,0x00,0x00, | 995 0x00,0x00,0x7F,0xC0,0x00,0x00,0x00,0x00, 0x00,0x3F,0x80,0x00,0x00,0x00,0x00,0x00, |
996 0x0F,0x00,0x00,0x00,0x00,0x00,0x00,0x02, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | 996 0x0F,0x00,0x00,0x00,0x00,0x00,0x00,0x02, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
997 0x00,0x00,0x00, | 997 0x00,0x00,0x00, |
998 }; | 998 }; |
999 | 999 |
1000 /*animframe3 Icon | 1000 /*animframe3 Icon |
1001 */ | 1001 */ |
1002 static const unsigned char animframe3[] = | 1002 static const unsigned char animframe3[] = |
1003 { | 1003 { |
1004 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x1F,0x80,0x00,0x00,0x00,0x00, | 1004 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x1F,0x80,0x00,0x00,0x00,0x00, |
1005 0x00,0x3F,0x00,0x00,0x00,0x00,0x00,0x00, 0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0xFC, | 1005 0x00,0x3F,0x00,0x00,0x00,0x00,0x00,0x00, 0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0xFC, |
1012 0x7F,0xC0,0x00,0x00,0x00,0x00,0x00,0x3F, 0x80,0x00,0x00,0x00,0x00,0x00,0x0F,0x00, | 1012 0x7F,0xC0,0x00,0x00,0x00,0x00,0x00,0x3F, 0x80,0x00,0x00,0x00,0x00,0x00,0x0F,0x00, |
1013 0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | 1013 0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
1014 0x00, | 1014 0x00, |
1015 }; | 1015 }; |
1016 | 1016 |
1017 /*animframe4 Icon | 1017 /*animframe4 Icon |
1018 */ | 1018 */ |
1019 static const unsigned char animframe4[] = | 1019 static const unsigned char animframe4[] = |
1020 { | 1020 { |
1021 | 1021 |
1022 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x1F,0xF8,0x00,0x00,0x00,0x00, | 1022 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x1F,0xF8,0x00,0x00,0x00,0x00, |
1023 0x00,0x3F,0xF0,0x00,0x00,0x00,0x00,0x00, 0x7F,0xE0,0x00,0x00,0x00,0x00,0x00,0xFF, | 1023 0x00,0x3F,0xF0,0x00,0x00,0x00,0x00,0x00, 0x7F,0xE0,0x00,0x00,0x00,0x00,0x00,0xFF, |
1024 0xC0,0x00,0x00,0x00,0x00,0x01,0xFF,0x80, 0x00,0x00,0x00,0x00,0x03,0xFF,0x00,0x00, | 1024 0xC0,0x00,0x00,0x00,0x00,0x01,0xFF,0x80, 0x00,0x00,0x00,0x00,0x03,0xFF,0x00,0x00, |
1025 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00, | 1025 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00, |
1026 0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00, 0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x78, | 1026 0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00, 0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x78, |
1031 0x00,0x00,0x00,0x00,0x00,0xFF,0xE0,0x00, 0x00,0x00,0x00,0x00,0x7F,0xC0,0x00,0x00, | 1031 0x00,0x00,0x00,0x00,0x00,0xFF,0xE0,0x00, 0x00,0x00,0x00,0x00,0x7F,0xC0,0x00,0x00, |
1032 0x00,0x00,0x00,0x3F,0x80,0x00,0x00,0x00, 0x00,0x00,0x0F,0x00,0x00,0x00,0x00,0x00, | 1032 0x00,0x00,0x00,0x3F,0x80,0x00,0x00,0x00, 0x00,0x00,0x0F,0x00,0x00,0x00,0x00,0x00, |
1033 0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, | 1033 0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, |
1034 }; | 1034 }; |
1035 | 1035 |
1036 /*animframe5 Icon | 1036 /*animframe5 Icon |
1037 */ | 1037 */ |
1038 static const unsigned char animframe5[] = | 1038 static const unsigned char animframe5[] = |
1039 { | 1039 { |
1040 | 1040 |
1041 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x2A,0xAA,0x00,0x00,0x00,0x00, | 1041 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x2A,0xAA,0x00,0x00,0x00,0x00, |
1042 0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00, 0x9F,0xFE,0x00,0x00,0x00,0x00,0x00,0x3F, | 1042 0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00, 0x9F,0xFE,0x00,0x00,0x00,0x00,0x00,0x3F, |
1043 0xFC,0x80,0x00,0x00,0x00,0x02,0x7F,0xF9, 0x00,0x00,0x00,0x00,0x00,0xFF,0xF0,0x00, | 1043 0xFC,0x80,0x00,0x00,0x00,0x02,0x7F,0xF9, 0x00,0x00,0x00,0x00,0x00,0xFF,0xF0,0x00, |
1044 0x00,0x00,0x00,0x09,0xFF,0xE4,0x00,0x00, 0x00,0x00,0x03,0xFF,0xC0,0x00,0x00,0x00, | 1044 0x00,0x00,0x00,0x09,0xFF,0xE4,0x00,0x00, 0x00,0x00,0x03,0xFF,0xC0,0x00,0x00,0x00, |
1045 0x00,0x27,0xFF,0x90,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x99, | 1045 0x00,0x27,0xFF,0x90,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x99, |
1052 0x04,0xFF,0xE4,0x00,0x00,0x00,0x00,0x00, 0x7F,0xC0,0x00,0x00,0x00,0x00,0x01,0x1F, | 1052 0x04,0xFF,0xE4,0x00,0x00,0x00,0x00,0x00, 0x7F,0xC0,0x00,0x00,0x00,0x00,0x01,0x1F, |
1053 0x90,0x00,0x00,0x00,0x00,0x00,0x47,0x00, 0x00,0x00,0x00,0x00,0x00,0x10,0x40,0x00, | 1053 0x90,0x00,0x00,0x00,0x00,0x00,0x47,0x00, 0x00,0x00,0x00,0x00,0x00,0x10,0x40,0x00, |
1054 0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | 1054 0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
1055 }; | 1055 }; |
1056 | 1056 |
1057 /*animframe6 Icon | 1057 /*animframe6 Icon |
1058 */ | 1058 */ |
1059 static const unsigned char animframe6[] = | 1059 static const unsigned char animframe6[] = |
1060 { | 1060 { |
1061 | 1061 |
1062 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x22,0x22,0x00,0x00,0x00,0x00, | 1062 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x22,0x22,0x00,0x00,0x00,0x00, |
1063 0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x01, 0x2A,0xAA,0x00,0x00,0x00,0x00,0x00,0x00, | 1063 0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x01, 0x2A,0xAA,0x00,0x00,0x00,0x00,0x00,0x00, |
1064 0x00,0x80,0x00,0x00,0x00,0x04,0x9F,0xFE, 0x08,0x00,0x00,0x00,0x08,0x3F,0xFC,0x80, | 1064 0x00,0x80,0x00,0x00,0x00,0x04,0x9F,0xFE, 0x08,0x00,0x00,0x00,0x08,0x3F,0xFC,0x80, |
1065 0x00,0x00,0x00,0x02,0x7F,0xF9,0x20,0x00, 0x00,0x00,0x00,0xFF,0xF0,0x00,0x00,0x00, | 1065 0x00,0x00,0x00,0x02,0x7F,0xF9,0x20,0x00, 0x00,0x00,0x00,0xFF,0xF0,0x00,0x00,0x00, |
1066 0x01,0x49,0xFF,0xE4,0x80,0x00,0x00,0x00, 0x03,0xFF,0xC0,0x40,0x00,0x00,0x00,0x27, | 1066 0x01,0x49,0xFF,0xE4,0x80,0x00,0x00,0x00, 0x03,0xFF,0xC0,0x40,0x00,0x00,0x00,0x27, |
1073 0x2B,0xFF,0xF9,0x20,0x00,0x00,0x00,0x01, 0xFF,0xF0,0x00,0x00,0x00,0x00,0x44,0xFF, | 1073 0x2B,0xFF,0xF9,0x20,0x00,0x00,0x00,0x01, 0xFF,0xF0,0x00,0x00,0x00,0x00,0x44,0xFF, |
1074 0xE4,0x80,0x00,0x00,0x00,0x00,0x7F,0xC1, 0x40,0x00,0x00,0x00,0x49,0x1F,0x90,0x00, | 1074 0xE4,0x80,0x00,0x00,0x00,0x00,0x7F,0xC1, 0x40,0x00,0x00,0x00,0x49,0x1F,0x90,0x00, |
1075 0x00,0x00,0x00,0x10,0x47,0x05,0x00,0x00, 0x00,0x00,0x02,0x10,0x40,0x00,0x00,0x00, | 1075 0x00,0x00,0x00,0x10,0x47,0x05,0x00,0x00, 0x00,0x00,0x02,0x10,0x40,0x00,0x00,0x00, |
1076 0x00,0x04,0x45,0x14,0x00,0x00,0x00,0x00, 0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00, | 1076 0x00,0x04,0x45,0x14,0x00,0x00,0x00,0x00, 0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00, |
1077 0x11,0x10,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, | 1077 0x11,0x10,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, |
1078 | 1078 |
1079 | 1079 |
1080 }; | 1080 }; |
1081 | 1081 |
1082 /*animframe7 Icon | 1082 /*animframe7 Icon |
1083 */ | 1083 */ |
1084 static const unsigned char animframe7[] = | 1084 static const unsigned char animframe7[] = |
1085 { | 1085 { |
1086 | 1086 |
1087 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x80,0xA0,0x40,0x00,0x00,0x00, | 1087 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x80,0xA0,0x40,0x00,0x00,0x00, |
1088 0x00,0x10,0x08,0x04,0x00,0x00,0x00,0x08, 0x00,0x00,0x40,0x00,0x00,0x00,0x01,0x22, | 1088 0x00,0x10,0x08,0x04,0x00,0x00,0x00,0x08, 0x00,0x00,0x40,0x00,0x00,0x00,0x01,0x22, |
1089 0x22,0x00,0x00,0x00,0x00,0x00,0x14,0x51, 0x00,0x00,0x00,0x00,0x85,0x3F,0xFF,0x20, | 1089 0x22,0x00,0x00,0x00,0x00,0x00,0x14,0x51, 0x00,0x00,0x00,0x00,0x85,0x3F,0xFF,0x20, |
1090 0x00,0x00,0x00,0x10,0x40,0x00,0xC0,0x00, 0x00,0x00,0x04,0x9F,0xFE,0x88,0x00,0x00, | 1090 0x00,0x00,0x00,0x10,0x40,0x00,0xC0,0x00, 0x00,0x00,0x04,0x9F,0xFE,0x88,0x00,0x00, |
1091 0x08,0x29,0x3F,0xFC,0x80,0x00,0x00,0x01, 0x02,0x7F,0xF9,0x22,0x00,0x00,0x00,0x04, | 1091 0x08,0x29,0x3F,0xFC,0x80,0x00,0x00,0x01, 0x02,0x7F,0xF9,0x22,0x00,0x00,0x00,0x04, |
1101 0x00,0x49,0x1F,0x90,0x04,0x00,0x00,0x00, 0x10,0xC7,0x25,0x00,0x00,0x00,0x00,0x02, | 1101 0x00,0x49,0x1F,0x90,0x04,0x00,0x00,0x00, 0x10,0xC7,0x25,0x00,0x00,0x00,0x00,0x02, |
1102 0x30,0x40,0x20,0x00,0x00,0x00,0x04,0x4F, 0x94,0x00,0x00,0x00,0x00,0x80,0x80,0x00, | 1102 0x30,0x40,0x20,0x00,0x00,0x00,0x04,0x4F, 0x94,0x00,0x00,0x00,0x00,0x80,0x80,0x00, |
1103 0x00,0x00,0x00,0x00,0x00,0x11,0x12,0x00, 0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00, | 1103 0x00,0x00,0x00,0x00,0x00,0x11,0x12,0x00, 0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00, |
1104 0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00, 0x00,0x00,0x80,0x40,0x00,0x00,0x00,0x00, | 1104 0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00, 0x00,0x00,0x80,0x40,0x00,0x00,0x00,0x00, |
1105 0x00,0x00,0x00,0x00,0x00,0x00, | 1105 0x00,0x00,0x00,0x00,0x00,0x00, |
1106 | 1106 |
1107 | 1107 |
1108 }; | 1108 }; |
1109 | 1109 |
1110 /*animframe8 Icon | 1110 /*animframe8 Icon |
1111 */ | 1111 */ |
1112 static const unsigned char animframe8[] = | 1112 static const unsigned char animframe8[] = |
1113 { | 1113 { |
1114 | 1114 |
1115 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x80,0xA0,0x40,0x00,0x00,0x00, | 1115 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x80,0xA0,0x40,0x00,0x00,0x00, |
1116 0x00,0x10,0x08,0x04,0x00,0x00,0x00,0x08, 0x00,0x00,0x40,0x00,0x00,0x00,0x01,0x22, | 1116 0x00,0x10,0x08,0x04,0x00,0x00,0x00,0x08, 0x00,0x00,0x40,0x00,0x00,0x00,0x01,0x22, |
1117 0x22,0x00,0x00,0x00,0x00,0x00,0x55,0x55, 0x40,0x00,0x00,0x00,0x85,0x7F,0xFF,0xA0, | 1117 0x22,0x00,0x00,0x00,0x00,0x00,0x55,0x55, 0x40,0x00,0x00,0x00,0x85,0x7F,0xFF,0xA0, |
1118 0x00,0x00,0x00,0x12,0xC0,0x00,0xC0,0x00, 0x00,0x00,0x05,0x9F,0xFE,0x88,0x00,0x00, | 1118 0x00,0x00,0x00,0x12,0xC0,0x00,0xC0,0x00, 0x00,0x00,0x05,0x9F,0xFE,0x88,0x00,0x00, |
1119 0x08,0x2B,0x3F,0xFC,0xC0,0x00,0x00,0x01, 0x16,0x7F,0xF9,0xA2,0x00,0x00,0x00,0x2C, | 1119 0x08,0x2B,0x3F,0xFC,0xC0,0x00,0x00,0x01, 0x16,0x7F,0xF9,0xA2,0x00,0x00,0x00,0x2C, |
1129 0x00,0x4B,0x1F,0x9A,0x04,0x00,0x00,0x00, 0x15,0xC7,0x35,0x00,0x00,0x00,0x00,0x02, | 1129 0x00,0x4B,0x1F,0x9A,0x04,0x00,0x00,0x00, 0x15,0xC7,0x35,0x00,0x00,0x00,0x00,0x02, |
1130 0xF0,0x68,0x20,0x00,0x00,0x00,0x04,0x5F, 0xD4,0x00,0x00,0x00,0x00,0x80,0xAA,0xA0, | 1130 0xF0,0x68,0x20,0x00,0x00,0x00,0x04,0x5F, 0xD4,0x00,0x00,0x00,0x00,0x80,0xAA,0xA0, |
1131 0x00,0x00,0x00,0x00,0x00,0x11,0x12,0x00, 0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00, | 1131 0x00,0x00,0x00,0x00,0x00,0x11,0x12,0x00, 0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00, |
1132 0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00, 0x00,0x00,0x80,0x40,0x00,0x00,0x00,0x00, | 1132 0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00, 0x00,0x00,0x80,0x40,0x00,0x00,0x00,0x00, |
1133 0x00,0x00,0x00,0x00,0x00,0x00, | 1133 0x00,0x00,0x00,0x00,0x00,0x00, |
1134 | 1134 |
1135 | 1135 |
1136 }; | 1136 }; |
1137 #endif | 1137 #endif |
1138 | 1138 |
1139 #ifdef EASY_TEXT_ENABLED | 1139 #ifdef EASY_TEXT_ENABLED |
1140 | 1140 |
1141 // AP - 06/09/2001 | 1141 // AP - 06/09/2001 |
1142 /* eZitext Icon | 1142 /* eZitext Icon |
1143 */ | 1143 */ |
1144 | 1144 |
1145 static const unsigned char TextIconeZiText[] = | 1145 static const unsigned char TextIconeZiText[] = |
1146 { | 1146 { |
1147 0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | 1147 0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
1148 0x00,0x07,0x86,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | 1148 0x00,0x07,0x86,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
1149 0x00,0x07,0x86,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | 1149 0x00,0x07,0x86,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
1150 0x00,0x01,0x86,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | 1150 0x00,0x01,0x86,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
1352 0x00,0x00,0x03,0xE0,0x00, 0x00,0x00,0x03,0xE0,0x00 };*/ | 1352 0x00,0x00,0x03,0xE0,0x00, 0x00,0x00,0x03,0xE0,0x00 };*/ |
1353 | 1353 |
1354 /* May 30, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar) | 1354 /* May 30, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar) |
1355 Description : CPHS Roaming indication feature implementation | 1355 Description : CPHS Roaming indication feature implementation |
1356 Solution : As part of this implementation, here we adding the hexdump of the roaming icon(small yellow triangle)*/ | 1356 Solution : As part of this implementation, here we adding the hexdump of the roaming icon(small yellow triangle)*/ |
1357 | 1357 |
1358 #ifdef WIDEICONS | 1358 #ifdef WIDEICONS |
1359 /*21 x 22*/ | 1359 /*21 x 22*/ |
1360 const unsigned char RoamingIcon[] = { | 1360 const unsigned char RoamingIcon[] = { |
1361 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | 1361 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, |
1362 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, | 1362 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, |
1408 }; | 1408 }; |
1409 | 1409 |
1410 | 1410 |
1411 #endif | 1411 #endif |
1412 /******************************************************************************* | 1412 /******************************************************************************* |
1413 | 1413 |
1414 Icon Attribute structures | 1414 Icon Attribute structures |
1415 | 1415 |
1416 *******************************************************************************/ | 1416 *******************************************************************************/ |
1417 //GW #1555 - Adapted icons for large monochrome display by scaling 2xwidth, 4xheight | 1417 //GW #1555 - Adapted icons for large monochrome display by scaling 2xwidth, 4xheight |
1418 #ifndef COLOURDISPLAY | 1418 #ifndef COLOURDISPLAY |
1419 #ifdef LSCREEN | 1419 #ifdef LSCREEN |
1420 #define ICONTYPE 0x0080 | 1420 #define ICONTYPE 0x0080 |
1439 { { 13, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlSMS }, /* short message indicator */ | 1439 { { 13, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlSMS }, /* short message indicator */ |
1440 { { 36, 0, 12, 6 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlVoice }, /* voice mail indicator */ | 1440 { { 36, 0, 12, 6 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlVoice }, /* voice mail indicator */ |
1441 { { 50, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlCallforw }, /* call forwarding uncond. */ | 1441 { { 50, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlCallforw }, /* call forwarding uncond. */ |
1442 { { 59, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlSilRinger }, /* silent ringer */ | 1442 { { 59, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlSilRinger }, /* silent ringer */ |
1443 /* Jun 09, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar)*/ | 1443 /* Jun 09, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar)*/ |
1444 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICONTYPE, 0 }, /*roaming icon*/ | 1444 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICONTYPE, 0 }, /*roaming icon*/ |
1445 { { 60, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlKeypLock }, /* keypad locked */ | 1445 { { 60, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlKeypLock }, /* keypad locked */ |
1446 { { 23, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlCipheringActiv }, /* Ciphering */ | 1446 { { 23, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlCipheringActiv }, /* Ciphering */ |
1447 { { 23, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlCipheringDeActiv }, /* Ciphering */ | 1447 { { 23, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlCipheringDeActiv }, /* Ciphering */ |
1448 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICONTYPE, 0 }, /*ringer icon*/ | 1448 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICONTYPE, 0 }, /*ringer icon*/ |
1449 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICONTYPE, 0 }, /*vibrator icon*/ | 1449 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICONTYPE, 0 }, /*vibrator icon*/ |
1450 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICONTYPE, 0 }, /*ringvibrator icon*/ | 1450 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICONTYPE, 0 }, /*ringvibrator icon*/ |
1451 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICONTYPE, 0 }, /*alarm icon*/ | 1451 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICONTYPE, 0 }, /*alarm icon*/ |
1452 { { 24, 18, 40, 28 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) SIMToolAll }, /* SIMToolkit Large */ | 1452 { { 24, 18, 40, 28 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) SIMToolAll }, /* SIMToolkit Large */ |
1460 { { 60, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlGPRSOn }, /* SH - GPRS On icon */ | 1460 { { 60, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlGPRSOn }, /* SH - GPRS On icon */ |
1461 { { 60, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlHomezone }, /* SH - Homezone icon */ | 1461 { { 60, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlHomezone }, /* SH - Homezone icon */ |
1462 { { 60, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlTTY }, /* SPR#1352 - SH - TTY icon */ | 1462 { { 60, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlTTY }, /* SPR#1352 - SH - TTY icon */ |
1463 #ifdef NEPTUNE_BOARD | 1463 #ifdef NEPTUNE_BOARD |
1464 /* OMAPS00074454 - Edge icon display specification */ | 1464 /* OMAPS00074454 - Edge icon display specification */ |
1465 { { 60, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlEDGEOn } /* SH - EDGE On icon */ | 1465 { { 60, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlEDGEOn } /* SH - EDGE On icon */ |
1466 /*END */ | 1466 /*END */ |
1467 #endif | 1467 #endif |
1468 }; | 1468 }; |
1469 #else | 1469 #else |
1470 | 1470 |
1475 { { 13*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlSMS }, /* short message indicator */ | 1475 { { 13*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlSMS }, /* short message indicator */ |
1476 { { 36*ICNSX, ICON_Y_OFS, 12*ICNSX, 6*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlVoice }, /* voice mail indicator */ | 1476 { { 36*ICNSX, ICON_Y_OFS, 12*ICNSX, 6*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlVoice }, /* voice mail indicator */ |
1477 { { 50*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlCallforw }, /* call forwarding uncond. */ | 1477 { { 50*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlCallforw }, /* call forwarding uncond. */ |
1478 { { 59*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlSilRinger }, /* silent ringer */ | 1478 { { 59*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlSilRinger }, /* silent ringer */ |
1479 /* Jun 09, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar)*/ | 1479 /* Jun 09, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar)*/ |
1480 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*roaming icon*/ | 1480 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*roaming icon*/ |
1481 { { 60*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlKeypLock }, /* keypad locked */ | 1481 { { 60*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlKeypLock }, /* keypad locked */ |
1482 { { 23*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlCipheringActiv }, /* Ciphering */ | 1482 { { 23*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlCipheringActiv }, /* Ciphering */ |
1483 { { 23*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlCipheringDeActiv }, /* Ciphering */ | 1483 { { 23*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlCipheringDeActiv }, /* Ciphering */ |
1484 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*ringer icon*/ | 1484 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*ringer icon*/ |
1485 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*vibrator icon*/ | 1485 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*vibrator icon*/ |
1486 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*ringvibrator icon*/ | 1486 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*ringvibrator icon*/ |
1487 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*alarm icon*/ | 1487 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*alarm icon*/ |
1488 { { 24, 18, 40, 28 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) SIMToolAll }, /* SIMToolkit Large */ | 1488 { { 24, 18, 40, 28 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) SIMToolAll }, /* SIMToolkit Large */ |
1496 { { 60*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlGPRSOn }, /* SH - GPRS On icon */ | 1496 { { 60*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlGPRSOn }, /* SH - GPRS On icon */ |
1497 { { 60*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlHomezone }, /* SH - Homezone icon */ | 1497 { { 60*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlHomezone }, /* SH - Homezone icon */ |
1498 { { 60*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlTTY }, /* SPR#1352 - SH - TTY icon */ | 1498 { { 60*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlTTY }, /* SPR#1352 - SH - TTY icon */ |
1499 #ifdef NEPTUNE_BOARD | 1499 #ifdef NEPTUNE_BOARD |
1500 /* OMAPS00074454 - Edge Icon display specification */ | 1500 /* OMAPS00074454 - Edge Icon display specification */ |
1501 { { 60*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlEDGEOn } /* SH - EDGE On icon */ | 1501 { { 60*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlEDGEOn } /* SH - EDGE On icon */ |
1502 /*END */ | 1502 /*END */ |
1503 #endif | 1503 #endif |
1504 }; | 1504 }; |
1505 #endif //Large b+w display | 1505 #endif //Large b+w display |
1506 | 1506 |
1520 #define ICON_POS_X_GPRS (ICON_WIDTH*6) | 1520 #define ICON_POS_X_GPRS (ICON_WIDTH*6) |
1521 #define ICON_POS_X_HZONE (ICON_WIDTH*6) | 1521 #define ICON_POS_X_HZONE (ICON_WIDTH*6) |
1522 #define ICON_POS_X_SIG (ICON_WIDTH*7) | 1522 #define ICON_POS_X_SIG (ICON_WIDTH*7) |
1523 #define ICON_POS_X_SRNG (0) | 1523 #define ICON_POS_X_SRNG (0) |
1524 #else | 1524 #else |
1525 #define ICON_SX (19) | 1525 #define ICON_SX (19) |
1526 #define ICON_WIDTH ((SCREEN_SIZE_X)/9) | 1526 #define ICON_WIDTH ((SCREEN_SIZE_X)/9) |
1527 #define ICON_POS_X_BATT (0) | 1527 #define ICON_POS_X_BATT (0) |
1528 #define ICON_POS_X_CPR (ICON_WIDTH) | 1528 #define ICON_POS_X_CPR (ICON_WIDTH) |
1529 #define ICON_POS_X_MSG (ICON_WIDTH*2) | 1529 #define ICON_POS_X_MSG (ICON_WIDTH*2) |
1530 #define ICON_POS_X_VMAIL (ICON_WIDTH*3) | 1530 #define ICON_POS_X_VMAIL (ICON_WIDTH*3) |
1546 { { ICON_POS_X_SRNG, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) idlSilRinger }, /* silent ringer */ | 1546 { { ICON_POS_X_SRNG, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) idlSilRinger }, /* silent ringer */ |
1547 /* Jun 09, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar) | 1547 /* Jun 09, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar) |
1548 Roaming icon is made to overlap with voice mail indication icon since there's no space in the first row of the screen*/ | 1548 Roaming icon is made to overlap with voice mail indication icon since there's no space in the first row of the screen*/ |
1549 { { ICON_POS_X_VMAIL, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) RoamingIcon }, /* Roaming Indication */ | 1549 { { ICON_POS_X_VMAIL, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) RoamingIcon }, /* Roaming Indication */ |
1550 { { ICON_POS_X_KLK, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_klkColour }, /* keypad locked */ | 1550 { { ICON_POS_X_KLK, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_klkColour }, /* keypad locked */ |
1551 { { ICON_POS_X_CPR, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_cipheringActivColour }, /* Ciphering */ | 1551 { { ICON_POS_X_CPR, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_cipheringActivColour }, /* Ciphering */ |
1552 { { ICON_POS_X_CPR, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_cipheringDeactivColour }, /* Ciphering */ | 1552 { { ICON_POS_X_CPR, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_cipheringDeactivColour }, /* Ciphering */ |
1553 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*ringer icon*/ | 1553 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*ringer icon*/ |
1554 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*vibrator icon*/ | 1554 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*vibrator icon*/ |
1555 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*ringvibrator icon*/ | 1555 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*ringvibrator icon*/ |
1556 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*alarm icon*/ | 1556 { { 0, 0, 0, 0 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 }, /*alarm icon*/ |
1557 { { 24, 18, 40, 28 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) SIMToolAll }, /* SIMToolkit Large */ | 1557 { { 24, 18, 40, 28 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) SIMToolAll }, /* SIMToolkit Large */ |
1565 { { ICON_POS_X_GPRS, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *)I_gprsColour }, /* sbh - GPRS On icon */ | 1565 { { ICON_POS_X_GPRS, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *)I_gprsColour }, /* sbh - GPRS On icon */ |
1566 { { ICON_POS_X_HZONE, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_homeZoneColour }, /* sbh - GPRS Attached icon */ | 1566 { { ICON_POS_X_HZONE, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_homeZoneColour }, /* sbh - GPRS Attached icon */ |
1567 { { ICON_POS_X_HZONE, ICON_POS_Y, 15, 14 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) idlTTYLarge }, /* SPR#1958 - SH - TTY icon now larger,colour */ | 1567 { { ICON_POS_X_HZONE, ICON_POS_Y, 15, 14 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) idlTTYLarge }, /* SPR#1958 - SH - TTY icon now larger,colour */ |
1568 #ifdef NEPTUNE_BOARD | 1568 #ifdef NEPTUNE_BOARD |
1569 /* OMAPS00074454 - Edge icon - 24-04-2006*/ | 1569 /* OMAPS00074454 - Edge icon - 24-04-2006*/ |
1570 { { ICON_POS_X_GPRS, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *)I_edgeColour }, /* sbh - EDGE On icon */ | 1570 { { ICON_POS_X_GPRS, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *)I_edgeColour }, /* sbh - EDGE On icon */ |
1571 /* END */ | 1571 /* END */ |
1572 #endif | 1572 #endif |
1573 }; | 1573 }; |
1574 | 1574 |
1575 #endif | 1575 #endif |
1581 { { 3*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery4 }, /* battery status 0-4% */ | 1581 { { 3*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery4 }, /* battery status 0-4% */ |
1582 { { 3*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery14 }, /* battery status 5-14% */ | 1582 { { 3*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery14 }, /* battery status 5-14% */ |
1583 { { 3*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery24 }, /* battery status 15-24% */ | 1583 { { 3*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery24 }, /* battery status 15-24% */ |
1584 { { 3*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery49 }, /* battery status 25-49% */ | 1584 { { 3*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery49 }, /* battery status 25-49% */ |
1585 { { 3*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery100 } /* battery status 50-100% */ | 1585 { { 3*ICNSX, ICON_Y_OFS, 8*ICNSX, 5*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery100 } /* battery status 50-100% */ |
1586 }; | 1586 }; |
1587 #else | 1587 #else |
1588 const MfwIcnAttr batt_Attr [iconBattMax] = /* all batt icon attributes */ | 1588 const MfwIcnAttr batt_Attr [iconBattMax] = /* all batt icon attributes */ |
1589 { | 1589 { |
1590 { { 3, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery4 }, /* battery status 0-4% */ | 1590 { { 3, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery4 }, /* battery status 0-4% */ |
1591 { { 3, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery14 }, /* battery status 5-14% */ | 1591 { { 3, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery14 }, /* battery status 5-14% */ |
1592 { { 3, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery24 }, /* battery status 15-24% */ | 1592 { { 3, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery24 }, /* battery status 15-24% */ |
1593 { { 3, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery49 }, /* battery status 25-49% */ | 1593 { { 3, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery49 }, /* battery status 25-49% */ |
1594 { { 3, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery100 } /* battery status 50-100% */ | 1594 { { 3, 1, 8, 5 }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) idlBattery100 } /* battery status 50-100% */ |
1595 }; | 1595 }; |
1596 #endif | 1596 #endif |
1597 #else | 1597 #else |
1598 const MfwIcnAttr batt_Attr [iconBattMax] = /* all batt icon attributes */ | 1598 const MfwIcnAttr batt_Attr [iconBattMax] = /* all batt icon attributes */ |
1599 { | 1599 { |
1600 { { ICON_POS_X_BATT, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_batColour4 }, /* battery status 0-4% */ | 1600 { { ICON_POS_X_BATT, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_batColour4 }, /* battery status 0-4% */ |
1601 { { ICON_POS_X_BATT, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_batColour14 }, /* battery status 5-14% */ | 1601 { { ICON_POS_X_BATT, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_batColour14 }, /* battery status 5-14% */ |
1602 { { ICON_POS_X_BATT, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_batColour24 }, /* battery status 15-24% */ | 1602 { { ICON_POS_X_BATT, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_batColour24 }, /* battery status 15-24% */ |
1603 { { ICON_POS_X_BATT, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_batColour49 }, /* battery status 25-49% */ | 1603 { { ICON_POS_X_BATT, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_batColour49 }, /* battery status 25-49% */ |
1604 { { ICON_POS_X_BATT, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_batColour100 } /* battery status 50-100% */ | 1604 { { ICON_POS_X_BATT, ICON_POS_Y, ICON_SX, ICON_SY }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) I_batColour100 } /* battery status 50-100% */ |
1605 }; | 1605 }; |
1606 #endif | 1606 #endif |
1607 | 1607 |
1608 #ifndef COLOURDISPLAY | 1608 #ifndef COLOURDISPLAY |
1609 #ifdef LSCREEN | 1609 #ifdef LSCREEN |
1610 const MfwIcnAttr sign_Attr [iconSignalMax] = /* all sig icon attributes */ | 1610 const MfwIcnAttr sign_Attr [iconSignalMax] = /* all sig icon attributes */ |
1640 #endif | 1640 #endif |
1641 | 1641 |
1642 #ifndef COLOURDISPLAY | 1642 #ifndef COLOURDISPLAY |
1643 const MfwIcnAttr goodbye_Attr [animGoodbye] = /* all goodby icon attributes */ | 1643 const MfwIcnAttr goodbye_Attr [animGoodbye] = /* all goodby icon attributes */ |
1644 { | 1644 { |
1645 /* { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+1, 56, 42 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe8 }, | 1645 /* { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+1, 56, 42 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe8 }, |
1646 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+1, 56, 42 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe7 }, | 1646 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+1, 56, 42 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe7 }, |
1647 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+4, 56, 36 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe6 }, | 1647 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+4, 56, 36 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe6 }, |
1648 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+6, 56, 32 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe5 }, | 1648 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+6, 56, 32 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe5 }, |
1649 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+9, 56, 27 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe4 }, | 1649 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+9, 56, 27 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe4 }, |
1650 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+11, 56, 23 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe3 }, | 1650 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+11, 56, 23 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe3 }, |
1651 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+12, 56, 21 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe2 }, | 1651 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+12, 56, 21 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe2 }, |
1652 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+13, 56, 19 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe1 }, | 1652 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+13, 56, 19 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe1 }, |
1653 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+22, 56, 9 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe0 }, | 1653 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+22, 56, 9 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe0 }, |
1654 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+26, 56, 4 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe01 } */ | 1654 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+26, 56, 4 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *) animframe01 } */ |
1655 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | 1655 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, |
1656 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | 1656 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, |
1657 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | 1657 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, |
1658 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | 1658 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, |
1660 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | 1660 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, |
1661 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | 1661 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, |
1662 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | 1662 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, |
1663 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | 1663 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, |
1664 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] } | 1664 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_GOODBYE, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] } |
1665 }; | 1665 }; |
1666 | 1666 |
1667 const MfwIcnAttr welcome_Attr [animwelcome] = | 1667 const MfwIcnAttr welcome_Attr [animwelcome] = |
1668 { | 1668 { |
1669 /* { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+26, 56, 4 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe01 }, | 1669 /* { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+26, 56, 4 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe01 }, |
1670 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+22, 56, 9 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe0 }, | 1670 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+22, 56, 9 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe0 }, |
1671 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+13, 56, 19 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe1 }, | 1671 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+13, 56, 19 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe1 }, |
1672 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+12, 56, 21 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe2 }, | 1672 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+12, 56, 21 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe2 }, |
1673 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+11, 56, 23 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe3 }, | 1673 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+11, 56, 23 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe3 }, |
1674 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+9, 56, 27 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe4 }, | 1674 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+9, 56, 27 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe4 }, |
1675 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+6, 56, 32 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe5 }, | 1675 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+6, 56, 32 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe5 }, |
1676 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+4, 56, 36 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe6 }, | 1676 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+4, 56, 36 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe6 }, |
1677 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+1, 56, 42 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe7 }, | 1677 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+1, 56, 42 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe7 }, |
1678 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+1, 56, 42 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe8 } | 1678 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y+1, 56, 42 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *) animframe8 } |
1679 */ | 1679 */ |
1680 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | 1680 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, |
1681 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | 1681 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, |
1682 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | 1682 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, |
1683 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | 1683 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, |
1685 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | 1685 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, |
1686 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | 1686 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, |
1687 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | 1687 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, |
1688 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, | 1688 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] }, |
1689 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] } | 1689 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] } |
1690 }; | 1690 }; |
1691 | 1691 |
1692 #else | 1692 #else |
1693 | 1693 |
1694 const MfwIcnAttr welcome_Attr [animwelcome] = | 1694 const MfwIcnAttr welcome_Attr [animwelcome] = |
1695 { | 1695 { |
1696 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 176, 60 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *)&TIlogColour[0] }, | 1696 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 176, 60 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *)&TIlogColour[0] }, |
1697 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 176, 60 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *)&TIlogColour[0] } | 1697 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 176, 60 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *)&TIlogColour[0] } |
1698 | 1698 |
1699 }; | 1699 }; |
1700 /* GW #1471 11/12/02 - Add TI logo as powerdown animation */ | 1700 /* GW #1471 11/12/02 - Add TI logo as powerdown animation */ |
1701 const MfwIcnAttr goodbye_Attr [animGoodbye] = /* all goodby icon attributes */ | 1701 const MfwIcnAttr goodbye_Attr [animGoodbye] = /* all goodby icon attributes */ |
1702 { | 1702 { |
1703 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 176, 60 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *)&TIlogColour[0] }, | 1703 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 176, 60 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *)&TIlogColour[0] }, |
1704 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 176, 60 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *)&TIlogColour[0] } | 1704 { { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 176, 60 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *)&TIlogColour[0] } |
1705 }; | 1705 }; |
1706 | 1706 |
1707 | 1707 |
1708 #endif | 1708 #endif |
1709 | 1709 |
1710 #ifdef COLOURDISPLAY | 1710 #ifdef COLOURDISPLAY |
1711 const MfwIcnAttr incoming_call_animate [CALLANIMATION] = { | 1711 const MfwIcnAttr incoming_call_animate [CALLANIMATION] = { |
1712 {{40,5,100,80},1,COLOUR_ICON_XX,BMP_FORMAT_32BIT_COLOUR, (char *)callAnimation1}, | 1712 {{40,5,100,80},1,COLOUR_ICON_XX,BMP_FORMAT_32BIT_COLOUR, (char *)callAnimation1}, |
1713 {{40,5,100,80},1,COLOUR_ICON_XX,BMP_FORMAT_32BIT_COLOUR, (char *)callAnimation2}, | 1713 {{40,5,100,80},1,COLOUR_ICON_XX,BMP_FORMAT_32BIT_COLOUR, (char *)callAnimation2}, |
1714 {{40,5,100,80},1,COLOUR_ICON_XX,BMP_FORMAT_32BIT_COLOUR, (char *)callAnimation3}, | 1714 {{40,5,100,80},1,COLOUR_ICON_XX,BMP_FORMAT_32BIT_COLOUR, (char *)callAnimation3}, |
1715 {{40,5,100,80},1,COLOUR_ICON_XX,BMP_FORMAT_32BIT_COLOUR, (char *)callAnimation2} | 1715 {{40,5,100,80},1,COLOUR_ICON_XX,BMP_FORMAT_32BIT_COLOUR, (char *)callAnimation2} |
1716 | 1716 |
1717 }; | 1717 }; |
1718 | 1718 |
1719 #endif | 1719 #endif |
1720 #if(0) /* x0039928 - Lint warning removal */ | 1720 #if(0) /* x0039928 - Lint warning removal */ |
1721 /* test | 1721 /* test |
1722 */ | 1722 */ |
1723 static const MfwIcnAttr simtool = | 1723 static const MfwIcnAttr simtool = |
1724 { | 1724 { |
1725 { 24, 18, 40, 28 }, 4, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) SIMToolAll | 1725 { 24, 18, 40, 28 }, 4, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) SIMToolAll |
1726 }; | 1726 }; |
1727 | 1727 |
1728 /* icon messages | 1728 /* icon messages |
1729 */ | 1729 */ |
1730 static const MfwIcnAttr mess = | 1730 static const MfwIcnAttr mess = |
1731 { | 1731 { |
1732 { 24, 18, 40, 28 }, 4, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) MessageAll | 1732 { 24, 18, 40, 28 }, 4, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) MessageAll |
1733 }; | 1733 }; |
1734 | 1734 |
1735 /* icon organiser | 1735 /* icon organiser |
1736 */ | 1736 */ |
1737 static const MfwIcnAttr organ = | 1737 static const MfwIcnAttr organ = |
1738 { | 1738 { |
1739 { 0, 0, 0, 0 }, 4, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 | 1739 { 0, 0, 0, 0 }, 4, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 |
1740 }; | 1740 }; |
1741 | 1741 |
1742 /* icon sounds | 1742 /* icon sounds |
1743 */ | 1743 */ |
1744 static const MfwIcnAttr sound = | 1744 static const MfwIcnAttr sound = |
1745 { | 1745 { |
1746 { 0, 0, 0, 0 }, 4, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 | 1746 { 0, 0, 0, 0 }, 4, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 |
1747 }; | 1747 }; |
1748 | 1748 |
1749 | 1749 |
1750 /* icon settings | 1750 /* icon settings |
1751 */ | 1751 */ |
1752 static const MfwIcnAttr sett = | 1752 static const MfwIcnAttr sett = |
1753 { | 1753 { |
1754 { 0, 0, 0, 0 }, 4, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 | 1754 { 0, 0, 0, 0 }, 4, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 |
1755 }; | 1755 }; |
1756 | 1756 |
1757 | 1757 |
1758 /* icon services | 1758 /* icon services |
1759 */ | 1759 */ |
1760 static const MfwIcnAttr servic = | 1760 static const MfwIcnAttr servic = |
1761 { | 1761 { |
1762 { 0, 0, 0, 0 }, 4, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 | 1762 { 0, 0, 0, 0 }, 4, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 |
1763 }; | 1763 }; |
1764 | 1764 |
1765 | 1765 |
1766 /* icon extras | 1766 /* icon extras |
1767 */ | 1767 */ |
1768 static const MfwIcnAttr extr = | 1768 static const MfwIcnAttr extr = |
1769 { | 1769 { |
1770 { 0, 0, 0, 0 }, 4, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 | 1770 { 0, 0, 0, 0 }, 4, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, 0 |
1771 }; | 1771 }; |
1772 #endif | 1772 #endif |
1773 | 1773 |
1774 /*** MAIN ICONS **/ | 1774 /*** MAIN ICONS **/ |
1775 | 1775 |
1776 MfwIcnAttr mainIconSimToolkit = | 1776 MfwIcnAttr mainIconSimToolkit = |
1777 { | 1777 { |
1778 #ifndef COLOURDISPLAY | 1778 #ifndef COLOURDISPLAY |
1779 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainSimToolkit | 1779 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainSimToolkit |
1780 #else | 1780 #else |
1781 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) stkColour | 1781 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) stkColour |
1782 #endif | 1782 #endif |
1783 }; | 1783 }; |
1784 | 1784 |
1785 MfwIcnAttr mainIconCalculator = | 1785 MfwIcnAttr mainIconCalculator = |
1786 { | 1786 { |
1787 #ifndef COLOURDISPLAY | 1787 #ifndef COLOURDISPLAY |
1788 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainCalculator | 1788 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainCalculator |
1789 #else | 1789 #else |
1790 #ifdef USE_110X110 | 1790 #ifdef USE_110X110 |
1793 { 0, 12, 97, 97 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) applications97x97_bmp | 1793 { 0, 12, 97, 97 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) applications97x97_bmp |
1794 #endif | 1794 #endif |
1795 #endif | 1795 #endif |
1796 }; | 1796 }; |
1797 | 1797 |
1798 MfwIcnAttr mainIconSettings = | 1798 MfwIcnAttr mainIconSettings = |
1799 { | 1799 { |
1800 #ifndef COLOURDISPLAY | 1800 #ifndef COLOURDISPLAY |
1801 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainSettings | 1801 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainSettings |
1802 #else | 1802 #else |
1803 #ifdef USE_110X110 | 1803 #ifdef USE_110X110 |
1806 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) phoneSettings96x96_bmp | 1806 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) phoneSettings96x96_bmp |
1807 #endif | 1807 #endif |
1808 #endif | 1808 #endif |
1809 }; | 1809 }; |
1810 | 1810 |
1811 MfwIcnAttr mainIconRecentCalls = | 1811 MfwIcnAttr mainIconRecentCalls = |
1812 { | 1812 { |
1813 #ifndef COLOURDISPLAY | 1813 #ifndef COLOURDISPLAY |
1814 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainRecentCalls | 1814 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainRecentCalls |
1815 #else | 1815 #else |
1816 #ifdef USE_110X110 | 1816 #ifdef USE_110X110 |
1819 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) recentcalls96x96_bmp | 1819 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) recentcalls96x96_bmp |
1820 #endif | 1820 #endif |
1821 | 1821 |
1822 #endif | 1822 #endif |
1823 }; | 1823 }; |
1824 MfwIcnAttr mainIconCallDivert = | 1824 MfwIcnAttr mainIconCallDivert = |
1825 { | 1825 { |
1826 #ifndef COLOURDISPLAY | 1826 #ifndef COLOURDISPLAY |
1827 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainCallDivert | 1827 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainCallDivert |
1828 #else | 1828 #else |
1829 #ifdef USE_110X110 | 1829 #ifdef USE_110X110 |
1830 { 0, 12, 110, 110 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) networkservices110x110_bmp | 1830 { 0, 12, 110, 110 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) networkservices110x110_bmp |
1831 #else | 1831 #else |
1832 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) netWorkServices96x96_bmp | 1832 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) netWorkServices96x96_bmp |
1833 #endif | 1833 #endif |
1834 | 1834 |
1835 #endif | 1835 #endif |
1836 }; | 1836 }; |
1837 MfwIcnAttr mainIconSecurity = | 1837 MfwIcnAttr mainIconSecurity = |
1838 { | 1838 { |
1839 #ifndef COLOURDISPLAY | 1839 #ifndef COLOURDISPLAY |
1840 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainSecurity | 1840 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainSecurity |
1841 #else | 1841 #else |
1842 #ifdef USE_110X110 | 1842 #ifdef USE_110X110 |
1844 #else | 1844 #else |
1845 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) security96x96_bmp | 1845 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) security96x96_bmp |
1846 #endif | 1846 #endif |
1847 #endif | 1847 #endif |
1848 }; | 1848 }; |
1849 MfwIcnAttr mainIconMessages = | 1849 MfwIcnAttr mainIconMessages = |
1850 { | 1850 { |
1851 #ifndef COLOURDISPLAY | 1851 #ifndef COLOURDISPLAY |
1852 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainMessages | 1852 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainMessages |
1853 #else | 1853 #else |
1854 #ifdef USE_110X110 | 1854 #ifdef USE_110X110 |
1857 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) messages96x96_bmp | 1857 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) messages96x96_bmp |
1858 #endif | 1858 #endif |
1859 #endif | 1859 #endif |
1860 }; | 1860 }; |
1861 | 1861 |
1862 MfwIcnAttr mainIconPhonebook = | 1862 MfwIcnAttr mainIconPhonebook = |
1863 { | 1863 { |
1864 #ifndef COLOURDISPLAY | 1864 #ifndef COLOURDISPLAY |
1865 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainPhonebook | 1865 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainPhonebook |
1866 #else | 1866 #else |
1867 #ifdef USE_110X110 | 1867 #ifdef USE_110X110 |
1870 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) phonebook96x96_bmp | 1870 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) phonebook96x96_bmp |
1871 #endif | 1871 #endif |
1872 #endif | 1872 #endif |
1873 }; | 1873 }; |
1874 | 1874 |
1875 MfwIcnAttr mainIconWAP = | 1875 MfwIcnAttr mainIconWAP = |
1876 { | 1876 { |
1877 #ifndef COLOURDISPLAY | 1877 #ifndef COLOURDISPLAY |
1878 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainWAP | 1878 { 2, 8, 80*ICNSX, 31*ICNSY }, 1, COLOUR_ICON_XX, ICONTYPE, (char *) iconMainWAP |
1879 #else | 1879 #else |
1880 #ifdef USE_110X110 | 1880 #ifdef USE_110X110 |
1883 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) wap96x96_bmp | 1883 { 0, 12, 96, 96 }, 1, COLOUR_ICON_XX, ICON_TYPE_256_COL, (char *) wap96x96_bmp |
1884 #endif | 1884 #endif |
1885 #endif | 1885 #endif |
1886 }; | 1886 }; |
1887 | 1887 |
1888 MfwIcnAttr mainIconGoodbye = | 1888 MfwIcnAttr mainIconGoodbye = |
1889 { | 1889 { |
1890 // { 13, 0, 56, 48 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) animframe8 | 1890 // { 13, 0, 56, 48 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) animframe8 |
1891 { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] | 1891 { WELCOME_ANI_POS_X, WELCOME_ANI_POS_Y , 56, 38 }, 1, COLOUR_STATUS_WELCOME, ICON_TYPE_1BIT_UNPACKED, (char *)&TILogo_bw[0] |
1892 }; | 1892 }; |
1893 | 1893 |
1894 #ifdef EASY_TEXT_ENABLED | 1894 #ifdef EASY_TEXT_ENABLED |
1895 | 1895 |
1896 /* API - 03/09/03 - SPR2383 - Edit the px and py positons so that the icon is in themiddle of the screen for 1.7.0*/ | 1896 /* API - 03/09/03 - SPR2383 - Edit the px and py positons so that the icon is in themiddle of the screen for 1.7.0*/ |
1897 #ifdef COLOURDISPLAY | 1897 #ifdef COLOURDISPLAY |
1898 MfwIcnAttr IconTexteZiText = | 1898 MfwIcnAttr IconTexteZiText = |
1899 { | 1899 { |
1900 {(SCREEN_SIZE_X / 2) - 40, (SCREEN_SIZE_Y / 2) - 10, 80, 20}, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) TextIconeZiText | 1900 {(SCREEN_SIZE_X / 2) - 40, (SCREEN_SIZE_Y / 2) - 10, 80, 20}, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) TextIconeZiText |
1901 }; | 1901 }; |
1902 #else | 1902 #else |
1903 MfwIcnAttr IconTexteZiText = | 1903 MfwIcnAttr IconTexteZiText = |
1904 { | 1904 { |
1905 {2, 8, 80, 20}, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) TextIconeZiText | 1905 {2, 8, 80, 20}, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) TextIconeZiText |
1906 }; | 1906 }; |
1907 #endif | 1907 #endif |
1908 /* API - 03/09/03 - SPR2383 - END*/ | 1908 /* API - 03/09/03 - SPR2383 - END*/ |
1909 | 1909 |
1910 MfwIcnAttr IconTexteZiTextSmall = | 1910 MfwIcnAttr IconTexteZiTextSmall = |
1911 { | 1911 { |
1912 {2, 12, 8, 8}, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) TextIconeZiTextSmall | 1912 {2, 12, 8, 8}, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) TextIconeZiTextSmall |
1913 }; | 1913 }; |
1914 | 1914 |
1915 #endif | 1915 #endif |
1916 | 1916 |
1917 #ifdef COLOURDISPLAY | 1917 #ifdef COLOURDISPLAY |
1918 MfwIcnAttr mainIconBackground = | 1918 MfwIcnAttr mainIconBackground = |
1919 {{ 0, 0, 176, 220 }, 1, COLOUR_ICON_XX, COLOUR_ICON_XX, (char *)bmpDataSquares }; | 1919 {{ 0, 0, 176, 220 }, 1, COLOUR_ICON_XX, COLOUR_ICON_XX, (char *)bmpDataSquares }; |
1920 #else | 1920 #else |
1921 MfwIcnAttr mainIconBackground = | 1921 MfwIcnAttr mainIconBackground = |
1922 {{ 0, 0, SCREEN_SIZE_X, SCREEN_SIZE_Y }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, NULL }; | 1922 {{ 0, 0, SCREEN_SIZE_X, SCREEN_SIZE_Y }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, NULL }; |
1923 #endif | 1923 #endif |
1924 | 1924 |
1925 /******************************************************************************* | 1925 /******************************************************************************* |
1926 | 1926 |
1927 $Function: icon_setMainBgdBitmap | 1927 $Function: icon_setMainBgdBitmap |
1928 | 1928 |
1929 $Description: Change the background bitmap for the main menu to the id supplied | 1929 $Description: Change the background bitmap for the main menu to the id supplied |
1930 | 1930 |
1931 $Returns: None. | 1931 $Returns: None. |
1932 | 1932 |
1933 $Arguments: bmpId - enumerated type for background bitmaps | 1933 $Arguments: bmpId - enumerated type for background bitmaps |
1934 | 1934 |
1935 *******************************************************************************/ | 1935 *******************************************************************************/ |
1936 void icon_setMainBgdBitmap (int bmpId) | 1936 void icon_setMainBgdBitmap (int bmpId) |
1937 { | 1937 { |
1938 TRACE_FUNCTION("icon_setMainBgdBitmap()"); | 1938 TRACE_FUNCTION("icon_setMainBgdBitmap()"); |
1939 icon_getBitmapFromId(bmpId, &mainIconBackground); | 1939 icon_getBitmapFromId(bmpId, &mainIconBackground); |
1940 } | 1940 } |
1941 | 1941 |
1942 | 1942 |
1943 /*** Melodygenerator Icons ***/ | 1943 /*** Melodygenerator Icons ***/ |
1944 | 1944 |
1947 { { 2, 8, 16, 26 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) screenpart0 }, /* screenpart0*/ | 1947 { { 2, 8, 16, 26 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) screenpart0 }, /* screenpart0*/ |
1948 { { 18, 8, 16, 26 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) screenpart1 }, /* screenpart1*/ | 1948 { { 18, 8, 16, 26 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) screenpart1 }, /* screenpart1*/ |
1949 { { 34, 8, 16, 26 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) screenpart2 }, /* screenpart2*/ | 1949 { { 34, 8, 16, 26 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) screenpart2 }, /* screenpart2*/ |
1950 { { 50, 8, 16, 26 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) screenpart3 }, /* screenpart3*/ | 1950 { { 50, 8, 16, 26 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) screenpart3 }, /* screenpart3*/ |
1951 { { 66, 8, 16, 26 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) screenpart4 } /* screenpart4*/ | 1951 { { 66, 8, 16, 26 }, 1, COLOUR_ICON_XX, ICON_TYPE_1BIT_UNPACKED, (char *) screenpart4 } /* screenpart4*/ |
1952 }; | 1952 }; |
1953 /******************************************************************************* | 1953 /******************************************************************************* |
1954 | 1954 |
1955 Additional type definitions | 1955 Additional type definitions |
1956 | 1956 |
1957 *******************************************************************************/ | 1957 *******************************************************************************/ |
1958 | 1958 |
1959 typedef struct iconStateTag /* state icons */ | 1959 typedef struct iconStateTag /* state icons */ |
1960 { | 1960 { |
1961 MfwHnd h; /* mfw handle of icon */ | 1961 MfwHnd h; /* mfw handle of icon */ |
1962 U8 state; /* state of icon */ | 1962 U8 state; /* state of icon */ |
1963 } IconState; | 1963 } IconState; |
1964 | 1964 |
1965 | 1965 |
1966 /******************************************************************************* | 1966 /******************************************************************************* |
1967 | 1967 |
1968 Static data | 1968 Static data |
1969 | 1969 |
1970 *******************************************************************************/ | 1970 *******************************************************************************/ |
1971 | 1971 |
1972 static IconState state[ idlIdMax ]; | 1972 static IconState state[ idlIdMax ]; |
1973 static IconState battstate[ iconBattMax ]; | 1973 static IconState battstate[ iconBattMax ]; |
1974 static IconState signalstate[ iconSignalMax ]; | 1974 static IconState signalstate[ iconSignalMax ]; |
1975 | 1975 |
1976 | 1976 |
1977 | 1977 |
1978 | 1978 |
1979 /******************************************************************************* | 1979 /******************************************************************************* |
1980 | 1980 |
1981 Private Methods | 1981 Private Methods |
1982 | 1982 |
1983 *******************************************************************************/ | 1983 *******************************************************************************/ |
1984 | 1984 |
1985 | 1985 |
1986 /******************************************************************************* | 1986 /******************************************************************************* |
1987 | 1987 |
1988 $Function: iconsEvent | 1988 $Function: iconsEvent |
1989 | 1989 |
1990 $Description: handle an icon event, empty handler | 1990 $Description: handle an icon event, empty handler |
1991 | 1991 |
1992 $Returns: None. | 1992 $Returns: None. |
1993 | 1993 |
1994 $Arguments: e, event, i, icon | 1994 $Arguments: e, event, i, icon |
1995 | 1995 |
1996 *******************************************************************************/ | 1996 *******************************************************************************/ |
1997 | 1997 |
1998 static void iconsEvent( MfwEvt e, MfwIcn *i ) | 1998 static void iconsEvent( MfwEvt e, MfwIcn *i ) |
1999 { | 1999 { |
2000 } | 2000 } |
2003 /******************************************************************************* | 2003 /******************************************************************************* |
2004 | 2004 |
2005 $Function: iconsBattEvent | 2005 $Function: iconsBattEvent |
2006 | 2006 |
2007 $Description: handle a battery icon event, empty handler | 2007 $Description: handle a battery icon event, empty handler |
2008 | 2008 |
2009 $Returns: None. | 2009 $Returns: None. |
2010 | 2010 |
2011 $Arguments: e, event, i, icon | 2011 $Arguments: e, event, i, icon |
2012 | 2012 |
2013 *******************************************************************************/ | 2013 *******************************************************************************/ |
2014 | 2014 |
2015 static void iconsBattEvent( MfwEvt e, MfwIcn *i ) | 2015 static void iconsBattEvent( MfwEvt e, MfwIcn *i ) |
2016 { | 2016 { |
2017 } | 2017 } |
2021 /******************************************************************************* | 2021 /******************************************************************************* |
2022 | 2022 |
2023 $Function: iconsSignEvent | 2023 $Function: iconsSignEvent |
2024 | 2024 |
2025 $Description: handle a signal icon event, empty handler | 2025 $Description: handle a signal icon event, empty handler |
2026 | 2026 |
2027 $Returns: None. | 2027 $Returns: None. |
2028 | 2028 |
2029 $Arguments: e, event, i, icon | 2029 $Arguments: e, event, i, icon |
2030 | 2030 |
2031 *******************************************************************************/ | 2031 *******************************************************************************/ |
2032 | 2032 |
2033 static void iconsSignEvent( MfwEvt e, MfwIcn *i ) | 2033 static void iconsSignEvent( MfwEvt e, MfwIcn *i ) |
2034 { | 2034 { |
2035 } | 2035 } |
2039 /******************************************************************************* | 2039 /******************************************************************************* |
2040 | 2040 |
2041 $Function: iconsScreenDelete | 2041 $Function: iconsScreenDelete |
2042 | 2042 |
2043 $Description: Clears the icon area of all currently displayed icons | 2043 $Description: Clears the icon area of all currently displayed icons |
2044 | 2044 |
2045 $Returns: None. | 2045 $Returns: None. |
2046 | 2046 |
2047 $Arguments: None. | 2047 $Arguments: None. |
2048 | 2048 |
2049 *******************************************************************************/ | 2049 *******************************************************************************/ |
2050 | 2050 |
2051 static void iconsScreenDelete( void ) | 2051 static void iconsScreenDelete( void ) |
2052 { | 2052 { |
2053 dspl_Clear( 0,0, SCREEN_SIZE_X, Mmi_layout_IconHeight()-1 ); | 2053 dspl_Clear( 0,0, SCREEN_SIZE_X, Mmi_layout_IconHeight()-1 ); |
2059 /******************************************************************************* | 2059 /******************************************************************************* |
2060 | 2060 |
2061 $Function: iconsShowIcon | 2061 $Function: iconsShowIcon |
2062 | 2062 |
2063 $Description: display a single icon if it is currently visible | 2063 $Description: display a single icon if it is currently visible |
2064 | 2064 |
2065 $Returns: None | 2065 $Returns: None |
2066 | 2066 |
2067 $Arguments: Icon, pointer to the icon in question | 2067 $Arguments: Icon, pointer to the icon in question |
2068 | 2068 |
2069 *******************************************************************************/ | 2069 *******************************************************************************/ |
2070 | 2070 |
2071 static void iconsShowIcon( IconState *Icon ) | 2071 static void iconsShowIcon( IconState *Icon ) |
2072 { | 2072 { |
2073 if ( Icon->state == ICON_VISIBLE ) | 2073 if ( Icon->state == ICON_VISIBLE ) |
2079 | 2079 |
2080 | 2080 |
2081 | 2081 |
2082 | 2082 |
2083 /******************************************************************************* | 2083 /******************************************************************************* |
2084 | 2084 |
2085 Public Methods | 2085 Public Methods |
2086 | 2086 |
2087 *******************************************************************************/ | 2087 *******************************************************************************/ |
2088 | 2088 |
2089 /******************************************************************************* | 2089 /******************************************************************************* |
2090 | 2090 |
2091 $Function: iconsInit | 2091 $Function: iconsInit |
2092 | 2092 |
2093 $Description: Initialise the MMI Icon handling | 2093 $Description: Initialise the MMI Icon handling |
2094 | 2094 |
2095 $Returns: None | 2095 $Returns: None |
2096 | 2096 |
2097 $Arguments: None | 2097 $Arguments: None |
2098 | 2098 |
2099 *******************************************************************************/ | 2099 *******************************************************************************/ |
2100 | 2100 |
2101 void iconsInit() | 2101 void iconsInit() |
2102 { | 2102 { |
2103 int i; | 2103 int i; |
2135 /******************************************************************************* | 2135 /******************************************************************************* |
2136 | 2136 |
2137 $Function: iconsExit | 2137 $Function: iconsExit |
2138 | 2138 |
2139 $Description: Exit the MMI icons handling | 2139 $Description: Exit the MMI icons handling |
2140 | 2140 |
2141 $Returns: None. | 2141 $Returns: None. |
2142 | 2142 |
2143 $Arguments: None. | 2143 $Arguments: None. |
2144 | 2144 |
2145 *******************************************************************************/ | 2145 *******************************************************************************/ |
2146 | 2146 |
2147 void iconsExit( void ) | 2147 void iconsExit( void ) |
2148 { | 2148 { |
2149 int i; | 2149 int i; |
2166 /******************************************************************************* | 2166 /******************************************************************************* |
2167 | 2167 |
2168 $Function: iconsGetState | 2168 $Function: iconsGetState |
2169 | 2169 |
2170 $Description: Get the state of an icon ICON_VISIBLE/ICON_INVISIBLE | 2170 $Description: Get the state of an icon ICON_VISIBLE/ICON_INVISIBLE |
2171 | 2171 |
2172 $Returns: Return state of icon. | 2172 $Returns: Return state of icon. |
2173 | 2173 |
2174 $Arguments: iconId, the id of the icon to be set | 2174 $Arguments: iconId, the id of the icon to be set |
2175 | 2175 |
2176 *******************************************************************************/ | 2176 *******************************************************************************/ |
2177 | 2177 |
2178 U8 iconsGetState( int iconId ) | 2178 U8 iconsGetState( int iconId ) |
2179 { | 2179 { |
2180 TRACE_FUNCTION("iconsGetState() "); | 2180 TRACE_FUNCTION("iconsGetState() "); |
2190 /******************************************************************************* | 2190 /******************************************************************************* |
2191 | 2191 |
2192 $Function: iconsSetState | 2192 $Function: iconsSetState |
2193 | 2193 |
2194 $Description: Sets the state of an icon to be visible | 2194 $Description: Sets the state of an icon to be visible |
2195 | 2195 |
2196 $Returns: None | 2196 $Returns: None |
2197 | 2197 |
2198 $Arguments: iconId, the id of the icon to be set | 2198 $Arguments: iconId, the id of the icon to be set |
2199 | 2199 |
2200 *******************************************************************************/ | 2200 *******************************************************************************/ |
2201 | 2201 |
2202 void iconsSetState( int iconId ) | 2202 void iconsSetState( int iconId ) |
2203 { | 2203 { |
2204 TRACE_FUNCTION("iconsSetState() "); | 2204 TRACE_FUNCTION("iconsSetState() "); |
2215 /******************************************************************************* | 2215 /******************************************************************************* |
2216 | 2216 |
2217 $Function: iconsDeleteState | 2217 $Function: iconsDeleteState |
2218 | 2218 |
2219 $Description: Sets the state of an icon to be invisible | 2219 $Description: Sets the state of an icon to be invisible |
2220 | 2220 |
2221 $Returns: None | 2221 $Returns: None |
2222 | 2222 |
2223 $Arguments: iconId, the id of the icon to be deleted | 2223 $Arguments: iconId, the id of the icon to be deleted |
2224 | 2224 |
2225 *******************************************************************************/ | 2225 *******************************************************************************/ |
2226 | 2226 |
2227 void iconsDeleteState( int iconId ) | 2227 void iconsDeleteState( int iconId ) |
2228 { | 2228 { |
2229 TRACE_FUNCTION("iconsDeleteState()"); | 2229 TRACE_FUNCTION("iconsDeleteState()"); |
2239 /******************************************************************************* | 2239 /******************************************************************************* |
2240 | 2240 |
2241 $Function: iconsShow | 2241 $Function: iconsShow |
2242 | 2242 |
2243 $Description: Show the current set of icons on the display | 2243 $Description: Show the current set of icons on the display |
2244 | 2244 |
2245 $Returns: None | 2245 $Returns: None |
2246 | 2246 |
2247 $Arguments: None | 2247 $Arguments: None |
2248 | 2248 |
2249 *******************************************************************************/ | 2249 *******************************************************************************/ |
2250 | 2250 |
2251 void iconsShow( void ) | 2251 void iconsShow( void ) |
2252 { | 2252 { |
2253 #ifdef NEPTUNE_BOARD | 2253 #ifdef NEPTUNE_BOARD |
2254 int iResult = 0; /* Get the GPRS Status */ | 2254 int iResult = 0; /* Get the GPRS Status */ |
2255 #endif | 2255 #endif |
2256 | 2256 |
2257 TRACE_FUNCTION("iconsShow"); | 2257 TRACE_FUNCTION("iconsShow"); |
2258 | 2258 |
2259 /* The power-off scenario requires a check in here to override the | 2259 /* The power-off scenario requires a check in here to override the |
2272 if ( GlobalIconStatus & GlobalBatteryIconFlag ) | 2272 if ( GlobalIconStatus & GlobalBatteryIconFlag ) |
2273 { | 2273 { |
2274 TRACE_EVENT_P1("iconsShow:globalBatteryPicNumber:%d", globalBatteryPicNumber); | 2274 TRACE_EVENT_P1("iconsShow:globalBatteryPicNumber:%d", globalBatteryPicNumber); |
2275 iconsShowBattery( globalBatteryPicNumber ); | 2275 iconsShowBattery( globalBatteryPicNumber ); |
2276 } | 2276 } |
2277 | 2277 |
2278 if ( GlobalIconStatus & GlobalSignalIconFlag ) | 2278 if ( GlobalIconStatus & GlobalSignalIconFlag ) |
2279 iconsShowSignal( globalSignalPicNumber ); | 2279 iconsShowSignal( globalSignalPicNumber ); |
2280 // Apr 27, 2004 REF: ENH 12646 Deepa M.D | 2280 // Apr 27, 2004 REF: ENH 12646 Deepa M.D |
2281 if ( GlobalIconStatus & GlobalSMSIconFlag ) | 2281 if ( GlobalIconStatus & GlobalSMSIconFlag ) |
2282 { | 2282 { |
2307 /* SPR#2346 - SH - Show GPRS Attached icon*/ | 2307 /* SPR#2346 - SH - Show GPRS Attached icon*/ |
2308 | 2308 |
2309 #ifdef MMI_GPRS_ENABLED | 2309 #ifdef MMI_GPRS_ENABLED |
2310 if ( GlobalIconStatus & GlobalGPRSOnIconFlag ) | 2310 if ( GlobalIconStatus & GlobalGPRSOnIconFlag ) |
2311 { | 2311 { |
2312 #ifdef NEPTUNE_BOARD | 2312 #ifdef NEPTUNE_BOARD |
2313 iResult = GPRS_Status(); | 2313 iResult = GPRS_Status(); |
2314 | 2314 |
2315 if (iResult == GPRS_ATTACHED) | 2315 if (iResult == GPRS_ATTACHED) |
2316 { | 2316 { |
2317 iconsShowIcon( &state[ iconIdGPRSOn ] ); | 2317 iconsShowIcon( &state[ iconIdGPRSOn ] ); |
2328 } | 2328 } |
2329 #endif | 2329 #endif |
2330 | 2330 |
2331 /* SPR#1985 - SH - Only show one of TTY or Homezone icons. | 2331 /* SPR#1985 - SH - Only show one of TTY or Homezone icons. |
2332 * Homezone takes precedence */ | 2332 * Homezone takes precedence */ |
2333 | 2333 |
2334 /* Show Homezone icon. */ | 2334 /* Show Homezone icon. */ |
2335 | 2335 |
2336 #ifdef MMI_HOMEZONE_ENABLED | 2336 #ifdef MMI_HOMEZONE_ENABLED |
2337 if ( GlobalIconStatus & GlobalHomezoneIconFlag ) | 2337 if ( GlobalIconStatus & GlobalHomezoneIconFlag ) |
2338 { | 2338 { |
2339 iconsShowIcon( &state[ iconIdHomezone ] ); | 2339 iconsShowIcon( &state[ iconIdHomezone ] ); |
2340 } | 2340 } |
2349 } | 2349 } |
2350 #endif | 2350 #endif |
2351 /* end SH */ | 2351 /* end SH */ |
2352 | 2352 |
2353 | 2353 |
2354 | 2354 |
2355 | 2355 |
2356 if ( GlobalIconStatus & GlobalAlarmIconFlag ) | 2356 if ( GlobalIconStatus & GlobalAlarmIconFlag ) |
2357 iconsShowIcon( &state[ iconIdAlarm ] ); | 2357 iconsShowIcon( &state[ iconIdAlarm ] ); |
2358 | 2358 |
2359 /* May 30, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar) | 2359 /* May 30, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar) |
2360 Description : CPHS Roaming indication feature implementation | 2360 Description : CPHS Roaming indication feature implementation |
2361 Solution : As part of this implementation, roaming icon is showed based on a flag corresponding to roaming*/ | 2361 Solution : As part of this implementation, roaming icon is showed based on a flag corresponding to roaming*/ |
2362 | 2362 |
2363 if(GlobalIconStatus & GlobalRoamingIconFlag) | 2363 if(GlobalIconStatus & GlobalRoamingIconFlag) |
2364 iconsShowIcon(&state[iconIdRoaming]); | 2364 iconsShowIcon(&state[iconIdRoaming]); |
2365 //Change the colour back to what the menu was. | 2365 //Change the colour back to what the menu was. |
2366 resources_restoreMnuColour(); | 2366 resources_restoreMnuColour(); |
2367 } | 2367 } |
2369 /******************************************************************************* | 2369 /******************************************************************************* |
2370 | 2370 |
2371 $Function: iconsShowBattery | 2371 $Function: iconsShowBattery |
2372 | 2372 |
2373 $Description: Show battery status icons | 2373 $Description: Show battery status icons |
2374 | 2374 |
2375 $Returns: 0 if error detected, otherwise 1 | 2375 $Returns: 0 if error detected, otherwise 1 |
2376 | 2376 |
2377 $Arguments: batterystatus, the current battery icon to be displayed | 2377 $Arguments: batterystatus, the current battery icon to be displayed |
2378 | 2378 |
2379 *******************************************************************************/ | 2379 *******************************************************************************/ |
2380 | 2380 |
2381 int iconsShowBattery( U8 batterystatus ) | 2381 int iconsShowBattery( U8 batterystatus ) |
2382 { | 2382 { |
2383 MfwIcn *icn; | 2383 MfwIcn *icn; |
2384 int i; | 2384 int i; |
2385 | 2385 |
2386 TRACE_FUNCTION("iconsShowBattery()"); | 2386 TRACE_FUNCTION("iconsShowBattery()"); |
2387 | 2387 |
2388 /* If we have an error, ie invalid id then return 0 */ | 2388 /* If we have an error, ie invalid id then return 0 */ |
2389 /* x0045876, 14-Aug-2006 (WR - pointless comparison of unsigned integer with zero) */ | 2389 /* x0045876, 14-Aug-2006 (WR - pointless comparison of unsigned integer with zero) */ |
2390 /* if ( ( batterystatus < 0 ) || ( batterystatus >= iconBattMax ) ) */ | 2390 /* if ( ( batterystatus < 0 ) || ( batterystatus >= iconBattMax ) ) */ |
2391 if (batterystatus >= iconBattMax) | 2391 if (batterystatus >= iconBattMax) |
2392 return 0; | 2392 return 0; |
2393 | 2393 |
2394 if( (globalMobileMode & (GlobalMobileOn|GlobalCharging)) AND | 2394 if( (globalMobileMode & (GlobalMobileOn|GlobalCharging)) AND |
2395 (globalBatteryMode NEQ GlobalBatteryFull) ) | 2395 (globalBatteryMode NEQ GlobalBatteryFull) ) |
2396 { | 2396 { |
2397 if ( idleIsFocussed() AND battery_charging_animate) | 2397 if ( idleIsFocussed() AND battery_charging_animate) |
2398 { | 2398 { |
2399 icn=((MfwHdr *)battstate[ icon_ctr].h)->data; | 2399 icn=((MfwHdr *)battstate[ icon_ctr].h)->data; |
2400 dspl_BitBlt2(icn->attr->area.px,icn->attr->area.py, | 2400 dspl_BitBlt2(icn->attr->area.px,icn->attr->area.py, |
2401 icn->attr->area.sx,icn->attr->area.sy, | 2401 icn->attr->area.sx,icn->attr->area.sy, |
2402 icn->attr->icons,icn->index,icn->attr->icnType); | 2402 icn->attr->icons,icn->index,icn->attr->icnType); |
2403 timStart(battery_charging_animate); | 2403 timStart(battery_charging_animate); |
2404 } | 2404 } |
2405 } | 2405 } |
2406 else | 2406 else |
2407 { | 2407 { |
2408 /* Otherwise clear all of the battery icons, and then set the | 2408 /* Otherwise clear all of the battery icons, and then set the |
2409 selected value to be visible | 2409 selected value to be visible |
2410 */ | 2410 */ |
2411 for( i = 0; i < iconBattMax; i++ ) | 2411 for( i = 0; i < iconBattMax; i++ ) |
2412 battstate[ i ].state = ICON_INVISIBLE; | 2412 battstate[ i ].state = ICON_INVISIBLE; |
2422 /******************************************************************************* | 2422 /******************************************************************************* |
2423 | 2423 |
2424 $Function: BattChargeEventTim | 2424 $Function: BattChargeEventTim |
2425 | 2425 |
2426 $Description: Timer callback for battery charging animation | 2426 $Description: Timer callback for battery charging animation |
2427 | 2427 |
2428 $Returns: 0 if error detected, otherwise 1 | 2428 $Returns: 0 if error detected, otherwise 1 |
2429 | 2429 |
2430 $Arguments: | 2430 $Arguments: |
2431 | 2431 |
2432 *******************************************************************************/ | 2432 *******************************************************************************/ |
2433 //x0pleela 11 Apr, 2006 ER: OMAPS00075178 | 2433 //x0pleela 11 Apr, 2006 ER: OMAPS00075178 |
2434 int BattChargeEventTim( MfwEvt e, MfwTim *tc ) | 2434 int BattChargeEventTim( MfwEvt e, MfwTim *tc ) |
2435 { | 2435 { |
2436 int i; | 2436 int i; |
2452 battstate[ i ].state = ICON_INVISIBLE; | 2452 battstate[ i ].state = ICON_INVISIBLE; |
2453 icnHide(battstate[ i].h ); | 2453 icnHide(battstate[ i].h ); |
2454 } | 2454 } |
2455 battstate[ icon_ctr ].state = ICON_VISIBLE; | 2455 battstate[ icon_ctr ].state = ICON_VISIBLE; |
2456 | 2456 |
2457 /* and display the current selection */ | 2457 /* and display the current selection */ |
2458 icnUnhide(battstate[ icon_ctr ].h ); | 2458 icnUnhide(battstate[ icon_ctr ].h ); |
2459 | 2459 |
2460 windowsUpdate(); //redraw the idle screen again. | 2460 windowsUpdate(); //redraw the idle screen again. |
2461 timStart(battery_charging_animate); | 2461 timStart(battery_charging_animate); |
2462 } | 2462 } |
2463 else //else stop animation | 2463 else //else stop animation |
2464 { | 2464 { |
2465 if (battery_charging_animate) | 2465 if (battery_charging_animate) |
2466 timStop(battery_charging_animate); | 2466 timStop(battery_charging_animate); |
2467 } | 2467 } |
2468 } | 2468 } |
2469 return MFW_EVENT_CONSUMED; | 2469 return MFW_EVENT_CONSUMED; |
2470 } | 2470 } |
2471 | 2471 |
2472 | 2472 |
2473 // Apr 27, 2004 REF: ENH 12646 Deepa M.D | 2473 // Apr 27, 2004 REF: ENH 12646 Deepa M.D |
2474 /******************************************************************************* | 2474 /******************************************************************************* |
2475 | 2475 |
2476 $Function: iconsShowSmsFull | 2476 $Function: iconsShowSmsFull |
2477 | 2477 |
2478 $Description: When SMS meory is full,start the timer for blinking the icon. | 2478 $Description: When SMS meory is full,start the timer for blinking the icon. |
2479 | 2479 |
2480 $Returns: 0 if error detected, otherwise 1 | 2480 $Returns: 0 if error detected, otherwise 1 |
2481 | 2481 |
2482 $Arguments: None | 2482 $Arguments: None |
2483 | 2483 |
2484 *******************************************************************************/ | 2484 *******************************************************************************/ |
2485 int iconsShowSmsFull( ) | 2485 int iconsShowSmsFull( ) |
2486 { | 2486 { |
2487 MfwIcn *icn; | 2487 MfwIcn *icn; |
2488 TRACE_FUNCTION("iconsShowSmsFull"); | 2488 TRACE_FUNCTION("iconsShowSmsFull"); |
2489 if(isIconBlinking==1) | 2489 if(isIconBlinking==1) |
2490 { | 2490 { |
2491 if(smsStatus==0) | 2491 if(smsStatus==0) |
2492 { | 2492 { |
2493 | 2493 |
2494 icn=((MfwHdr *)state[ iconIdSMS ] .h)->data; | 2494 icn=((MfwHdr *)state[ iconIdSMS ] .h)->data; |
2495 dspl_BitBlt2(icn->attr->area.px,icn->attr->area.py, | 2495 dspl_BitBlt2(icn->attr->area.px,icn->attr->area.py, |
2496 icn->attr->area.sx,icn->attr->area.sy, | 2496 icn->attr->area.sx,icn->attr->area.sy, |
2497 icn->attr->icons,icn->index,icn->attr->icnType); | 2497 icn->attr->icons,icn->index,icn->attr->icnType); |
2498 } | 2498 } |
2499 return 0; | 2499 return 0; |
2500 } | 2500 } |
2501 | 2501 |
2502 isIconBlinking=1; | 2502 isIconBlinking=1; |
2503 | 2503 |
2504 if (sms_animate) | 2504 if (sms_animate) |
2505 { | 2505 { |
2506 | 2506 |
2507 timStart(sms_animate); | 2507 timStart(sms_animate); |
2508 } | 2508 } |
2509 | 2509 |
2510 return 1; | 2510 return 1; |
2511 } | 2511 } |
2512 | 2512 |
2513 | 2513 |
2514 // Apr 27, 2004 REF: ENH 12646 Deepa M.D | 2514 // Apr 27, 2004 REF: ENH 12646 Deepa M.D |
2515 /******************************************************************************* | 2515 /******************************************************************************* |
2516 | 2516 |
2517 $Function: smsFullEventTim | 2517 $Function: smsFullEventTim |
2518 | 2518 |
2519 $Description: Callback function for SMSFull timer.The SMS icon is toggled between visible | 2519 $Description: Callback function for SMSFull timer.The SMS icon is toggled between visible |
2520 and invisible. | 2520 and invisible. |
2521 | 2521 |
2522 $Returns: Event consumed | 2522 $Returns: Event consumed |
2523 | 2523 |
2524 $Arguments: unused | 2524 $Arguments: unused |
2525 | 2525 |
2526 *******************************************************************************/ | 2526 *******************************************************************************/ |
2527 | 2527 |
2528 int smsFullEventTim( MfwEvt e, MfwTim *tc ) | 2528 int smsFullEventTim( MfwEvt e, MfwTim *tc ) |
2529 { | 2529 { |
2530 | 2530 |
2531 TRACE_FUNCTION("smsFullEventTim"); | 2531 TRACE_FUNCTION("smsFullEventTim"); |
2532 | 2532 |
2533 // Oct 28, 2004 REF: CRR 25886 xnkulkar | 2533 // Oct 28, 2004 REF: CRR 25886 xnkulkar |
2534 // Description: SMS Icon is not seen in Idle Screen. | 2534 // Description: SMS Icon is not seen in Idle Screen. |
2535 // Solution: A check is done to determine if sms memory is full when the phone is in idle screen or | 2535 // Solution: A check is done to determine if sms memory is full when the phone is in idle screen or |
2536 // when any calls are present and blinking sms icon is displayed. | 2536 // when any calls are present and blinking sms icon is displayed. |
2537 if(idleIsFocussed() ||(call_data.calls.numCalls!=0)) | 2537 if(idleIsFocussed() ||(call_data.calls.numCalls!=0)) |
2538 { | 2538 { |
2539 smsStatus++; | 2539 smsStatus++; |
2540 /* x0045876, 14-Aug-2006 (WR - pointless comparison of unsigned integer with zero) */ | 2540 /* x0045876, 14-Aug-2006 (WR - pointless comparison of unsigned integer with zero) */ |
2541 /* if( smsStatus<0 || smsStatus>=2) */ | 2541 /* if( smsStatus<0 || smsStatus>=2) */ |
2542 if(smsStatus>=2) | 2542 if(smsStatus>=2) |
2543 smsStatus=0; | 2543 smsStatus=0; |
2544 | 2544 |
2545 if(smsStatus==0) //The icon will be visible | 2545 if(smsStatus==0) //The icon will be visible |
2546 { | 2546 { |
2547 state[ iconIdSMS ] .state = ICON_VISIBLE; | 2547 state[ iconIdSMS ] .state = ICON_VISIBLE; |
2548 icnUnhide(state[ iconIdSMS ] .h); | 2548 icnUnhide(state[ iconIdSMS ] .h); |
2549 } | 2549 } |
2555 windowsUpdate(); //redraw the idle screen again. | 2555 windowsUpdate(); //redraw the idle screen again. |
2556 if (sms_animate) | 2556 if (sms_animate) |
2557 { | 2557 { |
2558 timStart(sms_animate); | 2558 timStart(sms_animate); |
2559 } | 2559 } |
2560 | 2560 |
2561 } | 2561 } |
2562 else //else stop the timer for blinking. | 2562 else //else stop the timer for blinking. |
2563 { | 2563 { |
2564 isIconBlinking=0; | 2564 isIconBlinking=0; |
2565 | 2565 |
2566 if (sms_animate) | 2566 if (sms_animate) |
2567 { | 2567 { |
2568 timStop(sms_animate); | 2568 timStop(sms_animate); |
2569 } | 2569 } |
2570 } | 2570 } |
2571 | 2571 |
2572 return MFW_EVENT_CONSUMED; | 2572 return MFW_EVENT_CONSUMED; |
2573 } | 2573 } |
2574 | 2574 |
2575 | 2575 |
2576 /******************************************************************************* | 2576 /******************************************************************************* |
2577 | 2577 |
2578 $Function: iconShowGoodbye | 2578 $Function: iconShowGoodbye |
2579 | 2579 |
2580 $Description: | 2580 $Description: |
2581 | 2581 |
2582 $Returns: | 2582 $Returns: |
2583 | 2583 |
2584 $Arguments: | 2584 $Arguments: |
2585 | 2585 |
2586 *******************************************************************************/ | 2586 *******************************************************************************/ |
2587 | 2587 |
2588 void iconShowGoodbye( void) | 2588 void iconShowGoodbye( void) |
2589 { | 2589 { |
2590 // iconsShowIcon( &state[ iconGoodbye ] ); | 2590 // iconsShowIcon( &state[ iconGoodbye ] ); |
2595 /******************************************************************************* | 2595 /******************************************************************************* |
2596 | 2596 |
2597 $Function: iconsShowSignal | 2597 $Function: iconsShowSignal |
2598 | 2598 |
2599 $Description: Shows the signal status icons | 2599 $Description: Shows the signal status icons |
2600 | 2600 |
2601 $Returns: 0 if error detected, otherwise 1 | 2601 $Returns: 0 if error detected, otherwise 1 |
2602 | 2602 |
2603 $Arguments: signalstatus, the current signal icon to be displayed | 2603 $Arguments: signalstatus, the current signal icon to be displayed |
2604 | 2604 |
2605 *******************************************************************************/ | 2605 *******************************************************************************/ |
2606 | 2606 |
2607 int iconsShowSignal (U8 signalstatus) | 2607 int iconsShowSignal (U8 signalstatus) |
2608 { | 2608 { |
2609 int i; | 2609 int i; |
2634 /******************************************************************************* | 2634 /******************************************************************************* |
2635 | 2635 |
2636 $Function: iconsInputShow | 2636 $Function: iconsInputShow |
2637 | 2637 |
2638 $Description: show current input icons | 2638 $Description: show current input icons |
2639 | 2639 |
2640 $Returns: None | 2640 $Returns: None |
2641 | 2641 |
2642 $Arguments: IconInputId, id of icon to be displayed | 2642 $Arguments: IconInputId, id of icon to be displayed |
2643 | 2643 |
2644 *******************************************************************************/ | 2644 *******************************************************************************/ |
2645 | 2645 |
2646 void iconsInputShow (int IconInputId) | 2646 void iconsInputShow (int IconInputId) |
2647 { | 2647 { |
2648 CLEAR_BOTTOM_ZONE_ICON; | 2648 CLEAR_BOTTOM_ZONE_ICON; |
2652 /******************************************************************************* | 2652 /******************************************************************************* |
2653 | 2653 |
2654 $Function: iconsMainIconsAreaSet | 2654 $Function: iconsMainIconsAreaSet |
2655 | 2655 |
2656 $Description: sets the current main icons area | 2656 $Description: sets the current main icons area |
2657 | 2657 |
2658 $Returns: None | 2658 $Returns: None |
2659 | 2659 |
2660 $Arguments: None | 2660 $Arguments: None |
2661 | 2661 |
2662 *******************************************************************************/ | 2662 *******************************************************************************/ |
2663 | 2663 |
2664 #ifndef LSCREEN | 2664 #ifndef LSCREEN |
2665 #define MAIN_ICON_Y 31 | 2665 #define MAIN_ICON_Y 31 |
2666 #endif | 2666 #endif |
2677 } | 2677 } |
2678 if (display_area->sy > iconArea->sy) | 2678 if (display_area->sy > iconArea->sy) |
2679 { | 2679 { |
2680 iconArea->py = display_area->py + (display_area->sy - iconArea->sy)/2; | 2680 iconArea->py = display_area->py + (display_area->sy - iconArea->sy)/2; |
2681 } | 2681 } |
2682 else | 2682 else |
2683 { | 2683 { |
2684 iconArea->py = display_area->py; | 2684 iconArea->py = display_area->py; |
2685 | 2685 |
2686 if (display_area->sy < iconArea->sy) | 2686 if (display_area->sy < iconArea->sy) |
2687 iconArea->sy = display_area->sy; | 2687 iconArea->sy = display_area->sy; |
2688 #ifndef LSCREEN | 2688 #ifndef LSCREEN |
2689 /*With the small screen we change the size of the idle icons (when changing language)*/ | 2689 /*With the small screen we change the size of the idle icons (when changing language)*/ |
2690 else | 2690 else |
2691 iconArea->sy = MAIN_ICON_Y; | 2691 iconArea->sy = MAIN_ICON_Y; |
2692 #endif | 2692 #endif |
2693 } | 2693 } |
2694 } | 2694 } |
2695 | 2695 |
2696 void iconsMainIconsAreaSet (MfwRect selected_area) | 2696 void iconsMainIconsAreaSet (MfwRect selected_area) |
2697 { | 2697 { |
2698 | 2698 |
2699 | 2699 |
2700 copyAreaAttr( &mainIconSimToolkit.area, &selected_area); | 2700 copyAreaAttr( &mainIconSimToolkit.area, &selected_area); |
2701 copyAreaAttr( &mainIconCalculator.area, &selected_area); | 2701 copyAreaAttr( &mainIconCalculator.area, &selected_area); |
2702 copyAreaAttr( &mainIconSettings.area, &selected_area); | 2702 copyAreaAttr( &mainIconSettings.area, &selected_area); |
2703 copyAreaAttr( &mainIconWAP.area, &selected_area); | 2703 copyAreaAttr( &mainIconWAP.area, &selected_area); |
2704 copyAreaAttr( &mainIconRecentCalls.area, &selected_area); | 2704 copyAreaAttr( &mainIconRecentCalls.area, &selected_area); |
2706 copyAreaAttr( &mainIconSecurity.area, &selected_area); | 2706 copyAreaAttr( &mainIconSecurity.area, &selected_area); |
2707 copyAreaAttr( &mainIconMessages.area, &selected_area); | 2707 copyAreaAttr( &mainIconMessages.area, &selected_area); |
2708 copyAreaAttr( &mainIconPhonebook.area, &selected_area); | 2708 copyAreaAttr( &mainIconPhonebook.area, &selected_area); |
2709 | 2709 |
2710 /* | 2710 /* |
2711 #ifdef COLOURDISPLAY | 2711 #ifdef COLOURDISPLAY |
2712 #ifdef USE110X110 | 2712 #ifdef USE110X110 |
2713 //No 110x110 for sim toolkit yet | 2713 //No 110x110 for sim toolkit yet |
2714 mainIconSimToolkit.area.sx = 96; | 2714 mainIconSimToolkit.area.sx = 96; |
2715 mainIconSimToolkit.area.sy = 96; | 2715 mainIconSimToolkit.area.sy = 96; |
2716 #else | 2716 #else |
2724 | 2724 |
2725 /******************************************************************************* | 2725 /******************************************************************************* |
2726 | 2726 |
2727 $Function: () | 2727 $Function: () |
2728 | 2728 |
2729 $Description: | 2729 $Description: |
2730 | 2730 |
2731 $Returns: None | 2731 $Returns: None |
2732 | 2732 |
2733 $Arguments: None | 2733 $Arguments: None |
2734 | 2734 |
2735 *******************************************************************************/ | 2735 *******************************************************************************/ |
2736 #ifdef COLOURDISPLAY | 2736 #ifdef COLOURDISPLAY |
2737 static T_BITMAP bgdBmpBubbles = {{0,0,120,120},1,COLOUR_ICON_XX,BMP_FORMAT_32BIT_COLOUR,(char*) bmpDataBubbles}; | 2737 static T_BITMAP bgdBmpBubbles = {{0,0,120,120},1,COLOUR_ICON_XX,BMP_FORMAT_32BIT_COLOUR,(char*) bmpDataBubbles}; |
2738 static T_BITMAP bgdBmpCloud = {{0,0,120,100},1,COLOUR_ICON_XX,BMP_FORMAT_32BIT_COLOUR,(char*) bmpDataCloud}; | 2738 static T_BITMAP bgdBmpCloud = {{0,0,120,100},1,COLOUR_ICON_XX,BMP_FORMAT_32BIT_COLOUR,(char*) bmpDataCloud}; |
2739 /* x0039928 - Lint warning removal | 2739 /* x0039928 - Lint warning removal |
2740 static T_BITMAP bgdBmpSquares = {{0,0,176,220},1,COLOUR_ICON_XX, ICON_TYPE_16BIT_COL, (char *)bmpDataSquares }; | 2740 static T_BITMAP bgdBmpSquares = {{0,0,176,220},1,COLOUR_ICON_XX, ICON_TYPE_16BIT_COL, (char *)bmpDataSquares }; |
2741 static T_BITMAP bgdBmpO2 = {{0,0,120,100},1,COLOUR_ICON_XX,BMP_FORMAT_16BIT_LCD_COLOUR,(char*) bmpDataSquares}; | 2741 static T_BITMAP bgdBmpO2 = {{0,0,120,100},1,COLOUR_ICON_XX,BMP_FORMAT_16BIT_LCD_COLOUR,(char*) bmpDataSquares}; |
2742 static T_BITMAP bgdBmpTree = {{0,0,120,100},1,COLOUR_ICON_XX,BMP_FORMAT_16BIT_LCD_COLOUR,(char*) bmpDataSquares}; */ | 2742 static T_BITMAP bgdBmpTree = {{0,0,120,100},1,COLOUR_ICON_XX,BMP_FORMAT_16BIT_LCD_COLOUR,(char*) bmpDataSquares}; */ |
2743 // by Nitin to set the TI Logo position | 2743 // by Nitin to set the TI Logo position |
2744 // This has to be permamnantly done for Neptune | 2744 // This has to be permamnantly done for Neptune |
2745 #if (BOARD == 61) | 2745 #if (BOARD == 61) |
2788 return (&Edinburgh3_Bgd); | 2788 return (&Edinburgh3_Bgd); |
2789 case BGD_EDINBURGH4: | 2789 case BGD_EDINBURGH4: |
2790 return (&Edinburgh4_Bgd); | 2790 return (&Edinburgh4_Bgd); |
2791 case BGD_INCALL: | 2791 case BGD_INCALL: |
2792 return(&call_backdrop); | 2792 return(&call_backdrop); |
2793 | 2793 |
2794 } | 2794 } |
2795 #endif | 2795 #endif |
2796 return (NULL); | 2796 return (NULL); |
2797 } | 2797 } |
2798 | 2798 |
2801 /******************************************************************************* | 2801 /******************************************************************************* |
2802 | 2802 |
2803 $Function: addnetwork | 2803 $Function: addnetwork |
2804 | 2804 |
2805 $Description: This function adds a link between a bitmap and a network number. | 2805 $Description: This function adds a link between a bitmap and a network number. |
2806 | 2806 |
2807 $Returns: None | 2807 $Returns: None |
2808 | 2808 |
2809 $Arguments: networkBitmap - pointer to the bitmap data | 2809 $Arguments: networkBitmap - pointer to the bitmap data |
2810 networkNo - pointer to the UBYTE array containing the network number | 2810 networkNo - pointer to the UBYTE array containing the network number |
2811 | 2811 |
2812 *******************************************************************************/ | 2812 *******************************************************************************/ |
2813 #define MAX_NETWORK_NUMBER 50 | 2813 #define MAX_NETWORK_NUMBER 50 |
2814 typedef struct { | 2814 typedef struct { |
2815 char *num; | 2815 char *num; |
2816 T_BITMAP *bmp; | 2816 T_BITMAP *bmp; |
2844 | 2844 |
2845 /******************************************************************************* | 2845 /******************************************************************************* |
2846 | 2846 |
2847 $Function: icon_initNetworkBitmaps | 2847 $Function: icon_initNetworkBitmaps |
2848 | 2848 |
2849 $Description: This procedure initialises the link between a network icon and a network | 2849 $Description: This procedure initialises the link between a network icon and a network |
2850 number. | 2850 number. |
2851 NB This data should probably be stored in flash. | 2851 NB This data should probably be stored in flash. |
2852 | 2852 |
2853 $Returns: None | 2853 $Returns: None |
2854 | 2854 |
2855 $Arguments: None | 2855 $Arguments: None |
2856 | 2856 |
2857 *******************************************************************************/ | 2857 *******************************************************************************/ |
2858 void icon_initNetworkBitmaps( void ) | 2858 void icon_initNetworkBitmaps( void ) |
2859 { | 2859 { |
2860 int i; | 2860 int i; |
2861 for (i=0;i< MAX_NETWORK_NUMBER;i++) | 2861 for (i=0;i< MAX_NETWORK_NUMBER;i++) |
2862 { | 2862 { |
2863 networkBitmap[i].num = NULL; | 2863 networkBitmap[i].num = NULL; |
2864 networkBitmap[i].bmp = NULL; | 2864 networkBitmap[i].bmp = NULL; |
2865 } | 2865 } |
2866 //AP - 29-01-03 - initialise the value to true to show the Bitmap | 2866 //AP - 29-01-03 - initialise the value to true to show the Bitmap |
2867 //FFS_flashData.ProviderNetworkShow = FFS_flashData.ProviderNetworkShow; | 2867 //FFS_flashData.ProviderNetworkShow = FFS_flashData.ProviderNetworkShow; |
2868 /* API - 29-01-03 - Allowed to uses these service provider bitmaps O2 is still commented out we | 2868 /* API - 29-01-03 - Allowed to uses these service provider bitmaps O2 is still commented out we |
2869 dont have this bitmap yet. | 2869 dont have this bitmap yet. |
2870 */ | 2870 */ |
2871 /* T MOBILE Bitmaps */ | 2871 /* T MOBILE Bitmaps */ |
2872 addnetwork(&Tmobile_icon, "23430"); /* UK */ | 2872 addnetwork(&Tmobile_icon, "23430"); /* UK */ |
2873 addnetwork(&Tmobile_icon, "23431"); /* UK */ | 2873 addnetwork(&Tmobile_icon, "23431"); /* UK */ |
2874 addnetwork(&Tmobile_icon, "23432"); /* UK */ | 2874 addnetwork(&Tmobile_icon, "23432"); /* UK */ |
2875 addnetwork(&Tmobile_icon, "23203"); /* Austria */ | 2875 addnetwork(&Tmobile_icon, "23203"); /* Austria */ |
2876 addnetwork(&Tmobile_icon, "23001"); /* Czeck */ | 2876 addnetwork(&Tmobile_icon, "23001"); /* Czeck */ |
2877 addnetwork(&Tmobile_icon, "26201"); /* Germany */ | 2877 addnetwork(&Tmobile_icon, "26201"); /* Germany */ |
2878 addnetwork(&Tmobile_icon, "TMO UK"); /* UK */ | 2878 addnetwork(&Tmobile_icon, "TMO UK"); /* UK */ |
2879 | 2879 |
2880 addnetwork(&Tmobile_icon, "31016"); /* USA */ | 2880 addnetwork(&Tmobile_icon, "31016"); /* USA */ |
2881 addnetwork(&Tmobile_icon, "31020"); /* USA */ | 2881 addnetwork(&Tmobile_icon, "31020"); /* USA */ |
2889 addnetwork(&Tmobile_icon, "31031"); /* USA */ | 2889 addnetwork(&Tmobile_icon, "31031"); /* USA */ |
2890 addnetwork(&Tmobile_icon, "31058"); /* USA */ | 2890 addnetwork(&Tmobile_icon, "31058"); /* USA */ |
2891 addnetwork(&Tmobile_icon, "31066"); /* USA */ | 2891 addnetwork(&Tmobile_icon, "31066"); /* USA */ |
2892 addnetwork(&Tmobile_icon, "31080"); /* USA */ | 2892 addnetwork(&Tmobile_icon, "31080"); /* USA */ |
2893 | 2893 |
2894 /* VODAFONE Bitmaps */ | 2894 /* VODAFONE Bitmaps */ |
2895 addnetwork(&Vodafone_icon, "23415"); /* UK */ | 2895 addnetwork(&Vodafone_icon, "23415"); /* UK */ |
2896 addnetwork(&Vodafone_icon, "26202"); /* Germany */ | 2896 addnetwork(&Vodafone_icon, "26202"); /* Germany */ |
2897 addnetwork(&Vodafone_icon, "27201"); /* Ireland */ | 2897 addnetwork(&Vodafone_icon, "27201"); /* Ireland */ |
2898 addnetwork(&Vodafone_icon, "20404"); /* Holand */ | 2898 addnetwork(&Vodafone_icon, "20404"); /* Holand */ |
2899 addnetwork(&Vodafone_icon, "24008"); /* Sweden */ | 2899 addnetwork(&Vodafone_icon, "24008"); /* Sweden */ |
2900 | 2900 |
2901 /* O2 Bitmaps */ | 2901 /* O2 Bitmaps */ |
2902 // addnetwork(&O2UK_bmp, "23410"); | 2902 // addnetwork(&O2UK_bmp, "23410"); |
2903 | 2903 |
2904 /* Orange Bitmaps */ | 2904 /* Orange Bitmaps */ |
2905 addnetwork(&orange_icon, "34001"); | 2905 addnetwork(&orange_icon, "34001"); |
2906 addnetwork(&orange_icon, "20801"); | 2906 addnetwork(&orange_icon, "20801"); |
2907 addnetwork(&orange_icon, "23433"); | 2907 addnetwork(&orange_icon, "23433"); |
2908 addnetwork(&orange_icon, "23830"); | 2908 addnetwork(&orange_icon, "23830"); |
2910 | 2910 |
2911 } | 2911 } |
2912 | 2912 |
2913 /******************************************************************************* | 2913 /******************************************************************************* |
2914 | 2914 |
2915 $Function: | 2915 $Function: |
2916 | 2916 |
2917 $Description: function to convert 'n' characters in an UBYTE array into a positive integer. | 2917 $Description: function to convert 'n' characters in an UBYTE array into a positive integer. |
2918 | 2918 |
2919 $Returns: Value in the string | 2919 $Returns: Value in the string |
2920 | 2920 |
2921 $Arguments: str - pointer to the string | 2921 $Arguments: str - pointer to the string |
2922 maxChar - last possible char of the number | 2922 maxChar - last possible char of the number |
2923 | 2923 |
2924 *******************************************************************************/ | 2924 *******************************************************************************/ |
2925 int UbyteToInt(UBYTE* str, int maxChar) | 2925 int UbyteToInt(UBYTE* str, int maxChar) |
2926 { | 2926 { |
2927 int num = 0; | 2927 int num = 0; |
2928 int i; | 2928 int i; |
2939 /******************************************************************************* | 2939 /******************************************************************************* |
2940 | 2940 |
2941 $Function: icon_getNetworkIcon | 2941 $Function: icon_getNetworkIcon |
2942 | 2942 |
2943 $Description: This procedure returns a bitmap based on the suplied network number. | 2943 $Description: This procedure returns a bitmap based on the suplied network number. |
2944 | 2944 |
2945 $Returns: Pointer to the network logo bitmap | 2945 $Returns: Pointer to the network logo bitmap |
2946 | 2946 |
2947 $Arguments: networkNumber - array of data corresponding to the network number | 2947 $Arguments: networkNumber - array of data corresponding to the network number |
2948 NB This may not be null terminated. | 2948 NB This may not be null terminated. |
2949 | 2949 |
2950 *******************************************************************************/ | 2950 *******************************************************************************/ |
2951 T_BITMAP* icon_getNetworkIcon( UBYTE* networkNumber) | 2951 T_BITMAP* icon_getNetworkIcon( UBYTE* networkNumber) |
2952 { | 2952 { |
2953 char num[SIZE_PLMN_NAME+1]; | 2953 char num[SIZE_PLMN_NAME+1]; |
2954 int i; | 2954 int i; |
2960 init=0; | 2960 init=0; |
2961 } | 2961 } |
2962 // AP - 29-01-03 - IF this is satisfied we dont want to show provider icon | 2962 // AP - 29-01-03 - IF this is satisfied we dont want to show provider icon |
2963 if( FFS_flashData.ProviderNetworkShow == FALSE ) | 2963 if( FFS_flashData.ProviderNetworkShow == FALSE ) |
2964 return ( NULL ); | 2964 return ( NULL ); |
2965 | 2965 |
2966 //NB: NetworkNumber may not be null terminated | 2966 //NB: NetworkNumber may not be null terminated |
2967 for (i=0;i<SIZE_PLMN_NAME;i++) | 2967 for (i=0;i<SIZE_PLMN_NAME;i++) |
2968 num[i] = (char)networkNumber[i]; | 2968 num[i] = (char)networkNumber[i]; |
2969 num[SIZE_PLMN_NAME] = 0x00; | 2969 num[SIZE_PLMN_NAME] = 0x00; |
2970 for (i=0;i<MAX_NETWORK_NUMBER;i++) | 2970 for (i=0;i<MAX_NETWORK_NUMBER;i++) |
2978 /******************************************************************************* | 2978 /******************************************************************************* |
2979 | 2979 |
2980 $Function: icon_getBitmapIdFromText() | 2980 $Function: icon_getBitmapIdFromText() |
2981 | 2981 |
2982 $Description: This procedure selects a bitmap Id depending on the textid passed to it. | 2982 $Description: This procedure selects a bitmap Id depending on the textid passed to it. |
2983 | 2983 |
2984 $Returns: data - enumerated type corresponding to the desired bitmap | 2984 $Returns: data - enumerated type corresponding to the desired bitmap |
2985 | 2985 |
2986 $Arguments: mnuId - text id corresponding to the desired bitmap | 2986 $Arguments: mnuId - text id corresponding to the desired bitmap |
2987 | 2987 |
2988 *******************************************************************************/ | 2988 *******************************************************************************/ |
2989 int icon_getBitmapIdFromText( int mnuId ) | 2989 int icon_getBitmapIdFromText( int mnuId ) |
2990 { | 2990 { |
2991 int data; | 2991 int data; |
2992 TRACE_FUNCTION("icon_getBitmapIdFromText()"); | 2992 TRACE_FUNCTION("icon_getBitmapIdFromText()"); |
3034 $Function: icon_getBitmapFromId | 3034 $Function: icon_getBitmapFromId |
3035 | 3035 |
3036 $Description: This procedure selects a bitmap depending on the bgd id passed to it. | 3036 $Description: This procedure selects a bitmap depending on the bgd id passed to it. |
3037 The procedure can return a pointer to the data or, if a data structure is | 3037 The procedure can return a pointer to the data or, if a data structure is |
3038 already in use, can copy the data out into the new structure. | 3038 already in use, can copy the data out into the new structure. |
3039 | 3039 |
3040 $Returns: data - pointer to the bitmap | 3040 $Returns: data - pointer to the bitmap |
3041 | 3041 |
3042 $Arguments: bgdId - enumerated type corresponding to the desired bitmap | 3042 $Arguments: bgdId - enumerated type corresponding to the desired bitmap |
3043 *bmpData - pointer to a structure that can store the bitmap data (if required) | 3043 *bmpData - pointer to a structure that can store the bitmap data (if required) |
3044 | 3044 |
3045 *******************************************************************************/ | 3045 *******************************************************************************/ |
3046 T_BITMAP *icon_getBitmapFromId( int bgdId, T_BITMAP *bmpData) | 3046 T_BITMAP *icon_getBitmapFromId( int bgdId, T_BITMAP *bmpData) |
3047 { | 3047 { |
3048 T_BITMAP* data; | 3048 T_BITMAP* data; |
3049 TRACE_FUNCTION("icon_getBitmapFromId()"); | 3049 TRACE_FUNCTION("icon_getBitmapFromId()"); |
3050 | 3050 |
3051 data = icon_getBgdBitmap( bgdId ); | 3051 data = icon_getBgdBitmap( bgdId ); |
3052 //Update the supplied data structure (if any) | 3052 //Update the supplied data structure (if any) |
3053 if (bmpData != NULL) | 3053 if (bmpData != NULL) |
3062 bmpData->area.px = data->area.px; | 3062 bmpData->area.px = data->area.px; |
3063 bmpData->area.py = data->area.py; | 3063 bmpData->area.py = data->area.py; |
3064 bmpData->area.sx = data->area.sx; | 3064 bmpData->area.sx = data->area.sx; |
3065 bmpData->area.sy = data->area.sy; | 3065 bmpData->area.sy = data->area.sy; |
3066 bmpData->area.sx = data->area.sx; | 3066 bmpData->area.sx = data->area.sx; |
3067 bmpData->nIcons = data->nIcons; | 3067 bmpData->nIcons = data->nIcons; |
3068 bmpData->iconCol = data->iconCol; | 3068 bmpData->iconCol = data->iconCol; |
3069 bmpData->icnType = data->icnType; | 3069 bmpData->icnType = data->icnType; |
3070 bmpData->icons = data->icons; | 3070 bmpData->icons = data->icons; |
3071 } | 3071 } |
3072 } | 3072 } |
3073 return (data); | 3073 return (data); |
3074 } | 3074 } |
3075 | 3075 |
3077 /******************************************************************************* | 3077 /******************************************************************************* |
3078 | 3078 |
3079 $Function: icon_bgdMenuSelected() | 3079 $Function: icon_bgdMenuSelected() |
3080 | 3080 |
3081 $Description: This procedure is called when a background image is selected from a menu. | 3081 $Description: This procedure is called when a background image is selected from a menu. |
3082 | 3082 |
3083 $Returns: None | 3083 $Returns: None |
3084 | 3084 |
3085 $Arguments: None | 3085 $Arguments: None |
3086 | 3086 |
3087 *******************************************************************************/ | 3087 *******************************************************************************/ |
3088 int icon_bgdMenuSelected(MfwMnu* mnu, MfwMnuItem* mnuItem) | 3088 int icon_bgdMenuSelected(MfwMnu* mnu, MfwMnuItem* mnuItem) |
3089 { | 3089 { |
3090 T_MFW_HND win = mfw_parent(mfw_header()); | 3090 T_MFW_HND win = mfw_parent(mfw_header()); |
3091 int mnuId; | 3091 int mnuId; |
3097 int storedMenuId; | 3097 int storedMenuId; |
3098 | 3098 |
3099 //The destination for the bitmap has been storeed by the previous menu selection | 3099 //The destination for the bitmap has been storeed by the previous menu selection |
3100 storedMenuId = MmiBook_getStoredOption(); | 3100 storedMenuId = MmiBook_getStoredOption(); |
3101 mnuId = (int)mnuItem->str; | 3101 mnuId = (int)mnuItem->str; |
3102 | 3102 |
3103 //Get the BMI index corresponding to the text string | 3103 //Get the BMI index corresponding to the text string |
3104 bmpId = icon_getBitmapIdFromText(mnuId); | 3104 bmpId = icon_getBitmapIdFromText(mnuId); |
3105 | 3105 |
3106 //Depending on where this is to be displayed, we need either a pointer to the data or we | 3106 //Depending on where this is to be displayed, we need either a pointer to the data or we |
3107 //must copy the data out of the structure to update another structure. | 3107 //must copy the data out of the structure to update another structure. |
3108 switch (storedMenuId) | 3108 switch (storedMenuId) |
3109 { | 3109 { |
3110 case TxtIdleScreen: | 3110 case TxtIdleScreen: |
3111 /* Update idle screen bitmap */ | 3111 /* Update idle screen bitmap */ |
3112 idle_setBgdBitmap(bmpId); | 3112 idle_setBgdBitmap(bmpId); |
3113 FFS_flashData.IdleScreenBgd = bmpId; | 3113 FFS_flashData.IdleScreenBgd = bmpId; |
3114 break; | 3114 break; |
3115 case TxtMenuScreen: | 3115 case TxtMenuScreen: |
3116 /* The menu screen bitmap is a fixed structure - we need to update the data within*/ | 3116 /* The menu screen bitmap is a fixed structure - we need to update the data within*/ |
3117 icon_setMainBgdBitmap(bmpId); | 3117 icon_setMainBgdBitmap(bmpId); |
3118 FFS_flashData.MainMenuBgd = bmpId; | 3118 FFS_flashData.MainMenuBgd = bmpId; |
3119 break; | 3119 break; |
3120 | 3120 |
3121 default: //unknown option | 3121 default: //unknown option |
3122 break; | 3122 break; |
3123 } | 3123 } |
3124 | 3124 |
3125 info_screen(win, TxtBackground, TxtSelected, 0); | 3125 info_screen(win, TxtBackground, TxtSelected, 0); |
3129 /******************************************************************************* | 3129 /******************************************************************************* |
3130 | 3130 |
3131 $Function: icon_networkShow | 3131 $Function: icon_networkShow |
3132 | 3132 |
3133 $Description: Procedure to show acivation of Provider Bitmap | 3133 $Description: Procedure to show acivation of Provider Bitmap |
3134 | 3134 |
3135 $Returns: Event consumed | 3135 $Returns: Event consumed |
3136 | 3136 |
3137 $Arguments: None | 3137 $Arguments: None |
3138 | 3138 |
3139 *******************************************************************************/ | 3139 *******************************************************************************/ |
3140 | 3140 |
3141 int icon_networkShow (MfwMnu* m, MfwMnuItem* i) | 3141 int icon_networkShow (MfwMnu* m, MfwMnuItem* i) |
3142 { | 3142 { |
3143 T_MFW_HND win = mfwParent(mfw_header()); | 3143 T_MFW_HND win = mfwParent(mfw_header()); |
3159 /******************************************************************************* | 3159 /******************************************************************************* |
3160 | 3160 |
3161 $Function: icon_networkDontShow | 3161 $Function: icon_networkDontShow |
3162 | 3162 |
3163 $Description: Procedure to show deActivate of Provider Bitmap | 3163 $Description: Procedure to show deActivate of Provider Bitmap |
3164 | 3164 |
3165 $Returns: None | 3165 $Returns: None |
3166 | 3166 |
3167 $Arguments: None | 3167 $Arguments: None |
3168 | 3168 |
3169 *******************************************************************************/ | 3169 *******************************************************************************/ |
3170 | 3170 |
3171 int icon_networkDontShow (MfwMnu* m, MfwMnuItem* i) | 3171 int icon_networkDontShow (MfwMnu* m, MfwMnuItem* i) |
3172 { | 3172 { |
3173 T_MFW_HND win = mfwParent(mfw_header()); | 3173 T_MFW_HND win = mfwParent(mfw_header()); |
3193 /******************************************************************************* | 3193 /******************************************************************************* |
3194 | 3194 |
3195 $Function: icon_getNetworkIcon | 3195 $Function: icon_getNetworkIcon |
3196 | 3196 |
3197 $Description: Dummy procedure for non-colour displays | 3197 $Description: Dummy procedure for non-colour displays |
3198 | 3198 |
3199 $Returns: None | 3199 $Returns: None |
3200 | 3200 |
3201 $Arguments: None | 3201 $Arguments: None |
3202 | 3202 |
3203 *******************************************************************************/ | 3203 *******************************************************************************/ |
3204 T_BITMAP* icon_getNetworkIcon( UBYTE* networkNumber) | 3204 T_BITMAP* icon_getNetworkIcon( UBYTE* networkNumber) |
3205 { | 3205 { |
3206 return (NULL); | 3206 return (NULL); |
3207 } | 3207 } |
3208 /******************************************************************************* | 3208 /******************************************************************************* |
3209 | 3209 |
3210 $Function: icon_getBitmapFromId | 3210 $Function: icon_getBitmapFromId |
3211 | 3211 |
3212 $Description: Dummy procedure for non-colour displays | 3212 $Description: Dummy procedure for non-colour displays |
3213 | 3213 |
3214 $Returns: None | 3214 $Returns: None |
3215 | 3215 |
3216 $Arguments: None | 3216 $Arguments: None |
3217 | 3217 |
3218 *******************************************************************************/ | 3218 *******************************************************************************/ |
3219 | 3219 |
3220 T_BITMAP *icon_getBitmapFromId( int bgdId, T_BITMAP *bmpData) | 3220 T_BITMAP *icon_getBitmapFromId( int bgdId, T_BITMAP *bmpData) |
3221 { | 3221 { |
3222 return (NULL); | 3222 return (NULL); |
3223 } | 3223 } |
3224 #endif | 3224 #endif |
3225 | 3225 |
3226 /******************************************************************************* | 3226 /******************************************************************************* |
3227 | 3227 |
3228 End Of File | 3228 End Of File |
3229 | 3229 |
3230 *******************************************************************************/ | 3230 *******************************************************************************/ |
3231 | 3231 |