|
1 /* |
|
2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * This file contains all the resources for call handling the module. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 NAME CLGI |
|
21 |
|
22 #include <bldvariant.hrh> |
|
23 #include <data_caging_paths_strings.hrh> |
|
24 #include <eikon.rh> |
|
25 #include <avkon.hrh> |
|
26 #include <avkon.rh> |
|
27 #include <avkon.loc> |
|
28 #include <uikon.hrh> |
|
29 #include <bmtouchpane.rh> |
|
30 #include <appinfo.rh> |
|
31 |
|
32 #include "phoneui.rh" |
|
33 #include "phoneui.hrh" |
|
34 #include <phone.loc> |
|
35 #include <phoneappcommands.hrh> |
|
36 #include <incallmenuandsoftkeys.loc> |
|
37 #include <incalloperations.loc> |
|
38 |
|
39 // RESOURCE DEFINITIONS |
|
40 |
|
41 RESOURCE RSS_SIGNATURE |
|
42 { |
|
43 } |
|
44 |
|
45 RESOURCE TBUF |
|
46 { |
|
47 buf = "CLGI"; |
|
48 } |
|
49 |
|
50 // ----------------------------------------------------------------------------- |
|
51 // |
|
52 // r_phoneui_mute_toggle_button |
|
53 // Mute / Unmute toggle button. |
|
54 // |
|
55 // ----------------------------------------------------------------------------- |
|
56 // |
|
57 RESOURCE BUBBLE_TOUCH_PANE_BUTTON r_phoneui_mute_toggle_button |
|
58 { |
|
59 commands = |
|
60 { |
|
61 EPhoneInCallCmdMute, |
|
62 EPhoneInCallCmdUnmute |
|
63 }; |
|
64 button = AVKON_BUTTON |
|
65 { |
|
66 states = |
|
67 { |
|
68 AVKON_BUTTON_STATE // mute |
|
69 { |
|
70 txt = qtn_incal_button_mute_mic\ |
|
71 <0x0001>\ |
|
72 qtn_incal_button_mute_mic_landscape; |
|
73 }, |
|
74 AVKON_BUTTON_STATE // unmute |
|
75 { |
|
76 txt = qtn_incal_button_unmute_mic\ |
|
77 <0x0001>\ |
|
78 qtn_incal_button_unmute_mic_landscape; |
|
79 } |
|
80 }; |
|
81 }; |
|
82 } |
|
83 |
|
84 // ----------------------------------------------------------------------------- |
|
85 // |
|
86 // r_phoneui_end_active_call_button |
|
87 // End call active button. |
|
88 // |
|
89 // ----------------------------------------------------------------------------- |
|
90 // |
|
91 RESOURCE BUBBLE_TOUCH_PANE_BUTTON r_phoneui_end_active_call_button |
|
92 { |
|
93 commands = |
|
94 { |
|
95 EPhoneCmdEnd |
|
96 }; |
|
97 button = AVKON_BUTTON |
|
98 { |
|
99 states = |
|
100 { |
|
101 AVKON_BUTTON_STATE |
|
102 { |
|
103 txt = qtn_incal_button_end_active_call\ |
|
104 <0x0001>\ |
|
105 qtn_incal_button_end_active_call_landscape; |
|
106 } |
|
107 }; |
|
108 }; |
|
109 } |
|
110 |
|
111 // ----------------------------------------------------------------------------- |
|
112 // |
|
113 // r_phoneui_end_call_button |
|
114 // End call button. |
|
115 // |
|
116 // ----------------------------------------------------------------------------- |
|
117 // |
|
118 RESOURCE BUBBLE_TOUCH_PANE_BUTTON r_phoneui_end_call_button |
|
119 { |
|
120 commands = |
|
121 { |
|
122 EPhoneCmdEnd |
|
123 }; |
|
124 button = AVKON_BUTTON |
|
125 { |
|
126 states = |
|
127 { |
|
128 AVKON_BUTTON_STATE |
|
129 { |
|
130 txt = qtn_incal_button_end_call\ |
|
131 <0x0001>\ |
|
132 qtn_incal_button_end_call_landscape; |
|
133 } |
|
134 }; |
|
135 }; |
|
136 } |
|
137 |
|
138 // ----------------------------------------------------------------------------- |
|
139 // |
|
140 // r_phoneui_end_all_calls_button |
|
141 // End all calls toggle button. |
|
142 // |
|
143 // ----------------------------------------------------------------------------- |
|
144 // |
|
145 RESOURCE BUBBLE_TOUCH_PANE_BUTTON r_phoneui_end_all_calls_button |
|
146 { |
|
147 commands = |
|
148 { |
|
149 EPhoneInCallCmdEndAllCalls |
|
150 }; |
|
151 button = AVKON_BUTTON |
|
152 { |
|
153 states = |
|
154 { |
|
155 AVKON_BUTTON_STATE |
|
156 { |
|
157 txt = qtn_incal_button_end_all_calls\ |
|
158 <0x0001>\ |
|
159 qtn_incal_button_end_all_calls_landscape; |
|
160 } |
|
161 }; |
|
162 }; |
|
163 } |
|
164 |
|
165 // ----------------------------------------------------------------------------- |
|
166 // |
|
167 // r_phoneui_answer_call_button |
|
168 // Answer call button. |
|
169 // |
|
170 // ----------------------------------------------------------------------------- |
|
171 // |
|
172 RESOURCE BUBBLE_TOUCH_PANE_BUTTON r_phoneui_answer_call_button |
|
173 { |
|
174 commands = |
|
175 { |
|
176 EPhoneCallComingCmdAnswer |
|
177 }; |
|
178 button = AVKON_BUTTON |
|
179 { |
|
180 states = |
|
181 { |
|
182 AVKON_BUTTON_STATE |
|
183 { |
|
184 txt = qtn_incal_button_answer\ |
|
185 <0x0001>\ |
|
186 qtn_incal_button_answer_landscape; |
|
187 } |
|
188 }; |
|
189 }; |
|
190 } |
|
191 |
|
192 // ----------------------------------------------------------------------------- |
|
193 // |
|
194 // r_phoneui_reject_call_button |
|
195 // Reject call button. |
|
196 // |
|
197 // ----------------------------------------------------------------------------- |
|
198 // |
|
199 RESOURCE BUBBLE_TOUCH_PANE_BUTTON r_phoneui_reject_call_button |
|
200 { |
|
201 commands = |
|
202 { |
|
203 EPhoneCallComingCmdReject |
|
204 }; |
|
205 button = AVKON_BUTTON |
|
206 { |
|
207 states = |
|
208 { |
|
209 AVKON_BUTTON_STATE |
|
210 { |
|
211 txt = qtn_incal_button_reject\ |
|
212 <0x0001>\ |
|
213 qtn_incal_button_reject_landscape; |
|
214 } |
|
215 }; |
|
216 }; |
|
217 } |
|
218 |
|
219 // ----------------------------------------------------------------------------- |
|
220 // |
|
221 // r_phoneui_end_outgoing_call_button |
|
222 // End ongoing call button. |
|
223 // |
|
224 // ----------------------------------------------------------------------------- |
|
225 // |
|
226 RESOURCE BUBBLE_TOUCH_PANE_BUTTON r_phoneui_end_outgoing_call_button |
|
227 { |
|
228 commands = |
|
229 { |
|
230 EPhoneInCallCmdEndThisOutgoingCall |
|
231 }; |
|
232 button = AVKON_BUTTON |
|
233 { |
|
234 states = |
|
235 { |
|
236 AVKON_BUTTON_STATE |
|
237 { |
|
238 txt = qtn_incal_button_end_call\ |
|
239 <0x0001>\ |
|
240 qtn_incal_button_end_call_landscape; |
|
241 } |
|
242 }; |
|
243 }; |
|
244 } |
|
245 |
|
246 // ----------------------------------------------------------------------------- |
|
247 // |
|
248 // r_phoneui_hold_toggle_button |
|
249 // Hold / Unhold toggle button. |
|
250 // |
|
251 // ----------------------------------------------------------------------------- |
|
252 // |
|
253 RESOURCE BUBBLE_TOUCH_PANE_BUTTON r_phoneui_hold_toggle_button |
|
254 { |
|
255 commands = |
|
256 { |
|
257 EPhoneInCallCmdHold, |
|
258 EPhoneInCallCmdUnhold |
|
259 }; |
|
260 button = AVKON_BUTTON |
|
261 { |
|
262 states = |
|
263 { |
|
264 AVKON_BUTTON_STATE |
|
265 { |
|
266 txt = qtn_incal_button_hold\ |
|
267 <0x0001>\ |
|
268 qtn_incal_button_hold_landscape; |
|
269 }, |
|
270 AVKON_BUTTON_STATE |
|
271 { |
|
272 txt = qtn_incal_button_unhold\ |
|
273 <0x0001>\ |
|
274 qtn_incal_button_unhold_landscape; |
|
275 } |
|
276 }; |
|
277 }; |
|
278 } |
|
279 |
|
280 // ----------------------------------------------------------------------------- |
|
281 // |
|
282 // r_phoneui_ihf_toggle_button |
|
283 // Loudspeaker / Handset toggle button |
|
284 // |
|
285 // ----------------------------------------------------------------------------- |
|
286 // |
|
287 RESOURCE BUBBLE_TOUCH_PANE_BUTTON r_phoneui_ihf_toggle_button |
|
288 { |
|
289 commands = |
|
290 { |
|
291 EPhoneInCallCmdActivateIhf, |
|
292 EPhoneInCallCmdDeactivateIhf |
|
293 }; |
|
294 button = AVKON_BUTTON |
|
295 { |
|
296 states = |
|
297 { |
|
298 AVKON_BUTTON_STATE |
|
299 { |
|
300 txt = qtn_incal_button_loudspeaker\ |
|
301 <0x0001>\ |
|
302 qtn_incal_button_loudspeaker_landscape; |
|
303 }, |
|
304 AVKON_BUTTON_STATE |
|
305 { |
|
306 txt = qtn_incal_button_handset\ |
|
307 <0x0001>\ |
|
308 qtn_incal_button_handset_landscape; |
|
309 } |
|
310 }; |
|
311 }; |
|
312 } |
|
313 |
|
314 // ----------------------------------------------------------------------------- |
|
315 // |
|
316 // r_phoneui_bt_toggle_button |
|
317 // BT accessory / Handset toggle button |
|
318 // |
|
319 // ----------------------------------------------------------------------------- |
|
320 // |
|
321 RESOURCE BUBBLE_TOUCH_PANE_BUTTON r_phoneui_bt_toggle_button |
|
322 { |
|
323 commands = |
|
324 { |
|
325 EPhoneInCallCmdHandset, |
|
326 EPhoneInCallCmdBtHandsfree |
|
327 }; |
|
328 button = AVKON_BUTTON |
|
329 { |
|
330 states = |
|
331 { |
|
332 AVKON_BUTTON_STATE |
|
333 { |
|
334 txt = qtn_incal_button_handset\ |
|
335 <0x0001>\ |
|
336 qtn_incal_button_handset_landscape; |
|
337 }, |
|
338 AVKON_BUTTON_STATE |
|
339 { |
|
340 txt = qtn_incal_button_bluetooth\ |
|
341 <0x0001>\ |
|
342 qtn_incal_button_bluetooth_landscape; |
|
343 } |
|
344 }; |
|
345 }; |
|
346 } |
|
347 |
|
348 // ----------------------------------------------------------------------------- |
|
349 // |
|
350 // r_phoneui_swap_calls_button |
|
351 // Swap calls button |
|
352 // |
|
353 // ----------------------------------------------------------------------------- |
|
354 // |
|
355 RESOURCE BUBBLE_TOUCH_PANE_BUTTON r_phoneui_swap_calls_button |
|
356 { |
|
357 commands = |
|
358 { |
|
359 EPhoneInCallCmdSwap |
|
360 }; |
|
361 button = AVKON_BUTTON |
|
362 { |
|
363 states = |
|
364 { |
|
365 AVKON_BUTTON_STATE |
|
366 { |
|
367 txt = qtn_incal_button_swap\ |
|
368 <0x0001>\ |
|
369 qtn_incal_button_swap_landscape; |
|
370 } |
|
371 }; |
|
372 }; |
|
373 } |
|
374 |
|
375 // ----------------------------------------------------------------------------- |
|
376 // |
|
377 // r_phoneui_go_to_idle_button |
|
378 // Go to idle button |
|
379 // |
|
380 // ----------------------------------------------------------------------------- |
|
381 // |
|
382 RESOURCE BUBBLE_TOUCH_PANE_BUTTON r_phoneui_go_to_idle_button |
|
383 { |
|
384 commands = |
|
385 { |
|
386 EPhoneInCallCmdGoToIdle |
|
387 }; |
|
388 button = AVKON_BUTTON |
|
389 { |
|
390 states = |
|
391 { |
|
392 AVKON_BUTTON_STATE |
|
393 { |
|
394 txt = qtn_incal_button_go_idle\ |
|
395 <0x0001>\ |
|
396 qtn_incal_button_go_idle_landscape; |
|
397 } |
|
398 }; |
|
399 }; |
|
400 } |
|
401 |
|
402 // ----------------------------------------------------------------------------- |
|
403 // |
|
404 // r_phoneui_conference_button |
|
405 // Create conference button |
|
406 // |
|
407 // ----------------------------------------------------------------------------- |
|
408 // |
|
409 RESOURCE BUBBLE_TOUCH_PANE_BUTTON r_phoneui_conference_button |
|
410 { |
|
411 commands = |
|
412 { |
|
413 EPhoneInCallCmdCreateConference |
|
414 }; |
|
415 button = AVKON_BUTTON |
|
416 { |
|
417 states = |
|
418 { |
|
419 AVKON_BUTTON_STATE |
|
420 { |
|
421 txt = qtn_incal_button_conference\ |
|
422 <0x0001>\ |
|
423 qtn_incal_button_conference_landscape; |
|
424 } |
|
425 }; |
|
426 }; |
|
427 } |
|
428 |
|
429 // ----------------------------------------------------------------------------- |
|
430 // |
|
431 // r_phoneui_participants_button |
|
432 // Conference participants |
|
433 // |
|
434 // ----------------------------------------------------------------------------- |
|
435 // |
|
436 RESOURCE BUBBLE_TOUCH_PANE_BUTTON r_phoneui_participants_button |
|
437 { |
|
438 commands = |
|
439 { |
|
440 EPhoneInCallCmdParticipants |
|
441 }; |
|
442 button = AVKON_BUTTON |
|
443 { |
|
444 states = |
|
445 { |
|
446 AVKON_BUTTON_STATE |
|
447 { |
|
448 txt = qtn_incal_button_participants\ |
|
449 <0x0001>\ |
|
450 qtn_incal_button_participants_landscape; |
|
451 } |
|
452 }; |
|
453 }; |
|
454 } |
|
455 |
|
456 // ----------------------------------------------------------------------------- |
|
457 // |
|
458 // r_phoneui_drop_participant_button |
|
459 // Conference drop participant button |
|
460 // |
|
461 // ----------------------------------------------------------------------------- |
|
462 // |
|
463 RESOURCE BUBBLE_TOUCH_PANE_BUTTON r_phoneui_drop_participant_button |
|
464 { |
|
465 commands = |
|
466 { |
|
467 EPhoneInCallCmdDrop |
|
468 }; |
|
469 button = AVKON_BUTTON |
|
470 { |
|
471 states = |
|
472 { |
|
473 AVKON_BUTTON_STATE |
|
474 { |
|
475 txt = qtn_incal_button_drop\ |
|
476 <0x0001>\ |
|
477 qtn_incal_button_drop_landscape; |
|
478 } |
|
479 }; |
|
480 }; |
|
481 } |
|
482 |
|
483 // ----------------------------------------------------------------------------- |
|
484 // |
|
485 // r_phoneui_go_to_private_button |
|
486 // Conference go to private button |
|
487 // |
|
488 // ----------------------------------------------------------------------------- |
|
489 // |
|
490 RESOURCE BUBBLE_TOUCH_PANE_BUTTON r_phoneui_go_to_private_button |
|
491 { |
|
492 commands = |
|
493 { |
|
494 EPhoneInCallCmdPrivate |
|
495 }; |
|
496 button = AVKON_BUTTON |
|
497 { |
|
498 states = |
|
499 { |
|
500 AVKON_BUTTON_STATE |
|
501 { |
|
502 txt = qtn_incal_button_private\ |
|
503 <0x0001>\ |
|
504 qtn_incal_button_private_landscape; |
|
505 } |
|
506 }; |
|
507 }; |
|
508 } |
|
509 |
|
510 // ----------------------------------------------------------------------------- |
|
511 // |
|
512 // r_phoneui_join_button |
|
513 // Conference join button |
|
514 // |
|
515 // ----------------------------------------------------------------------------- |
|
516 // |
|
517 RESOURCE BUBBLE_TOUCH_PANE_BUTTON r_phoneui_join_button |
|
518 { |
|
519 commands = |
|
520 { |
|
521 EPhoneInCallCmdJoin |
|
522 }; |
|
523 button = AVKON_BUTTON |
|
524 { |
|
525 states = |
|
526 { |
|
527 AVKON_BUTTON_STATE |
|
528 { |
|
529 txt = qtn_incal_button_join\ |
|
530 <0x0001>\ |
|
531 qtn_incal_button_join_landscape; |
|
532 } |
|
533 }; |
|
534 }; |
|
535 } |
|
536 |
|
537 // ----------------------------------------------------------------------------- |
|
538 // |
|
539 // r_phoneui_voice_to_video_toggle_button |
|
540 // Switch to video button. |
|
541 // |
|
542 // ----------------------------------------------------------------------------- |
|
543 // |
|
544 RESOURCE BUBBLE_TOUCH_PANE_BUTTON r_phoneui_voice_to_video_toggle_button |
|
545 { |
|
546 commands = |
|
547 { |
|
548 EPhoneInCallCmdSwitchToVideo, |
|
549 EPhoneInCallCmdSwitchToVoice |
|
550 }; |
|
551 button = AVKON_BUTTON |
|
552 { |
|
553 states = |
|
554 { |
|
555 AVKON_BUTTON_STATE // voice to video |
|
556 { |
|
557 txt = qtn_incal_button_voice_to_video\ |
|
558 <0x0001>\ |
|
559 qtn_incal_button_voice_to_video_landscape; |
|
560 }, |
|
561 AVKON_BUTTON_STATE // video to voice |
|
562 { |
|
563 txt = qtn_incal_button_video_to_voice\ |
|
564 <0x0001>\ |
|
565 qtn_incal_button_video_to_voice_landscape; |
|
566 } |
|
567 }; |
|
568 }; |
|
569 } |
|
570 |
|
571 // ---------------------------------------------------------------- |
|
572 // |
|
573 // r_phoneui_incall_buttons |
|
574 // Touch buttons shown in incall situation. |
|
575 // |
|
576 // ---------------------------------------------------------------- |
|
577 // |
|
578 RESOURCE BUBBLE_TOUCH_PANE r_phoneui_incall_buttons |
|
579 { |
|
580 buttons = |
|
581 { |
|
582 r_phoneui_hold_toggle_button, // Top right |
|
583 r_phoneui_end_call_button // Botton right |
|
584 |
|
585 // ALTERNATIVE BUTTONS FOR REPLACE, TOTAL MAX.4 BUTTONS |
|
586 // r_phoneui_go_to_idle_button |
|
587 // r_phoneui_voice_to_video_toggle_button |
|
588 }; |
|
589 } |
|
590 |
|
591 // ---------------------------------------------------------------- |
|
592 // |
|
593 // r_phoneui_two_singles_buttons |
|
594 // Touch buttons shown in incall situation. |
|
595 // |
|
596 // ---------------------------------------------------------------- |
|
597 // |
|
598 RESOURCE BUBBLE_TOUCH_PANE r_phoneui_two_singles_buttons |
|
599 { |
|
600 buttons = |
|
601 { |
|
602 r_phoneui_conference_button, // Top right |
|
603 r_phoneui_end_active_call_button // Botton right |
|
604 |
|
605 // ALTERNATIVE BUTTONS FOR REPLACE, TOTAL MAX.4 BUTTONS |
|
606 // r_phoneui_swap_calls_button, |
|
607 // r_phoneui_go_to_idle_button |
|
608 // r_phoneui_end_all_calls_button |
|
609 }; |
|
610 } |
|
611 |
|
612 // ---------------------------------------------------------------- |
|
613 // |
|
614 // r_phoneui_conference_buttons |
|
615 // Touch buttons shown in incall situation. |
|
616 // |
|
617 // ---------------------------------------------------------------- |
|
618 // |
|
619 RESOURCE BUBBLE_TOUCH_PANE r_phoneui_conference_buttons |
|
620 { |
|
621 buttons = |
|
622 { |
|
623 r_phoneui_participants_button, // Top right |
|
624 r_phoneui_end_call_button // Botton right |
|
625 |
|
626 // ALTERNATIVE BUTTONS FOR REPLACE, TOTAL MAX.4 BUTTONS |
|
627 // r_phoneui_hold_toggle_button, |
|
628 // r_phoneui_go_to_idle_button |
|
629 }; |
|
630 } |
|
631 |
|
632 // ---------------------------------------------------------------- |
|
633 // |
|
634 // r_phoneui_participant_list_buttons |
|
635 // Touch buttons shown in incall situation. |
|
636 // |
|
637 // ---------------------------------------------------------------- |
|
638 // |
|
639 RESOURCE BUBBLE_TOUCH_PANE r_phoneui_participant_list_buttons |
|
640 { |
|
641 buttons = |
|
642 { |
|
643 r_phoneui_go_to_private_button, |
|
644 r_phoneui_drop_participant_button |
|
645 }; |
|
646 } |
|
647 |
|
648 // ---------------------------------------------------------------- |
|
649 // |
|
650 // r_phoneui_conference_and_single_buttons |
|
651 // Touch buttons shown in incall situation. |
|
652 // |
|
653 // ---------------------------------------------------------------- |
|
654 // |
|
655 RESOURCE BUBBLE_TOUCH_PANE r_phoneui_conference_and_single_buttons |
|
656 { |
|
657 buttons = |
|
658 { |
|
659 r_phoneui_join_button, // Top right |
|
660 r_phoneui_end_active_call_button // Botton right |
|
661 |
|
662 // ALTERNATIVE BUTTONS FOR REPLACE, TOTAL MAX.4 BUTTONS |
|
663 // r_phoneui_swap_calls_button, |
|
664 // r_phoneui_end_all_calls_button |
|
665 }; |
|
666 } |
|
667 |
|
668 // ---------------------------------------------------------------- |
|
669 // |
|
670 // r_phoneui_conference_and_held_single_buttons |
|
671 // Touch buttons shown in incall situation. |
|
672 // |
|
673 // ---------------------------------------------------------------- |
|
674 // |
|
675 RESOURCE BUBBLE_TOUCH_PANE r_phoneui_conference_and_held_single_buttons |
|
676 { |
|
677 buttons = |
|
678 { |
|
679 r_phoneui_join_button, // Top right |
|
680 r_phoneui_end_active_call_button // Botton right |
|
681 |
|
682 // ALTERNATIVE BUTTONS FOR REPLACE, TOTAL MAX.4 BUTTONS |
|
683 // r_phoneui_swap_calls_button, |
|
684 // r_phoneui_end_all_calls_button |
|
685 }; |
|
686 } |
|
687 |
|
688 // ---------------------------------------------------------------- |
|
689 // |
|
690 // r_phoneui_emergency_call_buttons |
|
691 // Touch buttons shown in incall situation. |
|
692 // |
|
693 // ---------------------------------------------------------------- |
|
694 // |
|
695 RESOURCE BUBBLE_TOUCH_PANE r_phoneui_emergency_call_buttons |
|
696 { |
|
697 buttons = |
|
698 { |
|
699 r_phoneui_ihf_toggle_button, |
|
700 r_phoneui_end_call_button |
|
701 }; |
|
702 } |
|
703 |
|
704 // ---------------------------------------------------------------- |
|
705 // |
|
706 // r_phoneui_incoming_call_buttons |
|
707 // Touch buttons shown in incoming call situation. |
|
708 // |
|
709 // ---------------------------------------------------------------- |
|
710 // |
|
711 RESOURCE BUBBLE_TOUCH_PANE r_phoneui_incoming_call_buttons |
|
712 { |
|
713 buttons = |
|
714 { |
|
715 r_phoneui_answer_call_button, |
|
716 r_phoneui_reject_call_button |
|
717 }; |
|
718 } |
|
719 |
|
720 // ---------------------------------------------------------------- |
|
721 // |
|
722 // r_phoneui_call_setup_buttons |
|
723 // Touch buttons shown in call setup situation. |
|
724 // |
|
725 // ---------------------------------------------------------------- |
|
726 // |
|
727 RESOURCE BUBBLE_TOUCH_PANE r_phoneui_call_setup_buttons |
|
728 { |
|
729 buttons = |
|
730 { |
|
731 r_phoneui_ihf_toggle_button, |
|
732 r_phoneui_end_outgoing_call_button |
|
733 }; |
|
734 } |
|
735 |
|
736 // ---------------------------------------------------------------- |
|
737 // |
|
738 // r_phoneui_call_setup_and_single_buttons |
|
739 // Touch buttons shown in call setup and single situation. |
|
740 // |
|
741 // ---------------------------------------------------------------- |
|
742 // |
|
743 RESOURCE BUBBLE_TOUCH_PANE r_phoneui_call_setup_and_single_buttons |
|
744 { |
|
745 buttons = |
|
746 { |
|
747 r_phoneui_ihf_toggle_button, |
|
748 r_phoneui_end_outgoing_call_button |
|
749 }; |
|
750 } |
|
751 |
|
752 // ---------------------------------------------------------------- |
|
753 // |
|
754 // r_phoneui_waiting_call_buttons |
|
755 // Touch buttons shown in call waiting call situation. |
|
756 // |
|
757 // ---------------------------------------------------------------- |
|
758 // |
|
759 RESOURCE BUBBLE_TOUCH_PANE r_phoneui_waiting_call_buttons |
|
760 { |
|
761 buttons = |
|
762 { |
|
763 r_phoneui_answer_call_button, |
|
764 r_phoneui_end_active_call_button |
|
765 }; |
|
766 } |
|
767 |
|
768 // ---------------------------------------------------------------- |
|
769 // |
|
770 // r_conference_participant_list_softkeys |
|
771 // Touch buttons shown in incall situation. |
|
772 // |
|
773 // ---------------------------------------------------------------- |
|
774 // |
|
775 RESOURCE CBA r_conference_participant_list_softkeys |
|
776 { |
|
777 buttons = |
|
778 { |
|
779 CBA_BUTTON |
|
780 { |
|
781 id = EPhoneCmdOptions; |
|
782 txt = text_softkey_option; |
|
783 }, |
|
784 CBA_BUTTON |
|
785 { |
|
786 id = EAknSoftkeyCancel; |
|
787 txt = text_softkey_back; |
|
788 } |
|
789 }; |
|
790 } |
|
791 |
|
792 // ----------------------------------------------------------------------------- |
|
793 // |
|
794 // r_phoneui_silence_call_button |
|
795 // Silent call button. |
|
796 // |
|
797 // ----------------------------------------------------------------------------- |
|
798 // |
|
799 RESOURCE BUBBLE_TOUCH_PANE_BUTTON r_phoneui_silence_call_button |
|
800 { |
|
801 commands = |
|
802 { |
|
803 EPhoneCallComingCmdSilent |
|
804 }; |
|
805 button = AVKON_BUTTON |
|
806 { |
|
807 states = |
|
808 { |
|
809 AVKON_BUTTON_STATE |
|
810 { |
|
811 txt = qtn_incal_button_silence\ |
|
812 <0x0001>\ |
|
813 qtn_incal_button_silence_landscape; |
|
814 } |
|
815 }; |
|
816 }; |
|
817 } |
|
818 |
|
819 // ---------------------------------------------------------------- |
|
820 // |
|
821 // r_phoneui_incoming_call_silence_buttons |
|
822 // Touch buttons shown in incoming call situation. |
|
823 // |
|
824 // ---------------------------------------------------------------- |
|
825 // |
|
826 RESOURCE BUBBLE_TOUCH_PANE r_phoneui_incoming_call_silence_buttons |
|
827 { |
|
828 buttons = |
|
829 { |
|
830 r_phoneui_answer_call_button, |
|
831 r_phoneui_silence_call_button |
|
832 }; |
|
833 } |
|
834 |
|
835 // ---------------------------------------------------------------- |
|
836 // |
|
837 // r_phoneui_touch_button_config |
|
838 // Congigurable buttons. Button set is selected via CenRep. |
|
839 // |
|
840 // ---------------------------------------------------------------- |
|
841 // |
|
842 RESOURCE PHONE_TOUCH_BUTTON_CONFIGURATIONS r_phoneui_touch_button_config |
|
843 { |
|
844 configurations = |
|
845 { |
|
846 PHONE_TOUCH_BUTTON_CONFIGURATION |
|
847 { |
|
848 button_set_id = EPhoneConfigIncomingCallButtons; |
|
849 button_sets = |
|
850 { |
|
851 r_phoneui_incoming_call_buttons, |
|
852 r_phoneui_incoming_call_silence_buttons |
|
853 }; |
|
854 } |
|
855 }; |
|
856 } |
|
857 |
|
858 //########################################################## |
|
859 // End of File |