|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0"" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 // INCLUDES |
|
18 #include <uikon.rh> |
|
19 |
|
20 STRUCT AKN_FEP_POPUP_WINDOW |
|
21 { |
|
22 LTEXT bmpfile=""; |
|
23 LONG imgmajorskinid=0xffff; |
|
24 |
|
25 WORD bgbmp=0xffff; |
|
26 WORD bgmaskbmp=0xffff; |
|
27 WORD bgbmpskinid=0xffff; |
|
28 |
|
29 WORD focusbmp=0xffff; |
|
30 WORD focusmaskbmp=0xffff; |
|
31 WORD focusbmpskinid=0xffff; |
|
32 } |
|
33 |
|
34 STRUCT AKN_FEP_VKB_BASE_WINDOW |
|
35 { |
|
36 LLINK moveimage; |
|
37 LLINK closeimage; |
|
38 |
|
39 WORD supportskin = 0xffff; |
|
40 LTEXT bmpfile=""; |
|
41 LONG imgmajorskinid=0xffff; |
|
42 |
|
43 WORD shadowimgtl=0xffff; |
|
44 WORD shadowimgtlmask=0xffff; |
|
45 WORD shadowimgtlskinid=0xffff; |
|
46 |
|
47 WORD shadowimgt=0xffff; |
|
48 WORD shadowimgtmask=0xffff; |
|
49 WORD shadowimgtskinid=0xffff; |
|
50 |
|
51 WORD shadowimgtr=0xffff; |
|
52 WORD shadowimgtrmask=0xffff; |
|
53 WORD shadowimgtrskinid=0xffff; |
|
54 |
|
55 WORD shadowimgl=0xffff; |
|
56 WORD shadowimglmask=0xffff; |
|
57 WORD shadowimglskinid=0xffff; |
|
58 |
|
59 WORD shadowimgr=0xffff; |
|
60 WORD shadowimgrmask=0xffff; |
|
61 WORD shadowimgrskinid=0xffff; |
|
62 |
|
63 WORD shadowimgbl=0xffff; |
|
64 WORD shadowimgblmask=0xffff; |
|
65 WORD shadowimgblskinid=0xffff; |
|
66 |
|
67 WORD shadowimgb=0xffff; |
|
68 WORD shadowimgbmask=0xffff; |
|
69 WORD shadowimgbskinid=0xffff; |
|
70 |
|
71 WORD shadowimgbr=0xffff; |
|
72 WORD shadowimgbrmask=0xffff; |
|
73 WORD shadowimgbrskinid=0xffff; |
|
74 |
|
75 WORD icfbg = 0xffff; |
|
76 WORD icfbgmask = 0xffff; |
|
77 WORD icfbgskinid = 0xffff; |
|
78 |
|
79 LONG colormajorskinid = 0xffff; |
|
80 WORD textcolorgrp = 0xffff; |
|
81 WORD textcoloridx = 0xffff; |
|
82 } |
|
83 |
|
84 STRUCT AKN_FEP_VKB_BASE_WINDOW_INFO |
|
85 { |
|
86 WORD supportskin = 0xffff; |
|
87 LLINK shadow; |
|
88 LLINK bgimage = 0; |
|
89 STRUCT controls[]; |
|
90 } |
|
91 |
|
92 STRUCT AKN_FEP_VKB_CONTROL_INFO |
|
93 { |
|
94 // Control ID TPeninputCommonCtrlID |
|
95 WORD id=0; |
|
96 |
|
97 // the begin column of the control |
|
98 LLINK image; |
|
99 } |
|
100 |
|
101 STRUCT AKN_FEP_VKB_ICF |
|
102 { |
|
103 LTEXT bmpfile=""; |
|
104 LONG imgmajorskinid=0xffff; |
|
105 |
|
106 WORD icfbgimg=0xffff; |
|
107 WORD icfbgimgmask=0xffff; |
|
108 WORD icfbgimgskinid=0xffff; |
|
109 |
|
110 LONG colormajorskinid = 0xffff; |
|
111 WORD textcolorgrp = 0xffff; |
|
112 WORD textcoloridx = 0xffff; |
|
113 } |
|
114 |
|
115 |
|
116 STRUCT AKN_FEP_VKB_MULTILINE_ICF |
|
117 { |
|
118 LONG colormajorskinid = 0xffff; |
|
119 WORD textcolorgrp = 0xffff; |
|
120 WORD textcoloridx = 0xffff; |
|
121 WORD bordercolorgrp = 0xffff; |
|
122 WORD bordercoloridx = 0xffff; |
|
123 } |
|
124 |
|
125 // --------------------------------------------------------------------------- |
|
126 // Window shadow |
|
127 // --------------------------------------------------------------------------- |
|
128 // |
|
129 STRUCT AKN_FEP_VKB_WINDOW_SHADOW |
|
130 { |
|
131 LTEXT bmpfile=""; |
|
132 LONG imgmajorskinid=0xffff; |
|
133 |
|
134 WORD shadowimgtl=0xffff; |
|
135 WORD shadowimgtlmask=0xffff; |
|
136 WORD shadowimgtlskinid=0xffff; |
|
137 |
|
138 WORD shadowimgt=0xffff; |
|
139 WORD shadowimgtmask=0xffff; |
|
140 WORD shadowimgtskinid=0xffff; |
|
141 |
|
142 WORD shadowimgtr=0xffff; |
|
143 WORD shadowimgtrmask=0xffff; |
|
144 WORD shadowimgtrskinid=0xffff; |
|
145 |
|
146 WORD shadowimgl=0xffff; |
|
147 WORD shadowimglmask=0xffff; |
|
148 WORD shadowimglskinid=0xffff; |
|
149 |
|
150 WORD shadowimgr=0xffff; |
|
151 WORD shadowimgrmask=0xffff; |
|
152 WORD shadowimgrskinid=0xffff; |
|
153 |
|
154 WORD shadowimgbl=0xffff; |
|
155 WORD shadowimgblmask=0xffff; |
|
156 WORD shadowimgblskinid=0xffff; |
|
157 |
|
158 WORD shadowimgb=0xffff; |
|
159 WORD shadowimgbmask=0xffff; |
|
160 WORD shadowimgbskinid=0xffff; |
|
161 |
|
162 WORD shadowimgbr=0xffff; |
|
163 WORD shadowimgbrmask=0xffff; |
|
164 WORD shadowimgbrskinid=0xffff; |
|
165 } |
|
166 |
|
167 STRUCT AKN_FEP_VKB_IM_LAYOUT_LIST |
|
168 { |
|
169 STRUCT items[]; |
|
170 } |
|
171 |
|
172 STRUCT AKN_FEP_VKB_LANG_STRING_LIST |
|
173 { |
|
174 STRUCT items[]; |
|
175 } |
|
176 |
|
177 STRUCT AKN_FEP_VKB_LANG_STRING |
|
178 { |
|
179 WORD langid=0; |
|
180 LTEXT langString=""; |
|
181 } |
|
182 |
|
183 STRUCT AKN_FEP_VKB_NUMERIC_KEY_MAPPING_STRING_LIST |
|
184 { |
|
185 STRUCT items[]; |
|
186 } |
|
187 |
|
188 STRUCT AKN_FEP_VKB_NUMERIC_KEY_MAPPING_STRING |
|
189 { |
|
190 WORD numerickeymapping=0; |
|
191 LTEXT PermittedString=""; |
|
192 } |
|
193 |
|
194 STRUCT AKN_FEP_VKB_IM_LAYOUT |
|
195 { |
|
196 // Layout id for range,see TAknFepVkbIMLayout in hrh |
|
197 WORD id=0; |
|
198 |
|
199 // The layout for which languages, for example "29|30|31", means it can be used for PRC,Taiwan,Hongkong |
|
200 // If it is "", then indicate it can be used for all languages, such as latin,count,symbol, accent |
|
201 LTEXT permittedlanguage=""; |
|
202 |
|
203 // Mbm file name which store the bg bmp of the layout and all controls |
|
204 //LTEXT mbmfile=""; |
|
205 |
|
206 // the bg bmp of the layout |
|
207 //WORD bgbmp=0xffff; |
|
208 |
|
209 // the bg mask bmp of the layout |
|
210 //WORD bgbmpmask=0xffff; |
|
211 |
|
212 // column counts |
|
213 WORD colcount=0; |
|
214 |
|
215 // row counts |
|
216 WORD rowcount=0; |
|
217 |
|
218 // the bg mask bmp of the layout |
|
219 STRUCT controls[]; |
|
220 } |
|
221 |
|
222 STRUCT AKN_FEP_VKB_CONTROL |
|
223 { |
|
224 // Control ID |
|
225 WORD id=0; |
|
226 |
|
227 // the begin row of the control,the first row is 1 |
|
228 WORD beginrow=0; |
|
229 |
|
230 // the begin column of the control,the first column is 1 |
|
231 WORD begincolumn=0; |
|
232 |
|
233 // the end row of the control |
|
234 WORD endrow=0; |
|
235 |
|
236 // the end column of the control |
|
237 WORD endcolumn=0; |
|
238 |
|
239 } |
|
240 |
|
241 STRUCT AKN_FEP_VKB_VKB_LAYOUT_LIST |
|
242 { |
|
243 STRUCT items[]; |
|
244 } |
|
245 |
|
246 STRUCT AKN_FEP_VKB_VKB_LAYOUT |
|
247 { |
|
248 // Vkb layout type id for range,see TAknFepVkbLayout in hrh |
|
249 WORD id=0; |
|
250 |
|
251 // Mbm file name which store the bg bmp of the layout and all controls |
|
252 LTEXT mbmfile=""; |
|
253 LONG imgmajorskinid=0xffff; |
|
254 |
|
255 // the bg, bg mask and skin bmp of the layout |
|
256 WORD bgbmp=0xffff; |
|
257 WORD bgbmpmask=0xffff; |
|
258 WORD bgbmpskinid=0xffff; |
|
259 |
|
260 // the bmp for dimmed key |
|
261 WORD dimbmp=0xffff; |
|
262 WORD dimmask=0xffff; |
|
263 WORD dimbmpskinid=0xffff; |
|
264 |
|
265 // column counts |
|
266 WORD colcount=0; |
|
267 |
|
268 // row counts |
|
269 WORD rowcount=0; |
|
270 |
|
271 STRUCT highlightbmps[]; // list of AKN_FEP_VKB_BITMAP |
|
272 |
|
273 STRUCT highlightmaskbmps[]; |
|
274 |
|
275 // the bg mask bmp of the layout |
|
276 STRUCT keys[]; |
|
277 |
|
278 |
|
279 } |
|
280 |
|
281 STRUCT AKN_FEP_VKB_UNIT_KEY |
|
282 { |
|
283 |
|
284 LTEXT unicode=""; |
|
285 |
|
286 WORD scancode=0; |
|
287 |
|
288 WORD beginrow=0; |
|
289 |
|
290 WORD begincolumn=0; |
|
291 |
|
292 WORD endrow=0; |
|
293 |
|
294 WORD endcolumn=0; |
|
295 |
|
296 WORD highlightbmpindex=-1; |
|
297 |
|
298 WORD highlightmaskbmpindex=-1; |
|
299 |
|
300 // add this item because some special characters need additional unicode to display |
|
301 LTEXT displayunicode=""; |
|
302 } |
|
303 |
|
304 STRUCT AKN_FEP_VKB_BITMAP |
|
305 { |
|
306 // id of bitmap |
|
307 WORD id=0; |
|
308 } |