annotate src/ui/bmi/mmiResources.h @ 255:1a4413c4eb7e

FCHG: missed charging start event in BSIM mode
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 12 May 2021 23:20:23 +0000
parents 86375353219d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 #ifndef _MMIRESOURCES_H_
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 #define _MMIRESOURCES_H_ 1
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 /*******************************************************************************
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 CONDAT (UK)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 ********************************************************************************
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 This software product is the property of Condat (UK) Ltd and may not be
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 disclosed to any third party without the express permission of the owner.
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 ********************************************************************************
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 $Project name: Basic MMI
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 $Project code: BMI (6349)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 $Module: Resource Manager
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 $File: MmiResources.h
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 $Revision: 1.0
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 $Author: Condat(UK)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 $Date: 25/10/00
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 ********************************************************************************
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 Description:
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 Define a simple get text routine to fetch a pointer
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 to a textual resource given a resource identifier.
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 The resource identifiers are given in the MmiBlkResources.h
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 module header
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 ********************************************************************************
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 $History: MmiResources.h
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 May 15, 2006 DR: OMAPS00075852 - xreddymn
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 Added new display zone which is located one line above the softkeys.
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
41 May 10, 2004 REF: CRR 15753 Deepa M.D
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 Menuitem provided to set the validity period to maximum.
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 25/10/00 Original Condat(UK) BMI version.
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
45 03/10/02 Replaced most of the file with version on branch for issue 1150 (MC, SPR 1242)
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 $End
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 *******************************************************************************/
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50
134
62480f597962 bmi headers: include case fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 92
diff changeset
51 #include "mmiBlkLangDB.h"
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54 /********************************/
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55 /* Positions depending on the language */
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56 //Positions are now in mmiResources.C
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 #define LAST_LINE (-1)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59 #define LAST_LINE_TOP (-51)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 #define SECOND_LAST_LINE_TOP (-52)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
62 //#define SCREEN_SIZE_X 160
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
63 //#define SCREEN_SIZE_Y 120
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
64 //#define CHINESE_MENU_VERTICAL_SIZE 84
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
65 //#define STANDARD_MENU_VERTICAL_SIZE 84
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
67 //#if ((NBRD == 40) || (NBRD == 41))
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
68 //#define COLOURDISPLAY
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69 //#endif
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
70
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
71
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
72 #ifndef LSCREEN
60
48f280c19e16 mmiResources.h: extend from 84x48 to 96x64
Mychaela Falconia <falcon@freecalypso.org>
parents: 59
diff changeset
73 #define SCREEN_SIZE_X 96
48f280c19e16 mmiResources.h: extend from 84x48 to 96x64
Mychaela Falconia <falcon@freecalypso.org>
parents: 59
diff changeset
74 #define SCREEN_SIZE_Y 64
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
75 #define LINE_HEIGHT 8
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
76 #define CHAR_WIDTH 6
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
77 #define LINE_HEIGHT_LATIN (LINE_HEIGHT)
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
78 #define LINE_HEIGHT_CHINESE 12
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
79
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
80 #define ALLOFFSET (0)
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
81 #define MNUOFFSET (0)
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
82
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
83 #else
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
84 // by nitin for QVGA LCD
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
85 #if (BOARD==61)
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
86 #define SCREEN_SIZE_X 240
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
87 #define SCREEN_SIZE_Y 320
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
88 #else
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
89 #define SCREEN_SIZE_X 176
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
90 #define SCREEN_SIZE_Y 220
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
91 #endif //(BOARD==61)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
92
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
93 #define LINE_HEIGHT 16
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
94 #define CHAR_WIDTH 6
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
95 #define LINE_HEIGHT_CHINESE (LINE_HEIGHT)
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
96 #define LINE_HEIGHT_LATIN (LINE_HEIGHT)
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
97
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
98 #define ALLOFFSET (LINE_HEIGHT*2)
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
99 #define MNUOFFSET (LINE_HEIGHT)
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
100
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
101 #endif
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
102 #define ALLBUT1LINE (SCREEN_SIZE_Y-1*LINE_HEIGHT+ALLOFFSET)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
103 #define ALLBUT2LINE (SCREEN_SIZE_Y-2*LINE_HEIGHT+ALLOFFSET)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
104 #define ALLBUT3LINE (SCREEN_SIZE_Y-3*LINE_HEIGHT+ALLOFFSET)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
105 #define MNU3LINE (LINE_HEIGHT*3+MNUOFFSET)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
106
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
107
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
108
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
109 extern int Easy_Text_Available;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
110 //////////////////////////
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
111 // Common window sizes //
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
112 //////////////////////////
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
113
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
114 #define BOOKSEARCH_EDITOR (ZONE_BOTTOM_LINE)
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
115
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
116 /* SPR#1428 - SH - New Editor changes */
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
117 #ifdef NEW_EDITOR
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
118 /* SH - moved here from MmiEditor.h */
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
119 //Zone data for drawing windows
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
120 #define ZONE_FULL_HEIGHT 0x000F
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
121 #define ZONE_TOPHALF_HEIGHT 0x000C
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
122 #define ZONE_MIDDLE_HEIGHT 0x0006
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
123 #define ZONE_BOTTOMHALF_HEIGHT 0x0003
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
124 /* xreddymn OMAPS00075852 May-15-2006
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
125 * This display zone is located one line above the softkeys.
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
126 */
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
127 #define ZONE_MIDDLETWOLINES_HEIGHT 0x0002
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
128 #define ZONE_BOTTOMTWOLINES_HEIGHT 0x0001
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
129 #define ZONE_FULL_WIDTH 0x00F0
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
130 #define ZONE_LEFTHALF_WIDTH 0x00C0
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
131 #define ZONE_MIDDLE_WIDTH 0x0060
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
132 #define ZONE_RIGHTHALF_WIDTH 0x0030
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
133
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
134 #define ZONE_ICONS 0x0100
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
135 #define ZONE_TITLE 0x0200
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
136 #define ZONE_CASE_ABC 0x0400
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
137 #define ZONE_SOFTKEYS 0x1000
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
138 #define ZONE_SCROLLBAR 0x2000
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
139
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
140
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
141 #define ZONE_FULLSCREEN (ZONE_FULL_HEIGHT | ZONE_FULL_WIDTH)
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
142 #define ZONE_FULLICONS (ZONE_ICONS|ZONE_FULL_HEIGHT | ZONE_FULL_WIDTH)
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
143 #define ZONE_FULLTITLE (ZONE_TITLE|ZONE_FULL_HEIGHT | ZONE_FULL_WIDTH)
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
144 #define ZONE_FULLSOFTKEYS (ZONE_SOFTKEYS|ZONE_FULL_HEIGHT | ZONE_FULL_WIDTH)
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
145 #define ZONE_FULL_SK_SCROLL (ZONE_SOFTKEYS|ZONE_FULL_HEIGHT | ZONE_FULL_WIDTH | ZONE_SCROLLBAR)
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
146
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
147 #define ZONE_FULL_SK_TITLE (ZONE_TITLE|ZONE_SOFTKEYS|ZONE_FULL_HEIGHT | ZONE_FULL_WIDTH)
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
148 #define ZONE_FULL_SK_TITLE_ALPHA (ZONE_TITLE|ZONE_SOFTKEYS|ZONE_FULL_HEIGHT | ZONE_FULL_WIDTH | ZONE_CASE_ABC)
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
149 #define ZONE_FULL_SK_TITLE_SCROLL (ZONE_TITLE|ZONE_SOFTKEYS|ZONE_FULL_HEIGHT | ZONE_FULL_WIDTH | ZONE_SCROLLBAR)
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
150 #define ZONE_WAP_EDITOR (ZONE_TITLE|ZONE_SOFTKEYS|ZONE_FULL_HEIGHT | ZONE_FULL_WIDTH)
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
151 #define ZONE_MIDDLE_EDITOR (ZONE_TITLE|ZONE_SOFTKEYS|ZONE_MIDDLE_WIDTH|ZONE_MIDDLE_HEIGHT)
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
152
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
153 //Specific editor sizes
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
154 #define ZONE_SMALL_EDITOR (0xFF00) /* editor for small (one line) editors */
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
155 #define ZONE_BORDER_EDITOR (0xFE00) /* editors with a border to the left/right - sim toolkit */
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
156 #define ZONE_BOTTOM_LINE (0xFD00) /* editors for the bottom line */
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
157 #define ZONE_BOTTOM_LINE_FIND (0xFC00) /* editors on the bottom line after "Find:" */
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
158 #endif /* NEW_EDITOR */
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
159
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
160 #ifndef LSCREEN
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
161 #define BOOKDETAILS_EDITOR 0xFF01
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
162 #define NUMBER_EDITOR 0xFF02
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
163 #define PHONEBOOK_DLG_EDITOR 0xFF03
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
164 #define BOOKSDN_EDITOR 0xFF04
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
165
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
166 //MMIbooksearchwindow
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
167 //#define BOOKSEARCH_EDITOR 0xFF05
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
168 #define CALL_EDITOR 0xFF06
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
169 #define CALLSCRATCHPAD_EDITOR 0xFF07
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
170 #define SERVICE_CREATE_EDITOR 0xFF08
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
171 #define PASSWORD_EDITOR 0xFF09
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
172 #define EM_CREATE_EDITOR 0xFF0A
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
173 #define WIN_DIALLING 0xFF30
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
174 #define WIN_DIALLING_CB 0xFF31
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
175 #define WIN_DIALLING_SMS 0xFF32
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
176 #define WIN_DIALLING_SAT 0xFF33
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
177
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
178 #define PHNO_EDITOR 0xFF0C
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
179
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
180 #define CENTRE_EDITOR 0xFF0D
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
181
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
182 //And for MMIServices - moved here from mmiservices.c
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
183 #define SAT_EDITOR 0xFF0E
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
184
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
185 #define RPWD_EDITOR 0xFF0F
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
186
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
187 //MMIBookCallDetails
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
188 #define PHB_EDITOR 0xFF10
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
189
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
190 //MMIPins
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
191 #define PIN_EDIT_RESET 0xFF13
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
192
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
193 //MMITimeDate
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
194 #define TIMEDATE_EDITOR_AREA 0xFF15
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
195
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
196 //#define TIMEDATE_EDITOR_AREA 0,20,70,20
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
197 #else
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
198 #define BOOKDETAILS_EDITOR ZONE_FULL_SK_TITLE
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
199 #define NUMBER_EDITOR ZONE_FULL_SK_TITLE
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
200 #define PHONEBOOK_DLG_EDITOR ZONE_FULL_SK_TITLE
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
201 #define BOOKSDN_EDITOR ZONE_FULL_SK_TITLE
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
202
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
203 //MMIbooksearchwindow
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
204 #define CALL_EDITOR ZONE_FULL_SK_TITLE
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
205 #define CALLSCRATCHPAD_EDITOR ZONE_FULL_SK_TITLE
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
206 #define SERVICE_CREATE_EDITOR ZONE_FULL_SK_TITLE
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
207 #define EM_CREATE_EDITOR ZONE_FULL_SK_TITLE
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
208 #define PASSWORD_EDITOR ZONE_FULL_SK_TITLE
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
209 /* SPR#1428 - SH - New Editor changes - change these so they look better */
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
210 #ifdef NEW_EDITOR
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
211 #define WIN_DIALLING (ZONE_ICONS|ZONE_SOFTKEYS|ZONE_FULL_WIDTH|ZONE_BOTTOMTWOLINES_HEIGHT)
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
212 /* xreddymn OMAPS00075852 May-15-2006: Changed display zone */
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
213 #define WIN_DIALLING_CB (ZONE_ICONS|ZONE_SOFTKEYS|ZONE_FULL_WIDTH|ZONE_MIDDLETWOLINES_HEIGHT)
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
214 #define WIN_DIALLING_SMS (ZONE_ICONS|ZONE_SOFTKEYS|ZONE_FULL_WIDTH|ZONE_BOTTOMHALF_HEIGHT)
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
215 /* xreddymn OMAPS00075852 May-15-2006: Changed display zone */
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
216 #define WIN_DIALLING_SAT (ZONE_ICONS|ZONE_SOFTKEYS|ZONE_FULL_WIDTH|ZONE_MIDDLETWOLINES_HEIGHT)
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
217 #else /* NEW_EDITOR */
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
218 #define WIN_DIALLING (ZONE_ICONS|ZONE_SOFTKEYS|ZONE_MIDDLE_WIDTH|ZONE_MIDDLE_HEIGHT)
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
219 #define WIN_DIALLING_CB (ZONE_ICONS|ZONE_SOFTKEYS|ZONE_MIDDLE_WIDTH|ZONE_MIDDLE_HEIGHT)
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
220 #define WIN_DIALLING_SMS (ZONE_ICONS|ZONE_SOFTKEYS|ZONE_FULL_WIDTH|ZONE_BOTTOMHALF_HEIGHT)
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
221 #define WIN_DIALLING_SAT (ZONE_ICONS|ZONE_SOFTKEYS|ZONE_FULL_WIDTH|ZONE_BOTTOMTWOLINES_HEIGHT)
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
222 #endif /* NEW_EDITOR */
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
223
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
224 #define PHNO_EDITOR ZONE_FULL_SK_TITLE
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
225
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
226 #define CENTRE_EDITOR ZONE_FULL_SK_TITLE
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
227
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
228 //And for MMIServices - moved here from mmiservices.c
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
229 #define SAT_EDITOR ZONE_FULL_SK_TITLE
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
230
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
231 #define RPWD_EDITOR ZONE_FULL_SK_TITLE
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
232
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
233 //MMIBookCallDetails
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
234 #define PHB_EDITOR ZONE_FULL_SK_TITLE
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
235
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
236 //MMIPins
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
237 #define PIN_EDIT_RESET ZONE_FULL_SK_TITLE
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
238
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
239 //MMITimeDate
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
240 #define TIMEDATE_EDITOR_AREA ZONE_FULL_SK_TITLE
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
241 //#define TIMEDATE_EDITOR_AREA 0,20,70,20
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
242
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
243 #endif
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
244
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
245 //For displaying call information
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
246 #define CALLINFO_X_AH 8
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
247 #define CALLINFO_X_TAGPOS 35
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
248 #define INCALLTIMER_X 24
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
249 //For autoredial (no chinese)
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
250 #define CALL_AUTOREDIAL_X 20
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
251 #define CALL_AUTOREDIAL_Y1 16
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
252 #define CALL_AUTOREDIAL_Y2 26
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
253 #define CALL_AUTOREDIAL_Y3 36
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
254 //Information
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
255 #define CALL_INFORMATION_X 24
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
256 #define CALL_INFORMATION_Y 16
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
257 //txt Please Wait
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
258 #define TXTMESSAGE_X 20
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
259 #define TXTMUTED_X 8
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
260
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
261
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
262 //From mmidynamenu
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
263 // default menu dimensions
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
264 #define MENU_LEFT 0
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
265 #define MENU_INDENT 10
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
266 #define MENU_TOP 0
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
267 #define MENU_RIGHT 96
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
268 #define MENU_BOTTOM 50
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
269
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
270 // scroll bar dimensions
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
271 #define SCROLL_BAR_LEFT 87
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
272 #define SMALL_RECT 91
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
273 #define ELEVAT_RECT (SMALL_RECT-2)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
274
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
275 //MMIIcons
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
276 #define TXTCHARGE_X 16
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
277
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
278 //MMIIdle
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
279 //indent for text on idle screen
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
280 #define IDLEMENUTXT1_X 16
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
281 #define IDLEMENUTXT2_X TXTCHARGE_X
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
282
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
283
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
284 //MMIPins
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
285 #define INFO_TEXT_X 0
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
286 #define INFO_TEXT_Y 6
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
287
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
288
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
289
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
290 extern MfwRect selected_area;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
291
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
292 //MMIEditor
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
293 #define EDITOR_TOP_LEFT_POS_X 4
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
294 #define EDITOR_TOP_LEFT_POS_Y (Mmi_layout_line_height())
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
295 #define EDITOR_HORIZONTAL_SIZE (SCREEN_SIZE_X - EDITOR_TOP_LEFT_POS_X)
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
296 #define EDITOR_VERTICAL_SIZE (SCREEN_SIZE_Y - 2*Mmi_layout_line_height())
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
297 #define EDITOR_COLOR 0
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
298 #define EDITOR_FONT 0
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
299 #define EDITOR_CONTROLS 0
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
300
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
301 //MMIGame - connect 4
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
302 #ifndef LSCREEN
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
303 #define GAME_POS_X 0
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
304 #define GAME_POS_Y 8
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
305 #define GAME_SCALE_X 5
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
306 #define GAME_SCALE_Y 5
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
307 #define GAME_NAMEPOSX1 56
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
308 #define GAME_NAMEPOSY1 6
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
309 #define GAME_NAMEPOSX2 56
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
310 #define GAME_NAMEPOSY2 (6+21)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
311 #define GAME_NAMEPOSX3 56
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
312 #define GAME_NAMEPOSY3 (6+21)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
313 #define GAME_WINPOSX1 56
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
314 #define GAME_WINPOSY1 6
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
315 #define GAME_WINPOSX2 56
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
316 #define GAME_WINPOSY2 (6+21)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
317
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
318 #else
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
319 #define GAME_POS_X ((SCREEN_SIZE_X / 2) - (MAX_X_BOARD*GAME_SCALE_X/2))
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
320 #define GAME_POS_Y (27+15)
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
321 #define GAME_SCALE_X 13
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
322 #define GAME_SCALE_Y 15
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
323
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
324 #define GAME_NAMEPOSX1 (SCREEN_SIZE_X/2-36)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
325 #define GAME_NAMEPOSX2 (SCREEN_SIZE_X/2-12)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
326 #define GAME_NAMEPOSX3 (SCREEN_SIZE_X/2+12)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
327 #define GAME_NAMEPOSY1 (0)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
328 #define GAME_NAMEPOSY2 (0)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
329 #define GAME_NAMEPOSY3 (0)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
330 #define GAME_WINPOSX1 (SCREEN_SIZE_X/2-12)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
331 #define GAME_WINPOSX2 (SCREEN_SIZE_X/2+12)
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
332 #define GAME_WINPOSY1 (0)
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
333 #define GAME_WINPOSY2 (0)
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
334
196
86375353219d bmi for smallbw: new FC splash screen integrated
Mychaela Falconia <falcon@freecalypso.org>
parents: 134
diff changeset
335 #endif
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
336
196
86375353219d bmi for smallbw: new FC splash screen integrated
Mychaela Falconia <falcon@freecalypso.org>
parents: 134
diff changeset
337 #define FC_SPLASH_SCREEN_SMALLBW 1
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
338
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
339 #ifndef COLOURDISPLAY
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
340
196
86375353219d bmi for smallbw: new FC splash screen integrated
Mychaela Falconia <falcon@freecalypso.org>
parents: 134
diff changeset
341 #if FC_SPLASH_SCREEN_SMALLBW
86375353219d bmi for smallbw: new FC splash screen integrated
Mychaela Falconia <falcon@freecalypso.org>
parents: 134
diff changeset
342 #define WELCOME_ANI_POS_X 8
86375353219d bmi for smallbw: new FC splash screen integrated
Mychaela Falconia <falcon@freecalypso.org>
parents: 134
diff changeset
343 #define WELCOME_ANI_POS_Y 14
86375353219d bmi for smallbw: new FC splash screen integrated
Mychaela Falconia <falcon@freecalypso.org>
parents: 134
diff changeset
344 #else
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
345 #define WELCOME_ANI_POS_X (SCREEN_SIZE_X - 56 )/2
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
346 #define WELCOME_ANI_POS_Y (SCREEN_SIZE_Y - (42+4))/2
196
86375353219d bmi for smallbw: new FC splash screen integrated
Mychaela Falconia <falcon@freecalypso.org>
parents: 134
diff changeset
347 #endif
86375353219d bmi for smallbw: new FC splash screen integrated
Mychaela Falconia <falcon@freecalypso.org>
parents: 134
diff changeset
348
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
349 #else
196
86375353219d bmi for smallbw: new FC splash screen integrated
Mychaela Falconia <falcon@freecalypso.org>
parents: 134
diff changeset
350
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
351 #define WELCOME_ANI_POS_X ((SCREEN_SIZE_X - 176 )/2)
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
352 #define WELCOME_ANI_POS_Y ((SCREEN_SIZE_Y - 60)/3) //top 1/3 of screen
196
86375353219d bmi for smallbw: new FC splash screen integrated
Mychaela Falconia <falcon@freecalypso.org>
parents: 134
diff changeset
353
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
354 #endif
196
86375353219d bmi for smallbw: new FC splash screen integrated
Mychaela Falconia <falcon@freecalypso.org>
parents: 134
diff changeset
355
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
356 //Definitions for 'pop-up' windows with 1/2 lines of text
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
357 #define DLG_WINDOW1_LINE 10,20,60,30, 0
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
358 #define DLG_WINDOW2_LINE 10,20,60,45, 0
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
359
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
360 /*NDH - 13/01/04 - CQ 16753 - Redefine these values in accordance with GSM 03.40, para 9.2.3.12.1 */
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
361 /*API - 28/07/03 - CQ10203 - Add these defines for the Validity Period of an SMS*/
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
362 #define VP_REL_1_HOUR 11
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
363 #define VP_REL_12_HOURS 143
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
364 #define VP_REL_24_HOURS 167
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
365 #define VP_REL_1_WEEK 173
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
366 #define VP_REL_MAXIMUM 255 // May 10, 2004 REF: CRR 15753 Deepa M.D
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
367 /*API - CQ10203 END*/
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
368 /* NDH - CQ16753 - END */
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
369
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
370 extern MfwRect menuArea;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
371 extern MfwRect menuNamesArea;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
372 extern MfwRect menuListArea;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
373 extern MfwRect editor_menuArea;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
374 extern MfwRect network_menuArea;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
375 extern MfwRect sat_setup_menuArea;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
376 extern MfwRect sat_select_menuArea;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
377 extern MfwRect smscb_M_CBArea;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
378 extern MfwRect smscb_M_CB_ACTArea;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
379 extern MfwRect smscb_M_CB_TOPArea;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
380 extern MfwRect smscb_M_CB_TOP_CONSArea;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
381 extern MfwRect smscb_M_CB_TOP_CONS_SELArea;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
382 extern MfwRect smscb_CBArea;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
383 extern MfwRect smscb_CB_OPTArea;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
384 extern MfwRect readSMS_menuArea;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
385
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
386 #ifdef FF_MMI_FILEMANAGER
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
387 extern MfwRect FileType_menuArea;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
388 #endif
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
389
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
390 extern MfwRect SmsRead_R_OPTArea;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
391 extern MfwRect SmsSend_R_OPTArea;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
392 extern MfwRect melody_menuArea;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
393 extern MfwRect MAINICONarea;
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
394 extern MfwRect MAINICONareaColour; //For the larger colour main icons
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
395
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
396
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
397
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
398 /********************************/
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
399
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
400
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
401
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
402 /* Define a simple get text routine to fetch a pointer
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
403 to a textual resource given a resource identifier.
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
404
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
405 The resource identifiers are given in the MmiBlkResources.h
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
406 module header
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
407 */
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
408
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
409
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
410 char *MmiRsrcGetText( int Id );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
411
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
412 void MmiRsrcSetLang(int lang );/*MC SPR 1150 */
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
413 void Mmi_Set2English( void );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
414 void Mmi_Set2German( void );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
415 void Mmi_Set2Chinese( void );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
416 #ifdef LANG_CHANGE_TEST
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
417 void Mmi_Set2Martian( void );/*MC SPR 1150 */
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
418 #endif
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
419 void Mmi_Set2Language(int lang);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
420 UBYTE Mmi_getCurrentLanguage(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
421
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
422 UBYTE Mmi_layout_line(int lineNo); //GW
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
423 UBYTE Mmi_getCurrentLanguage(void); //GW
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
424 //The following are redundant - maintain for compatibility only
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
425 #define Mmi_layout_first_line( ) Mmi_layout_line(1)
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
426 #define Mmi_layout_second_line( ) Mmi_layout_line(2)
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
427 #define Mmi_layout_third_line( ) Mmi_layout_line(3)
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
428 #define Mmi_layout_fourth_line( ) Mmi_layout_line(4)
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
429 #define Mmi_layout_fifth_line( ) Mmi_layout_line(5)
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
430
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
431 UBYTE Mmi_number_of_lines_without_icons_on_top(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
432 UBYTE Mmi_number_of_lines_with_icons_on_top(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
433
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
434 UBYTE Mmi_layout_softkeyHeight( void );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
435 UBYTE Mmi_layout_line_height(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
436 UBYTE Mmi_layout_softkeyArea( MfwRect* rect );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
437 UBYTE Mmi_layout_TitleHeight( void );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
438 UBYTE Mmi_layout_IconHeight( void );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
439 UBYTE Mmi_layout_line_icons(int lineNo);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
440
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
441
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
442 void Mmi_layout_areas(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
443
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
444 void Mmi_set_area_attr(MfwRect* area,U16 px,U16 py,U16 sx,U16 sy);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
445 void resources_destroy (T_MFW_HND own_window);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
446 BOOL resources_reset_language(char* string);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
447 typedef struct {
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
448 U16 id;
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
449 U16 count;
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
450 U32 attributes;
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
451 } T_RESOURCE_DIRECTORY_HEADER;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
452
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
453 // This type identifies the various resources that are listable in the file.
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
454 typedef enum
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
455 {
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
456 RES_FIRST_RESOURCE_TYPE=0,
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
457 RES_LANGUAGE_TABLE,
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
458 RES_LANGUAGE,
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
459 RES_STRING,
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
460 RES_MELODY_TABLE,
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
461 RES_MELODY,
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
462 RES_LAST_RESOURCE_TYPE
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
463 } res_ResourceID_type;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
464
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
465 typedef const T_RESOURCE_DIRECTORY_HEADER * RESOURCE_DIRECTORY_HEADER;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
466
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
467 typedef unsigned char ST_DIMENSION ;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
468
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
469 /*MC SPR 1111*/
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
470 typedef struct /*Entry in table of country codes*/
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
471 {
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
472 char* country_dialling_code; /*Dialling code(4 digits)*/
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
473 UBYTE language; /*language (e.g. ENGLISH_LANGUAGE defined above)*/
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
474 }CountryLangEntry;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
475
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
476 typedef struct /*Table of country codes and associated languages*/
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
477 {
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
478 UBYTE no_of_entries;
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
479 CountryLangEntry* entries;
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
480 } CountryLanguageTable;
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
481
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
482 /*MC end*/
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
483 void resources_setColour(unsigned int colIndex);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
484 void resources_setSKColour(unsigned int colIndex);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
485 void resources_setHLColour(unsigned int colIndex);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
486 void resources_setTitleColour(unsigned int colIndex);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
487
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
488 void resources_restoreColour( void );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
489 void resources_restoreMnuColour(void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
490
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
491 void resources_setColourMnuItem( int txtId);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
492
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
493 int res_getTitleHeight( void );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
494
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
495 void res_set_SIMToolkit_title_string(char* SAT_string);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
496
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
497 int resources_truncate_to_screen_width(char* IpStr, int IpLen, char* OpStr, int OutLen,
59
7bd3e62a0c68 mmiResources.h: bogotab cleanup
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
498 int ScreenWidth, BOOL unicode);
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
499
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
500 void resetFactoryColour ( void );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
501 // API - 13-01-03 - 1550
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
502 void resetFactoryBackground( void );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
503
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
504 /*API - 27/07/03 - CQ10203 - Function Definition for SMS VP reset*/
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
505 void resetSMSValidityPeriod( void );
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
506 /*API - CQ10203 - END*/
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
507
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
508 void colour_initial_colours (void);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
509
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
510 /* Added to remove warnings Aug-11*/
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
511 EXTERN U32 dspl_SetBgdColour (U32 inColour);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
512 EXTERN U32 dspl_SetFgdColour (U32 inColour);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
513 EXTERN void icon_setMainBgdBitmap (int bmpId);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
514 EXTERN void info_screen (T_MFW_HND win, USHORT TextId, USHORT TextId2,T_VOID_FUNC Callback);
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
515 /* End - remove warning Aug -11 */
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
516
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
517 /*******************************************************************************
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
518
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
519 End of File
92
c0052fe355d3 src/ui/bmi/*.[ch]: rm trailing white space
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
520
3
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
521 *******************************************************************************/
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
522
67bfe9f274f6 src/ui: import of src/ui3 from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
523 #endif