1 /* |
|
2 * Copyright (c) 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: application resource file |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // ----------------------------------------------------------------------------- |
|
21 // FOUR-LETTER RESOURCE IDENTIFIER |
|
22 // ----------------------------------------------------------------------------- |
|
23 // |
|
24 NAME MUSH |
|
25 |
|
26 |
|
27 // ----------------------------------------------------------------------------- |
|
28 // INCLUDE FILES |
|
29 // ----------------------------------------------------------------------------- |
|
30 // |
|
31 #include "musui.hrh" |
|
32 #include <mus.loc> // localization |
|
33 #include <musoperator.loc> //localization |
|
34 |
|
35 #include <musuiicons.mbg> |
|
36 #include <musuitoolbaricons.mbg> |
|
37 #include <appinfo.rh> |
|
38 #include <data_caging_paths_strings.hrh> |
|
39 #include <eikon.rh> |
|
40 #include <avkon.rsg> |
|
41 #include <avkon.mbg> |
|
42 #include <avkon.rh> |
|
43 #include <avkon.hrh> |
|
44 #include <avkon.loc> |
|
45 #include <drmcommon.loc> |
|
46 |
|
47 #include <aknsconstants.hrh> |
|
48 #include <incallmenuandsoftkeys.loc> |
|
49 // ----------------------------------------------------------------------------- |
|
50 // RESOURCE DEFINITIONS |
|
51 // ----------------------------------------------------------------------------- |
|
52 // |
|
53 RESOURCE RSS_SIGNATURE { } |
|
54 |
|
55 RESOURCE TBUF { buf = "MUSUI"; } |
|
56 |
|
57 RESOURCE EIK_APP_INFO |
|
58 { |
|
59 } |
|
60 |
|
61 |
|
62 // ----------------------------------------------------------------------------- |
|
63 // CONSTANTS |
|
64 // ----------------------------------------------------------------------------- |
|
65 // |
|
66 #define KMyBitmapRomFile "Z:\\resource\\apps\\musuiicons.mif" |
|
67 #define KMyBitmapRamFile "C:\\resource\\apps\\musuiicons.mif" |
|
68 |
|
69 RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info |
|
70 { |
|
71 short_caption = qtn_apps_msh_grid; |
|
72 caption_and_icon = CAPTION_AND_ICON_INFO |
|
73 { |
|
74 caption = qtn_apps_msh_list; |
|
75 number_of_icons = 1; |
|
76 icon_file = APP_BITMAP_DIR"\\musui_aif.mif"; |
|
77 }; |
|
78 } |
|
79 |
|
80 |
|
81 // ----------------------------------------------------------------------------- |
|
82 // Hotkeys defined for application |
|
83 // ----------------------------------------------------------------------------- |
|
84 // |
|
85 RESOURCE HOTKEYS r_musui_hotkeys |
|
86 { |
|
87 control = |
|
88 { |
|
89 HOTKEY { command = EEikCmdExit; key = 'e'; } |
|
90 }; |
|
91 } |
|
92 |
|
93 |
|
94 // ----------------------------------------------------------------------------- |
|
95 // Items for general menu |
|
96 // ----------------------------------------------------------------------------- |
|
97 // |
|
98 RESOURCE MENU_PANE r_musui_general_menu |
|
99 { |
|
100 items = |
|
101 { |
|
102 MENU_ITEM { command = EMusuiGenCmdExit; txt = qtn_options_exit; } |
|
103 }; |
|
104 } |
|
105 |
|
106 |
|
107 // ----------------------------------------------------------------------------- |
|
108 // View-resource definition for general view |
|
109 // ----------------------------------------------------------------------------- |
|
110 // |
|
111 RESOURCE AVKON_VIEW r_musui_generalview |
|
112 { |
|
113 menubar = r_musui_generalview_menubar; |
|
114 toolbar = r_mus_toolbar; |
|
115 cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; |
|
116 } |
|
117 |
|
118 |
|
119 // ----------------------------------------------------------------------------- |
|
120 // View-resource definition for null view |
|
121 // ----------------------------------------------------------------------------- |
|
122 // |
|
123 RESOURCE AVKON_VIEW r_musui_nullview |
|
124 { |
|
125 menubar = r_musui_generalview_menubar; |
|
126 cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; |
|
127 } |
|
128 |
|
129 |
|
130 // ----------------------------------------------------------------------------- |
|
131 // Menubar definition for general view |
|
132 // ----------------------------------------------------------------------------- |
|
133 // |
|
134 RESOURCE MENU_BAR r_musui_generalview_menubar |
|
135 { |
|
136 titles = |
|
137 { |
|
138 MENU_TITLE { menu_pane = r_musui_general_menu; txt = "--"; }, |
|
139 MENU_TITLE { menu_pane = r_musui_generalview_menu; txt = "--"; } |
|
140 }; |
|
141 } |
|
142 |
|
143 |
|
144 // ----------------------------------------------------------------------------- |
|
145 // Items for menupane in general view |
|
146 // ----------------------------------------------------------------------------- |
|
147 // |
|
148 RESOURCE MENU_PANE r_musui_generalview_menu |
|
149 { |
|
150 items = |
|
151 { |
|
152 MENU_ITEM { command = EMusuiCmdAppTest; txt = "Test"; } // TODO: Fixme |
|
153 }; |
|
154 } |
|
155 |
|
156 |
|
157 // ----------------------------------------------------------------------------- |
|
158 // View-resource definition for live sharing view |
|
159 // ----------------------------------------------------------------------------- |
|
160 // |
|
161 RESOURCE AVKON_VIEW r_musui_view |
|
162 { |
|
163 menubar = r_musui_view_menubar; |
|
164 // toolbar = r_mus_toolbar; |
|
165 cba = r_musui_view_cba; |
|
166 } |
|
167 |
|
168 |
|
169 // ----------------------------------------------------------------------------- |
|
170 // |
|
171 // ----------------------------------------------------------------------------- |
|
172 // |
|
173 RESOURCE CBA r_musui_view_cba |
|
174 { |
|
175 buttons= |
|
176 { |
|
177 CBA_BUTTON |
|
178 { |
|
179 txt = text_softkey_option; |
|
180 id = EAknSoftkeyOptions; |
|
181 }, |
|
182 CBA_BUTTON |
|
183 { |
|
184 txt = qtn_msh_softkey_stop; |
|
185 id = EAknSoftkeyExit; |
|
186 }, |
|
187 CBA_BUTTON |
|
188 { |
|
189 //txt = text_softkey_option; // qgn_prop_msk_select; |
|
190 id = EEikBidBlank; // EAknSoftkeyOptions; |
|
191 } |
|
192 }; |
|
193 } |
|
194 |
|
195 |
|
196 // ----------------------------------------------------------------------------- |
|
197 // Operator Specific Middle softkeys |
|
198 // ----------------------------------------------------------------------------- |
|
199 // |
|
200 RESOURCE CBA_BUTTON r_musui_view_ops_msk_ihf_off |
|
201 { |
|
202 id = EMusuiCmdViewHandset; |
|
203 txt = qtn_msh_msk_ihf_off; |
|
204 } |
|
205 |
|
206 RESOURCE CBA_BUTTON r_musui_view_ops_msk_ihf_on |
|
207 { |
|
208 id = EMusuiCmdViewLoadspeaker; |
|
209 txt = qtn_msh_msk_ihf_on; |
|
210 } |
|
211 |
|
212 RESOURCE CBA_BUTTON r_musui_view_msk_ok |
|
213 { |
|
214 id = EMusuiCmdViewMiddleSoftkeyOk; |
|
215 txt = qtn_msh_msk_done; |
|
216 } |
|
217 |
|
218 |
|
219 // ----------------------------------------------------------------------------- |
|
220 // Menubar definition for live sharing view |
|
221 // ----------------------------------------------------------------------------- |
|
222 // |
|
223 RESOURCE MENU_BAR r_musui_view_menubar |
|
224 { |
|
225 titles = |
|
226 { |
|
227 MENU_TITLE { menu_pane = r_musui_general_menu; txt = "--"; }, |
|
228 MENU_TITLE { menu_pane = r_musui_view_menu; txt = "--"; } |
|
229 }; |
|
230 } |
|
231 |
|
232 |
|
233 // ----------------------------------------------------------------------------- |
|
234 // Items for menupane in live sharing view |
|
235 // ----------------------------------------------------------------------------- |
|
236 // |
|
237 RESOURCE MENU_PANE r_musui_view_menu |
|
238 { |
|
239 items = |
|
240 { |
|
241 MENU_ITEM |
|
242 { |
|
243 command = EMusuiCmdViewReplay; |
|
244 txt = qtn_msh_shareview_softk_replay; |
|
245 }, |
|
246 MENU_ITEM |
|
247 { |
|
248 command = EMusuiCmdViewShareVideo; |
|
249 txt = qtn_msh_options_gen_shareclip; |
|
250 }, |
|
251 MENU_ITEM |
|
252 { |
|
253 command = EMusuiCmdViewShareImage; |
|
254 txt = qtn_msh_options_gen_shareimage; |
|
255 }, |
|
256 MENU_ITEM |
|
257 { |
|
258 command = EMusuiCmdViewShareLive; |
|
259 txt = qtn_msh_options_gen_sharelive; |
|
260 }, |
|
261 MENU_ITEM |
|
262 { |
|
263 command = EMusuiCmdViewAudioNormal; |
|
264 txt = qtn_msh_options_clip_audio_normal; |
|
265 }, |
|
266 MENU_ITEM |
|
267 { |
|
268 command = EMusuiCmdViewAudioMute; |
|
269 txt = qtn_msh_options_clip_audio_mute; |
|
270 }, |
|
271 MENU_ITEM |
|
272 { |
|
273 command = EMusuiCmdToolbarZoom; |
|
274 txt = qtn_msh_tooltip_zoom; // Adjust zoom |
|
275 }, |
|
276 MENU_ITEM |
|
277 { |
|
278 command = EMusuiCmdToolbarBrightness; |
|
279 txt = qtn_msh_tooltip_brightness; // Adjust brightness |
|
280 }, |
|
281 MENU_ITEM |
|
282 { |
|
283 command = EMusuiCmdViewFullScreen; |
|
284 txt = qtn_msh_options_fullscreen; |
|
285 }, |
|
286 MENU_ITEM |
|
287 { |
|
288 command = EMusuiCmdViewZoom; |
|
289 txt = qtn_msh_options_zoom; |
|
290 }, |
|
291 MENU_ITEM |
|
292 { |
|
293 command = EMusuiCmdViewBrightness; |
|
294 txt = qtn_msh_options_brightness; |
|
295 }, |
|
296 MENU_ITEM |
|
297 { |
|
298 command = EMusuiCmdRecord; |
|
299 txt = qtn_msh_options_rec_start; |
|
300 }, |
|
301 MENU_ITEM |
|
302 { |
|
303 command = EMusuiCmdStopRecording; |
|
304 txt = qtn_msh_options_rec_stop; |
|
305 }, |
|
306 MENU_ITEM |
|
307 { |
|
308 command = EMusuiCmdViewMicrophoneMute; |
|
309 txt = qtn_incal_mute_option; |
|
310 }, |
|
311 MENU_ITEM |
|
312 { |
|
313 command = EMusuiCmdViewMicrophoneUnmute; |
|
314 txt = qtn_incal_unmute_option; |
|
315 }, |
|
316 MENU_ITEM |
|
317 { |
|
318 command = EMusuiCmdViewEndActiveCall; |
|
319 txt = qtn_incal_drop_option; |
|
320 }, |
|
321 #ifdef __SERIES60_HELP |
|
322 MENU_ITEM |
|
323 { |
|
324 command = EAknCmdHelp; |
|
325 txt = qtn_options_help; |
|
326 } |
|
327 #endif // __SERIES60_HELP |
|
328 }; |
|
329 } |
|
330 |
|
331 |
|
332 // ----------------------------------------------------------------------------- |
|
333 // |
|
334 // ----------------------------------------------------------------------------- |
|
335 // |
|
336 RESOURCE AVKON_LAYOUT_RECT r_mus_navi_media_icon_layout_size |
|
337 { |
|
338 l = 0; t = 0; W = 13; H = 16; |
|
339 } |
|
340 |
|
341 |
|
342 // ----------------------------------------------------------------------------- |
|
343 // |
|
344 // ----------------------------------------------------------------------------- |
|
345 // |
|
346 RESOURCE AVKON_LAYOUT_TEXT r_mus_navi_media_text_left_layout |
|
347 { |
|
348 font = ELatinPlain12; |
|
349 C = 10; |
|
350 l = 43; |
|
351 r = 4; |
|
352 B = 13; |
|
353 W = 73; |
|
354 J = ELayoutAlignLeft; |
|
355 } |
|
356 |
|
357 |
|
358 // ----------------------------------------------------------------------------- |
|
359 // |
|
360 // ----------------------------------------------------------------------------- |
|
361 // |
|
362 RESOURCE AVKON_LAYOUT_TEXT r_mus_navi_media_text_right_layout |
|
363 { |
|
364 font = ELatinPlain12; |
|
365 C = 0; |
|
366 l = 43; |
|
367 r = 4; |
|
368 B = 13; |
|
369 W = 73; |
|
370 J = ELayoutAlignRight; |
|
371 } |
|
372 |
|
373 |
|
374 // ----------------------------------------------------------------------------- |
|
375 // |
|
376 // ----------------------------------------------------------------------------- |
|
377 // |
|
378 RESOURCE AKN_ICON_ARRAY r_mus_navi_media_icon_array_rom |
|
379 { |
|
380 bmpfile = KMyBitmapRomFile; // HERE |
|
381 icons = |
|
382 { |
|
383 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_forw; |
|
384 maskId = EMbmMusuiiconsQgn_indi_video_forw_mask; }, |
|
385 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_pause; |
|
386 maskId = EMbmMusuiiconsQgn_indi_video_pause_mask; }, |
|
387 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_play; |
|
388 maskId = EMbmMusuiiconsQgn_indi_video_play_mask; }, |
|
389 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_record; |
|
390 maskId = EMbmMusuiiconsQgn_indi_video_record_mask; }, |
|
391 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_record_not; |
|
392 maskId = EMbmMusuiiconsQgn_indi_video_record_not_mask; }, |
|
393 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_rew; |
|
394 maskId = EMbmMusuiiconsQgn_indi_video_rew_mask; }, |
|
395 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_stop; |
|
396 maskId = EMbmMusuiiconsQgn_indi_video_stop_mask; }, |
|
397 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_wait1; |
|
398 maskId = EMbmMusuiiconsQgn_indi_video_wait1_mask; }, |
|
399 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_wait2; |
|
400 maskId = EMbmMusuiiconsQgn_indi_video_wait2_mask; }, |
|
401 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_wait3; |
|
402 maskId = EMbmMusuiiconsQgn_indi_video_wait3_mask; }, |
|
403 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_wait4; |
|
404 maskId = EMbmMusuiiconsQgn_indi_video_wait4_mask; }, |
|
405 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_wait5; |
|
406 maskId = EMbmMusuiiconsQgn_indi_video_wait5_mask; }, |
|
407 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_wait6; |
|
408 maskId = EMbmMusuiiconsQgn_indi_video_wait6_mask; }, |
|
409 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_wait7; |
|
410 maskId = EMbmMusuiiconsQgn_indi_video_wait7_mask; }, |
|
411 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_wait8; |
|
412 maskId = EMbmMusuiiconsQgn_indi_video_wait8_mask; } |
|
413 }; |
|
414 } |
|
415 |
|
416 // ----------------------------------------------------------------------------- |
|
417 // |
|
418 // ----------------------------------------------------------------------------- |
|
419 // |
|
420 RESOURCE AKN_ICON_ARRAY r_mus_navi_media_icon_array_ram |
|
421 { |
|
422 bmpfile = KMyBitmapRamFile; // HERE |
|
423 icons = |
|
424 { |
|
425 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_forw; |
|
426 maskId = EMbmMusuiiconsQgn_indi_video_forw_mask; }, |
|
427 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_pause; |
|
428 maskId = EMbmMusuiiconsQgn_indi_video_pause_mask; }, |
|
429 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_play; |
|
430 maskId = EMbmMusuiiconsQgn_indi_video_play_mask; }, |
|
431 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_record; |
|
432 maskId = EMbmMusuiiconsQgn_indi_video_record_mask; }, |
|
433 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_record_not; |
|
434 maskId = EMbmMusuiiconsQgn_indi_video_record_not_mask; }, |
|
435 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_rew; |
|
436 maskId = EMbmMusuiiconsQgn_indi_video_rew_mask; }, |
|
437 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_stop; |
|
438 maskId = EMbmMusuiiconsQgn_indi_video_stop_mask; }, |
|
439 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_wait1; |
|
440 maskId = EMbmMusuiiconsQgn_indi_video_wait1_mask; }, |
|
441 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_wait2; |
|
442 maskId = EMbmMusuiiconsQgn_indi_video_wait2_mask; }, |
|
443 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_wait3; |
|
444 maskId = EMbmMusuiiconsQgn_indi_video_wait3_mask; }, |
|
445 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_wait4; |
|
446 maskId = EMbmMusuiiconsQgn_indi_video_wait4_mask; }, |
|
447 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_wait5; |
|
448 maskId = EMbmMusuiiconsQgn_indi_video_wait5_mask; }, |
|
449 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_wait6; |
|
450 maskId = EMbmMusuiiconsQgn_indi_video_wait6_mask; }, |
|
451 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_wait7; |
|
452 maskId = EMbmMusuiiconsQgn_indi_video_wait7_mask; }, |
|
453 AKN_ICON { iconId = EMbmMusuiiconsQgn_indi_video_wait8; |
|
454 maskId = EMbmMusuiiconsQgn_indi_video_wait8_mask; } |
|
455 }; |
|
456 } |
|
457 |
|
458 ///////////////////////////////////////////////////LG/////////////////////////////////////////// |
|
459 // ----------------------------------------------------------------------------- |
|
460 // Toolbar for non-touch mode |
|
461 // ----------------------------------------------------------------------------- |
|
462 // |
|
463 RESOURCE AVKON_TOOLBAR r_mus_toolbar_nontouch |
|
464 { |
|
465 //KAknToolbarFlexiblePosition |
|
466 //3.2.3 -> KAknToolbarWithoutCba |
|
467 //5.0 -> KAknToolbarFixed |
|
468 flags = KAknToolbarWithoutCba | KAknToolbarFloatingUnTransparent; |
|
469 |
|
470 items = |
|
471 { |
|
472 // ****************************************************************** // |
|
473 TBAR_CTRL // Sending Live/Clip & Receiving: Activate Volume Mode |
|
474 { |
|
475 type = EAknCtButton; |
|
476 id = EMusuiCmdToolbarVolume; |
|
477 control = AVKON_BUTTON |
|
478 { |
|
479 flags = KAknButtonSizeFitText ; |
|
480 states = |
|
481 { |
|
482 AVKON_BUTTON_STATE |
|
483 { |
|
484 //txt = qtn_msh_tooltip_volume; // Adjust call volume |
|
485 helptxt = qtn_msh_tooltip_volume; |
|
486 // TODO: ROM/RAM: |
|
487 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; |
|
488 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_call_volume; |
|
489 bmpmask = EMbmMusuitoolbariconsQgn_indi_tb_call_volume_mask; |
|
490 } |
|
491 }; |
|
492 }; |
|
493 }, |
|
494 // ****************************************************************** // |
|
495 |
|
496 TBAR_CTRL // Receiving: Change to full screen mode |
|
497 { |
|
498 type = EAknCtButton; |
|
499 id = EMusuiCmdToolbarFullScreen; |
|
500 control = AVKON_BUTTON |
|
501 { |
|
502 flags = KAknButtonSizeFitText ; |
|
503 states = |
|
504 { |
|
505 AVKON_BUTTON_STATE |
|
506 { |
|
507 //txt = qtn_msh_tooltip_fullscreen; // View in full screen mode |
|
508 helptxt = qtn_msh_tooltip_fullscreen; |
|
509 // TODO: ROM/RAM: |
|
510 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; |
|
511 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_fullscreen; |
|
512 bmpmask = EMbmMusuitoolbariconsQgn_indi_tb_fullscreen_mask; |
|
513 // extension = r_mus_fullscreen_button_state_extension; |
|
514 } |
|
515 }; |
|
516 }; |
|
517 }, |
|
518 |
|
519 // ****************************************************************** // |
|
520 |
|
521 TBAR_CTRL // Sending Live: Pause sharing <=> Toggled |
|
522 { |
|
523 type = EAknCtButton; |
|
524 id = EMusuiCmdToolbarPauseLive; |
|
525 control = AVKON_BUTTON |
|
526 { |
|
527 flags = KAknButtonSizeFitText; |
|
528 states = |
|
529 { |
|
530 AVKON_BUTTON_STATE |
|
531 { |
|
532 //txt = qtn_msh_tooltip_pause_live; // Pause sharing |
|
533 helptxt = qtn_msh_tooltip_pause_live; |
|
534 // TODO: ROM/RAM: |
|
535 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; |
|
536 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_pause_send_video; |
|
537 bmpmask = EMbmMusuitoolbariconsQgn_indi_tb_pause_send_video_mask; |
|
538 // extension = r_mus_pause_send_video_button_state_extension; |
|
539 } |
|
540 }; |
|
541 }; |
|
542 }, |
|
543 TBAR_CTRL // Sending Live/Clip: Un-pause sharing <=> Toggled |
|
544 { |
|
545 type = EAknCtButton; |
|
546 id = EMusuiCmdToolbarUnPauseLive; |
|
547 control = AVKON_BUTTON |
|
548 { |
|
549 flags = KAknButtonSizeFitText; |
|
550 states = |
|
551 { |
|
552 AVKON_BUTTON_STATE |
|
553 { |
|
554 //txt = qtn_msh_tooltip_unpause_live; |
|
555 helptxt = qtn_msh_tooltip_unpause_live; |
|
556 // TODO: ROM/RAM |
|
557 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; |
|
558 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_video; |
|
559 bmpmask = EMbmMusuitoolbariconsQgn_indi_tb_video_mask; |
|
560 // extension = r_mus_video_button_state_extension; |
|
561 } |
|
562 }; |
|
563 }; |
|
564 }, |
|
565 // ****************************************************************** // |
|
566 |
|
567 TBAR_CTRL // Sending Clip: Pause sharing <=> Toggled |
|
568 { |
|
569 type = EAknCtButton; |
|
570 id = EMusuiCmdToolbarPause; |
|
571 control = AVKON_BUTTON |
|
572 { |
|
573 flags = KAknButtonSizeFitText ; |
|
574 states = |
|
575 { |
|
576 AVKON_BUTTON_STATE |
|
577 { |
|
578 //txt = qtn_msh_tooltip_pause_live; // Pause sharing |
|
579 helptxt = qtn_msh_tooltip_pause_live; |
|
580 // TODO: ROM/RAM: |
|
581 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; |
|
582 bmpid = EMbmMusuitoolbariconsQgn_indi_cams_tb_rec_pause; |
|
583 bmpmask = EMbmMusuitoolbariconsQgn_indi_cams_tb_rec_pause_mask; |
|
584 // extension = r_mus_rec_pause_button_state_extension; |
|
585 } |
|
586 }; |
|
587 }; |
|
588 }, |
|
589 TBAR_CTRL // Sending Live/Clip: Un-pause sharing <=> Toggled |
|
590 { |
|
591 type = EAknCtButton; |
|
592 id = EMusuiCmdToolbarUnPause; |
|
593 control = AVKON_BUTTON |
|
594 { |
|
595 flags = KAknButtonSizeFitText ; |
|
596 states = |
|
597 { |
|
598 AVKON_BUTTON_STATE |
|
599 { |
|
600 //txt = qtn_msh_tooltip_unpause_live; |
|
601 helptxt = qtn_msh_tooltip_unpause_live; |
|
602 // TODO: ROM/RAM |
|
603 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; |
|
604 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_play; |
|
605 bmpmask = EMbmMusuitoolbariconsQgn_indi_tb_play_mask; |
|
606 // extension = r_mus_play_button_state_extension; |
|
607 } |
|
608 }; |
|
609 }; |
|
610 }, |
|
611 |
|
612 // ****************************************************************** // |
|
613 TBAR_CTRL // Sending Clip: Activate fast forward / reverse mode |
|
614 { |
|
615 type = EAknCtButton; |
|
616 id = EMusuiCmdToolbarFFRev; |
|
617 control = AVKON_BUTTON |
|
618 { |
|
619 flags = KAknButtonSizeFitText ; |
|
620 states = |
|
621 { |
|
622 AVKON_BUTTON_STATE |
|
623 { |
|
624 //txt = qtn_msh_tooltip_ffrev; // Fast forward or rewind clip |
|
625 helptxt = qtn_msh_tooltip_ffrev; |
|
626 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; // Only ROM . RAM is unofficial |
|
627 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_ffw_frew; |
|
628 bmpmask = EMbmMusuitoolbariconsQgn_indi_tb_ffw_frew_mask; |
|
629 }, |
|
630 AVKON_BUTTON_STATE |
|
631 { |
|
632 flags = KAknButtonStateHasLatchedFrame; |
|
633 //txt = qtn_msh_tooltip_ffrev; |
|
634 helptxt = qtn_msh_tooltip_ffrev; |
|
635 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; // Only ROM . RAM is unofficial |
|
636 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_ffw_frew; |
|
637 // bmpmask = 0x8000; /*32768, tumma*/ |
|
638 bmpmask = 0x7FFF; /*32767, vaalea*/ |
|
639 } |
|
640 }; |
|
641 }; |
|
642 }, |
|
643 // ****************************************************************** // |
|
644 TBAR_CTRL // Sending Live: Activate zoom mode |
|
645 { |
|
646 type = EAknCtButton; |
|
647 id = EMusuiCmdToolbarZoom; |
|
648 control = AVKON_BUTTON |
|
649 { |
|
650 flags = KAknButtonSizeFitText ; |
|
651 states = |
|
652 { |
|
653 AVKON_BUTTON_STATE |
|
654 { |
|
655 //txt = qtn_msh_tooltip_zoom; // Adjust zoom |
|
656 helptxt = qtn_msh_tooltip_zoom; |
|
657 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; // Only ROM . RAM is unofficial |
|
658 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_zoom; |
|
659 bmpmask = EMbmMusuitoolbariconsQgn_indi_tb_zoom_mask; |
|
660 }, |
|
661 AVKON_BUTTON_STATE |
|
662 { |
|
663 flags = KAknButtonStateHasLatchedFrame; |
|
664 //txt = qtn_msh_tooltip_zoom; // Adjust zoom |
|
665 helptxt = qtn_msh_tooltip_zoom; |
|
666 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; // Only ROM . RAM is unofficial |
|
667 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_zoom; // TODO: Correct bitmap!!! |
|
668 // bmpmask = 0x8000; /*32768, tumma*/ |
|
669 bmpmask = 0x7FFF; /*32767, vaalea*/ |
|
670 } |
|
671 }; |
|
672 }; |
|
673 }, |
|
674 // ****************************************************************** // |
|
675 TBAR_CTRL // Sending Live: Activate brightness mode |
|
676 { |
|
677 type = EAknCtButton; |
|
678 id = EMusuiCmdToolbarBrightness; |
|
679 control = AVKON_BUTTON |
|
680 { |
|
681 flags = KAknButtonSizeFitText; |
|
682 states = |
|
683 { |
|
684 AVKON_BUTTON_STATE |
|
685 { |
|
686 //txt = qtn_msh_tooltip_brightness; // Adjust brightness |
|
687 helptxt = qtn_msh_tooltip_brightness; |
|
688 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; // Only ROM . RAM is unofficial |
|
689 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_brightness; |
|
690 bmpmask = EMbmMusuitoolbariconsQgn_indi_tb_brightness_mask; |
|
691 }, |
|
692 AVKON_BUTTON_STATE |
|
693 { |
|
694 flags = KAknButtonStateHasLatchedFrame; |
|
695 //txt = qtn_msh_tooltip_brightness; // Adjust brightness |
|
696 helptxt = qtn_msh_tooltip_brightness; |
|
697 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; // Only ROM . RAM is unofficial |
|
698 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_brightness; |
|
699 // bmpmask = 0x8000; /*32768, tumma*/ |
|
700 bmpmask = 0x7FFF; /*32767, vaalea*/ |
|
701 } |
|
702 }; |
|
703 }; |
|
704 }, |
|
705 // ****************************************************************** // |
|
706 |
|
707 TBAR_CTRL // Sending Live/Clip & Receiving: Mute microphone <=> Toggled |
|
708 { |
|
709 type = EAknCtButton; |
|
710 id = EMusuiCmdToolbarMute; |
|
711 control = AVKON_BUTTON |
|
712 { |
|
713 flags = KAknButtonSizeFitText ; |
|
714 states = |
|
715 { |
|
716 AVKON_BUTTON_STATE |
|
717 { |
|
718 //txt = qtn_msh_tooltip_mute; // Mute Microphone |
|
719 helptxt = qtn_msh_tooltip_mute; |
|
720 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; // Only ROM . RAM is unofficial |
|
721 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_microphone_mute; |
|
722 bmpmask = EMbmMusuitoolbariconsQgn_indi_tb_microphone_mute_mask; |
|
723 // extension = r_mus_microphone_mute_button_state_extension; |
|
724 } |
|
725 }; |
|
726 }; |
|
727 }, |
|
728 TBAR_CTRL // Sending Live/Clip & Receiving: Unmute microphone <=> Toggled |
|
729 { |
|
730 type = EAknCtButton; |
|
731 id = EMusuiCmdToolbarUnmute; |
|
732 control = AVKON_BUTTON |
|
733 { |
|
734 flags = KAknButtonSizeFitText ; |
|
735 states = |
|
736 { |
|
737 AVKON_BUTTON_STATE |
|
738 { |
|
739 //txt = qtn_msh_tooltip_unmute; // Unmute Microphone |
|
740 helptxt = qtn_msh_tooltip_unmute; |
|
741 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; // Only ROM . RAM is unofficial |
|
742 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_microphone_unmute; |
|
743 bmpmask = EMbmMusuitoolbariconsQgn_indi_tb_microphone_unmute_mask; |
|
744 // extension = r_mus_microphone_unmute_button_state_extension; |
|
745 } |
|
746 }; |
|
747 }; |
|
748 }, |
|
749 |
|
750 // ****************************************************************** // |
|
751 |
|
752 TBAR_CTRL // Sending LiveClip & Receiving: Speaker off <=> Toggled |
|
753 { |
|
754 type = EAknCtButton; |
|
755 id = EMusuiCmdToolbarSpeakerOff; |
|
756 control = AVKON_BUTTON |
|
757 { |
|
758 flags = KAknButtonSizeFitText ; |
|
759 states = |
|
760 { |
|
761 AVKON_BUTTON_STATE |
|
762 { |
|
763 //txt = qtn_msh_tooltip_ihf_off; // Loudspeaker off |
|
764 helptxt = qtn_msh_tooltip_ihf_off; |
|
765 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; // Only ROM . RAM is unofficial |
|
766 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_ihf_off; |
|
767 bmpmask = EMbmMusuitoolbariconsQgn_indi_tb_ihf_off_mask; |
|
768 // extension = r_mus_ihf_off_button_state_extension; |
|
769 } |
|
770 }; |
|
771 }; |
|
772 }, |
|
773 TBAR_CTRL // Sending Live/Clip & Receiving: Speaker on <=> Toggled |
|
774 { |
|
775 type = EAknCtButton; |
|
776 id = EMusuiCmdToolbarSpeakerOn; |
|
777 control = AVKON_BUTTON |
|
778 { |
|
779 flags = KAknButtonSizeFitText; |
|
780 states = |
|
781 { |
|
782 AVKON_BUTTON_STATE |
|
783 { |
|
784 //txt = qtn_msh_tooltip_ihf_on; // Loudspeaker on |
|
785 helptxt = qtn_msh_tooltip_ihf_on; |
|
786 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; // Only ROM . RAM is unofficial |
|
787 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_ihf_on; |
|
788 bmpmask = EMbmMusuitoolbariconsQgn_indi_tb_ihf_on_mask; |
|
789 // extension = r_mus_ihf_on_button_state_extension; |
|
790 } |
|
791 }; |
|
792 }; |
|
793 } |
|
794 }; |
|
795 } |
|
796 ///////////////////////////////////////////////////LG/////////////////////////////////////////// |
|
797 |
|
798 |
|
799 |
|
800 // ----------------------------------------------------------------------------- |
|
801 // Toolbar |
|
802 // ----------------------------------------------------------------------------- |
|
803 // |
|
804 RESOURCE AVKON_TOOLBAR r_mus_toolbar |
|
805 { |
|
806 flags = KAknToolbarFixed; |
|
807 |
|
808 items = |
|
809 { |
|
810 // ****************************************************************** // |
|
811 |
|
812 TBAR_CTRL // Receiving: Change to full screen mode |
|
813 { |
|
814 type = EAknCtButton; |
|
815 id = EMusuiCmdToolbarFullScreen; |
|
816 control = AVKON_BUTTON |
|
817 { |
|
818 flags = KAknButtonSizeFitText ; |
|
819 states = |
|
820 { |
|
821 AVKON_BUTTON_STATE |
|
822 { |
|
823 //txt = qtn_msh_tooltip_fullscreen; // View in full screen mode |
|
824 helptxt = qtn_msh_tooltip_fullscreen; |
|
825 // TODO: ROM/RAM: |
|
826 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; |
|
827 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_fullscreen; |
|
828 bmpmask = EMbmMusuitoolbariconsQgn_indi_tb_fullscreen_mask; |
|
829 extension = r_mus_fullscreen_button_state_extension; |
|
830 } |
|
831 }; |
|
832 }; |
|
833 }, |
|
834 |
|
835 // ****************************************************************** // |
|
836 |
|
837 TBAR_CTRL // Sending Live: Pause sharing <=> Toggled |
|
838 { |
|
839 type = EAknCtButton; |
|
840 id = EMusuiCmdToolbarPauseLive; |
|
841 control = AVKON_BUTTON |
|
842 { |
|
843 flags = KAknButtonSizeFitText; |
|
844 states = |
|
845 { |
|
846 AVKON_BUTTON_STATE |
|
847 { |
|
848 //txt = qtn_msh_tooltip_pause_live; // Pause sharing |
|
849 helptxt = qtn_msh_tooltip_pause_live; |
|
850 // TODO: ROM/RAM: |
|
851 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; |
|
852 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_pause_send_video; |
|
853 bmpmask = EMbmMusuitoolbariconsQgn_indi_tb_pause_send_video_mask; |
|
854 extension = r_mus_pause_send_video_button_state_extension; |
|
855 } |
|
856 }; |
|
857 }; |
|
858 }, |
|
859 TBAR_CTRL // Sending Live/Clip: Un-pause sharing <=> Toggled |
|
860 { |
|
861 type = EAknCtButton; |
|
862 id = EMusuiCmdToolbarUnPauseLive; |
|
863 control = AVKON_BUTTON |
|
864 { |
|
865 flags = KAknButtonSizeFitText; |
|
866 states = |
|
867 { |
|
868 AVKON_BUTTON_STATE |
|
869 { |
|
870 //txt = qtn_msh_tooltip_unpause_live; |
|
871 helptxt = qtn_msh_tooltip_unpause_live; |
|
872 // TODO: ROM/RAM |
|
873 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; |
|
874 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_video; |
|
875 bmpmask = EMbmMusuitoolbariconsQgn_indi_tb_video_mask; |
|
876 extension = r_mus_video_button_state_extension; |
|
877 } |
|
878 }; |
|
879 }; |
|
880 }, |
|
881 // ****************************************************************** // |
|
882 |
|
883 TBAR_CTRL // Sending Clip: Pause sharing <=> Toggled |
|
884 { |
|
885 type = EAknCtButton; |
|
886 id = EMusuiCmdToolbarPause; |
|
887 control = AVKON_BUTTON |
|
888 { |
|
889 flags = KAknButtonSizeFitText ; |
|
890 states = |
|
891 { |
|
892 AVKON_BUTTON_STATE |
|
893 { |
|
894 //txt = qtn_msh_tooltip_pause_live; // Pause sharing |
|
895 helptxt = qtn_msh_tooltip_pause_live; |
|
896 // TODO: ROM/RAM: |
|
897 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; |
|
898 bmpid = EMbmMusuitoolbariconsQgn_indi_cams_tb_rec_pause; |
|
899 bmpmask = EMbmMusuitoolbariconsQgn_indi_cams_tb_rec_pause_mask; |
|
900 extension = r_mus_rec_pause_button_state_extension; |
|
901 } |
|
902 }; |
|
903 }; |
|
904 }, |
|
905 TBAR_CTRL // Sending Live/Clip: Un-pause sharing <=> Toggled |
|
906 { |
|
907 type = EAknCtButton; |
|
908 id = EMusuiCmdToolbarUnPause; |
|
909 control = AVKON_BUTTON |
|
910 { |
|
911 flags = KAknButtonSizeFitText ; |
|
912 states = |
|
913 { |
|
914 AVKON_BUTTON_STATE |
|
915 { |
|
916 //txt = qtn_msh_tooltip_unpause_live; |
|
917 helptxt = qtn_msh_tooltip_unpause_live; |
|
918 // TODO: ROM/RAM |
|
919 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; |
|
920 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_play; |
|
921 bmpmask = EMbmMusuitoolbariconsQgn_indi_tb_play_mask; |
|
922 extension = r_mus_play_button_state_extension; |
|
923 } |
|
924 }; |
|
925 }; |
|
926 }, |
|
927 |
|
928 // ****************************************************************** // |
|
929 |
|
930 TBAR_CTRL // Sending Live/Clip & Receiving: Mute microphone <=> Toggled |
|
931 { |
|
932 type = EAknCtButton; |
|
933 id = EMusuiCmdToolbarMute; |
|
934 control = AVKON_BUTTON |
|
935 { |
|
936 flags = KAknButtonSizeFitText ; |
|
937 states = |
|
938 { |
|
939 AVKON_BUTTON_STATE |
|
940 { |
|
941 //txt = qtn_msh_tooltip_mute; // Mute Microphone |
|
942 helptxt = qtn_msh_tooltip_mute; |
|
943 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; // Only ROM . RAM is unofficial |
|
944 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_microphone_mute; |
|
945 bmpmask = EMbmMusuitoolbariconsQgn_indi_tb_microphone_mute_mask; |
|
946 extension = r_mus_microphone_mute_button_state_extension; |
|
947 } |
|
948 }; |
|
949 }; |
|
950 }, |
|
951 TBAR_CTRL // Sending Live/Clip & Receiving: Unmute microphone <=> Toggled |
|
952 { |
|
953 type = EAknCtButton; |
|
954 id = EMusuiCmdToolbarUnmute; |
|
955 control = AVKON_BUTTON |
|
956 { |
|
957 flags = KAknButtonSizeFitText ; |
|
958 states = |
|
959 { |
|
960 AVKON_BUTTON_STATE |
|
961 { |
|
962 //txt = qtn_msh_tooltip_unmute; // Unmute Microphone |
|
963 helptxt = qtn_msh_tooltip_unmute; |
|
964 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; // Only ROM . RAM is unofficial |
|
965 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_microphone_unmute; |
|
966 bmpmask = EMbmMusuitoolbariconsQgn_indi_tb_microphone_unmute_mask; |
|
967 extension = r_mus_microphone_unmute_button_state_extension; |
|
968 } |
|
969 }; |
|
970 }; |
|
971 }, |
|
972 |
|
973 // ****************************************************************** // |
|
974 |
|
975 TBAR_CTRL // Sending LiveClip & Receiving: Speaker off <=> Toggled |
|
976 { |
|
977 type = EAknCtButton; |
|
978 id = EMusuiCmdToolbarSpeakerOff; |
|
979 control = AVKON_BUTTON |
|
980 { |
|
981 flags = KAknButtonSizeFitText ; |
|
982 states = |
|
983 { |
|
984 AVKON_BUTTON_STATE |
|
985 { |
|
986 //txt = qtn_msh_tooltip_ihf_off; // Loudspeaker off |
|
987 helptxt = qtn_msh_tooltip_ihf_off; |
|
988 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; // Only ROM . RAM is unofficial |
|
989 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_ihf_off; |
|
990 bmpmask = EMbmMusuitoolbariconsQgn_indi_tb_ihf_off_mask; |
|
991 extension = r_mus_ihf_off_button_state_extension; |
|
992 } |
|
993 }; |
|
994 }; |
|
995 }, |
|
996 TBAR_CTRL // Sending Live/Clip & Receiving: Speaker on <=> Toggled |
|
997 { |
|
998 type = EAknCtButton; |
|
999 id = EMusuiCmdToolbarSpeakerOn; |
|
1000 control = AVKON_BUTTON |
|
1001 { |
|
1002 flags = KAknButtonSizeFitText; |
|
1003 states = |
|
1004 { |
|
1005 AVKON_BUTTON_STATE |
|
1006 { |
|
1007 //txt = qtn_msh_tooltip_ihf_on; // Loudspeaker on |
|
1008 helptxt = qtn_msh_tooltip_ihf_on; |
|
1009 bmpfile = "Z:\\Resource\\apps\\musuitoolbaricons.mif"; // Only ROM . RAM is unofficial |
|
1010 bmpid = EMbmMusuitoolbariconsQgn_indi_tb_ihf_on; |
|
1011 bmpmask = EMbmMusuitoolbariconsQgn_indi_tb_ihf_on_mask; |
|
1012 extension = r_mus_ihf_on_button_state_extension; |
|
1013 } |
|
1014 }; |
|
1015 }; |
|
1016 } |
|
1017 }; |
|
1018 } |
|
1019 |
|
1020 |
|
1021 |
|
1022 // BUTTON STATE EXTENSION needed for skinning |
|
1023 |
|
1024 RESOURCE AVKON_BUTTON_STATE_EXTENSION r_mus_call_volume_button_state_extension |
|
1025 { |
|
1026 bmbSkinIdMajor= EAknsMajorGeneric; |
|
1027 bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbCallVolume; |
|
1028 } |
|
1029 |
|
1030 RESOURCE AVKON_BUTTON_STATE_EXTENSION r_mus_fullscreen_button_state_extension |
|
1031 { |
|
1032 bmbSkinIdMajor= EAknsMajorGeneric; |
|
1033 bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbFullscreen; |
|
1034 } |
|
1035 |
|
1036 RESOURCE AVKON_BUTTON_STATE_EXTENSION r_mus_pause_send_video_button_state_extension |
|
1037 { |
|
1038 bmbSkinIdMajor= EAknsMajorGeneric; |
|
1039 bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbPauseSendVideo; |
|
1040 } |
|
1041 |
|
1042 RESOURCE AVKON_BUTTON_STATE_EXTENSION r_mus_video_button_state_extension |
|
1043 { |
|
1044 bmbSkinIdMajor= EAknsMajorGeneric; |
|
1045 bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbVideo; |
|
1046 } |
|
1047 |
|
1048 RESOURCE AVKON_BUTTON_STATE_EXTENSION r_mus_rec_pause_button_state_extension |
|
1049 { |
|
1050 bmbSkinIdMajor= EAknsMajorGeneric; |
|
1051 bmbSkinIdMinor= EAknsMinorGenericQgnIndiCamsTbRecPause; |
|
1052 } |
|
1053 |
|
1054 RESOURCE AVKON_BUTTON_STATE_EXTENSION r_mus_play_button_state_extension |
|
1055 { |
|
1056 bmbSkinIdMajor= EAknsMajorGeneric; |
|
1057 bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbPlay; |
|
1058 } |
|
1059 |
|
1060 RESOURCE AVKON_BUTTON_STATE_EXTENSION r_mus_ffw_frew_button_state_extension |
|
1061 { |
|
1062 bmbSkinIdMajor= EAknsMajorGeneric; |
|
1063 bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbFfwFrew; |
|
1064 } |
|
1065 |
|
1066 RESOURCE AVKON_BUTTON_STATE_EXTENSION r_mus_zoom_button_state_extension |
|
1067 { |
|
1068 bmbSkinIdMajor= EAknsMajorGeneric; |
|
1069 bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbZoom; |
|
1070 } |
|
1071 |
|
1072 RESOURCE AVKON_BUTTON_STATE_EXTENSION r_mus_brightness_button_state_extension |
|
1073 { |
|
1074 bmbSkinIdMajor= EAknsMajorGeneric; |
|
1075 bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbBrightness; |
|
1076 } |
|
1077 |
|
1078 RESOURCE AVKON_BUTTON_STATE_EXTENSION r_mus_microphone_mute_button_state_extension |
|
1079 { |
|
1080 bmbSkinIdMajor= EAknsMajorGeneric; |
|
1081 bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbMicrophoneMute; |
|
1082 } |
|
1083 |
|
1084 RESOURCE AVKON_BUTTON_STATE_EXTENSION r_mus_microphone_unmute_button_state_extension |
|
1085 { |
|
1086 bmbSkinIdMajor= EAknsMajorGeneric; |
|
1087 bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbMicrophoneUnmute; |
|
1088 } |
|
1089 |
|
1090 RESOURCE AVKON_BUTTON_STATE_EXTENSION r_mus_ihf_off_button_state_extension |
|
1091 { |
|
1092 bmbSkinIdMajor= EAknsMajorGeneric; |
|
1093 bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbIhfOff; |
|
1094 } |
|
1095 |
|
1096 RESOURCE AVKON_BUTTON_STATE_EXTENSION r_mus_ihf_on_button_state_extension |
|
1097 { |
|
1098 bmbSkinIdMajor= EAknsMajorGeneric; |
|
1099 bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbIhfOn; |
|
1100 } |
|
1101 |
|
1102 // ----------------------------------------------------------------------------- |
|
1103 // |
|
1104 // ----------------------------------------------------------------------------- |
|
1105 // |
|
1106 RESOURCE DIALOG r_mus_text_query_dialog |
|
1107 { |
|
1108 flags = EAknGeneralQueryFlags; |
|
1109 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
1110 items = |
|
1111 { |
|
1112 DLG_LINE |
|
1113 { |
|
1114 type = EAknCtQuery; |
|
1115 id = EGeneralQuery; |
|
1116 control = AVKON_DATA_QUERY |
|
1117 { |
|
1118 layout = EDataLayout; |
|
1119 control = EDWIN |
|
1120 { |
|
1121 flags = EEikEdwinOnlyASCIIChars; |
|
1122 avkon_flags = EAknEditorFlagLatinInputModesOnly; |
|
1123 default_input_mode = EAknEditorTextInputMode; |
|
1124 allowed_input_modes = EAknEditorTextInputMode | |
|
1125 EAknEditorNumericInputMode; |
|
1126 }; |
|
1127 }; |
|
1128 } |
|
1129 }; |
|
1130 } |
|
1131 |
|
1132 |
|
1133 // ----------------------------------------------------------------------------- |
|
1134 // Resource for the address selection query. |
|
1135 // ----------------------------------------------------------------------------- |
|
1136 // |
|
1137 RESOURCE DIALOG r_mus_confirmation_query_dialog |
|
1138 { |
|
1139 flags = EGeneralQueryFlags; |
|
1140 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
1141 items = |
|
1142 { |
|
1143 DLG_LINE |
|
1144 { |
|
1145 type = EAknCtQuery; |
|
1146 id = EMusConfirmationQuery; |
|
1147 control = AVKON_CONFIRMATION_QUERY |
|
1148 { |
|
1149 layout = EConfirmationQueryLayout; |
|
1150 }; |
|
1151 } |
|
1152 }; |
|
1153 } |
|
1154 |
|
1155 |
|
1156 // ----------------------------------------------------------------------------- |
|
1157 // Resource for the address selection query. |
|
1158 // ----------------------------------------------------------------------------- |
|
1159 // |
|
1160 RESOURCE AVKON_LIST_QUERY r_mus_livesharingview_address_query |
|
1161 { |
|
1162 flags = EGeneralQueryFlags; |
|
1163 softkeys = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
1164 items = |
|
1165 { |
|
1166 AVKON_LIST_QUERY_DLG_LINE |
|
1167 { |
|
1168 control = AVKON_LIST_QUERY_CONTROL |
|
1169 { |
|
1170 listtype = EAknCtSinglePopupMenuListBox; |
|
1171 listbox = AVKON_LIST_QUERY_LIST |
|
1172 { |
|
1173 array_id = r_mus_livesharingview_address_array; |
|
1174 }; |
|
1175 heading = qtn_msh_inviteview_select_query_hdr_txt; |
|
1176 }; |
|
1177 } |
|
1178 }; |
|
1179 } |
|
1180 |
|
1181 |
|
1182 // ----------------------------------------------------------------------------- |
|
1183 // Resource for the address selection query array |
|
1184 // ----------------------------------------------------------------------------- |
|
1185 // |
|
1186 RESOURCE ARRAY r_mus_livesharingview_address_array |
|
1187 { |
|
1188 items = |
|
1189 { |
|
1190 LBUF { txt = ""; } |
|
1191 }; |
|
1192 } |
|
1193 |
|
1194 |
|
1195 // ----------------------------------------------------------------------------- |
|
1196 // Resource for the inviting wait note |
|
1197 // ----------------------------------------------------------------------------- |
|
1198 // |
|
1199 RESOURCE DIALOG r_mus_view_inviting_wait_note |
|
1200 { |
|
1201 flags = EAknWaitNoteFlags | EEikDialogFlagWait; |
|
1202 buttons = R_AVKON_SOFTKEYS_CANCEL; |
|
1203 items = |
|
1204 { |
|
1205 DLG_LINE |
|
1206 { |
|
1207 type = EAknCtNote; |
|
1208 id = EMusInvitingWaitNoteId; |
|
1209 control = AVKON_NOTE |
|
1210 { |
|
1211 layout = EWaitLayout; |
|
1212 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
1213 }; |
|
1214 } |
|
1215 }; |
|
1216 } |
|
1217 |
|
1218 |
|
1219 // ----------------------------------------------------------------------------- |
|
1220 // Resource for the camera activation wait note |
|
1221 // ----------------------------------------------------------------------------- |
|
1222 // |
|
1223 RESOURCE DIALOG r_mus_live_sharing_view_activate_camera_wait_note |
|
1224 { |
|
1225 flags = EAknWaitNoteFlags | EEikDialogFlagWait; |
|
1226 buttons = R_AVKON_SOFTKEYS_CANCEL; |
|
1227 items = |
|
1228 { |
|
1229 DLG_LINE |
|
1230 { |
|
1231 type = EAknCtNote; |
|
1232 id = EMusActivateCameraWaitNoteId; |
|
1233 control = AVKON_NOTE |
|
1234 { |
|
1235 layout = EWaitLayout; |
|
1236 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
1237 }; |
|
1238 } |
|
1239 }; |
|
1240 } |
|
1241 |
|
1242 |
|
1243 // ----------------------------------------------------------------------------- |
|
1244 // |
|
1245 // ----------------------------------------------------------------------------- |
|
1246 // |
|
1247 RESOURCE DIALOG r_mus_view_transcoding_wait_note |
|
1248 { |
|
1249 flags = EAknProgressNoteFlags; |
|
1250 buttons = R_AVKON_SOFTKEYS_CANCEL; |
|
1251 items = |
|
1252 { |
|
1253 DLG_LINE |
|
1254 { |
|
1255 type = EAknCtNote; |
|
1256 id = EMusTranscodingProgressNoteId; |
|
1257 control = AVKON_NOTE |
|
1258 { |
|
1259 layout = EWaitLayout; |
|
1260 }; |
|
1261 } |
|
1262 }; |
|
1263 } |
|
1264 |
|
1265 |
|
1266 // ----------------------------------------------------------------------------- |
|
1267 // |
|
1268 // ----------------------------------------------------------------------------- |
|
1269 // |
|
1270 RESOURCE TBUF r_mus_text_enter_address_dialog_prompt |
|
1271 { |
|
1272 buf = qtn_msh_inviteview_enter_sip; |
|
1273 } |
|
1274 |
|
1275 |
|
1276 // ----------------------------------------------------------------------------- |
|
1277 // |
|
1278 // ----------------------------------------------------------------------------- |
|
1279 // |
|
1280 RESOURCE TBUF r_mus_live_sharing_view_title |
|
1281 { |
|
1282 buf = qtn_msh_shareview_title; |
|
1283 } |
|
1284 |
|
1285 |
|
1286 // ----------------------------------------------------------------------------- |
|
1287 // |
|
1288 // ----------------------------------------------------------------------------- |
|
1289 // |
|
1290 RESOURCE TBUF r_mus_live_sharing_view_inviting_wait_note_txt |
|
1291 { |
|
1292 buf = qtn_msh_note_inviting; |
|
1293 } |
|
1294 |
|
1295 |
|
1296 // ----------------------------------------------------------------------------- |
|
1297 // |
|
1298 // ----------------------------------------------------------------------------- |
|
1299 // |
|
1300 RESOURCE TBUF r_mus_live_sharing_view_open_camera_lens_cover_wait_note_txt |
|
1301 { |
|
1302 buf = qtn_msh_note_change_camera_mode; |
|
1303 } |
|
1304 |
|
1305 |
|
1306 // ----------------------------------------------------------------------------- |
|
1307 // |
|
1308 // ----------------------------------------------------------------------------- |
|
1309 // |
|
1310 RESOURCE TBUF r_mus_registration_pending_wait_note_txt |
|
1311 { |
|
1312 //"Registering to SIP server" |
|
1313 buf = qtn_msh_note_registration_pending; |
|
1314 } |
|
1315 |
|
1316 |
|
1317 // ----------------------------------------------------------------------------- |
|
1318 // |
|
1319 // ----------------------------------------------------------------------------- |
|
1320 // |
|
1321 RESOURCE TBUF r_mus_change_keypad_mode_txt |
|
1322 { |
|
1323 buf = qtn_msh_note_change_keypad_mode; |
|
1324 } |
|
1325 |
|
1326 |
|
1327 // -------------------------------------------------------- |
|
1328 // Resources related to video receive |
|
1329 // -------------------------------------------------------- |
|
1330 |
|
1331 RESOURCE TBUF r_mus_receive_view_note_incoming_video_request |
|
1332 { |
|
1333 buf = qtn_msh_note_incoming_video_request; // "Accept sharing request from %U[35]?" |
|
1334 } |
|
1335 |
|
1336 |
|
1337 // ----------------------------------------------------------------------------- |
|
1338 // |
|
1339 // ----------------------------------------------------------------------------- |
|
1340 // |
|
1341 RESOURCE TBUF r_mus_receive_view_waiting_for_stream |
|
1342 { |
|
1343 buf = qtn_msh_note_waiting_for_stream; |
|
1344 } |
|
1345 |
|
1346 |
|
1347 // ----------------------------------------------------------------------------- |
|
1348 // |
|
1349 // ----------------------------------------------------------------------------- |
|
1350 // |
|
1351 RESOURCE TBUF r_mus_view_save_address_query_txt |
|
1352 { |
|
1353 buf = qtn_msh_query_save_contact; |
|
1354 } |
|
1355 |
|
1356 |
|
1357 // ----------------------------------------------------------------------------- |
|
1358 // |
|
1359 // ----------------------------------------------------------------------------- |
|
1360 // |
|
1361 RESOURCE TBUF r_mus_view_saved_filename |
|
1362 { |
|
1363 buf = qtn_msh_set_saving_filename; |
|
1364 } |
|
1365 |
|
1366 |
|
1367 // ----------------------------------------------------------------------------- |
|
1368 // |
|
1369 // ----------------------------------------------------------------------------- |
|
1370 // |
|
1371 RESOURCE TBUF r_mus_view_save_shared_video_query |
|
1372 { |
|
1373 buf = qtn_msh_query_save_clip; |
|
1374 } |
|
1375 |
|
1376 |
|
1377 // ----------------------------------------------------------------------------- |
|
1378 // |
|
1379 // ----------------------------------------------------------------------------- |
|
1380 // |
|
1381 RESOURCE TBUF r_mus_view_note_video_saved |
|
1382 { |
|
1383 buf = qtn_msh_note_video_saved; |
|
1384 } |
|
1385 |
|
1386 |
|
1387 // ----------------------------------------------------------------------------- |
|
1388 // |
|
1389 // ----------------------------------------------------------------------------- |
|
1390 // |
|
1391 RESOURCE TBUF r_mus_video_save_folder_name |
|
1392 { |
|
1393 buf = qtn_apps_mg_gs; |
|
1394 } |
|
1395 |
|
1396 // ----------------------------------------------------------------------------- |
|
1397 // |
|
1398 // ----------------------------------------------------------------------------- |
|
1399 // |
|
1400 RESOURCE TBUF r_mus_progress_note_converting_clip |
|
1401 { |
|
1402 // "Converting clip for sharing" |
|
1403 buf = qtn_msh_note_transcoding_video; |
|
1404 } |
|
1405 |
|
1406 |
|
1407 // ----------------------------------------------------------------------------- |
|
1408 // |
|
1409 // ----------------------------------------------------------------------------- |
|
1410 // |
|
1411 RESOURCE TBUF r_mus_view_note_transcoding_complete |
|
1412 { |
|
1413 // "Clip conversion complete" |
|
1414 buf = qtn_msh_note_transcoding_complete; |
|
1415 } |
|
1416 |
|
1417 |
|
1418 // ----------------------------------------------------------------------------- |
|
1419 // |
|
1420 // ----------------------------------------------------------------------------- |
|
1421 // |
|
1422 RESOURCE TBUF r_mus_view_note_memorycard_problem |
|
1423 { |
|
1424 // "Memory card is not accessible. Phone memory will be used instead." |
|
1425 buf = qtn_msh_note_memorycard_problem; |
|
1426 } |
|
1427 |
|
1428 |
|
1429 // ----------------------------------------------------------------------------- |
|
1430 // Error Note Strings |
|
1431 // ----------------------------------------------------------------------------- |
|
1432 // |
|
1433 RESOURCE TBUF r_mus_live_sharing_view_note_recipient_not_found |
|
1434 { |
|
1435 // "Unable to find recipient" |
|
1436 buf = qtn_msh_note_recipient_not_found; |
|
1437 } |
|
1438 |
|
1439 RESOURCE TBUF r_mus_live_sharing_view_note_app_n_a |
|
1440 { |
|
1441 // "Recipient does not have 'Video sharing' application" |
|
1442 buf = qtn_msh_note_app_n_a; |
|
1443 } |
|
1444 |
|
1445 RESOURCE TBUF r_mus_live_sharing_view_note_connection_rejected |
|
1446 { |
|
1447 // "Invitation rejected by recipient" |
|
1448 buf = qtn_msh_note_connection_rejected; |
|
1449 } |
|
1450 |
|
1451 RESOURCE TBUF r_mus_live_sharing_view_note_no_response |
|
1452 { |
|
1453 // "No response received to invitation" |
|
1454 buf = qtn_msh_note_no_response; |
|
1455 } |
|
1456 |
|
1457 RESOURCE TBUF r_mus_live_sharing_view_note_invitation_cancelled |
|
1458 { |
|
1459 // "Invitation cancelled" |
|
1460 buf = qtn_msh_note_invitation_cancelled; |
|
1461 } |
|
1462 |
|
1463 RESOURCE TBUF r_mus_live_sharing_view_note_resource_n_a |
|
1464 { |
|
1465 // "Application not available" |
|
1466 buf = qtn_msh_note_resource_n_a; |
|
1467 } |
|
1468 |
|
1469 RESOURCE TBUF r_mus_live_sharing_view_note_error_mediainit |
|
1470 { |
|
1471 // "Media initialisation failed" |
|
1472 buf = qtn_msh_note_error_mediainit; |
|
1473 } |
|
1474 |
|
1475 RESOURCE TBUF r_mus_live_sharing_view_note_error_filelock |
|
1476 { |
|
1477 // "Unable to read file" |
|
1478 buf = qtn_msh_note_error_filelock; |
|
1479 } |
|
1480 |
|
1481 RESOURCE TBUF r_mus_live_sharing_view_note_error_genericfile |
|
1482 { |
|
1483 // "File error" |
|
1484 buf = qtn_msh_note_error_genericfile; |
|
1485 } |
|
1486 |
|
1487 RESOURCE TBUF r_mus_live_sharing_view_note_error_app_general |
|
1488 { |
|
1489 // "Application error" |
|
1490 buf = qtn_msh_note_error_app_general; |
|
1491 } |
|
1492 |
|
1493 RESOURCE TBUF r_mus_live_sharing_view_note_startup_failed |
|
1494 { |
|
1495 // "Start-up failed. Reinstall 'Video sharing' application." |
|
1496 buf = qtn_msh_note_startup_failed; |
|
1497 } |
|
1498 |
|
1499 RESOURCE TBUF r_mus_live_sharing_view_note_bad_startup_settings |
|
1500 { |
|
1501 // "Start-up failed. Check settings." |
|
1502 buf = qtn_msh_note_bad_startup_settings; |
|
1503 } |
|
1504 |
|
1505 RESOURCE TBUF r_mus_live_sharing_view_note_connection_lost |
|
1506 { |
|
1507 // "Disconnected" |
|
1508 buf = qtn_msh_note_connection_lost; |
|
1509 } |
|
1510 |
|
1511 RESOURCE TBUF r_mus_live_sharing_view_note_recipient_busy |
|
1512 { |
|
1513 // "Recipient already sharing video. Unable to establish connection." |
|
1514 buf = qtn_msh_note_recipient_busy; |
|
1515 } |
|
1516 |
|
1517 RESOURCE TBUF r_mus_live_sharing_view_note_network_n_a |
|
1518 { |
|
1519 // "No network coverage" |
|
1520 buf = qtn_msh_note_network_n_a; |
|
1521 } |
|
1522 |
|
1523 RESOURCE TBUF r_mus_live_sharing_view_note_recipient_n_a |
|
1524 { |
|
1525 // "Recipient busy. Try again later." |
|
1526 buf = qtn_msh_note_recipient_n_a; |
|
1527 } |
|
1528 |
|
1529 RESOURCE TBUF r_mus_live_sharing_view_note_wrong_address |
|
1530 { |
|
1531 // "Recipient not found. Check the address." |
|
1532 buf = qtn_msh_note_wrong_address; |
|
1533 } |
|
1534 |
|
1535 RESOURCE TBUF r_mus_live_sharing_view_note_timeout_expired |
|
1536 { |
|
1537 // "Connection time-out" |
|
1538 buf = qtn_msh_note_timeout_expired; |
|
1539 } |
|
1540 |
|
1541 RESOURCE TBUF r_mus_live_sharing_view_note_service_n_a |
|
1542 { |
|
1543 // "Service temporarily unavailable" |
|
1544 buf = qtn_msh_note_service_n_a; |
|
1545 } |
|
1546 |
|
1547 RESOURCE TBUF r_mus_live_sharing_view_note_only_3g |
|
1548 { |
|
1549 // "Video Sharing is supported only in 3G network." |
|
1550 buf = qtn_mshstarter_note_network_incompatible; |
|
1551 } |
|
1552 |
|
1553 RESOURCE TBUF r_mus_live_sharing_view_note_invite_error |
|
1554 { |
|
1555 // "Unable to send invitation" |
|
1556 buf = qtn_msh_note_invite_error; |
|
1557 } |
|
1558 |
|
1559 RESOURCE TBUF r_mus_live_sharing_view_note_no_reg |
|
1560 { |
|
1561 // "Unable to register to network" |
|
1562 buf = qtn_msh_note_no_reg; |
|
1563 } |
|
1564 |
|
1565 RESOURCE TBUF r_mus_live_sharing_view_note_transcoding_not_supported |
|
1566 { |
|
1567 // "Clip is not in correct format. Unable to share." |
|
1568 buf = qtn_msh_note_transcoding_not_supported; |
|
1569 } |
|
1570 |
|
1571 RESOURCE TBUF r_mus_live_sharing_view_note_sharing_ended |
|
1572 { |
|
1573 // "Video sharing ended" |
|
1574 buf = qtn_msh_note_sharing_ended; |
|
1575 } |
|
1576 |
|
1577 RESOURCE TBUF r_mus_live_sharing_view_note_sharing_ended_record |
|
1578 { |
|
1579 // "Video sharing ended. Continue recording?" |
|
1580 buf = qtn_msh_note_sharing_ended_record; |
|
1581 } |
|
1582 |
|
1583 RESOURCE TBUF r_mus_view_drm_info_send_forbid |
|
1584 { |
|
1585 // "Unable to send protected object" |
|
1586 buf = qtn_drm_info_send_forbid_one; |
|
1587 } |
|
1588 |
|
1589 RESOURCE TBUF r_mus_view_note_memory_low |
|
1590 { |
|
1591 // "Memory low. Recording stopped." |
|
1592 buf = qtn_msh_note_memory_low; |
|
1593 } |
|
1594 |
|
1595 RESOURCE TBUF r_mus_view_note_unable_to_convert |
|
1596 { |
|
1597 // "Unable to convert clip" |
|
1598 buf = qtn_msh_note_transcoding_failed; |
|
1599 } |
|
1600 |
|
1601 RESOURCE TBUF r_mus_note_hf_activated |
|
1602 { |
|
1603 // "Handsfree activated" |
|
1604 buf = qtn_hf_conf_activate; |
|
1605 } |
|
1606 |
|
1607 RESOURCE SLIDER r_mus_slider_vertical |
|
1608 { |
|
1609 layout=EAknSliderLayoutVertical; |
|
1610 minvalue=0; |
|
1611 maxvalue=100; |
|
1612 step=1; |
|
1613 valuetype=EAknSliderValueNone; |
|
1614 minlabel="-"; |
|
1615 maxlabel="+"; |
|
1616 } |
|
1617 |
|
1618 RESOURCE SLIDER r_mus_slider_horizontal |
|
1619 { |
|
1620 layout=EAknSliderLayoutHorizontal; |
|
1621 minvalue=0; |
|
1622 maxvalue=100; |
|
1623 step=1; |
|
1624 valuetype=EAknSliderValueNone; |
|
1625 } |
|
1626 |
|
1627 // end of file |
|
1628 |
|