|
1 /* |
|
2 * Copyright (c) 2006 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: FM Radio resource definitions |
|
15 * |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 // RESOURCE IDENTIFIER |
|
21 // |
|
22 NAME FMRD // 4 letter ID |
|
23 |
|
24 // INCLUDES |
|
25 // |
|
26 #include <bldvariant.hrh> |
|
27 #include <data_caging_paths_strings.hrh> |
|
28 |
|
29 #include <e32keys.h> |
|
30 #include <eikon.rh> |
|
31 #include <eikon.rsg> |
|
32 #include <avkon.rsg> |
|
33 #include <avkon.mbg> |
|
34 #include <avkon.rh> |
|
35 #include <avkon.loc> |
|
36 #include <avkon.hrh> |
|
37 #include <uikon.rh> |
|
38 #include <appinfo.rh> |
|
39 #include <avkon.loc> |
|
40 |
|
41 #include <fmradio.mbg> |
|
42 #include "fmradio.rh" |
|
43 #include "fmradio.hrh" |
|
44 |
|
45 #include <fmradio.loc> |
|
46 |
|
47 #define KFMRadioBitmapFile APP_BITMAP_DIR "\\fmradio.mif" |
|
48 |
|
49 // RESOURCE DEFINITIONS |
|
50 // |
|
51 RESOURCE RSS_SIGNATURE { } |
|
52 |
|
53 RESOURCE TBUF { buf="FM Radio"; } |
|
54 |
|
55 |
|
56 RESOURCE EIK_APP_INFO |
|
57 { |
|
58 menubar = r_fmradio_main_menu; // Resource defining the menu. |
|
59 status_pane = r_fmradio_status_pane; |
|
60 } |
|
61 |
|
62 // For scalable AIF |
|
63 RESOURCE LOCALISABLE_APP_INFO r_fmradio_localisable_app_info |
|
64 { |
|
65 short_caption = qtn_fmradio_app_menu_list; |
|
66 caption_and_icon = CAPTION_AND_ICON_INFO |
|
67 { |
|
68 caption = qtn_fmradio_app_menu_grid; |
|
69 #ifdef __SCALABLE_ICONS |
|
70 number_of_icons = 1; |
|
71 icon_file = APP_BITMAP_DIR"\\FMRadio_aif.mif"; |
|
72 #else |
|
73 number_of_icons = 2; |
|
74 icon_file = APP_BITMAP_DIR"\\FMRadio_aif.mbm"; |
|
75 #endif |
|
76 }; |
|
77 } |
|
78 |
|
79 // --------------------------------------------------------------------------- |
|
80 // r_fmradio_setting_frequency_editor |
|
81 // Editor for setting frequency of a channel. |
|
82 // --------------------------------------------------------------------------- |
|
83 // |
|
84 RESOURCE FMRADIO_FREQUENCY_EDITOR r_fmradio_setting_frequency_editor |
|
85 { |
|
86 } |
|
87 |
|
88 // --------------------------------------------------------------------------- |
|
89 // r_fmradio_manual_tuning_query |
|
90 // Manual tuning query resources |
|
91 // --------------------------------------------------------------------------- |
|
92 // |
|
93 RESOURCE DIALOG r_fmradio_manual_tuning_query |
|
94 { |
|
95 flags = EGeneralQueryFlags | EEikDialogFlagDontEatUpDownEvents; |
|
96 buttons = r_fmradio_softkeys_save_cancel__save; |
|
97 items = |
|
98 { |
|
99 DLG_LINE |
|
100 { |
|
101 type = EFMRadioCtFrequencyQuery; |
|
102 id = EGeneralQuery; |
|
103 control = AVKON_DATA_QUERY |
|
104 { |
|
105 layout = ETimeLayout; |
|
106 control = FMRADIO_FREQUENCY_EDITOR |
|
107 { |
|
108 }; |
|
109 }; |
|
110 } |
|
111 }; |
|
112 } |
|
113 |
|
114 // --------------------------------------------------------------------------- |
|
115 // r_fmradio_channel_list_icon_array |
|
116 // --------------------------------------------------------------------------- |
|
117 // |
|
118 RESOURCE AKN_ICON_ARRAY r_fmradio_channel_list_icon_array |
|
119 { |
|
120 type = EAknIconArraySimple; |
|
121 bmpfile = KFMRadioBitmapFile; |
|
122 icons = |
|
123 { |
|
124 AKN_ICON |
|
125 { |
|
126 iconId = EMbmFmradioQgn_indi_radio_playing; |
|
127 maskId = EMbmFmradioQgn_indi_radio_playing_mask; |
|
128 }, |
|
129 AKN_ICON |
|
130 { |
|
131 iconId = EMbmFmradioQgn_indi_marked_add; |
|
132 maskId = EMbmFmradioQgn_indi_marked_add_mask; |
|
133 } |
|
134 }; |
|
135 } |
|
136 |
|
137 // --------------------------------------------------------------------------- |
|
138 // r_fmradio_main_view_toolbar |
|
139 // --------------------------------------------------------------------------- |
|
140 // |
|
141 RESOURCE AVKON_TOOLBAR r_fmradio_main_view_toolbar |
|
142 { |
|
143 flags = KAknToolbarTransparent|KAknToolbarWithoutCba|KAknToolbarFixed; |
|
144 items = |
|
145 { |
|
146 TBAR_CTRL |
|
147 { |
|
148 type = EAknCtButton; |
|
149 id = EFMRadioToolbarButtonCmdTuneDown; |
|
150 control = AVKON_BUTTON |
|
151 { |
|
152 flags = KAknButtonReportOnLongPress; |
|
153 states = |
|
154 { |
|
155 AVKON_BUTTON_STATE |
|
156 { |
|
157 bmpfile = KFMRadioBitmapFile; |
|
158 bmpid = EMbmFmradioQgn_indi_tb_radio_previous; |
|
159 bmpmask = EMbmFmradioQgn_indi_tb_radio_previous_mask; |
|
160 } |
|
161 }; |
|
162 }; |
|
163 }, |
|
164 TBAR_CTRL |
|
165 { |
|
166 type = EAknCtToolbarExtension; |
|
167 id = EFMRadioToolbarButtonCmdExtensionList; |
|
168 control = AVKON_TOOLBAR_EXTENSION |
|
169 { |
|
170 helptxt = qtn_fmradio_tooltip_extension; |
|
171 items = |
|
172 { |
|
173 TBAR_CTRL |
|
174 { |
|
175 type = EAknCtButton; |
|
176 id = EFMRadioCmdRename; |
|
177 control = AVKON_BUTTON |
|
178 { |
|
179 flags = KAknButtonRequestExitOnButtonUpEvent; |
|
180 states = |
|
181 { |
|
182 AVKON_BUTTON_STATE |
|
183 { |
|
184 txt = qtn_tbextension_rename; |
|
185 helptxt = qtn_fmradio_tooltip_rename; |
|
186 bmpfile = KFMRadioBitmapFile; |
|
187 bmpmask = EMbmFmradioQgn_indi_tb_rename; |
|
188 bmpid = EMbmFmradioQgn_indi_tb_rename_mask; |
|
189 } |
|
190 }; |
|
191 }; |
|
192 }, |
|
193 TBAR_CTRL |
|
194 { |
|
195 type = EAknCtButton; |
|
196 id = EFMRadioCmdSaveChannel; |
|
197 control = AVKON_BUTTON |
|
198 { |
|
199 flags = KAknButtonRequestExitOnButtonUpEvent; |
|
200 states = |
|
201 { |
|
202 AVKON_BUTTON_STATE |
|
203 { |
|
204 txt = qtn_tbextension_save; |
|
205 helptxt = qtn_fmradio_tooltip_save; |
|
206 bmpfile = KFMRadioBitmapFile; |
|
207 bmpid = EMbmFmradioQgn_indi_tb_radio_station_save; |
|
208 bmpmask = EMbmFmradioQgn_indi_tb_radio_station_save_mask; |
|
209 } |
|
210 }; |
|
211 }; |
|
212 }, |
|
213 TBAR_CTRL |
|
214 { |
|
215 type = EAknCtButton; |
|
216 id = EFMRadioCmdErase; |
|
217 control = AVKON_BUTTON |
|
218 { |
|
219 flags = KAknButtonRequestExitOnButtonUpEvent; |
|
220 states = |
|
221 { |
|
222 AVKON_BUTTON_STATE |
|
223 { |
|
224 txt = qtn_tbextension_delete; |
|
225 helptxt = qtn_fmradio_tooltip_delete; |
|
226 bmpfile = KFMRadioBitmapFile; |
|
227 bmpmask = EMbmFmradioQgn_indi_cam4_tb_delete_mask; |
|
228 bmpid = EMbmFmradioQgn_indi_cam4_tb_delete; |
|
229 } |
|
230 }; |
|
231 }; |
|
232 }, |
|
233 TBAR_CTRL |
|
234 { |
|
235 type = EAknCtButton; |
|
236 id = EFMRadioToolbarButtonCmdOperatorMusicStore; |
|
237 control = AVKON_BUTTON |
|
238 { |
|
239 flags = KAknButtonRequestExitOnButtonUpEvent; |
|
240 states = |
|
241 { |
|
242 AVKON_BUTTON_STATE |
|
243 { |
|
244 bmpfile = KFMRadioBitmapFile; |
|
245 bmpmask = EMbmFmradioQgn_indi_radio_tb_mshop; |
|
246 bmpid = EMbmFmradioQgn_indi_radio_tb_mshop_mask; |
|
247 } |
|
248 }; |
|
249 }; |
|
250 }, |
|
251 TBAR_CTRL |
|
252 { |
|
253 type = EAknCtButton; |
|
254 id = EFMRadioToolbarButtonCmdToggleIhf; |
|
255 control = AVKON_BUTTON |
|
256 { |
|
257 flags = KAknButtonRequestExitOnButtonUpEvent; |
|
258 states = |
|
259 { |
|
260 AVKON_BUTTON_STATE |
|
261 { |
|
262 txt = qtn_tbextension_activate_loudspeaker; |
|
263 helptxt = qtn_fmradio_tooltip_activate_loudspeaker; |
|
264 bmpfile = KFMRadioBitmapFile; |
|
265 bmpid = EMbmFmradioQgn_indi_tb_ihf_on; |
|
266 bmpmask = EMbmFmradioQgn_indi_tb_ihf_on_mask; |
|
267 }, |
|
268 AVKON_BUTTON_STATE |
|
269 { |
|
270 txt = qtn_tbextension_deactivate_loudspeaker; |
|
271 helptxt = qtn_fmradio_tooltip_deactivate_loudspeaker; |
|
272 bmpfile = KFMRadioBitmapFile; |
|
273 bmpid = EMbmFmradioQgn_indi_tb_ihf_off; |
|
274 bmpmask = EMbmFmradioQgn_indi_tb_ihf_off_mask; |
|
275 } |
|
276 }; |
|
277 }; |
|
278 }, |
|
279 TBAR_CTRL |
|
280 { |
|
281 type = EAknCtButton; |
|
282 id = EMPXPbvCmdInternetGoToWeb; |
|
283 control = AVKON_BUTTON |
|
284 { |
|
285 flags = KAknButtonRequestExitOnButtonUpEvent; |
|
286 states = |
|
287 { |
|
288 AVKON_BUTTON_STATE |
|
289 { |
|
290 txt = qtn_tbextension_station_web; |
|
291 helptxt = qtn_fmradio_tooltip_web; |
|
292 bmpfile = KFMRadioBitmapFile; |
|
293 bmpmask = EMbmFmradioQgn_indi_radio_tb_gotoweb; |
|
294 bmpid = EMbmFmradioQgn_indi_radio_tb_gotoweb_mask; |
|
295 } |
|
296 }; |
|
297 }; |
|
298 }, |
|
299 TBAR_CTRL |
|
300 { |
|
301 type = EAknCtButton; |
|
302 id = EFMRadioCmdChannelList; |
|
303 control = AVKON_BUTTON |
|
304 { |
|
305 flags = KAknButtonRequestExitOnButtonUpEvent; |
|
306 states = |
|
307 { |
|
308 AVKON_BUTTON_STATE |
|
309 { |
|
310 txt = qtn_tbextension_list_view; |
|
311 helptxt = qtn_fmradio_tooltip_stations; |
|
312 bmpfile = KFMRadioBitmapFile; |
|
313 bmpid = EMbmFmradioQgn_indi_radio_tb_list; |
|
314 bmpmask = EMbmFmradioQgn_indi_radio_tb_list_mask; |
|
315 } |
|
316 }; |
|
317 }; |
|
318 }, |
|
319 TBAR_CTRL |
|
320 { |
|
321 type = EAknCtButton; |
|
322 id = EFMRadioToolbarButtonCmdNokiaMusicStore; |
|
323 control = AVKON_BUTTON |
|
324 { |
|
325 flags = KAknButtonRequestExitOnButtonUpEvent; |
|
326 states = |
|
327 { |
|
328 AVKON_BUTTON_STATE |
|
329 { |
|
330 txt = qtn_tbextension_ovi_music; |
|
331 helptxt = qtn_fmradio_tooltip_nokia_music_store; |
|
332 bmpfile = KFMRadioBitmapFile; |
|
333 bmpid = EMbmFmradioQgn_menu_music; |
|
334 bmpmask = EMbmFmradioQgn_menu_music_mask; |
|
335 } |
|
336 }; |
|
337 }; |
|
338 } |
|
339 }; |
|
340 }; |
|
341 }, |
|
342 TBAR_CTRL |
|
343 { |
|
344 type = EAknCtButton; |
|
345 id = EFMRadioToolbarButtonCmdTuneUp; |
|
346 control = AVKON_BUTTON |
|
347 { |
|
348 flags = KAknButtonReportOnLongPress; |
|
349 states = |
|
350 { |
|
351 AVKON_BUTTON_STATE |
|
352 { |
|
353 bmpfile = KFMRadioBitmapFile; |
|
354 bmpid = EMbmFmradioQgn_indi_tb_radio_next; |
|
355 bmpmask = EMbmFmradioQgn_indi_tb_radio_next_mask; |
|
356 } |
|
357 }; |
|
358 }; |
|
359 } |
|
360 }; |
|
361 } |
|
362 |
|
363 //---------------------------------------------------- |
|
364 // |
|
365 // r_fmradio_status_pane |
|
366 // |
|
367 //---------------------------------------------------- |
|
368 // |
|
369 RESOURCE STATUS_PANE_APP_MODEL r_fmradio_status_pane |
|
370 { |
|
371 layout = R_AVKON_STATUS_PANE_LAYOUT_USUAL; |
|
372 panes = |
|
373 { |
|
374 SPANE_PANE |
|
375 { |
|
376 id = EEikStatusPaneUidTitle; |
|
377 type = EAknCtTitlePane; |
|
378 resource = r_qtn_fmradio_title; |
|
379 } |
|
380 }; |
|
381 } |
|
382 |
|
383 //---------------------------------------------------- |
|
384 // Resource : r_qtn_fmradio_title |
|
385 //---------------------------------------------------- |
|
386 // |
|
387 RESOURCE TITLE_PANE r_qtn_fmradio_title |
|
388 { |
|
389 txt = qtn_fmradio_title; |
|
390 } |
|
391 |
|
392 // ============================ Application views ============================ |
|
393 // |
|
394 RESOURCE CBA r_fmradio_softkeys_select_exit__select |
|
395 { |
|
396 buttons= |
|
397 { |
|
398 CBA_BUTTON { id = EAknSoftkeySelect; txt = text_softkey_select; }, |
|
399 CBA_BUTTON { id = EAknSoftkeyExit; txt = text_softkey_exit; }, |
|
400 CBA_BUTTON { id = EAknSoftkeySelect; txt = text_softkey_select; } |
|
401 }; |
|
402 } |
|
403 |
|
404 //---------------------------------------------------- |
|
405 // Resource : r_fmradio_softkeys_drop_done |
|
406 // Description : Reorder functionality softkeys |
|
407 //---------------------------------------------------- |
|
408 // |
|
409 RESOURCE CBA r_fmradio_softkeys_drop_done |
|
410 { |
|
411 buttons= |
|
412 { |
|
413 CBA_BUTTON { id = EFMRadioCmdDrop; txt = qtn_fmradio_softkey_drop; }, |
|
414 CBA_BUTTON { id = EFMRadioCmdDone; txt = text_softkey_done; } |
|
415 }; |
|
416 } |
|
417 //---------------------------------------------------- |
|
418 // Resource : r_fmradio_softkeys_drop_cancel |
|
419 // Description : Reorder functionality softkeys |
|
420 //---------------------------------------------------- |
|
421 // |
|
422 RESOURCE CBA r_fmradio_softkeys_drop_cancel |
|
423 { |
|
424 buttons= |
|
425 { |
|
426 CBA_BUTTON { id = EFMRadioCmdDrop; txt = qtn_fmradio_softkey_drop; }, |
|
427 CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; } |
|
428 }; |
|
429 } |
|
430 //---------------------------------------------------- |
|
431 // Resource : r_fmradio_softkeys_drop_done |
|
432 // Description : Reorder functionality softkeys |
|
433 //---------------------------------------------------- |
|
434 // |
|
435 RESOURCE CBA r_fmradio_softkeys_grab_cancel |
|
436 { |
|
437 buttons= |
|
438 { |
|
439 CBA_BUTTON { id = EFMRadioCmdGrap; txt = qtn_fmradio_softkey_grab; }, |
|
440 CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; } |
|
441 }; |
|
442 } |
|
443 //---------------------------------------------------- |
|
444 // Resource : r_fmradio_softkeys_grap_done |
|
445 // Description : Move functionality softkeys |
|
446 //---------------------------------------------------- |
|
447 // |
|
448 RESOURCE CBA r_fmradio_softkeys_grap_done |
|
449 { |
|
450 buttons= |
|
451 { |
|
452 CBA_BUTTON { id = EFMRadioCmdGrap; txt = qtn_fmradio_softkey_grab; }, |
|
453 CBA_BUTTON { id = EFMRadioCmdDone; txt = text_softkey_done; } |
|
454 }; |
|
455 } |
|
456 //---------------------------------------------------- |
|
457 // Resource : r_fmradio_softkeys_save_cancel__save |
|
458 // Description : softkeys for manual tuning dialog |
|
459 //---------------------------------------------------- |
|
460 // |
|
461 RESOURCE CBA r_fmradio_softkeys_save_cancel__save |
|
462 { |
|
463 buttons= |
|
464 { |
|
465 CBA_BUTTON { id = EAknSoftkeySave; txt = text_softkey_save; }, |
|
466 CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; }, |
|
467 CBA_BUTTON { id = EAknSoftkeySave; txt = text_softkey_save; } |
|
468 }; |
|
469 } |
|
470 |
|
471 //---------------------------------------------------- |
|
472 // Resource : r_fmradio_main_view |
|
473 // Description : Application main view. (View ID=1) |
|
474 //---------------------------------------------------- |
|
475 // |
|
476 RESOURCE AVKON_VIEW r_fmradio_main_view |
|
477 { |
|
478 menubar = r_fmradio_main_menu; |
|
479 cba = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
480 toolbar = r_fmradio_main_view_toolbar; |
|
481 } |
|
482 |
|
483 // --------------------------------------------------------- |
|
484 // r_fmradio_main_view_tuning_state_softkeys |
|
485 // --------------------------------------------------------- |
|
486 // |
|
487 RESOURCE CBA r_fmradio_main_view_tuning_state_softkeys |
|
488 { |
|
489 buttons = |
|
490 { |
|
491 CBA_BUTTON { txt = text_softkey_empty; }, |
|
492 CBA_BUTTON { id = EFMRadioCmdStopTuning; txt = text_softkey_stop; } |
|
493 }; |
|
494 } |
|
495 |
|
496 // --------------------------------------------------------- |
|
497 // r_fmradio_softkeys_exit |
|
498 // --------------------------------------------------------- |
|
499 // |
|
500 RESOURCE CBA r_fmradio_softkeys_exit |
|
501 { |
|
502 buttons = |
|
503 { |
|
504 CBA_BUTTON { txt = text_softkey_empty; }, |
|
505 CBA_BUTTON { id = EAknSoftkeyExit; txt = text_softkey_exit; } |
|
506 }; |
|
507 } |
|
508 |
|
509 //---------------------------------------------------- |
|
510 // Resource : r_fmradio_ch_list_view |
|
511 // Description : Stations view. (View ID=2) |
|
512 //---------------------------------------------------- |
|
513 // |
|
514 RESOURCE AVKON_VIEW r_fmradio_ch_list_view |
|
515 { |
|
516 menubar = r_fmradio_channel_list_menu; |
|
517 cba = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
518 toolbar = r_fmradio_channel_list_toolbar; |
|
519 } |
|
520 |
|
521 // ================================ View titles ============================== |
|
522 // |
|
523 |
|
524 // --------------------------------------------------------------------------- |
|
525 // r_fmradio_stations_view_title |
|
526 // Title of stations view. |
|
527 // --------------------------------------------------------------------------- |
|
528 // |
|
529 RESOURCE TBUF r_fmradio_stations_view_title { buf = qtn_fmradio_stations_title; } |
|
530 |
|
531 // --------------------------------------------------------------------------- |
|
532 // r_fmradio_search_stations_view_title |
|
533 // Title of scan local stations view. |
|
534 // --------------------------------------------------------------------------- |
|
535 // |
|
536 RESOURCE TBUF r_fmradio_search_stations_view_title { buf = qtn_fmradio_search_stations_title; } |
|
537 |
|
538 |
|
539 // ================================ Menu titles ============================== |
|
540 // |
|
541 |
|
542 //---------------------------------------------------- |
|
543 // Resource : r_fmradio_main_menu |
|
544 // Description : Title for the Main menu. |
|
545 //---------------------------------------------------- |
|
546 // |
|
547 RESOURCE MENU_BAR r_fmradio_main_menu |
|
548 { |
|
549 titles= |
|
550 { |
|
551 MENU_TITLE { menu_pane = r_fmradio_main_options_menu; txt = ""; } |
|
552 }; |
|
553 } |
|
554 |
|
555 |
|
556 //---------------------------------------------------- |
|
557 // Resource : r_fmradio_channel_list_menu |
|
558 // Description : Title for the channel list menu. |
|
559 //---------------------------------------------------- |
|
560 // |
|
561 RESOURCE MENU_BAR r_fmradio_channel_list_menu |
|
562 { |
|
563 titles= |
|
564 { |
|
565 MENU_TITLE { menu_pane = r_fmradio_ch_list_options_menu; txt = ""; } |
|
566 }; |
|
567 } |
|
568 |
|
569 |
|
570 // ================================ Menu items =============================== |
|
571 // |
|
572 |
|
573 //---------------------------------------------------- |
|
574 // Resource : r_fmradio_main_options_menu |
|
575 // Description : Main options menu items v2. |
|
576 //---------------------------------------------------- |
|
577 // |
|
578 RESOURCE MENU_PANE r_fmradio_main_options_menu |
|
579 { |
|
580 items= |
|
581 { |
|
582 MENU_ITEM { command = EMPXPbvCmdInternetGoToWeb; txt = qtn_fmradio_options_web_address; }, |
|
583 MENU_ITEM { command = EFMRadioCmdChannelList; txt = qtn_fmradio_options_stations; }, |
|
584 MENU_ITEM { command = EFMRadioCmdSaveChannel; txt = qtn_fmradio_options_save; }, |
|
585 MENU_ITEM { command = EFMRadioCmdErase; txt = qtn_fmradio_options_delete; }, |
|
586 MENU_ITEM { command = EFMRadioCmdRename; txt = qtn_fmradio_options_rename; }, |
|
587 MENU_ITEM { command = EFMRadioCmdActivateIhf; txt = qtn_fmradio_options_activate; }, |
|
588 MENU_ITEM { command = EFMRadioCmdDeactivateIhf; txt = qtn_fmradio_options_deactivate; }, |
|
589 MENU_ITEM { command = EFMRadioCmdOpenAFSubmenu; txt = qtn_fmradio_options_alternative_freq; cascade = r_fmradio_options_af_sub_menu; }, |
|
590 MENU_ITEM { command = EAknCmdHelp; txt = qtn_options_help; }, |
|
591 MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; } |
|
592 }; |
|
593 } |
|
594 |
|
595 //---------------------------------------------------- |
|
596 // Resource : r_fmradio_options_af_sub_menu |
|
597 // Description : Sub options menu for alternative frequency. |
|
598 //---------------------------------------------------- |
|
599 // |
|
600 RESOURCE MENU_PANE r_fmradio_options_af_sub_menu |
|
601 { |
|
602 items = |
|
603 { |
|
604 MENU_ITEM |
|
605 { |
|
606 command = EFMRadioCmdEnableRdsAfSearch; |
|
607 txt = qtn_fmradio_options_on; |
|
608 flags = EEikMenuItemRadioStart; |
|
609 }, |
|
610 MENU_ITEM |
|
611 { |
|
612 command = EFMRadioCmdDisableRdsAfSearch; |
|
613 txt = qtn_fmradio_options_off; |
|
614 flags = EEikMenuItemRadioEnd; |
|
615 } |
|
616 }; |
|
617 } |
|
618 |
|
619 //---------------------------------------------------- |
|
620 // Resource : r_fmradio_ch_list_options_menu |
|
621 // Description : Channel list options menu items. |
|
622 //---------------------------------------------------- |
|
623 // |
|
624 RESOURCE MENU_PANE r_fmradio_ch_list_options_menu |
|
625 { |
|
626 items= |
|
627 { |
|
628 MENU_ITEM { command = EFMRadioCmdRename; txt = qtn_fmradio_options_rename; flags = EEikMenuItemSpecific; }, |
|
629 MENU_ITEM { command = EFMRadioCmdErase; txt = qtn_fmradio_options_delete; flags = EEikMenuItemSpecific; }, |
|
630 MENU_ITEM { command = EFMRadioCmdMove; txt = qtn_fmradio_move; flags = EEikMenuItemSpecific; }, |
|
631 MENU_ITEM { command = EFMRadioCmdScanLocalStations; txt = qtn_fmradio_options_search_stations; }, |
|
632 MENU_ITEM { command = EFMRadioCmdTuneManually; txt = qtn_fmradio_options_tune_manually; }, |
|
633 MENU_ITEM { command = EFMRadioCmdActivateIhf; txt = qtn_fmradio_options_activate; }, |
|
634 MENU_ITEM { command = EFMRadioCmdDeactivateIhf; txt = qtn_fmradio_options_deactivate; }, |
|
635 MENU_ITEM { command = EAknCmdHelp; txt = qtn_options_help; }, |
|
636 MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; } |
|
637 }; |
|
638 } |
|
639 |
|
640 // --------------------------------------------------------------------------- |
|
641 // r_fmradio_channel_list_toolbar |
|
642 // --------------------------------------------------------------------------- |
|
643 // |
|
644 RESOURCE AVKON_TOOLBAR r_fmradio_channel_list_toolbar |
|
645 { |
|
646 flags = KAknToolbarTransparent|KAknToolbarWithoutCba|KAknToolbarFixed; |
|
647 items = |
|
648 { |
|
649 TBAR_CTRL |
|
650 { |
|
651 type = EAknCtButton; |
|
652 id = EFMRadioCmdTuneManually; |
|
653 control = AVKON_BUTTON |
|
654 { |
|
655 states = |
|
656 { |
|
657 AVKON_BUTTON_STATE |
|
658 { |
|
659 helptxt = qtn_fmradio_tooltip_tune_manually; |
|
660 bmpfile = KFMRadioBitmapFile; |
|
661 bmpid = EMbmFmradioQgn_indi_radio_tb_manualtune; |
|
662 bmpmask = EMbmFmradioQgn_indi_radio_tb_manualtune_mask; |
|
663 } |
|
664 }; |
|
665 }; |
|
666 }, |
|
667 TBAR_CTRL |
|
668 { |
|
669 type = EAknCtButton; |
|
670 id = EFMRadioCmdScanLocalStations; |
|
671 control = AVKON_BUTTON |
|
672 { |
|
673 states = |
|
674 { |
|
675 AVKON_BUTTON_STATE |
|
676 { |
|
677 helptxt = qtn_fmradio_tooltip_search_stations; |
|
678 bmpfile = KFMRadioBitmapFile; |
|
679 bmpid = EMbmFmradioQgn_indi_tb_radio_scan; |
|
680 bmpmask = EMbmFmradioQgn_indi_tb_radio_scan_mask; |
|
681 } |
|
682 }; |
|
683 }; |
|
684 }, |
|
685 TBAR_CTRL |
|
686 { |
|
687 type = EAknCtButton; |
|
688 id = EFMRadioToolbarButtonCmdToggleIhf; |
|
689 control = AVKON_BUTTON |
|
690 { |
|
691 states = |
|
692 { |
|
693 AVKON_BUTTON_STATE |
|
694 { |
|
695 helptxt = qtn_fmradio_tooltip_activate_loudspeaker; |
|
696 bmpfile = KFMRadioBitmapFile; |
|
697 bmpid = EMbmFmradioQgn_indi_tb_ihf_on; |
|
698 bmpmask = EMbmFmradioQgn_indi_tb_ihf_on_mask; |
|
699 }, |
|
700 AVKON_BUTTON_STATE |
|
701 { |
|
702 helptxt = qtn_fmradio_tooltip_deactivate_loudspeaker; |
|
703 bmpfile = KFMRadioBitmapFile; |
|
704 bmpid = EMbmFmradioQgn_indi_tb_ihf_off; |
|
705 bmpmask = EMbmFmradioQgn_indi_tb_ihf_off_mask; |
|
706 } |
|
707 }; |
|
708 }; |
|
709 } |
|
710 }; |
|
711 } |
|
712 |
|
713 // ============================= Data queries ============================== |
|
714 // |
|
715 |
|
716 RESOURCE AVKON_LIST_QUERY r_fmradio_listquery_save_all_replace_append |
|
717 { |
|
718 softkeys=R_AVKON_SOFTKEYS_SELECT_CANCEL; |
|
719 items = |
|
720 { |
|
721 AVKON_LIST_QUERY_DLG_LINE |
|
722 { |
|
723 control = AVKON_LIST_QUERY_CONTROL |
|
724 { |
|
725 listtype = EAknCtSinglePopupMenuListBox; |
|
726 heading = qtn_fmradio_list_query_save_all; |
|
727 listbox = AVKON_LIST_QUERY_LIST |
|
728 { |
|
729 array_id = r_fmradio_listquery_save_all_replace_append_items; |
|
730 }; |
|
731 }; |
|
732 } |
|
733 }; |
|
734 } |
|
735 |
|
736 |
|
737 RESOURCE ARRAY r_fmradio_listquery_save_all_replace_append_items |
|
738 { |
|
739 items = |
|
740 { |
|
741 LBUF {txt = qtn_fmradio_list_query_replace_all; }, |
|
742 LBUF {txt = qtn_fmradio_list_query_append; } |
|
743 }; |
|
744 } |
|
745 |
|
746 RESOURCE AVKON_LIST_QUERY r_fmradio_listquery_save_all_replace_append_list_almost_full |
|
747 { |
|
748 softkeys=R_AVKON_SOFTKEYS_SELECT_CANCEL; |
|
749 items = |
|
750 { |
|
751 AVKON_LIST_QUERY_DLG_LINE |
|
752 { |
|
753 control = AVKON_LIST_QUERY_CONTROL |
|
754 { |
|
755 listtype = EAknCtSinglePopupMenuListBox; |
|
756 heading = qtn_fmradio_list_query_list_full; |
|
757 listbox = AVKON_LIST_QUERY_LIST |
|
758 { |
|
759 array_id = r_fmradio_listquery_save_all_replace_append_items_list_almost_full; |
|
760 }; |
|
761 }; |
|
762 } |
|
763 }; |
|
764 } |
|
765 |
|
766 RESOURCE ARRAY r_fmradio_listquery_save_all_replace_append_items_list_almost_full |
|
767 { |
|
768 items = |
|
769 { |
|
770 LBUF {txt = qtn_fmradio_list_query_all_fits; }, |
|
771 LBUF {txt = qtn_fmradio_list_query_replace_all; } |
|
772 }; |
|
773 } |
|
774 |
|
775 RESOURCE DIALOG r_fmradio_rename_query |
|
776 { |
|
777 flags=EGeneralQueryFlags; |
|
778 buttons=R_AVKON_SOFTKEYS_OK_CANCEL; |
|
779 items= |
|
780 { |
|
781 DLG_LINE |
|
782 { |
|
783 type=EAknCtQuery; |
|
784 id=EGeneralQuery; |
|
785 control= AVKON_DATA_QUERY |
|
786 { |
|
787 layout = EDataLayout; |
|
788 label = qtn_fmradio_query_rename; |
|
789 control = EDWIN |
|
790 { |
|
791 flags= EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
792 maxlength=20; |
|
793 width=16; |
|
794 lines=1; |
|
795 max_view_height_in_lines=1; // (5 or less lines are permitted) |
|
796 base_line_delta=21; |
|
797 }; |
|
798 }; |
|
799 } |
|
800 }; |
|
801 } |
|
802 |
|
803 RESOURCE AVKON_LIST_QUERY r_fmradio_select_region_query |
|
804 { |
|
805 flags = EGeneralQueryFlags | EEikDialogFlagWait; |
|
806 softkeys = r_fmradio_softkeys_select_exit__select; |
|
807 |
|
808 items = |
|
809 { |
|
810 AVKON_LIST_QUERY_DLG_LINE |
|
811 { |
|
812 control = AVKON_LIST_QUERY_CONTROL |
|
813 { |
|
814 listtype = EAknCtSinglePopupMenuListBox; |
|
815 listbox = AVKON_LIST_QUERY_LIST |
|
816 { |
|
817 }; |
|
818 heading = qtn_fmradio_popup_head_select_reg; |
|
819 }; |
|
820 } |
|
821 }; |
|
822 } |
|
823 |
|
824 // ========================= Confirmation queries ========================== |
|
825 // |
|
826 |
|
827 //---------------------------------------------------- |
|
828 // Resource : r_fmradio_activate_in_offline_query |
|
829 // Description : A dialog shown when starting FM Radio |
|
830 // and off-line mode is active. |
|
831 //---------------------------------------------------- |
|
832 // |
|
833 RESOURCE DIALOG r_fmradio_activate_in_offline_query |
|
834 { |
|
835 flags = EGeneralQueryFlags; |
|
836 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
837 items = |
|
838 { |
|
839 DLG_LINE |
|
840 { |
|
841 type = EAknCtQuery; |
|
842 id = EGeneralQuery; |
|
843 control = AVKON_CONFIRMATION_QUERY |
|
844 { |
|
845 layout = EConfirmationQueryLayout; |
|
846 label = qtn_fmradio_query_offline_activate; |
|
847 }; |
|
848 } |
|
849 }; |
|
850 } |
|
851 |
|
852 //---------------------------------------------------- |
|
853 // Resource : r_fmradio_continue_in_offline_query |
|
854 // Description : A dialog shown when coming to |
|
855 // foreground and off-line mode has been |
|
856 // activated in background. |
|
857 //---------------------------------------------------- |
|
858 // |
|
859 RESOURCE DIALOG r_fmradio_continue_in_offline_query |
|
860 { |
|
861 flags = EGeneralQueryFlags; |
|
862 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
863 items = |
|
864 { |
|
865 DLG_LINE |
|
866 { |
|
867 type = EAknCtQuery; |
|
868 id = EGeneralQuery; |
|
869 control = AVKON_CONFIRMATION_QUERY |
|
870 { |
|
871 layout = EConfirmationQueryLayout; |
|
872 label = qtn_fmradio_query_offline_use; |
|
873 }; |
|
874 } |
|
875 }; |
|
876 } |
|
877 |
|
878 //---------------------------------------------------- |
|
879 // Resource : r_fmradio_save_ch_confirmation_query |
|
880 // Description : Confirmation query used when user |
|
881 // tries to save a channel to a reserved |
|
882 // channel slot. User is asked to |
|
883 // confirm is the intention to replace |
|
884 // the existing channel in that channel |
|
885 // slot. |
|
886 //---------------------------------------------------- |
|
887 // |
|
888 RESOURCE DIALOG r_fmradio_save_ch_confirmation_query |
|
889 { |
|
890 flags = EGeneralQueryFlags; |
|
891 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
892 items = |
|
893 { |
|
894 DLG_LINE |
|
895 { |
|
896 type = EAknCtQuery; |
|
897 id = EGeneralQuery; |
|
898 control = AVKON_CONFIRMATION_QUERY |
|
899 { |
|
900 layout = EConfirmationLayout; |
|
901 }; |
|
902 } |
|
903 }; |
|
904 } |
|
905 |
|
906 //---------------------------------------------------- |
|
907 // Resource : r_fmradio_erase_ch_confirmation_query |
|
908 // Description : Confirmation query used when user |
|
909 // tries to delete a channel from a |
|
910 // channel slot. User is asked to |
|
911 // confirm is the intention to really |
|
912 // delete the existing channel in that |
|
913 // channel slot or was it just an |
|
914 // accidental menu selection... |
|
915 //---------------------------------------------------- |
|
916 // |
|
917 RESOURCE DIALOG r_fmradio_erase_ch_confirmation_query |
|
918 { |
|
919 flags = EGeneralQueryFlags; |
|
920 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
921 items = |
|
922 { |
|
923 DLG_LINE |
|
924 { |
|
925 type = EAknCtQuery; |
|
926 id = EGeneralQuery; |
|
927 control = AVKON_CONFIRMATION_QUERY |
|
928 { |
|
929 layout = EConfirmationLayout; |
|
930 }; |
|
931 } |
|
932 }; |
|
933 } |
|
934 |
|
935 RESOURCE DIALOG r_fmradio_connect_headset_note |
|
936 { |
|
937 flags = EAknDialogGenericQueryFlags; |
|
938 buttons = r_fmradio_softkeys_exit; |
|
939 items = |
|
940 { |
|
941 DLG_LINE |
|
942 { |
|
943 type = EAknCtQuery; |
|
944 id = EConfirmationLayout; |
|
945 control = AVKON_CONFIRMATION_QUERY |
|
946 { |
|
947 layout = EConfirmationQueryLayout; |
|
948 bmpfile = KFMRadioBitmapFile; |
|
949 bmpid = EMbmFmradioQgn_note_radio_jackmini; |
|
950 bmpmask = EMbmFmradioQgn_note_radio_jackmini_mask; |
|
951 }; |
|
952 } |
|
953 }; |
|
954 } |
|
955 |
|
956 //---------------------------------------------------- |
|
957 // Resource : r_fmradio_query_save_current |
|
958 // Description : query for saving channel that has not been saved |
|
959 //---------------------------------------------------- |
|
960 // |
|
961 RESOURCE DIALOG r_fmradio_query_save_current |
|
962 { |
|
963 flags = EGeneralQueryFlags; |
|
964 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
965 items = |
|
966 { |
|
967 DLG_LINE |
|
968 { |
|
969 type = EAknCtQuery; |
|
970 id = EGeneralQuery; |
|
971 control = AVKON_CONFIRMATION_QUERY |
|
972 { |
|
973 layout = EConfirmationQueryLayout; |
|
974 label = qtn_fmradio_query_save_current; |
|
975 }; |
|
976 } |
|
977 }; |
|
978 } |
|
979 |
|
980 //---------------------------------------------------- |
|
981 // Resource : r_fmradio_replace_existing_channels_query |
|
982 // Description : Shown when starting channel list is full |
|
983 // and user presses save all in scan stations. |
|
984 //---------------------------------------------------- |
|
985 // |
|
986 RESOURCE DIALOG r_fmradio_replace_existing_channels_query |
|
987 { |
|
988 flags = EGeneralQueryFlags; |
|
989 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
990 items = |
|
991 { |
|
992 DLG_LINE |
|
993 { |
|
994 type = EAknCtQuery; |
|
995 id = EGeneralQuery; |
|
996 control = AVKON_CONFIRMATION_QUERY |
|
997 { |
|
998 layout = EConfirmationQueryLayout; |
|
999 label = qtn_fmradio_query_replace_all; |
|
1000 }; |
|
1001 } |
|
1002 }; |
|
1003 } |
|
1004 // ============================== Notes =================================== |
|
1005 |
|
1006 //---------------------------------------------------- |
|
1007 // Resource : r_fmradio_rtplus_firsttime_note |
|
1008 // Description : A wait note used while seek is |
|
1009 // in progress. |
|
1010 //---------------------------------------------------- |
|
1011 // |
|
1012 RESOURCE DIALOG r_fmradio_rtplus_firsttime_note |
|
1013 { |
|
1014 flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
1015 buttons = R_AVKON_SOFTKEYS_OK_EMPTY; |
|
1016 items = |
|
1017 { |
|
1018 DLG_LINE |
|
1019 { |
|
1020 type = EAknCtPopupHeadingPane; |
|
1021 id = EAknMessageQueryHeaderId; |
|
1022 control = AVKON_HEADING |
|
1023 { |
|
1024 headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE; |
|
1025 }; |
|
1026 }, |
|
1027 DLG_LINE |
|
1028 { |
|
1029 type = EAknCtMessageQuery; |
|
1030 id = EAknMessageQueryContentId; |
|
1031 control = AVKON_MESSAGE_QUERY |
|
1032 { |
|
1033 }; |
|
1034 } |
|
1035 }; |
|
1036 } |
|
1037 |
|
1038 // ======================== Dynamic menu strings =========================== |
|
1039 // |
|
1040 |
|
1041 //---------------------------------------------------- |
|
1042 // Resource : r_qtn_fmradio_options_activate |
|
1043 // Description : String for a menu item when IHF- |
|
1044 // speaker is inactive. |
|
1045 //---------------------------------------------------- |
|
1046 // |
|
1047 RESOURCE TBUF r_qtn_fmradio_options_activate { buf = qtn_fmradio_options_activate; } |
|
1048 |
|
1049 //---------------------------------------------------- |
|
1050 // Resource : r_qtn_fmradio_options_deactivate |
|
1051 // Description : String for a menu item when IHF- |
|
1052 // speaker is active. |
|
1053 //---------------------------------------------------- |
|
1054 // |
|
1055 RESOURCE TBUF r_qtn_fmradio_options_deactivate { buf = qtn_fmradio_options_deactivate; } |
|
1056 |
|
1057 //---------------------------------------------------- |
|
1058 // Resource : r_fmradio_options_music_store |
|
1059 // Description : Options menu item for music store. |
|
1060 //---------------------------------------------------- |
|
1061 // |
|
1062 RESOURCE MENU_PANE r_fmradio_options_music_store |
|
1063 { |
|
1064 items = |
|
1065 { |
|
1066 MENU_ITEM |
|
1067 { |
|
1068 command = EFMRadioMusicStore; |
|
1069 txt = qtn_fmradio_options_music_store; |
|
1070 } |
|
1071 }; |
|
1072 } |
|
1073 |
|
1074 //---------------------------------------------------- |
|
1075 // Resource : r_fmradio_options_music_store_with_sub_menu |
|
1076 // Description : Sub options menu for music store. |
|
1077 //---------------------------------------------------- |
|
1078 // |
|
1079 RESOURCE MENU_PANE r_fmradio_options_music_store_with_sub_menu |
|
1080 { |
|
1081 items = |
|
1082 { |
|
1083 MENU_ITEM |
|
1084 { |
|
1085 command = EFMRadioMusicStore; |
|
1086 txt = qtn_fmradio_options_music_store_submenu; |
|
1087 cascade = r_fmradio_options_music_store_sub_menu; |
|
1088 } |
|
1089 }; |
|
1090 } |
|
1091 |
|
1092 //---------------------------------------------------- |
|
1093 // Resource : r_fmradio_options_music_store_sub_menu |
|
1094 // Description : Sub options menu for music store. |
|
1095 //---------------------------------------------------- |
|
1096 // |
|
1097 RESOURCE MENU_PANE r_fmradio_options_music_store_sub_menu |
|
1098 { |
|
1099 items = |
|
1100 { |
|
1101 MENU_ITEM |
|
1102 { |
|
1103 command = EFMRadioMusicStoreOperator; |
|
1104 txt = ""; // Operator Music Store |
|
1105 }, |
|
1106 MENU_ITEM |
|
1107 { |
|
1108 command = EFMRadioMusicStoreNokiaMusicShop; |
|
1109 txt = qtn_fmradio_options_nokia_music_store; |
|
1110 } |
|
1111 }; |
|
1112 } |
|
1113 |
|
1114 |
|
1115 // ====================== Strings from fmradio.loc ========================= |
|
1116 // |
|
1117 |
|
1118 //---------------------------------------------------- |
|
1119 // Resource : r_qtn_fmradio_query_offline_use |
|
1120 // Description : Prompt text for text query dialog. |
|
1121 //---------------------------------------------------- |
|
1122 // |
|
1123 RESOURCE TBUF r_qtn_fmradio_query_offline_use { buf = qtn_fmradio_query_offline_use; } |
|
1124 |
|
1125 //---------------------------------------------------- |
|
1126 // Resource : r_qtn_fmradio_mem_location_freq |
|
1127 // Description : Text including channel index and |
|
1128 // frequency. Used in main view. |
|
1129 //---------------------------------------------------- |
|
1130 // |
|
1131 RESOURCE TBUF r_qtn_fmradio_mem_location_freq { buf = qtn_fmradio_mem_location_freq; } |
|
1132 |
|
1133 //---------------------------------------------------- |
|
1134 // Resource : r_qtn_fmradio_mem_location_name |
|
1135 // Description : Text including channel index and |
|
1136 // channel name. Used in main view. |
|
1137 //---------------------------------------------------- |
|
1138 // |
|
1139 RESOURCE TBUF r_qtn_fmradio_mem_location_name { buf = qtn_fmradio_mem_location_name; } |
|
1140 |
|
1141 //---------------------------------------------------- |
|
1142 // Resource : r_qtn_fmradio_freq |
|
1143 // Description : Text to display frequency of current station |
|
1144 //---------------------------------------------------- |
|
1145 // |
|
1146 RESOURCE TBUF r_qtn_fmradio_freq { buf= qtn_fmradio_freq; } |
|
1147 |
|
1148 //---------------------------------------------------- |
|
1149 // Resource : r_qtn_fmradio_media_idle_freq |
|
1150 // Description : Text to display frequency in media idle |
|
1151 //---------------------------------------------------- |
|
1152 // |
|
1153 RESOURCE TBUF r_qtn_fmradio_media_idle_freq { buf= qtn_fmradio_media_idle_freq; } |
|
1154 |
|
1155 //---------------------------------------------------- |
|
1156 // Resource : r_qtn_fmradio_rds |
|
1157 // Description : Text to rds indicator |
|
1158 //---------------------------------------------------- |
|
1159 // |
|
1160 RESOURCE TBUF r_qtn_fmradio_rds { buf = qtn_fmradio_rds; } |
|
1161 |
|
1162 //---------------------------------------------------- |
|
1163 // Resource : r_qtn_fmradio_af |
|
1164 // Description : Text to af indicator |
|
1165 //---------------------------------------------------- |
|
1166 // |
|
1167 RESOURCE TBUF r_qtn_fmradio_af { buf = qtn_fmradio_af; } |
|
1168 |
|
1169 //---------------------------------------------------- |
|
1170 // Resource : r_qtn_fmradio_rtplus_indicator_text |
|
1171 // Description : Text to af indicator |
|
1172 //---------------------------------------------------- |
|
1173 // |
|
1174 RESOURCE TBUF r_qtn_fmradio_rtplus_indicator_text { buf = qtn_fmradio_rtplus; } |
|
1175 |
|
1176 //---------------------------------------------------- |
|
1177 // Resource : r_qtn_fmradio_rtplus_firsttime |
|
1178 // Description : Text to a note which is shown when RT+ |
|
1179 // interactions become available for the first time. |
|
1180 //---------------------------------------------------- |
|
1181 // |
|
1182 RESOURCE TBUF r_qtn_fmradio_rtplus_firsttime { buf = qtn_fmradio_query_rtplus_enabled; } |
|
1183 |
|
1184 //---------------------------------------------------- |
|
1185 // Resource : r_qtn_fmradio_query_delete |
|
1186 // Description : Used in confirmation query when user |
|
1187 // is asked to confirm deleting a |
|
1188 // channel from the channel list. |
|
1189 //---------------------------------------------------- |
|
1190 // |
|
1191 RESOURCE TBUF r_qtn_fmradio_query_delete { buf = qtn_fmradio_query_delete; } |
|
1192 |
|
1193 //---------------------------------------------------- |
|
1194 // Resource : r_qtn_fmradio_query_delete_mhz |
|
1195 // Description : Used in confirmation query when user |
|
1196 // is asked to confirm deleting a |
|
1197 // channel from the channel list. Used |
|
1198 // for frequency if the channel name |
|
1199 // is not set |
|
1200 //---------------------------------------------------- |
|
1201 // |
|
1202 RESOURCE TBUF r_qtn_fmradio_query_delete_mhz { buf = qtn_fmradio_query_delete_mhz; } |
|
1203 |
|
1204 //---------------------------------------------------- |
|
1205 // Resource : r_qtn_fmradio_tuning |
|
1206 // Description : A label used while |
|
1207 // tuning is in progress. |
|
1208 //---------------------------------------------------- |
|
1209 // |
|
1210 RESOURCE TBUF r_qtn_fmradio_tuning { buf = qtn_fmradio_scanning; } |
|
1211 |
|
1212 //---------------------------------------------------- |
|
1213 // Resource : r_qtn_fmradio_use_long_tap |
|
1214 // Description : Text for the information note that |
|
1215 // will be shown when the channels haven't been saved |
|
1216 // and tryed to change channel. |
|
1217 //---------------------------------------------------- |
|
1218 // |
|
1219 RESOURCE TBUF r_qtn_fmradio_use_long_tap { buf = qtn_fmradio_use_long_tap; } |
|
1220 |
|
1221 //---------------------------------------------------- |
|
1222 // Resource : r_qtn_fmradio_list_query_list_full |
|
1223 // Description : If the amount of added stations is about to exceed |
|
1224 // the limit, a List query is displayed with a prompt |
|
1225 // text Station list full: |
|
1226 //---------------------------------------------------- |
|
1227 // |
|
1228 RESOURCE TBUF r_qtn_fmradio_list_query_list_full { buf = qtn_fmradio_list_query_list_full; } |
|
1229 |
|
1230 //---------------------------------------------------- |
|
1231 // Resource : r_qtn_fmradio_error_con_headset |
|
1232 // Description : Text for the error note about |
|
1233 // a missing headset. |
|
1234 //---------------------------------------------------- |
|
1235 // |
|
1236 RESOURCE TBUF r_qtn_fmradio_error_con_headset { buf = qtn_fmradio_error_con_headset; } |
|
1237 |
|
1238 //text for the frequence range note. User has selected range manually |
|
1239 RESOURCE TBUF128 r_qtn_fmradio_conf_freq_band_set_manual { buf = qtn_fmradio_conf_freq_band_set_manual; } |
|
1240 RESOURCE TBUF128 r_qtn_fmradio_conf_freq_band_set_autom { buf = qtn_fmradio_conf_freq_band_set_autom; } |
|
1241 RESOURCE TBUF128 r_qtn_fmradio_manual_tune_freq { buf = qtn_fmradio_query_frequency; } |
|
1242 |
|
1243 //---------------------------------------------------- |
|
1244 // Resource : r_qtn_fmradio_stations_saved |
|
1245 // Description : Text "%N stations saved to the stations list." used in Scan Local Stations list. |
|
1246 //---------------------------------------------------- |
|
1247 // |
|
1248 RESOURCE TBUF r_qtn_fmradio_stations_saved { buf = qtn_fmradio_saving_done; } |
|
1249 |
|
1250 //---------------------------------------------------- |
|
1251 // Resource : r_qtn_fmradio_list_no_stations_found |
|
1252 // Description : Text "No stations found. Please try again." |
|
1253 //---------------------------------------------------- |
|
1254 // |
|
1255 RESOURCE TBUF r_qtn_fmradio_list_no_stations_found { buf = qtn_fmradio_list_no_stations_found; } |
|
1256 |
|
1257 //---------------------------------------------------- |
|
1258 // Resource : r_qtn_fmradio_no_stations_found |
|
1259 // Description : Text "No stations found." |
|
1260 //---------------------------------------------------- |
|
1261 // |
|
1262 RESOURCE TBUF r_qtn_fmradio_no_stations_found { buf = qtn_fmradio_no_stations_found; } |
|
1263 |
|
1264 //---------------------------------------------------- |
|
1265 // Resource : r_qtn_fmradio_msk_listen |
|
1266 // Description : String for the listen text |
|
1267 //---------------------------------------------------- |
|
1268 // |
|
1269 RESOURCE TBUF r_qtn_fmradio_msk_listen { buf = qtn_fmradio_msk_listen; } |
|
1270 |
|
1271 RESOURCE TBUF r_qtn_fmradio_none { buf = ""; } |
|
1272 |
|
1273 //---------------------------------------------------- |
|
1274 // Resource : r_qtn_fmradio_list_no_stations |
|
1275 // Description : String for empty stations list |
|
1276 //---------------------------------------------------- |
|
1277 // |
|
1278 RESOURCE TBUF r_qtn_fmradio_list_no_stations { buf = qtn_fmradio_list_no_stations; } |
|
1279 |
|
1280 //---------------------------------------------------- |
|
1281 // Resource : r_qtn_fmradio_note_fmtx_unable_to_start |
|
1282 // Description : FM transmitter is active during radio launch |
|
1283 // text : "FM Radio cannot be started when FM transmitter is on." |
|
1284 //---------------------------------------------------- |
|
1285 // |
|
1286 RESOURCE TBUF r_qtn_fmradio_note_fmtx_unable_to_start { buf = qtn_fmradio_note_fmtx_unable_to_start; } |
|
1287 |
|
1288 //---------------------------------------------------- |
|
1289 // Resource : r_qtn_fmradio_note_fmtx_close_application |
|
1290 // Description : |
|
1291 // text : "FM Radio cannot be used when the FM transmitter is on. FM Radio is closed." |
|
1292 //---------------------------------------------------- |
|
1293 // |
|
1294 RESOURCE TBUF r_qtn_fmradio_note_fmtx_close_application { buf = qtn_fmradio_note_fmtx_close_application; } |
|
1295 |
|
1296 //---------------------------------------------------- |
|
1297 // Resource : r_qtn_fmradio_saving_done_one |
|
1298 //---------------------------------------------------- |
|
1299 // |
|
1300 RESOURCE TBUF r_qtn_fmradio_saving_done_one { buf = qtn_fmradio_saving_done_one; } |
|
1301 |
|
1302 //---------------------------------------------------- |
|
1303 // Resource : r_qtn_fmradio_saving_done_one_no_name |
|
1304 //---------------------------------------------------- |
|
1305 // |
|
1306 RESOURCE TBUF r_qtn_fmradio_saving_done_one_no_name { buf = qtn_fmradio_saving_done_one_no_name; } |
|
1307 |
|
1308 //---------------------------------------------------- |
|
1309 // Resource : r_qtn_fmradio_double1_freq |
|
1310 //---------------------------------------------------- |
|
1311 // |
|
1312 RESOURCE TBUF r_qtn_fmradio_double1_freq { buf = qtn_fmradio_double1_freq; } |
|
1313 |
|
1314 //---------------------------------------------------- |
|
1315 // Resource : r_qtn_fmradio_double2_freq |
|
1316 //---------------------------------------------------- |
|
1317 // |
|
1318 RESOURCE TBUF r_qtn_fmradio_double2_freq { buf = qtn_fmradio_double2_freq; } |
|
1319 |
|
1320 //---------------------------------------------------- |
|
1321 // Resource : r_qtn_fmradio_single_freq |
|
1322 //---------------------------------------------------- |
|
1323 // |
|
1324 RESOURCE TBUF r_qtn_fmradio_single_freq { buf = qtn_fmradio_single_freq; } |
|
1325 |
|
1326 //---------------------------------------------------- |
|
1327 // Resource : r_qtn_fmradio_single_freq_name |
|
1328 //---------------------------------------------------- |
|
1329 // |
|
1330 RESOURCE TBUF r_qtn_fmradio_single_freq_name { buf = qtn_fmradio_single_freq_name; } |
|
1331 |
|
1332 // ============================ Application views ============================ |
|
1333 |
|
1334 // --------------------------------------------------------------------------- |
|
1335 // r_fmradio_softkeys_empty_stop |
|
1336 // --------------------------------------------------------------------------- |
|
1337 // |
|
1338 RESOURCE CBA r_fmradio_softkeys_empty_stop |
|
1339 { |
|
1340 buttons= |
|
1341 { |
|
1342 CBA_BUTTON { txt = text_softkey_empty; }, |
|
1343 CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_stop; } |
|
1344 }; |
|
1345 } |
|
1346 |
|
1347 // --------------------------------------------------------------------------- |
|
1348 // r_fmradio_softkeys_empty_cancel |
|
1349 // --------------------------------------------------------------------------- |
|
1350 // |
|
1351 RESOURCE CBA r_fmradio_softkeys_empty_cancel |
|
1352 { |
|
1353 buttons= |
|
1354 { |
|
1355 CBA_BUTTON { txt = text_softkey_empty; }, |
|
1356 CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; } |
|
1357 }; |
|
1358 } |
|
1359 |
|
1360 // Search Stations view |
|
1361 |
|
1362 //---------------------------------------------------- |
|
1363 // Resource : r_fmradio_search_stations__view |
|
1364 // Description : Search Stations view. (View ID=4) |
|
1365 //---------------------------------------------------- |
|
1366 // |
|
1367 RESOURCE AVKON_VIEW r_fmradio_search_stations_view |
|
1368 { |
|
1369 menubar = r_fmradio_search_stations_menu; |
|
1370 cba = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
1371 toolbar = r_fmradio_search_stations_toolbar; |
|
1372 } |
|
1373 |
|
1374 //---------------------------------------------------- |
|
1375 // Resource : r_fmradio_search_stations_menu |
|
1376 // Description : Search Stations menu. |
|
1377 //---------------------------------------------------- |
|
1378 // |
|
1379 RESOURCE MENU_BAR r_fmradio_search_stations_menu |
|
1380 { |
|
1381 titles= |
|
1382 { |
|
1383 MENU_TITLE { menu_pane = r_fmradio_search_stations_options_menu; txt = ""; } |
|
1384 }; |
|
1385 } |
|
1386 |
|
1387 //---------------------------------------------------- |
|
1388 // Resource : r_fmradio_search_stations_options_menu |
|
1389 // Description : Search Stations options menu items. |
|
1390 //---------------------------------------------------- |
|
1391 // |
|
1392 RESOURCE MENU_PANE r_fmradio_search_stations_options_menu |
|
1393 { |
|
1394 items= |
|
1395 { |
|
1396 MENU_ITEM { command = EFMRadioCmdSaveChannel; txt = qtn_fmradio_options_save; flags = EEikMenuItemSpecific; }, |
|
1397 MENU_ITEM { command = EFMRadioCmdSaveAllChannels; txt = qtn_fmradio_options_save_all; }, |
|
1398 MENU_ITEM { command = EFMRadioCmdScanLocalStationsScan; txt = qtn_fmradio_options_search_stations; }, |
|
1399 MENU_ITEM { command = EFMRadioCmdActivateIhf; txt = qtn_fmradio_options_activate; }, |
|
1400 MENU_ITEM { command = EFMRadioCmdDeactivateIhf; txt = qtn_fmradio_options_deactivate; }, |
|
1401 MENU_ITEM { command = EAknCmdHelp; txt = qtn_options_help; }, |
|
1402 MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; } |
|
1403 }; |
|
1404 } |
|
1405 |
|
1406 // --------------------------------------------------------------------------- |
|
1407 // r_fmradio_search_stations_toolbar |
|
1408 // --------------------------------------------------------------------------- |
|
1409 // |
|
1410 RESOURCE AVKON_TOOLBAR r_fmradio_search_stations_toolbar |
|
1411 { |
|
1412 flags = KAknToolbarTransparent|KAknToolbarWithoutCba|KAknToolbarFixed; |
|
1413 items = |
|
1414 { |
|
1415 TBAR_CTRL |
|
1416 { |
|
1417 type = EAknCtButton; |
|
1418 id = EFMRadioToolbarButtonCmdSaveAll; |
|
1419 control = AVKON_BUTTON |
|
1420 { |
|
1421 states = |
|
1422 { |
|
1423 AVKON_BUTTON_STATE |
|
1424 { |
|
1425 helptxt = qtn_fmradio_tooltip_save_all; |
|
1426 bmpfile = KFMRadioBitmapFile; |
|
1427 bmpid = EMbmFmradioQgn_indi_tb_radio_station_save_all; |
|
1428 bmpmask = EMbmFmradioQgn_indi_tb_radio_station_save_all_mask; |
|
1429 } |
|
1430 }; |
|
1431 }; |
|
1432 }, |
|
1433 TBAR_CTRL |
|
1434 { |
|
1435 type = EAknCtButton; |
|
1436 id = EFMRadioToolbarButtonCmdScan; |
|
1437 control = AVKON_BUTTON |
|
1438 { |
|
1439 states = |
|
1440 { |
|
1441 AVKON_BUTTON_STATE |
|
1442 { |
|
1443 helptxt = qtn_fmradio_tooltip_search_stations; |
|
1444 bmpfile = KFMRadioBitmapFile; |
|
1445 bmpid = EMbmFmradioQgn_indi_tb_radio_scan; |
|
1446 bmpmask = EMbmFmradioQgn_indi_tb_radio_scan_mask; |
|
1447 } |
|
1448 }; |
|
1449 }; |
|
1450 }, |
|
1451 TBAR_CTRL |
|
1452 { |
|
1453 type = EAknCtButton; |
|
1454 id = EFMRadioToolbarButtonCmdToggleIhf; |
|
1455 control = AVKON_BUTTON |
|
1456 { |
|
1457 states = |
|
1458 { |
|
1459 AVKON_BUTTON_STATE |
|
1460 { |
|
1461 helptxt = qtn_fmradio_tooltip_activate_loudspeaker; |
|
1462 bmpfile = KFMRadioBitmapFile; |
|
1463 bmpid = EMbmFmradioQgn_indi_tb_ihf_on; |
|
1464 bmpmask = EMbmFmradioQgn_indi_tb_ihf_on_mask; |
|
1465 }, |
|
1466 AVKON_BUTTON_STATE |
|
1467 { |
|
1468 helptxt = qtn_fmradio_tooltip_deactivate_loudspeaker; |
|
1469 bmpfile = KFMRadioBitmapFile; |
|
1470 bmpid = EMbmFmradioQgn_indi_tb_ihf_off; |
|
1471 bmpmask = EMbmFmradioQgn_indi_tb_ihf_off_mask; |
|
1472 } |
|
1473 }; |
|
1474 }; |
|
1475 } |
|
1476 }; |
|
1477 } |
|
1478 |
|
1479 // ======================== Notes for the Scan Local Stations View ==================== |
|
1480 |
|
1481 //---------------------------------------------------- |
|
1482 // Resource : r_fmradio_search_stations_wait_note |
|
1483 // Description : A wait note used while station scanning is in progress. |
|
1484 //---------------------------------------------------- |
|
1485 // |
|
1486 RESOURCE DIALOG r_fmradio_search_stations_wait_note |
|
1487 { |
|
1488 flags = EAknWaitNoteFlags; |
|
1489 buttons = r_fmradio_softkeys_empty_stop; |
|
1490 items = |
|
1491 { |
|
1492 DLG_LINE |
|
1493 { |
|
1494 type = EAknCtNote; |
|
1495 id = EGeneralNote; |
|
1496 control = AVKON_NOTE |
|
1497 { |
|
1498 layout = EWaitLayout; |
|
1499 singular_label = qtn_fmradio_wait_note_scanning; |
|
1500 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
1501 }; |
|
1502 } |
|
1503 }; |
|
1504 } |
|
1505 |
|
1506 // ----------------------------------------------------------------------------- |
|
1507 // |
|
1508 // r_radio_cui_fill_stations_ctx_menubar |
|
1509 // Menu bar used by channel list view context sensitive menu. |
|
1510 // |
|
1511 // ----------------------------------------------------------------------------- |
|
1512 // |
|
1513 RESOURCE MENU_BAR r_fmradio_scan_stations_ctx_menubar |
|
1514 { |
|
1515 titles = |
|
1516 { |
|
1517 MENU_TITLE |
|
1518 { |
|
1519 menu_pane = r_fmradio_scan_stations_ctx_menu; |
|
1520 } |
|
1521 }; |
|
1522 } |
|
1523 |
|
1524 RESOURCE MENU_PANE r_fmradio_scan_stations_ctx_menu |
|
1525 { |
|
1526 items = |
|
1527 { |
|
1528 MENU_ITEM { command = EFMRadioCmdSaveChannel; txt = qtn_fmradio_options_save; } |
|
1529 }; |
|
1530 } |
|
1531 |
|
1532 // ----------------------------------------------------------------------------- |
|
1533 // |
|
1534 // r_radio_cui_fill_stations_ctx_menubar |
|
1535 // Menu bar used by channel list view context sensitive menu. |
|
1536 // |
|
1537 // ----------------------------------------------------------------------------- |
|
1538 // |
|
1539 RESOURCE MENU_BAR r_fmradio_scan_stations_ctx_menubar_save |
|
1540 { |
|
1541 titles = |
|
1542 { |
|
1543 MENU_TITLE |
|
1544 { |
|
1545 menu_pane = r_fmradio_scan_stations_ctx_menu_save; |
|
1546 } |
|
1547 }; |
|
1548 } |
|
1549 |
|
1550 RESOURCE MENU_PANE r_fmradio_scan_stations_ctx_menu_save |
|
1551 { |
|
1552 items = |
|
1553 { |
|
1554 MENU_ITEM { command = EFMRadioCmdSaveChannel; txt = qtn_fmradio_options_save; } |
|
1555 }; |
|
1556 } |
|
1557 |
|
1558 //---------------------------------------------------- |
|
1559 // Resource : r_fmradio_search_stations_wait_note |
|
1560 // Description : A wait note used while station scanning is in progress. |
|
1561 //---------------------------------------------------- |
|
1562 // |
|
1563 RESOURCE DIALOG r_fmradio_search_stations_wait_cancel_note |
|
1564 { |
|
1565 flags = EAknWaitNoteFlags; |
|
1566 buttons = r_fmradio_softkeys_empty_cancel; |
|
1567 items = |
|
1568 { |
|
1569 DLG_LINE |
|
1570 { |
|
1571 type = EAknCtNote; |
|
1572 id = EGeneralNote; |
|
1573 control = AVKON_NOTE |
|
1574 { |
|
1575 layout = EWaitLayout; |
|
1576 singular_label = qtn_fmradio_wait_note_scanning; |
|
1577 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
1578 }; |
|
1579 } |
|
1580 }; |
|
1581 } |
|
1582 // --------------------------------------------------------------------------- |
|
1583 // r_fmradio_wait_anim_tuning |
|
1584 // Tuning animation. |
|
1585 // --------------------------------------------------------------------------- |
|
1586 // |
|
1587 RESOURCE FMRADIO_BITMAP_ANIMATION r_fmradio_wait_anim_tuning |
|
1588 { |
|
1589 frameInterval = 20; |
|
1590 frames = |
|
1591 { |
|
1592 FMRADIO_FADABLE_ICON |
|
1593 { |
|
1594 bmpfile = KFMRadioBitmapFile; |
|
1595 bitmap = EMbmFmradioQgn_graf_ring_wait_01; |
|
1596 mask = EMbmFmradioQgn_graf_ring_wait_01_mask; |
|
1597 }, |
|
1598 FMRADIO_FADABLE_ICON |
|
1599 { |
|
1600 bmpfile = KFMRadioBitmapFile; |
|
1601 bitmap = EMbmFmradioQgn_graf_ring_wait_02; |
|
1602 mask = EMbmFmradioQgn_graf_ring_wait_02_mask; |
|
1603 }, |
|
1604 FMRADIO_FADABLE_ICON |
|
1605 { |
|
1606 bmpfile = KFMRadioBitmapFile; |
|
1607 bitmap = EMbmFmradioQgn_graf_ring_wait_03; |
|
1608 mask = EMbmFmradioQgn_graf_ring_wait_03_mask; |
|
1609 }, |
|
1610 FMRADIO_FADABLE_ICON |
|
1611 { |
|
1612 bmpfile = KFMRadioBitmapFile; |
|
1613 bitmap = EMbmFmradioQgn_graf_ring_wait_04; |
|
1614 mask = EMbmFmradioQgn_graf_ring_wait_04_mask; |
|
1615 }, |
|
1616 FMRADIO_FADABLE_ICON |
|
1617 { |
|
1618 bmpfile = KFMRadioBitmapFile; |
|
1619 bitmap = EMbmFmradioQgn_graf_ring_wait_05; |
|
1620 mask = EMbmFmradioQgn_graf_ring_wait_05_mask; |
|
1621 }, |
|
1622 FMRADIO_FADABLE_ICON |
|
1623 { |
|
1624 bmpfile = KFMRadioBitmapFile; |
|
1625 bitmap = EMbmFmradioQgn_graf_ring_wait_06; |
|
1626 mask = EMbmFmradioQgn_graf_ring_wait_06_mask; |
|
1627 }, |
|
1628 FMRADIO_FADABLE_ICON |
|
1629 { |
|
1630 bmpfile = KFMRadioBitmapFile; |
|
1631 bitmap = EMbmFmradioQgn_graf_ring_wait_07; |
|
1632 mask = EMbmFmradioQgn_graf_ring_wait_07_mask; |
|
1633 }, |
|
1634 FMRADIO_FADABLE_ICON |
|
1635 { |
|
1636 bmpfile = KFMRadioBitmapFile; |
|
1637 bitmap = EMbmFmradioQgn_graf_ring_wait_08; |
|
1638 mask = EMbmFmradioQgn_graf_ring_wait_08_mask; |
|
1639 }, |
|
1640 FMRADIO_FADABLE_ICON |
|
1641 { |
|
1642 bmpfile = KFMRadioBitmapFile; |
|
1643 bitmap = EMbmFmradioQgn_graf_ring_wait_09; |
|
1644 mask = EMbmFmradioQgn_graf_ring_wait_09_mask; |
|
1645 }, |
|
1646 FMRADIO_FADABLE_ICON |
|
1647 { |
|
1648 bmpfile = KFMRadioBitmapFile; |
|
1649 bitmap = EMbmFmradioQgn_graf_ring_wait_10; |
|
1650 mask = EMbmFmradioQgn_graf_ring_wait_10_mask; |
|
1651 } |
|
1652 }; |
|
1653 } |
|
1654 |
|
1655 // End of File |