comparison src/ui/bmi/mmiResources.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 48f280c19e16
children 62480f597962
comparison
equal deleted inserted replaced
91:c3d28a37caad 92:c0052fe355d3
36 $History: MmiResources.h 36 $History: MmiResources.h
37 37
38 May 15, 2006 DR: OMAPS00075852 - xreddymn 38 May 15, 2006 DR: OMAPS00075852 - xreddymn
39 Added new display zone which is located one line above the softkeys. 39 Added new display zone which is located one line above the softkeys.
40 40
41 May 10, 2004 REF: CRR 15753 Deepa M.D 41 May 10, 2004 REF: CRR 15753 Deepa M.D
42 Menuitem provided to set the validity period to maximum. 42 Menuitem provided to set the validity period to maximum.
43 43
44 25/10/00 Original Condat(UK) BMI version. 44 25/10/00 Original Condat(UK) BMI version.
45 03/10/02 Replaced most of the file with version on branch for issue 1150 (MC, SPR 1242) 45 03/10/02 Replaced most of the file with version on branch for issue 1150 (MC, SPR 1242)
46 46
81 #define MNUOFFSET (0) 81 #define MNUOFFSET (0)
82 82
83 #else 83 #else
84 // by nitin for QVGA LCD 84 // by nitin for QVGA LCD
85 #if (BOARD==61) 85 #if (BOARD==61)
86 #define SCREEN_SIZE_X 240 86 #define SCREEN_SIZE_X 240
87 #define SCREEN_SIZE_Y 320 87 #define SCREEN_SIZE_Y 320
88 #else 88 #else
89 #define SCREEN_SIZE_X 176 89 #define SCREEN_SIZE_X 176
90 #define SCREEN_SIZE_Y 220 90 #define SCREEN_SIZE_Y 220
91 #endif //(BOARD==61) 91 #endif //(BOARD==61)
92 92
93 #define LINE_HEIGHT 16 93 #define LINE_HEIGHT 16
94 #define CHAR_WIDTH 6 94 #define CHAR_WIDTH 6
95 #define LINE_HEIGHT_CHINESE (LINE_HEIGHT) 95 #define LINE_HEIGHT_CHINESE (LINE_HEIGHT)
109 extern int Easy_Text_Available; 109 extern int Easy_Text_Available;
110 ////////////////////////// 110 //////////////////////////
111 // Common window sizes // 111 // Common window sizes //
112 ////////////////////////// 112 //////////////////////////
113 113
114 #define BOOKSEARCH_EDITOR (ZONE_BOTTOM_LINE) 114 #define BOOKSEARCH_EDITOR (ZONE_BOTTOM_LINE)
115 115
116 /* SPR#1428 - SH - New Editor changes */ 116 /* SPR#1428 - SH - New Editor changes */
117 #ifdef NEW_EDITOR 117 #ifdef NEW_EDITOR
118 /* SH - moved here from MmiEditor.h */ 118 /* SH - moved here from MmiEditor.h */
119 //Zone data for drawing windows 119 //Zone data for drawing windows
193 //MMITimeDate 193 //MMITimeDate
194 #define TIMEDATE_EDITOR_AREA 0xFF15 194 #define TIMEDATE_EDITOR_AREA 0xFF15
195 195
196 //#define TIMEDATE_EDITOR_AREA 0,20,70,20 196 //#define TIMEDATE_EDITOR_AREA 0,20,70,20
197 #else 197 #else
198 #define BOOKDETAILS_EDITOR ZONE_FULL_SK_TITLE 198 #define BOOKDETAILS_EDITOR ZONE_FULL_SK_TITLE
199 #define NUMBER_EDITOR ZONE_FULL_SK_TITLE 199 #define NUMBER_EDITOR ZONE_FULL_SK_TITLE
200 #define PHONEBOOK_DLG_EDITOR ZONE_FULL_SK_TITLE 200 #define PHONEBOOK_DLG_EDITOR ZONE_FULL_SK_TITLE
201 #define BOOKSDN_EDITOR ZONE_FULL_SK_TITLE 201 #define BOOKSDN_EDITOR ZONE_FULL_SK_TITLE
202 202
203 //MMIbooksearchwindow 203 //MMIbooksearchwindow
204 #define CALL_EDITOR ZONE_FULL_SK_TITLE 204 #define CALL_EDITOR ZONE_FULL_SK_TITLE
205 #define CALLSCRATCHPAD_EDITOR ZONE_FULL_SK_TITLE 205 #define CALLSCRATCHPAD_EDITOR ZONE_FULL_SK_TITLE
206 #define SERVICE_CREATE_EDITOR ZONE_FULL_SK_TITLE 206 #define SERVICE_CREATE_EDITOR ZONE_FULL_SK_TITLE
207 #define EM_CREATE_EDITOR ZONE_FULL_SK_TITLE 207 #define EM_CREATE_EDITOR ZONE_FULL_SK_TITLE
208 #define PASSWORD_EDITOR ZONE_FULL_SK_TITLE 208 #define PASSWORD_EDITOR ZONE_FULL_SK_TITLE
209 /* SPR#1428 - SH - New Editor changes - change these so they look better */ 209 /* SPR#1428 - SH - New Editor changes - change these so they look better */
210 #ifdef NEW_EDITOR 210 #ifdef NEW_EDITOR
211 #define WIN_DIALLING (ZONE_ICONS|ZONE_SOFTKEYS|ZONE_FULL_WIDTH|ZONE_BOTTOMTWOLINES_HEIGHT) 211 #define WIN_DIALLING (ZONE_ICONS|ZONE_SOFTKEYS|ZONE_FULL_WIDTH|ZONE_BOTTOMTWOLINES_HEIGHT)
212 /* xreddymn OMAPS00075852 May-15-2006: Changed display zone */ 212 /* xreddymn OMAPS00075852 May-15-2006: Changed display zone */
219 #define WIN_DIALLING_CB (ZONE_ICONS|ZONE_SOFTKEYS|ZONE_MIDDLE_WIDTH|ZONE_MIDDLE_HEIGHT) 219 #define WIN_DIALLING_CB (ZONE_ICONS|ZONE_SOFTKEYS|ZONE_MIDDLE_WIDTH|ZONE_MIDDLE_HEIGHT)
220 #define WIN_DIALLING_SMS (ZONE_ICONS|ZONE_SOFTKEYS|ZONE_FULL_WIDTH|ZONE_BOTTOMHALF_HEIGHT) 220 #define WIN_DIALLING_SMS (ZONE_ICONS|ZONE_SOFTKEYS|ZONE_FULL_WIDTH|ZONE_BOTTOMHALF_HEIGHT)
221 #define WIN_DIALLING_SAT (ZONE_ICONS|ZONE_SOFTKEYS|ZONE_FULL_WIDTH|ZONE_BOTTOMTWOLINES_HEIGHT) 221 #define WIN_DIALLING_SAT (ZONE_ICONS|ZONE_SOFTKEYS|ZONE_FULL_WIDTH|ZONE_BOTTOMTWOLINES_HEIGHT)
222 #endif /* NEW_EDITOR */ 222 #endif /* NEW_EDITOR */
223 223
224 #define PHNO_EDITOR ZONE_FULL_SK_TITLE 224 #define PHNO_EDITOR ZONE_FULL_SK_TITLE
225 225
226 #define CENTRE_EDITOR ZONE_FULL_SK_TITLE 226 #define CENTRE_EDITOR ZONE_FULL_SK_TITLE
227 227
228 //And for MMIServices - moved here from mmiservices.c 228 //And for MMIServices - moved here from mmiservices.c
229 #define SAT_EDITOR ZONE_FULL_SK_TITLE 229 #define SAT_EDITOR ZONE_FULL_SK_TITLE
230 230
231 #define RPWD_EDITOR ZONE_FULL_SK_TITLE 231 #define RPWD_EDITOR ZONE_FULL_SK_TITLE
232 232
233 //MMIBookCallDetails 233 //MMIBookCallDetails
234 #define PHB_EDITOR ZONE_FULL_SK_TITLE 234 #define PHB_EDITOR ZONE_FULL_SK_TITLE
235 235
236 //MMIPins 236 //MMIPins
237 #define PIN_EDIT_RESET ZONE_FULL_SK_TITLE 237 #define PIN_EDIT_RESET ZONE_FULL_SK_TITLE
238 238
239 //MMITimeDate 239 //MMITimeDate
240 #define TIMEDATE_EDITOR_AREA ZONE_FULL_SK_TITLE 240 #define TIMEDATE_EDITOR_AREA ZONE_FULL_SK_TITLE
241 //#define TIMEDATE_EDITOR_AREA 0,20,70,20 241 //#define TIMEDATE_EDITOR_AREA 0,20,70,20
242 242
243 #endif 243 #endif
244 244
245 //For displaying call information 245 //For displaying call information
277 277
278 //MMIIdle 278 //MMIIdle
279 //indent for text on idle screen 279 //indent for text on idle screen
280 #define IDLEMENUTXT1_X 16 280 #define IDLEMENUTXT1_X 16
281 #define IDLEMENUTXT2_X TXTCHARGE_X 281 #define IDLEMENUTXT2_X TXTCHARGE_X
282 282
283 283
284 //MMIPins 284 //MMIPins
285 #define INFO_TEXT_X 0 285 #define INFO_TEXT_X 0
286 #define INFO_TEXT_Y 6 286 #define INFO_TEXT_Y 6
287 287
288 288
289 289
290 extern MfwRect selected_area; 290 extern MfwRect selected_area;
291 291
292 //MMIEditor 292 //MMIEditor
293 #define EDITOR_TOP_LEFT_POS_X 4 293 #define EDITOR_TOP_LEFT_POS_X 4
294 #define EDITOR_TOP_LEFT_POS_Y (Mmi_layout_line_height()) 294 #define EDITOR_TOP_LEFT_POS_Y (Mmi_layout_line_height())
295 #define EDITOR_HORIZONTAL_SIZE (SCREEN_SIZE_X - EDITOR_TOP_LEFT_POS_X) 295 #define EDITOR_HORIZONTAL_SIZE (SCREEN_SIZE_X - EDITOR_TOP_LEFT_POS_X)
296 #define EDITOR_VERTICAL_SIZE (SCREEN_SIZE_Y - 2*Mmi_layout_line_height()) 296 #define EDITOR_VERTICAL_SIZE (SCREEN_SIZE_Y - 2*Mmi_layout_line_height())
297 #define EDITOR_COLOR 0 297 #define EDITOR_COLOR 0
298 #define EDITOR_FONT 0 298 #define EDITOR_FONT 0
299 #define EDITOR_CONTROLS 0 299 #define EDITOR_CONTROLS 0
300 300
301 //MMIGame - connect 4 301 //MMIGame - connect 4
351 /*API - 28/07/03 - CQ10203 - Add these defines for the Validity Period of an SMS*/ 351 /*API - 28/07/03 - CQ10203 - Add these defines for the Validity Period of an SMS*/
352 #define VP_REL_1_HOUR 11 352 #define VP_REL_1_HOUR 11
353 #define VP_REL_12_HOURS 143 353 #define VP_REL_12_HOURS 143
354 #define VP_REL_24_HOURS 167 354 #define VP_REL_24_HOURS 167
355 #define VP_REL_1_WEEK 173 355 #define VP_REL_1_WEEK 173
356 #define VP_REL_MAXIMUM 255 // May 10, 2004 REF: CRR 15753 Deepa M.D 356 #define VP_REL_MAXIMUM 255 // May 10, 2004 REF: CRR 15753 Deepa M.D
357 /*API - CQ10203 END*/ 357 /*API - CQ10203 END*/
358 /* NDH - CQ16753 - END */ 358 /* NDH - CQ16753 - END */
359 359
360 extern MfwRect menuArea; 360 extern MfwRect menuArea;
361 extern MfwRect menuNamesArea; 361 extern MfwRect menuNamesArea;
407 void Mmi_Set2Martian( void );/*MC SPR 1150 */ 407 void Mmi_Set2Martian( void );/*MC SPR 1150 */
408 #endif 408 #endif
409 void Mmi_Set2Language(int lang); 409 void Mmi_Set2Language(int lang);
410 UBYTE Mmi_getCurrentLanguage(void); 410 UBYTE Mmi_getCurrentLanguage(void);
411 411
412 UBYTE Mmi_layout_line(int lineNo); //GW 412 UBYTE Mmi_layout_line(int lineNo); //GW
413 UBYTE Mmi_getCurrentLanguage(void); //GW 413 UBYTE Mmi_getCurrentLanguage(void); //GW
414 //The following are redundant - maintain for compatibility only 414 //The following are redundant - maintain for compatibility only
415 #define Mmi_layout_first_line( ) Mmi_layout_line(1) 415 #define Mmi_layout_first_line( ) Mmi_layout_line(1)
416 #define Mmi_layout_second_line( ) Mmi_layout_line(2) 416 #define Mmi_layout_second_line( ) Mmi_layout_line(2)
417 #define Mmi_layout_third_line( ) Mmi_layout_line(3) 417 #define Mmi_layout_third_line( ) Mmi_layout_line(3)
438 U16 id; 438 U16 id;
439 U16 count; 439 U16 count;
440 U32 attributes; 440 U32 attributes;
441 } T_RESOURCE_DIRECTORY_HEADER; 441 } T_RESOURCE_DIRECTORY_HEADER;
442 442
443 // This type identifies the various resources that are listable in the file. 443 // This type identifies the various resources that are listable in the file.
444 typedef enum 444 typedef enum
445 { 445 {
446 RES_FIRST_RESOURCE_TYPE=0, 446 RES_FIRST_RESOURCE_TYPE=0,
447 RES_LANGUAGE_TABLE, 447 RES_LANGUAGE_TABLE,
448 RES_LANGUAGE, 448 RES_LANGUAGE,
449 RES_STRING, 449 RES_STRING,
450 RES_MELODY_TABLE, 450 RES_MELODY_TABLE,
451 RES_MELODY, 451 RES_MELODY,
452 RES_LAST_RESOURCE_TYPE 452 RES_LAST_RESOURCE_TYPE
453 } res_ResourceID_type; 453 } res_ResourceID_type;
503 EXTERN void icon_setMainBgdBitmap (int bmpId); 503 EXTERN void icon_setMainBgdBitmap (int bmpId);
504 EXTERN void info_screen (T_MFW_HND win, USHORT TextId, USHORT TextId2,T_VOID_FUNC Callback); 504 EXTERN void info_screen (T_MFW_HND win, USHORT TextId, USHORT TextId2,T_VOID_FUNC Callback);
505 /* End - remove warning Aug -11 */ 505 /* End - remove warning Aug -11 */
506 506
507 /******************************************************************************* 507 /*******************************************************************************
508 508
509 End of File 509 End of File
510 510
511 *******************************************************************************/ 511 *******************************************************************************/
512 512
513 #endif 513 #endif