comparison src/ui/bmi/mmiIcons.h @ 92:c0052fe355d3

src/ui/bmi/*.[ch]: rm trailing white space
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 08 Nov 2020 06:39:16 +0000
parents 67bfe9f274f6
children 5b6cd82fedea
comparison
equal deleted inserted replaced
91:c3d28a37caad 92:c0052fe355d3
3 3
4 /******************************************************************************* 4 /*******************************************************************************
5 5
6 CONDAT (UK) 6 CONDAT (UK)
7 7
8 ******************************************************************************** 8 ********************************************************************************
9 9
10 This software product is the property of Condat (UK) Ltd and may not be 10 This software product is the property of Condat (UK) Ltd and may not be
11 disclosed to any third party without the express permission of the owner. 11 disclosed to any third party without the express permission of the owner.
12 12
13 ******************************************************************************** 13 ********************************************************************************
14 14
15 $Project name: Basic MMI 15 $Project name: Basic MMI
16 $Project code: BMI (6349) 16 $Project code: BMI (6349)
17 $Module: Icons 17 $Module: Icons
18 $File: Mmiicons.h 18 $File: Mmiicons.h
19 $Revision: 1.0 19 $Revision: 1.0
20 20
21 $Author: Condat(UK) 21 $Author: Condat(UK)
22 $Date: 25/10/00 22 $Date: 25/10/00
23 23
24 ******************************************************************************** 24 ********************************************************************************
25 25
26 Description: 26 Description:
27 27
28 This provides the implementation of the icon handling in the basic MMI 28 This provides the implementation of the icon handling in the basic MMI
29 29
30 ******************************************************************************** 30 ********************************************************************************
31 $History: Mmiicons.h 31 $History: Mmiicons.h
32 32
33 Jun 09, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar) 33 Jun 09, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar)
34 Description : CPHS Roaming indication feature implementation 34 Description : CPHS Roaming indication feature implementation
35 Solution : As part of the implementation, in this file, Roaming icon is added to the list of icons 35 Solution : As part of the implementation, in this file, Roaming icon is added to the list of icons
36 36
37 Apr 17, 2006 REF: ER: OMAPS00075178 x0pleela 37 Apr 17, 2006 REF: ER: OMAPS00075178 x0pleela
38 Description: When the charger connect to phone(i-sample), the charger driver works, but the 38 Description: When the charger connect to phone(i-sample), the charger driver works, but the
39 MMI and App don't work 39 MMI and App don't work
40 Solution: Added prototype for the function BattChargeEventTim which is the callback called 40 Solution: Added prototype for the function BattChargeEventTim which is the callback called
41 for the timeout of battery charging timer 41 for the timeout of battery charging timer
42 42
43 Apr 27, 2004 REF: ENH 12646 Deepa M.D 43 Apr 27, 2004 REF: ENH 12646 Deepa M.D
44 Fix: When the SMS memory is full,the SMS icon is made to blink. 44 Fix: When the SMS memory is full,the SMS icon is made to blink.
45 25/10/00 Original Condat(UK) BMI version. 45 25/10/00 Original Condat(UK) BMI version.
46 46
47 $End 47 $End
48 48
49 *******************************************************************************/ 49 *******************************************************************************/
50 50
51 #include "MmiResources.h" //For display definition 51 #include "MmiResources.h" //For display definition
52 52
53 53
54 54
55 /******************************************************************************* 55 /*******************************************************************************
56 56
57 Required Definitions 57 Required Definitions
58 58
59 *******************************************************************************/ 59 *******************************************************************************/
60 60
61 #define ALLOC_MEMORY mfwAlloc 61 #define ALLOC_MEMORY mfwAlloc
62 #define FREE_MEMORY mfwFree 62 #define FREE_MEMORY mfwFree
63 63
64 64
65 65
66 66
67 /******************************************************************************* 67 /*******************************************************************************
68 68
69 Public Enum types 69 Public Enum types
70 70
71 *******************************************************************************/ 71 *******************************************************************************/
72 72
73 /* GW #1471 11/12/02 - Add TI logo as powerdown animation */ 73 /* GW #1471 11/12/02 - Add TI logo as powerdown animation */
74 #ifndef COLOURDISPLAY 74 #ifndef COLOURDISPLAY
75 #define animwelcome 10 75 #define animwelcome 10
87 iconIdVoice, /* icon New Voice mail */ 87 iconIdVoice, /* icon New Voice mail */
88 iconIdCallFor, /* icon Call forward uncond */ 88 iconIdCallFor, /* icon Call forward uncond */
89 iconIdSilRin, /* icon silent ringer */ 89 iconIdSilRin, /* icon silent ringer */
90 iconIdRoaming, /*icon Roaming Indicator */ /*Jun 09, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar)*/ 90 iconIdRoaming, /*icon Roaming Indicator */ /*Jun 09, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar)*/
91 iconIdKeyplock, /* icon Keypad locked */ 91 iconIdKeyplock, /* icon Keypad locked */
92 iconIdCipheringActiv, /* icon Ciphering */ 92 iconIdCipheringActiv, /* icon Ciphering */
93 iconIdCipheringDeActiv, /* icon Ciphering */ 93 iconIdCipheringDeActiv, /* icon Ciphering */
94 iconIdRinger, /* icon ringer */ 94 iconIdRinger, /* icon ringer */
95 iconIdVibrator, /* icon vibrator */ 95 iconIdVibrator, /* icon vibrator */
96 iconIdRingVibr, /* icon ringer + vibrator */ 96 iconIdRingVibr, /* icon ringer + vibrator */
97 iconIdAlarm, /* icon alarm on */ 97 iconIdAlarm, /* icon alarm on */
98 iconSIMTool, /* icon SIM Toolkit */ 98 iconSIMTool, /* icon SIM Toolkit */
103 iconServices, /* icon Services */ 103 iconServices, /* icon Services */
104 iconExtra, /* icon Extra */ 104 iconExtra, /* icon Extra */
105 iconWAP, /* icon WAP */ 105 iconWAP, /* icon WAP */
106 iconIdGPRSOn, /* icon GPRS ON (sbh 18/01/02) */ 106 iconIdGPRSOn, /* icon GPRS ON (sbh 18/01/02) */
107 iconIdHomezone, /* icon Homezone (SH 29/11/01) */ 107 iconIdHomezone, /* icon Homezone (SH 29/11/01) */
108 iconIdTTY, /* SPR#xxx- SH - icon TTY */ 108 iconIdTTY, /* SPR#xxx- SH - icon TTY */
109 #ifdef NEPTUNE_BOARD 109 #ifdef NEPTUNE_BOARD
110 /* OMAPS00074454 - Edge icon - 24-04-2006 */ 110 /* OMAPS00074454 - Edge icon - 24-04-2006 */
111 iconIdEdgeOn, /*EDGE Icon */ 111 iconIdEdgeOn, /*EDGE Icon */
112 /* END */ 112 /* END */
113 #endif 113 #endif
114 idlIdMax /* number of icons */ 114 idlIdMax /* number of icons */
115 } IconId; 115 } IconId;
116 116
117 typedef enum /* AVAILABLE ICONS INPUT MODE*/ 117 typedef enum /* AVAILABLE ICONS INPUT MODE*/
118 { 118 {
146 }IconSignId; 146 }IconSignId;
147 147
148 148
149 149
150 /******************************************************************************* 150 /*******************************************************************************
151 151
152 Externally declared data elements 152 Externally declared data elements
153 153
154 *******************************************************************************/ 154 *******************************************************************************/
155 155
156 extern const MfwIcnAttr idl_Attr[ idlIdMax ]; 156 extern const MfwIcnAttr idl_Attr[ idlIdMax ];
157 extern const MfwIcnAttr batt_Attr[ iconBattMax ]; 157 extern const MfwIcnAttr batt_Attr[ iconBattMax ];
158 extern const MfwIcnAttr sign_Attr[ iconSignalMax ]; 158 extern const MfwIcnAttr sign_Attr[ iconSignalMax ];
257 BGD_INCALL, 257 BGD_INCALL,
258 BGD_LAST 258 BGD_LAST
259 }; 259 };
260 260
261 /******************************************************************************* 261 /*******************************************************************************
262 262
263 Public method prototypes 263 Public method prototypes
264 264
265 *******************************************************************************/ 265 *******************************************************************************/
266 266
267 void iconsInit( void ); 267 void iconsInit( void );
268 void iconsExit( void ); 268 void iconsExit( void );
269 269
277 void iconsInputShow( int IconInputId ); 277 void iconsInputShow( int IconInputId );
278 278
279 void iconsMainIconsAreaSet (MfwRect selected_area); 279 void iconsMainIconsAreaSet (MfwRect selected_area);
280 void iconShowGoodbye(void); /* Warning Correction */ 280 void iconShowGoodbye(void); /* Warning Correction */
281 // Apr 27, 2004 REF: ENH 12646 Deepa M.D 281 // Apr 27, 2004 REF: ENH 12646 Deepa M.D
282 int iconsShowSmsFull(void ); //to start the timer for blinking SMS Icon 282 int iconsShowSmsFull(void ); //to start the timer for blinking SMS Icon
283 //x0pleela 11 Apr, 2006 ER: OMAPS00075178 283 //x0pleela 11 Apr, 2006 ER: OMAPS00075178
284 //Callback for battery charging animation timer 284 //Callback for battery charging animation timer
285 int BattChargeEventTim( MfwEvt e, MfwTim *tc ); 285 int BattChargeEventTim( MfwEvt e, MfwTim *tc );
286 286
287 T_BITMAP* icon_getNetworkIcon( UBYTE* networkNumber); 287 T_BITMAP* icon_getNetworkIcon( UBYTE* networkNumber);
288 T_BITMAP* icon_getBgdBitmap( int bgdId ); 288 T_BITMAP* icon_getBgdBitmap( int bgdId );
289 T_BITMAP *icon_getBitmapFromId( int bgdId, T_BITMAP *bmpData); 289 T_BITMAP *icon_getBitmapFromId( int bgdId, T_BITMAP *bmpData);
290 // Apr 27, 2004 REF: ENH 12646 Deepa M.D 290 // Apr 27, 2004 REF: ENH 12646 Deepa M.D
291 int smsFullEventTim( MfwEvt e, MfwTim *tc ); //Timer callback for blinking SMS Icon(sms_animate) 291 int smsFullEventTim( MfwEvt e, MfwTim *tc ); //Timer callback for blinking SMS Icon(sms_animate)
292 292
293 int icon_networkShow (MfwMnu* m, MfwMnuItem* i); 293 int icon_networkShow (MfwMnu* m, MfwMnuItem* i);
294 int icon_networkDontShow (MfwMnu* m, MfwMnuItem* i); 294 int icon_networkDontShow (MfwMnu* m, MfwMnuItem* i);
296 #define ICON_VISIBLE (0) 296 #define ICON_VISIBLE (0)
297 #define ICON_INVISIBLE (0xFF) 297 #define ICON_INVISIBLE (0xFF)
298 /******************************************************************************* 298 /*******************************************************************************
299 299
300 End Of File 300 End Of File
301 301
302 *******************************************************************************/ 302 *******************************************************************************/
303 303
304 #endif 304 #endif
305 305