FreeCalypso > hg > fc-tourmaline
comparison src/ui/bmi/mmiIcons.h @ 112:5b6cd82fedea
mmiIcons.h: bogotab fixes
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Mon, 09 Nov 2020 01:21:20 +0000 |
| parents | c0052fe355d3 |
| children | 62480f597962 |
comparison
equal
deleted
inserted
replaced
| 111:4d3d71a22b9d | 112:5b6cd82fedea |
|---|---|
| 1 #ifndef _MMIICONS_H_ | 1 #ifndef _MMIICONS_H_ |
| 2 #define _MMIICONS_H_ 1 | 2 #define _MMIICONS_H_ 1 |
| 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 |
| 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 | |
| 53 | 52 |
| 54 | 53 |
| 55 /******************************************************************************* | 54 /******************************************************************************* |
| 56 | 55 |
| 57 Required Definitions | 56 Required Definitions |
| 58 | 57 |
| 59 *******************************************************************************/ | 58 *******************************************************************************/ |
| 60 | 59 |
| 61 #define ALLOC_MEMORY mfwAlloc | 60 #define ALLOC_MEMORY mfwAlloc |
| 62 #define FREE_MEMORY mfwFree | 61 #define FREE_MEMORY mfwFree |
| 63 | |
| 64 | |
| 65 | 62 |
| 66 | 63 |
| 67 /******************************************************************************* | 64 /******************************************************************************* |
| 68 | 65 |
| 69 Public Enum types | 66 Public Enum types |
| 81 #endif | 78 #endif |
| 82 #define screenparts 5 | 79 #define screenparts 5 |
| 83 | 80 |
| 84 typedef enum /* AVAILABLE ICONS IDLE MODE*/ | 81 typedef enum /* AVAILABLE ICONS IDLE MODE*/ |
| 85 { | 82 { |
| 86 iconIdSMS = 0, /* icon New SMS message */ | 83 iconIdSMS = 0, /* icon New SMS message */ |
| 87 iconIdVoice, /* icon New Voice mail */ | 84 iconIdVoice, /* icon New Voice mail */ |
| 88 iconIdCallFor, /* icon Call forward uncond */ | 85 iconIdCallFor, /* icon Call forward uncond */ |
| 89 iconIdSilRin, /* icon silent ringer */ | 86 iconIdSilRin, /* icon silent ringer */ |
| 90 iconIdRoaming, /*icon Roaming Indicator */ /*Jun 09, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar)*/ | 87 iconIdRoaming, /*icon Roaming Indicator */ /*Jun 09, 2006 REF:OMAPS00079650 a0393213 (R.Prabakar)*/ |
| 91 iconIdKeyplock, /* icon Keypad locked */ | 88 iconIdKeyplock, /* icon Keypad locked */ |
| 92 iconIdCipheringActiv, /* icon Ciphering */ | 89 iconIdCipheringActiv, /* icon Ciphering */ |
| 93 iconIdCipheringDeActiv, /* icon Ciphering */ | 90 iconIdCipheringDeActiv, /* icon Ciphering */ |
| 94 iconIdRinger, /* icon ringer */ | 91 iconIdRinger, /* icon ringer */ |
| 95 iconIdVibrator, /* icon vibrator */ | 92 iconIdVibrator, /* icon vibrator */ |
| 96 iconIdRingVibr, /* icon ringer + vibrator */ | 93 iconIdRingVibr, /* icon ringer + vibrator */ |
| 97 iconIdAlarm, /* icon alarm on */ | 94 iconIdAlarm, /* icon alarm on */ |
| 98 iconSIMTool, /* icon SIM Toolkit */ | 95 iconSIMTool, /* icon SIM Toolkit */ |
| 99 iconMessages, /* icon Messages */ | 96 iconMessages, /* icon Messages */ |
| 100 iconOrganiser, /* icon Organiser */ | 97 iconOrganiser, /* icon Organiser */ |
| 101 iconSounds, /* icon Sounds */ | 98 iconSounds, /* icon Sounds */ |
| 102 iconSettings, /* icon Settings */ | 99 iconSettings, /* icon Settings */ |
| 103 iconServices, /* icon Services */ | 100 iconServices, /* icon Services */ |
| 104 iconExtra, /* icon Extra */ | 101 iconExtra, /* icon Extra */ |
| 105 iconWAP, /* icon WAP */ | 102 iconWAP, /* icon WAP */ |
| 106 iconIdGPRSOn, /* icon GPRS ON (sbh 18/01/02) */ | 103 iconIdGPRSOn, /* icon GPRS ON (sbh 18/01/02) */ |
| 107 iconIdHomezone, /* icon Homezone (SH 29/11/01) */ | 104 iconIdHomezone, /* icon Homezone (SH 29/11/01) */ |
| 108 iconIdTTY, /* SPR#xxx- SH - icon TTY */ | 105 iconIdTTY, /* SPR#xxx- SH - icon TTY */ |
| 109 #ifdef NEPTUNE_BOARD | 106 #ifdef NEPTUNE_BOARD |
| 110 /* OMAPS00074454 - Edge icon - 24-04-2006 */ | 107 /* OMAPS00074454 - Edge icon - 24-04-2006 */ |
| 111 iconIdEdgeOn, /*EDGE Icon */ | 108 iconIdEdgeOn, /*EDGE Icon */ |
| 112 /* END */ | 109 /* END */ |
| 113 #endif | 110 #endif |
| 125 inputIdMax /* number of icons */ | 122 inputIdMax /* number of icons */ |
| 126 } IconInputId; | 123 } IconInputId; |
| 127 | 124 |
| 128 typedef enum /* AVAILABLE ICONS BATTERY */ | 125 typedef enum /* AVAILABLE ICONS BATTERY */ |
| 129 { | 126 { |
| 130 iconBattery4 = 0, /* icon Battery 0-4% */ | 127 iconBattery4 = 0, /* icon Battery 0-4% */ |
| 131 iconBattery14, /* icon Battery 5-14% */ | 128 iconBattery14, /* icon Battery 5-14% */ |
| 132 iconBattery24, /* icon Battery 15-24% */ | 129 iconBattery24, /* icon Battery 15-24% */ |
| 133 iconBattery49, /* icon Battery 25-49% */ | 130 iconBattery49, /* icon Battery 25-49% */ |
| 134 iconBattery100, /* icon Battery 50-100% */ | 131 iconBattery100, /* icon Battery 50-100% */ |
| 135 iconBattMax /* number of batterie icon */ | 132 iconBattMax /* number of batterie icon */ |
| 136 }IconBattId; | 133 }IconBattId; |
| 137 | 134 |
| 138 typedef enum /* AVAILABLE ICONS SIGNAL */ | 135 typedef enum /* AVAILABLE ICONS SIGNAL */ |
| 139 { | 136 { |
| 140 iconSigStat49 = 0, /* icon Signal 0-49 */ | 137 iconSigStat49 = 0, /* icon Signal 0-49 */ |
| 141 iconSigStat99, /* icon Signal 50-99 */ | 138 iconSigStat99, /* icon Signal 50-99 */ |
| 142 iconSigStat149, /* icon Signal 100-149 */ | 139 iconSigStat149, /* icon Signal 100-149 */ |
| 143 iconSigStat199, /* icon Signal 150-199 */ | 140 iconSigStat199, /* icon Signal 150-199 */ |
| 144 iconSigStat255, /* icon Signal 200-255 */ | 141 iconSigStat255, /* icon Signal 200-255 */ |
| 145 iconSignalMax /* number of signal icon */ | 142 iconSignalMax /* number of signal icon */ |
| 146 }IconSignId; | 143 }IconSignId; |
| 147 | 144 |
| 148 | 145 |
| 149 | 146 |
| 150 /******************************************************************************* | 147 /******************************************************************************* |
| 240 extern const unsigned char multi_pointer[]; | 237 extern const unsigned char multi_pointer[]; |
| 241 | 238 |
| 242 #define T_BITMAP MfwIcnAttr | 239 #define T_BITMAP MfwIcnAttr |
| 243 | 240 |
| 244 enum { | 241 enum { |
| 245 BGD_NONE, | 242 BGD_NONE, |
| 246 BGD_BUBBLES, | 243 BGD_BUBBLES, |
| 247 BGD_CLOUD, | 244 BGD_CLOUD, |
| 248 BGD_SQUARE, | 245 BGD_SQUARE, |
| 249 BGD_O2, | 246 BGD_O2, |
| 250 BGD_TI_LOGO, | 247 BGD_TI_LOGO, |
| 251 BGD_TREE, | 248 BGD_TREE, |
| 252 BGD_SUNSET, | 249 BGD_SUNSET, |
| 253 BGD_EDINBURGH1, | 250 BGD_EDINBURGH1, |
| 254 BGD_EDINBURGH2, | 251 BGD_EDINBURGH2, |
| 255 BGD_EDINBURGH3, | 252 BGD_EDINBURGH3, |
| 256 BGD_EDINBURGH4, | 253 BGD_EDINBURGH4, |
| 257 BGD_INCALL, | 254 BGD_INCALL, |
| 258 BGD_LAST | 255 BGD_LAST |
| 259 }; | 256 }; |
| 260 | 257 |
| 261 /******************************************************************************* | 258 /******************************************************************************* |
| 262 | 259 |
| 263 Public method prototypes | 260 Public method prototypes |
| 291 int smsFullEventTim( MfwEvt e, MfwTim *tc ); //Timer callback for blinking SMS Icon(sms_animate) | 288 int smsFullEventTim( MfwEvt e, MfwTim *tc ); //Timer callback for blinking SMS Icon(sms_animate) |
| 292 | 289 |
| 293 int icon_networkShow (MfwMnu* m, MfwMnuItem* i); | 290 int icon_networkShow (MfwMnu* m, MfwMnuItem* i); |
| 294 int icon_networkDontShow (MfwMnu* m, MfwMnuItem* i); | 291 int icon_networkDontShow (MfwMnu* m, MfwMnuItem* i); |
| 295 | 292 |
| 296 #define ICON_VISIBLE (0) | 293 #define ICON_VISIBLE (0) |
| 297 #define ICON_INVISIBLE (0xFF) | 294 #define ICON_INVISIBLE (0xFF) |
| 298 /******************************************************************************* | 295 /******************************************************************************* |
| 299 | 296 |
| 300 End Of File | 297 End Of File |
| 301 | 298 |
| 302 *******************************************************************************/ | 299 *******************************************************************************/ |
| 303 | 300 |
| 304 #endif | 301 #endif |
| 305 |
