comparison src/aci2/bmi/Icons/IcnDefs.h @ 3:93999a60b835

src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 26 Sep 2016 00:29:36 +0000
parents
children
comparison
equal deleted inserted replaced
2:c41a534f33c6 3:93999a60b835
1 #ifndef _MMIICNDEFS_H_
2 #define _MMIICNDEFS_H_ 1
3
4 /*******************************************************************************
5
6 CONDAT (UK)
7
8 ********************************************************************************
9
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.
12
13 ********************************************************************************
14
15 $Project name: Basic MMI
16 $Project code: BMI (6349)
17 $Module: Icons
18 $File: IcnDefs.h
19 $Revision: 1.0
20
21 $Author: Condat(UK)
22 $Date: 01/11/02
23
24 ********************************************************************************
25
26 Description:
27
28 This provides the references to the colour icon data arrays
29
30 ********************************************************************************
31 $History:
32
33 01/11/02 Original Condat(UK) BMI version.
34
35 $End
36
37 *******************************************************************************/
38 enum {
39 //Idle screen
40 ICON_IDLE_Background,
41
42 ICON_IDLE_Battery4,
43 ICON_IDLE_Battery14,
44 ICON_IDLE_Battery24,
45 ICON_IDLE_Battery49,
46 ICON_IDLE_Battery100,
47 ICON_IDLE_forwarding,
48 ICON_IDLE_keylock,
49 ICON_IDLE_message,
50 ICON_IDLE_signalStr49,
51 ICON_IDLE_signalStr99,
52 ICON_IDLE_signalStr149,
53 ICON_IDLE_signalStr199,
54 ICON_IDLE_signalStr255,
55 ICON_IDLE_homeZone,
56 ICON_IDLE_gprs,
57 ICON_IDLE_voicemail,
58
59
60 //'main' icons
61 ICON_MAIN_Application,
62 ICON_MAIN_Divert,
63 ICON_MAIN_Messages,
64 ICON_MAIN_Phonebook,
65 ICON_MAIN_RecentCalls,
66 ICON_MAIN_Security,
67 ICON_MAIN_Settings,
68 ICON_MAIN_SIM_Toolkit,
69 ICON_MAIN_WAP,
70
71 //popup
72 ICON_POPUP_CLOUDS,
73
74 //network
75 ICON_Bouygues,
76 ICON_Vodafone,
77 ICON_SFR,
78 ICON_VodafoneD2,
79 ICON_Chinamobile,
80 ICON_Fareast,
81 ICON_orange,
82 ICON_sonofon,
83 ICON_Tmobile,
84
85 //Background
86 ICON_BgdSquares,
87
88 ICON_END
89
90 };
91
92 enum {
93 ICON_TYPE_bw,
94 ICON_TYPE_256Colour, //R=0xE0, G=0x1C, B=0x03
95 ICON_TYPE_24BitColour, //R=0xFF0000, G=0x00FF00, B=0x0000FF
96 ICON_TYPE_32BitColour, //riviera format with alpha=0xFF000000,
97 ICON_TYPE_256PaletteColour, //separate palette needed
98
99 ICON_TYPE_LCD16bit //data matches D-sample LCD format 32 bits with 16bits used.
100 };
101
102 int icnGPRS_dataformat( char* *bmp, int *sx, int *sy, int *format, char **palette);
103 int icnBgdSquares_dataformat( char* *bmp, int *sx, int *sy, int *format, char **palette);
104 int icnSignalStr_dataformat( int iconId, char* *bmp, int *sx, int *sy, int *format, char **palette);
105
106 //#define USE_110X110
107
108 //Logo for powerup screen
109 extern const unsigned char TIlogColour[];
110 //Main icons
111 #ifndef USE_110X110
112 extern const unsigned char applications97x97_bmp[];
113 extern const unsigned char netWorkServices96x96_bmp[];
114 extern const unsigned char messages96x96_bmp[];
115 extern const unsigned char phonebook96x96_bmp[];
116 extern const unsigned char recentcalls96x96_bmp[];
117 extern const unsigned char security96x96_bmp[];
118 extern const unsigned char phoneSettings96x96_bmp[];
119 extern const unsigned char stkColour[];
120 extern const unsigned char wap96x96_bmp[];
121 #else
122 extern const unsigned char applications110x110_bmp[];
123 extern const unsigned char recentcalls110x110_bmp[] ;
124 extern const unsigned char messages110x110_bmp[] ;
125 extern const unsigned char phonebook110x110_bmp[] ;
126 extern const unsigned char security110x110_bmp[] ;
127 extern const unsigned char wap110x110_bmp[] ;
128 extern const unsigned char networkservices110x110_bmp[];
129 extern const unsigned char phonesettings110x110_bmp[] ;
130 extern const unsigned char stkColour[];
131 #endif
132 //Popup + background
133 extern const unsigned char bmpDataBubbles[];
134 extern const unsigned char bmpDataCloud[];
135 extern const unsigned char bmpDataSquares[];
136 extern const unsigned char Edinburgh1_bgd_bmp[];
137 extern const unsigned char Edinburgh2_bgd_bmp[];
138 extern const unsigned char Edinburgh3_bgd_bmp[];
139 extern const unsigned char Edinburgh4_bgd_bmp[];
140
141 //Network bitmaps
142 extern const unsigned char Bouygues_bmp[];
143 extern const unsigned char Vodafone_bmp[];
144 extern const unsigned char SFR_bmp[];
145 extern const unsigned char VodafoneD2_bmp[];
146 extern const unsigned char Chinamobile_bmp[];
147 extern const unsigned char Fareast_bmp[];
148 extern const unsigned char orange_bmp[];
149 extern const unsigned char SFR_bmp[];
150 extern const unsigned char sonofon_bmp[];
151 extern const unsigned char Tmobile_bmp[];
152
153 //Idle Icons
154 extern const unsigned char I_forColour[] ;
155 extern const unsigned char I_klkColour[] ;
156
157 //Idle Bitmaps
158 extern const unsigned char Ti_bgd_bmp[] ;
159 extern const unsigned char I_batColour[] ;
160 extern const unsigned char iconInCallBackDrop[];
161
162 //Animation Bitmaps
163 extern const unsigned char callAnimation1[] ;
164 extern const unsigned char callAnimation2[] ;
165 extern const unsigned char callAnimation3[] ;
166
167 #ifdef WIDEICONS
168 #define I_batColour4 I_batColour
169 #define I_batColour14 I_batColour
170 #define I_batColour24 I_batColour
171 #define I_batColour49 I_batColour
172 #define I_batColour100 I_batColour
173 #else
174 extern const unsigned char I_batColour4[] ;
175 extern const unsigned char I_batColour14[] ;
176 extern const unsigned char I_batColour24[] ;
177 extern const unsigned char I_batColour49[] ;
178 extern const unsigned char I_batColour100[] ;
179 #endif
180 extern const unsigned char I_msgColour[] ;
181 extern const unsigned char I_sigColour[] ;
182 #ifdef WIDEICONS
183 #define I_sigColour49 I_sigColour
184 #define I_sigColour99 I_sigColour
185 #define I_sigColour149 I_sigColour
186 #define I_sigColour199 I_sigColour
187 #define I_sigColour255 I_sigColour
188 #else
189 extern const unsigned char I_sigColour49[] ;
190 extern const unsigned char I_sigColour99[] ;
191 extern const unsigned char I_sigColour149[] ;
192 extern const unsigned char I_sigColour199[] ;
193 extern const unsigned char I_sigColour255[] ;
194 #endif
195 extern const unsigned char I_homeZoneColour[] ;
196 extern const unsigned char I_gprsColour[] ;
197 extern const unsigned char I_voicemailColour[];
198 extern const unsigned char I_cipheringDeactivColour[];
199 extern const unsigned char I_cipheringActivColour[];
200
201 #endif