|
1 /* |
|
2 * Copyright (c) 2002-2005 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: Resource definitions for project peninputgenerichwr |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // Resource identifier |
|
20 NAME PIGH |
|
21 |
|
22 // System includes |
|
23 #include <aknsconstants.hrh> |
|
24 #include <eikon.hrh> |
|
25 #include <peninputgenerichwr.mbg> |
|
26 #include <aknfeppeninputenums.h> |
|
27 |
|
28 // User includes |
|
29 #include "peninputcommonctrls.hrh" |
|
30 #include "peninputcommonlayout.rh" |
|
31 #include "peninputgenerichwr.hrh" |
|
32 |
|
33 RESOURCE RSS_SIGNATURE { } |
|
34 RESOURCE TBUF { buf=""; } |
|
35 |
|
36 // Macros |
|
37 #define PENINPUT_LAYOUT_HWR_BMP "z:\\resource\\apps\\peninputgenerichwr.mbm" |
|
38 |
|
39 // --------------------------------------------------------------------------- |
|
40 // r_peninput_layout_config_info |
|
41 // The configuration of window's layout |
|
42 // --------------------------------------------------------------------------- |
|
43 // |
|
44 RESOURCE PENINPUT_LAYOUT_CONFIG_INFO r_peninput_layout_config_info |
|
45 { |
|
46 language=10; |
|
47 languagestring="En"; |
|
48 casesensitive=1; |
|
49 guideline=EPeninputGuideLineBottom; |
|
50 positiontopline=33; |
|
51 positionbottomline=66; |
|
52 clientlayoutlist=r_peninput_layout_hwr_client_layout_list; |
|
53 vkblayoutlist=-1; |
|
54 rangebarinfo=r_peninput_layout_rangebar_info; |
|
55 shiftcapsinfo=-1; |
|
56 rangebarresource=r_peninput_layout_hwr_range_list; |
|
57 } |
|
58 |
|
59 // --------------------------------------------------------------------------- |
|
60 // r_peninput_layout_hwr_client_layout_list |
|
61 // Contains latin hwr layout |
|
62 // --------------------------------------------------------------------------- |
|
63 // |
|
64 RESOURCE PENINPUT_LAYOUT_CLIENT_LAYOUT_LIST r_peninput_layout_hwr_client_layout_list |
|
65 { |
|
66 items = |
|
67 { |
|
68 PENINPUT_LAYOUT_CLIENT_LAYOUT |
|
69 { |
|
70 id=EPeninutClientLayout10x5; |
|
71 colcount=8; |
|
72 rowcount=5; |
|
73 controls = |
|
74 { |
|
75 PENINPUT_LAYOUT_CONTROL |
|
76 { |
|
77 id=EPeninutWindowCtrlIdHwrBox; // HWR box |
|
78 beginrow=0; |
|
79 begincolumn=0; |
|
80 endrow=5; |
|
81 endcolumn=7; |
|
82 }, |
|
83 PENINPUT_LAYOUT_CONTROL |
|
84 { |
|
85 id=EPeninutWindowCtrlIdRangeBar; // Rangebar |
|
86 beginrow=0; |
|
87 begincolumn=7; |
|
88 endrow=3; |
|
89 endcolumn=8; |
|
90 }, |
|
91 PENINPUT_LAYOUT_CONTROL |
|
92 { |
|
93 id=EPeninutWindowCtrlIdSwitchToVkbBtn; // HWR switch button |
|
94 beginrow=3; |
|
95 begincolumn=7; |
|
96 endrow=5; |
|
97 endcolumn=8; |
|
98 } |
|
99 }; |
|
100 } |
|
101 }; |
|
102 } |
|
103 |
|
104 // --------------------------------------------------------------------------- |
|
105 // r_peninput_layout_rangebar_info |
|
106 // The information of hwr's rangebar |
|
107 // --------------------------------------------------------------------------- |
|
108 // |
|
109 RESOURCE PENINPUT_LAYOUT_RANGE_BAR_INFO r_peninput_layout_rangebar_info |
|
110 { |
|
111 style=1; |
|
112 ranges= |
|
113 { |
|
114 PENINPUT_LAYOUT_RANGE_INFO |
|
115 { |
|
116 rangeid=ERangeEnglish; // English button |
|
117 responsestyle=1; |
|
118 clientlayoutid=EPeninutClientLayout10x5; |
|
119 vkblayoutid=0; |
|
120 }, |
|
121 PENINPUT_LAYOUT_RANGE_INFO |
|
122 { |
|
123 rangeid=ERangeNumber; // Number button |
|
124 responsestyle=1; |
|
125 clientlayoutid=EPeninutClientLayout10x5; |
|
126 vkblayoutid=0; |
|
127 }, |
|
128 PENINPUT_LAYOUT_RANGE_INFO |
|
129 { |
|
130 rangeid=ERangeSymbol; // Symbol button |
|
131 responsestyle=1; |
|
132 clientlayoutid=EPeninutClientLayout10x5; |
|
133 vkblayoutid=0; |
|
134 } |
|
135 }; |
|
136 } |
|
137 |
|
138 // --------------------------------------------------------------------------- |
|
139 // r_peninput_layout_hwr_range_list |
|
140 // HWR range list |
|
141 // --------------------------------------------------------------------------- |
|
142 // |
|
143 RESOURCE AKN_FEP_INPUTRANGE_LIST r_peninput_layout_hwr_range_list |
|
144 { |
|
145 ranges= |
|
146 { |
|
147 AKN_FEP_INPUTRANGE |
|
148 { |
|
149 rangeid=ERangeEnglish; |
|
150 rangetype=ERangeTypeNormal; |
|
151 ctrlid=EPeninutWindowCtrlIdNativeCharBtn; |
|
152 ctrltype=EButtonTypeMultiMode; |
|
153 indicator=r_peninput_layout_hwr_range_english; |
|
154 }, |
|
155 AKN_FEP_INPUTRANGE |
|
156 { |
|
157 rangeid=ERangeNumber; |
|
158 ctrlid=EPeninutWindowCtrlIdLatinNumberBtn; |
|
159 indicator=r_peninput_layout_hwr_range_number; |
|
160 }, |
|
161 AKN_FEP_INPUTRANGE |
|
162 { |
|
163 rangeid=ERangeSymbol; |
|
164 ctrlid=EPeninutWindowCtrlIdSymbolBtn; |
|
165 indicator=r_peninput_layout_hwr_range_symbol; |
|
166 } |
|
167 }; |
|
168 } |
|
169 |
|
170 // ----------------------------------------------------------------------------- |
|
171 // r_peninput_layout_hwr_range_english |
|
172 // Button resource for latin range indicator |
|
173 // ----------------------------------------------------------------------------- |
|
174 // |
|
175 RESOURCE AKN_FEP_MULTIPLE_MODE_BUTTON r_peninput_layout_hwr_range_english |
|
176 { |
|
177 modes= |
|
178 { |
|
179 AKN_FEP_BUTTON_MODE |
|
180 { |
|
181 modeimage = r_peninput_layout_hwr_range_english_textcase; |
|
182 rangeid=ERangeEnglish; |
|
183 modeid=ECaseText; |
|
184 }, |
|
185 AKN_FEP_BUTTON_MODE |
|
186 { |
|
187 modeimage = r_peninput_layout_hwr_range_english_lowercase; |
|
188 rangeid=ERangeEnglish; |
|
189 modeid=ECaseLower; |
|
190 }, |
|
191 AKN_FEP_BUTTON_MODE |
|
192 { |
|
193 modeimage = r_peninput_layout_hwr_range_english_uppercase; |
|
194 rangeid=ERangeEnglish; |
|
195 modeid=ECaseUpper; |
|
196 } |
|
197 }; |
|
198 } |
|
199 |
|
200 // ----------------------------------------------------------------------------- |
|
201 // r_peninput_layout_hwr_range_english_uppercase |
|
202 // Image resource for latin range indicator |
|
203 // ----------------------------------------------------------------------------- |
|
204 // |
|
205 RESOURCE AKN_FEP_BUTTON_IMAGE r_peninput_layout_hwr_range_english_uppercase |
|
206 { |
|
207 bmpfile=PENINPUT_LAYOUT_HWR_BMP; |
|
208 imgmajorskinid=EAknsMajorGeneric; |
|
209 |
|
210 nactive=EMbmPeninputgenerichwrQgn_indi_input_case_capital; |
|
211 nactivemsk=EMbmPeninputgenerichwrQgn_indi_input_case_capital_mask; |
|
212 nactiveskinid=EAknsMinorGenericQgnIndiFepButtonCaseCapital; |
|
213 |
|
214 nactivep=EMbmPeninputgenerichwrQgn_indi_input_case_capital; |
|
215 nactivepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_capital_mask; |
|
216 nactivepskinid=EAknsMinorGenericQgnIndiFepButtonCaseCapital; |
|
217 |
|
218 active=EMbmPeninputgenerichwrQgn_indi_input_case_capital; |
|
219 activemsk=EMbmPeninputgenerichwrQgn_indi_input_case_capital_mask; |
|
220 activeskinid=EAknsMinorGenericQgnIndiFepButtonCaseCapitalSel; |
|
221 |
|
222 activep=EMbmPeninputgenerichwrQgn_indi_input_case_capital; |
|
223 activepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_capital_mask; |
|
224 activepskinid=EAknsMinorGenericQgnIndiFepButtonCaseCapitalSel; |
|
225 |
|
226 disable=EMbmPeninputgenerichwrQgn_indi_input_case_capital; |
|
227 disablemsk=EMbmPeninputgenerichwrQgn_indi_input_case_capital_mask; |
|
228 disableskinid=EAknsMinorGenericQgnIndiFepButtonCaseCapital; |
|
229 } |
|
230 |
|
231 // ----------------------------------------------------------------------------- |
|
232 // r_peninput_layout_hwr_range_english_lowercase |
|
233 // Image resource for latin range indicator |
|
234 // ----------------------------------------------------------------------------- |
|
235 // |
|
236 RESOURCE AKN_FEP_BUTTON_IMAGE r_peninput_layout_hwr_range_english_lowercase |
|
237 { |
|
238 bmpfile=PENINPUT_LAYOUT_HWR_BMP; |
|
239 imgmajorskinid=EAknsMajorGeneric; |
|
240 |
|
241 nactive=EMbmPeninputgenerichwrQgn_indi_input_case_small; |
|
242 nactivemsk=EMbmPeninputgenerichwrQgn_indi_input_case_small_mask; |
|
243 nactiveskinid=EAknsMinorGenericQgnIndiFepButtonCaseSmall; |
|
244 |
|
245 nactivep=EMbmPeninputgenerichwrQgn_indi_input_case_small; |
|
246 nactivepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_small_mask; |
|
247 nactivepskinid=EAknsMinorGenericQgnIndiFepButtonCaseSmall; |
|
248 |
|
249 active=EMbmPeninputgenerichwrQgn_indi_input_case_small; |
|
250 activemsk=EMbmPeninputgenerichwrQgn_indi_input_case_small_mask; |
|
251 activeskinid=EAknsMinorGenericQgnIndiFepButtonCaseSmallSel; |
|
252 |
|
253 activep=EMbmPeninputgenerichwrQgn_indi_input_case_small; |
|
254 activepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_small_mask; |
|
255 activepskinid=EAknsMinorGenericQgnIndiFepButtonCaseSmallSel; |
|
256 |
|
257 disable=EMbmPeninputgenerichwrQgn_indi_input_case_small; |
|
258 disablemsk=EMbmPeninputgenerichwrQgn_indi_input_case_small_mask; |
|
259 disableskinid=EAknsMinorGenericQgnIndiFepButtonCaseSmall; |
|
260 } |
|
261 |
|
262 // ----------------------------------------------------------------------------- |
|
263 // r_peninput_layout_hwr_range_english_textcase |
|
264 // Image resource for latin range indicator |
|
265 // ----------------------------------------------------------------------------- |
|
266 // |
|
267 RESOURCE AKN_FEP_BUTTON_IMAGE r_peninput_layout_hwr_range_english_textcase |
|
268 { |
|
269 bmpfile=PENINPUT_LAYOUT_HWR_BMP; |
|
270 imgmajorskinid=EAknsMajorGeneric; |
|
271 |
|
272 nactive=EMbmPeninputgenerichwrQgn_indi_input_case_text; |
|
273 nactivemsk=EMbmPeninputgenerichwrQgn_indi_input_case_text_mask; |
|
274 nactiveskinid=EAknsMinorGenericQgnIndiFepButtonCaseText; |
|
275 |
|
276 nactivep=EMbmPeninputgenerichwrQgn_indi_input_case_text; |
|
277 nactivepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_text_mask; |
|
278 nactivepskinid=EAknsMinorGenericQgnIndiFepButtonCaseText; |
|
279 |
|
280 active=EMbmPeninputgenerichwrQgn_indi_input_case_text; |
|
281 activemsk=EMbmPeninputgenerichwrQgn_indi_input_case_text_mask; |
|
282 activeskinid=EAknsMinorGenericQgnIndiFepButtonCaseTextSel; |
|
283 |
|
284 activep=EMbmPeninputgenerichwrQgn_indi_input_case_text; |
|
285 activepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_text_mask; |
|
286 activepskinid=EAknsMinorGenericQgnIndiFepButtonCaseTextSel; |
|
287 |
|
288 disable=EMbmPeninputgenerichwrQgn_indi_input_case_text; |
|
289 disablemsk=EMbmPeninputgenerichwrQgn_indi_input_case_text_mask; |
|
290 disableskinid=EAknsMinorGenericQgnIndiFepButtonCaseText; |
|
291 } |
|
292 |
|
293 // --------------------------------------------------------------------------- |
|
294 // r_peninput_layout_hwr_range_number |
|
295 // Number range button of hwr's rangebar |
|
296 // --------------------------------------------------------------------------- |
|
297 // |
|
298 RESOURCE AKN_FEP_BUTTON_IMAGE r_peninput_layout_hwr_range_number |
|
299 { |
|
300 bmpfile=PENINPUT_LAYOUT_HWR_BMP; |
|
301 imgmajorskinid=EAknsMajorGeneric; |
|
302 |
|
303 nactive=EMbmPeninputgenerichwrQgn_indi_input_case_numeric; |
|
304 nactivemsk=EMbmPeninputgenerichwrQgn_indi_input_case_numeric_mask; |
|
305 nactiveskinid=EAknsMinorGenericQgnIndiFepButtonCaseNumeric; |
|
306 |
|
307 nactivep=EMbmPeninputgenerichwrQgn_indi_input_case_numeric; |
|
308 nactivepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_numeric_mask; |
|
309 nactivepskinid=EAknsMinorGenericQgnIndiFepButtonCaseNumeric; |
|
310 |
|
311 active=EMbmPeninputgenerichwrQgn_indi_input_case_numeric; |
|
312 activemsk=EMbmPeninputgenerichwrQgn_indi_input_case_numeric_mask; |
|
313 activeskinid=EAknsMinorGenericQgnIndiFepButtonCaseNumericSel; |
|
314 |
|
315 activep=EMbmPeninputgenerichwrQgn_indi_input_case_numeric; |
|
316 activepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_numeric_mask; |
|
317 activepskinid=EAknsMinorGenericQgnIndiFepButtonCaseNumericSel; |
|
318 |
|
319 disable=EMbmPeninputgenerichwrQgn_indi_input_case_numeric; |
|
320 disablemsk=EMbmPeninputgenerichwrQgn_indi_input_case_numeric_mask; |
|
321 disableskinid=EAknsMinorGenericQgnIndiFepButtonCaseNumeric; |
|
322 } |
|
323 |
|
324 // --------------------------------------------------------------------------- |
|
325 // r_peninput_layout_hwr_range_symbol |
|
326 // Symbol range button of hwr's rangebar |
|
327 // --------------------------------------------------------------------------- |
|
328 // |
|
329 RESOURCE AKN_FEP_BUTTON_IMAGE r_peninput_layout_hwr_range_symbol |
|
330 { |
|
331 bmpfile=PENINPUT_LAYOUT_HWR_BMP; |
|
332 imgmajorskinid=EAknsMajorGeneric; |
|
333 |
|
334 nactive=EMbmPeninputgenerichwrQgn_indi_input_case_special; |
|
335 nactivemsk=EMbmPeninputgenerichwrQgn_indi_input_case_special_mask; |
|
336 nactiveskinid=EAknsMinorGenericQgnIndiFepButtonCaseSpecial; |
|
337 |
|
338 nactivep=EMbmPeninputgenerichwrQgn_indi_input_case_special; |
|
339 nactivepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_special_mask; |
|
340 nactivepskinid=EAknsMinorGenericQgnIndiFepButtonCaseSpecial; |
|
341 |
|
342 active=EMbmPeninputgenerichwrQgn_indi_input_case_special; |
|
343 activemsk=EMbmPeninputgenerichwrQgn_indi_input_case_special_mask; |
|
344 activeskinid=EAknsMinorGenericQgnIndiFepButtonCaseSpecialSel; |
|
345 |
|
346 activep=EMbmPeninputgenerichwrQgn_indi_input_case_special; |
|
347 activepmsk=EMbmPeninputgenerichwrQgn_indi_input_case_special_mask; |
|
348 activepskinid=EAknsMinorGenericQgnIndiFepButtonCaseSpecialSel; |
|
349 |
|
350 disable=EMbmPeninputgenerichwrQgn_indi_input_case_special; |
|
351 disablemsk=EMbmPeninputgenerichwrQgn_indi_input_case_special_mask; |
|
352 disableskinid=EAknsMinorGenericQgnIndiFepButtonCaseSpecial; |
|
353 } |