8eda16519f884558ce64448dc7febd50f4abe99d
[platform/core/uifw/inputdelegator.git] / res / edje / w-input-stt.edc
1 #include "w-input-stt-button.edc"
2
3 #define VOICE_CANDIDATE_AREA_HEIGHT 56
4
5 collections
6 {
7         base_scale: 1.3;
8
9         plugins {
10            plugin {
11                   name: "touch_sound";
12                   source: "feedback";
13                   param: "FEEDBACK_TYPE_SOUND FEEDBACK_PATTERN_TAP";
14                   /* 2014.06.11 updated from libsvi(feedback)
15                    Above plugin will run below external function:
16                    int feedback_play_type(feedback_type_e type, feedback_pattern_e pattern);
17
18                    param1: feedback_type_e
19                    FEEDBACK_TYPE_NONE = 0,
20                    FEEDBACK_TYPE_SOUND = 1,
21                    FEEDBACK_TYPE_VIBRATION,
22                    FEEDBACK_TYPE_LED,
23                    FEEDBACK_TYPE_END
24
25                    * param2 enumeration:
26                    FEEDBACK_PATTERN_TAP = 0,
27                    FEEDBACK_PATTERN_SIP,
28                    FEEDBACK_PATTERN_SIP_BACKSPACE,
29                    FEEDBACK_PATTERN_SIP_FUNCTION,
30                    FEEDBACK_PATTERN_SIP_FJKEY,
31                    ...
32
33                    * Fore information, please refer the libsvi libraries.
34                    * git: slp-info.sec.samsung.net:29418/magnolia/framework/system/libsvi
35                    * web: http://slp-info.sec.samsung.net/gerrit/plugins/gitiles/magnolia/framework/system/libsvi
36                    */
37            }
38            plugin {
39                   name: "haptic_tap";
40                   source: "feedback";
41                   param: "FEEDBACK_TYPE_VIBRATION FEEDBACK_PATTERN_TAP";
42            }
43         }
44
45         images {
46                 // MIC
47                 image, "./bg/B13_mic_bg.png" COMP;
48                 image, "./icon/B13_mic.png" COMP;
49                 image, "./icon/B13_mic_Que.png" COMP;
50                 image, "./icon/B13_mic_Que_01.png" COMP;
51                 image, "./icon/B13_mic_procecessing_bg.png" COMP;
52                 image, "./text_downdrop.#.png" COMP;
53                 image, "./text_downdrop_press.#.png" COMP;
54
55                 image, "./input_ic_voice_mic.png" COMP;
56                 image, "./w_sip_mask_bg.png" COMP;
57                 image, "./tw_bottom_btn_bg.png" COMP;
58
59                 image, "./w_mode_ic_bg.png" COMP;
60
61                 image, "./b_stt_text_fade_out.png" COMP;
62                 image, "./b_stt_icon_btn.png" COMP;
63                 image, "./b_stt_confirm_icon.png" COMP;
64                 image, "./b_stt_send_icon.png" COMP;
65         }
66
67         color_classes 
68         {
69            color_class 
70            {
71               name: "AO013";
72               color: 68 71 77 100;
73            }
74            color_class 
75            {
76               name: "AO014";
77               color: 0 0 0 100;
78            }
79            color_class 
80            {
81               name: "AO014P";
82               color: 0 0 0 100;
83            }
84            color_class 
85            {
86               name: "AO014D";
87               color: 0 0 0 35;
88            }
89            color_class 
90            {
91               name: "AO015L1";
92               color: 0 0 0 100;
93            }
94            color_class 
95            {
96               name: "AO015L1P";
97               color: 0 0 0 50;
98            }
99            color_class 
100            {
101               name: "AO015L1D";
102               color: 0 0 0 40;
103            }
104            color_class 
105            {
106               name: "AO0151";
107               color: 0 0 0 100;
108            }
109            color_class 
110            {
111               name: "AO0151P";
112               color: 0 0 0 50;
113            }
114            color_class 
115            {
116               name: "AO0151D";
117               color: 0 0 0 20;
118            }
119            color_class 
120            {
121               name: "AO0152";
122               color: 0 0 0 100;
123            }
124            color_class 
125            {
126               name: "AO015L2";
127               color: 0 0 0 100;
128            }
129            color_class 
130            {
131               name: "AO015L2P";
132               color: 0 0 0 50;
133            }
134            color_class 
135            {
136               name: "AO015L2D";
137               color: 0 0 0 40;
138            }
139            color_class 
140            {
141               name: "AO015L3";
142               color: 0 0 0 100;
143            }
144            color_class 
145            {
146               name: "AO01151";
147               color: 0 0 0 100;
148            }
149            color_class 
150            {
151               name: "AO01153L1";
152               color: 0 0 255 255;
153            }
154            color_class 
155            {
156               name: "AO01153L1P";
157               color: 61 61 61 100;
158            }
159            color_class 
160            {
161               name: "AO01153L1D";
162               color: 163 163 163 100;
163            }
164            color_class 
165            {
166               name: "AO01154L1";
167               color: 97 12 117 255;
168            }
169            color_class 
170            {
171               name: "AO01154L1P";
172               color: 41 41 41 100;
173            }
174            color_class 
175            {
176               name: "AO01154L1D";
177               color: 110 110 110 100;
178            }
179            color_class 
180            {
181               name: "AO01155L1";
182               color: 255 0 0 255;
183            }
184            color_class 
185            {
186               name: "AO01155L1P";
187               color: 33 33 33 100;
188            }
189            color_class 
190            {
191               name: "AO01155L1D";
192               color: 122 122 122 100;
193            }
194            color_class 
195            {
196               name: "AO01153L2";
197               color: 18 18 18 30;
198            }
199            color_class 
200            {
201               name: "AO01153L3";
202               color: 0 0 0 100;
203            }
204            color_class 
205            {
206               name: "AO01153L3P";
207               color: 0 0 0 100;
208            }
209            color_class 
210            {
211               name: "AO01153L3D";
212               color: 0 0 0 40;
213            }
214            color_class 
215            {
216               name: "AO0116";
217               color: 0 0 0 100;
218            }
219            color_class 
220            {
221               name: "AO0116P";
222               color: 0 0 0 50;
223            }
224            color_class 
225            {
226               name: "AO0116D";
227               color: 0 0 0 30;
228            }
229            color_class 
230            {
231               name: "AO01161";
232               color: 64 64 64 100;
233            }
234            color_class 
235            {
236               name: "AO01161P";
237               color: 38 38 38 100;
238            }
239            color_class 
240            {
241               name: "AO01161D";
242               color: 26 26 26 100;
243            }
244            color_class 
245            {
246               name: "AO0117";
247               color: 0 0 0 100;
248            }
249            color_class 
250            {
251               name: "AO0118";
252               color: 0 0 0 100;
253            }
254            color_class 
255            {
256               name: "AO0119";
257               color: 0 0 0 100;
258            }
259            color_class 
260            {
261               name: "AO0119P";
262               color: 0 0 0 100;
263            }
264            color_class 
265            {
266               name: "AO0119D";
267               color: 0 0 0 5;
268            }
269            color_class 
270            {
271               name: "AO031";
272               color: 0 0 0 100;
273            }
274            color_class 
275            {
276               name: "AO031P";
277               color: 0 0 0 40;
278            }
279            color_class 
280            {
281               name: "AO031L1";
282               color: 0 0 0 41;
283            }
284            color_class 
285            {
286               name: "AO031L1P";
287               color: 0 0 0 70;
288            }
289            color_class 
290            {
291               name: "AO0331";
292               color: 0 0 0 50;
293            }
294            color_class 
295            {
296               name: "AO0332";
297               color: 0 0 0 100;
298            }
299            color_class 
300            {
301               name: "AO034";
302               color: 102 102 102 100;
303            }
304            color_class 
305            {
306               name: "AO034P";
307               color: 0 0 0 100;
308            }
309            color_class 
310            {
311               name: "AO034D";
312               color: 0 0 0 30;
313            }
314            color_class 
315            {
316               name: "AO035";
317               color: 5 5 5 100;
318            }
319            color_class 
320            {
321               name: "AO0351";
322               color: 0 0 0 15;
323            }
324            color_class 
325            {
326               name: "AO036";
327               color: 0 0 0 100;
328            }
329            color_class 
330            {
331               name: "AO0361";
332               color: 0 0 0 50;
333            }
334            color_class 
335            {
336               name: "AO037";
337               color: 10 10 10 100;
338            }
339            color_class 
340            {
341               name: "AO037P";
342               color: 0 0 0 100;
343            }
344            color_class 
345            {
346               name: "AO037S";
347               color: 0 0 0 100;
348            }
349            color_class 
350            {
351               name: "AO038";
352               color: 0 0 0 100;
353            }
354            color_class 
355            {
356               name: "AO038P";
357               color: 0 0 0 50;
358            }
359            color_class 
360            {
361               name: "AO038D";
362               color: 0 0 0 40;
363            }
364            color_class 
365            {
366               name: "AT0113";
367               color: 0 0 0 100;
368            }
369            color_class 
370            {
371               name: "AT0113P";
372               color: 0 0 0 100;
373            }
374            color_class 
375            {
376               name: "AT0113D";
377               color: 0 0 0 70;
378            }
379            color_class 
380            {
381               name: "AT0113S";
382               color: 0 0 0 100;
383            }
384            color_class 
385            {
386               name: "AT0114";
387 #             color: 0 0 0 100;
388           color: 128 128 128 100;
389            }
390            color_class 
391            {
392               name: "AT0114D";
393               color: 0 0 0 5;
394            }
395            color_class 
396            {
397               name: "AT02111";
398               color: 0 0 0 100;
399            }
400            color_class 
401            {
402               name: "AT02112";
403               color: 0 0 0 100;
404            }
405            color_class 
406            {
407               name: "AT02113";
408               color: 10 10 10 100;
409            }
410            color_class 
411            {
412               name: "AT021";
413               color: 0 0 0 100;
414            }
415            color_class 
416            {
417               name: "AT022";
418               color: 0 0 0 100;
419            }
420            color_class 
421            {
422               name: "AT023";
423               color: 0 0 0 100;
424            }
425            color_class 
426            {
427               name: "AT023P";
428               color: 0 0 0 50;
429            }
430            color_class 
431            {
432               name: "AT023D";
433               color: 0 0 0 40;
434            }
435         }
436
437         styles
438         {
439            style { name, "textblock_style";
440               base, "font=Tizen:style=Regular font_size=36 align=center color=#FFFFFF  text_class=text_class wrap=word ellipsis=1.0";
441                   tag,  "br" "\n";
442                   tag,  "ps" "ps";
443                   tag,  "hilight" "+ font=Tizen:style=Bold";
444                   tag,  "b" "+ font=Tizen:style=Bold";
445                   tag,  "tab" "\t";
446            }
447            style { name, "textblock_style_bottom";
448               base, "font=Tizen:style=Regular font_size=36 align=center color=#FFFFFF  text_class=text_class wrap=word ellipsis=1.0";
449                   tag,  "br" "\n";
450                   tag,  "ps" "ps";
451                   tag,  "hilight" "+ font=Tizen:style=Bold";
452                   tag,  "b" "+ font=Tizen:style=Bold";
453                   tag,  "tab" "\t";
454            }
455         }
456
457         group
458         {
459                 name, "mic_control";
460                 parts
461                 {
462                         part
463                         {
464                                 name, "bg";
465                                 type, RECT;
466                                 scale, 1;
467                                 description
468                                 {
469                                         state, "default" 0.0;
470                                         rel1
471                                         {
472                                                 relative, 0.0 0.0;
473                                         }
474                                         rel2
475                                         {
476                                                 relative, 1.0 1.0;
477                                         }
478                                         visible: 1;
479                                         color_class, "AO0118";
480                                 }
481                         }
482                         part
483                         {
484                                 name, "top_block";
485                                 type, SPACER;
486                                 scale, 1;
487                                 description
488                                 {
489                                         state, "default" 0.0;
490                                         min, 360 (360-103);
491                                         align, 0.5 0;
492                                         rel1
493                                         {
494                                                 relative, 0.0 0.0;
495                                                 to, "bg";
496                                         }
497                                         rel2
498                                         {
499                                                 relative, 1.0 0.0;
500                                                 to, "bg";
501                                         }
502                                 }
503                         }
504
505                         part
506                         {
507                                 name, "text_area";
508                                 type, SWALLOW;
509                                 description
510                                 {
511                                         state, "default" 0.0;
512                                         align, 0.5 1;
513                                         min, 282 (360-103);
514                                         max, 282 (360-103);
515
516                                         rel1
517                                         {
518                                                 relative, 39/360 1;
519                                                 to, "top_block";
520                                                 offset, 0 -1;
521                                         }
522                                         rel2
523                                         {
524                                                 relative, 321/360 1;
525                                                 to, "top_block";
526                                                 offset, 0 -1;
527                                         }
528                                 }
529                         }
530                         part
531                         {
532                                 name, "left_panel_area";
533                                 type, SWALLOW;
534                                 description
535                                 {
536                                         state, "default" 0.0;
537                                         align, 0.5 0.5;
538                                         rel1
539                                         {
540                                                 relative, 0.0 0.0;
541                                                 to, "bg";
542                                         }
543                                         rel2
544                                         {
545                                                 relative, 1.0 1.0;
546                                                 to, "bg";
547                                         }
548                                 }
549                         }
550
551
552                         part
553                         {
554                                 name, "background";
555                                 type, IMAGE;
556                                 scale, 1;
557                                 description
558                                 {
559                                         state, "default" 0.0;
560                                         min, 360 100;
561                                         max, 360 100;
562                                         rel1
563                                         {
564                                                 relative, 0 260/360;
565                                                 to, "bg";
566                                         }
567                                         rel2
568                                         {
569                                                 relative, 1 1;
570                                                 to, "bg";
571                                         }
572                                         image.normal, "./tw_bottom_btn_bg.png";
573                                         color: 128 128 128 128;
574                                 }
575                                 description
576                                 {
577                                         state, "pressed" 0.0;
578                                         inherit, "default" 0.0;
579                                         color: 128 128 128 128;
580                                 }
581                                 description
582                                 {
583                                         state, "dim" 0.0;
584                                         inherit, "default" 0.0;
585                                         color: 128 128 128 128;
586                                 }
587                         }
588
589                         part
590                         {
591                                 name, "EFFECT_BG_AREA";
592                                 type, SPACER;
593                                 description
594                                 {
595                                         state, "default" 0.0;
596                                         min, 0 74;
597                                         max, 9999 74;
598                                         align, 0.5 1;
599                                         rel1
600                                         {
601                                                 relative, 0 1;
602                                                 to, "bg";
603                                                 offset, 0 -14;
604                                         }
605                                         rel2
606                                         {
607                                                 relative, 1 1;
608                                                 to, "bg";
609                                                 offset, 0 -14;
610                                         }
611                                 }
612                         }
613                         part
614                         {
615                                 name, "EFFECT_BG";
616                                 type, SWALLOW;
617                                 description
618                                 {
619                                         state, "default" 0.0;
620                                         visible, 0;
621                                         rel1
622                                         {
623                                                 relative, 0 0;
624                                                 to, "EFFECT_BG_AREA";
625                                         }
626                                         rel2
627                                         {
628                                                 relative, 1 1;
629                                                 to, "EFFECT_BG_AREA";
630                                         }
631                                 }
632                                 description
633                                 {
634                                         state, "default" 0.1;
635                                         inherit, "default" 0.0;
636                                         visible, 1;
637                                 }
638                         }
639
640
641                         part
642                         {
643                                 name, "MIC_ICON";
644                                 type, IMAGE;
645                                 scale, 1;
646                                 description
647                                 {
648                                         state, "default" 0.0;
649                                         min, 50 50;
650                                         max, 50 50;
651                                         rel1
652                                         {
653                                                 relative, 155/360 26/100;
654                                                 to, "background";
655                                         }
656                                         rel2
657                                         {
658                                                 relative, 205/360 76/100;
659                                                 to, "background";
660                                         }
661                                         image.normal, "./input_ic_voice_mic.png";
662                                 }
663                                 description
664                                 {
665                                         state, "recording" 0.0;
666                                         inherit, "default" 0.0;
667                                         visible, 0;
668                                 }
669                                 description
670                                 {
671                                         state, "processing" 0.0;
672                                         inherit, "default" 0.0;
673                                         visible, 0;
674                                 }
675                                 description
676                                 {
677                                         state, "message" 0.0;
678                                         inherit, "default" 0.0;
679                                         rel1
680                                         {
681                                                 relative, 155/360 41/100;
682                                                 to, "background";
683                                         }
684                                         rel2
685                                         {
686                                                 relative, 205/360 91/100;
687                                                 to, "background";
688                                         }
689                                         visible, 1;
690                                 }
691                         }
692
693
694
695                         //Part for mic button
696                         part
697                         {
698                                 name, "MIC";
699                                 type, SWALLOW;
700                                 scale, 1;
701                                 description
702                                 {
703                                         state, "default" 0.0;
704                                         visible, 1;
705                                         min, 290 100;
706                                         max, 290 100;
707                                         rel1
708                                         {
709                                                 relative, 35/360 0.0;
710                                                 to, "background";
711                                         }
712                                         rel2
713                                         {
714                                                 relative, 325/360 1.0;
715                                                 to, "background";
716                                         }
717                                 }
718                         }
719                         part
720                         {
721                                 name, "PROGRESS_BAR";
722                                 type, SWALLOW;
723                                 scale, 1;
724                                 description
725                                 {
726                                         state, "default" 0.0;
727                                         min, 50 50;
728                                         max, 50 50;
729                                         visible, 0;
730                                         rel1
731                                         {
732                                                 relative, 155/360 27/100;
733                                                 to, "background";
734                                         }
735                                         rel2
736                                         {
737                                                 relative, 205/360 77/100;
738                                                 to, "background";
739                                         }
740                                 }
741                                 description
742                                 {
743                                         state, "message" 0.0;
744                                         inherit, "default" 0.0;
745                                 }
746                                 description
747                                 {
748                                         state, "processing" 0.0;
749                                         inherit, "default" 0.0;
750                                         visible, 1;
751                                 }
752                         }
753
754                         part
755                         {
756                                 name, "guide_text_block";
757                                 type, SPACER;
758                                 description
759                                 {
760                                         state, "default" 0.0;
761                                         align, 0.5 0;
762                                         rel1
763                                         {
764                                                 relative, 39/360 140/360;
765                                                 to, "bg";
766                                         }
767                                         rel2
768                                         {
769                                                 relative, (360-39)/360 (140+42)/360;
770                                                 to, "bg";
771                                         }
772                                 }
773                                 description
774                                 {
775                                         state, "bottom" 0.0;
776                                         align, 0.5 0;
777                                         rel1
778                                         {
779                                                 relative, 74/360 (360-91)/360;
780                                                 to, "bg";
781                                         }
782                                         rel2
783                                         {
784                                                 relative, (360-74)/360 (360-57)/360;
785                                                 to, "bg";
786                                         }
787                                 }
788                         }
789
790                         part
791                         {
792                                 name, "elm.text";
793                                 type, TEXTBLOCK;
794                                 mouse_events, 0;
795                                 scale, 1;
796                                 description
797                                 {
798                                         state, "default" 0.0;
799                                         visible, 1;
800                                         align, 0.5 0.6;
801                                         rel1.to, "guide_text_block";
802                                         rel2.to, "guide_text_block";
803                                         text
804                                         {
805                                                 fit: 1 1;
806                                                 style, "textblock_style";
807                                         }
808                                         color, 120 120 120 120;
809                                 }
810                                 description
811                                 {
812                                         state, "bottom" 0.0;
813                                         inherit, "default" 0.0;
814                                         text
815                                         {
816                                                 fit: 1 1;
817                                                 style, "textblock_style_bottom";
818                                         }
819                                         color, 120 120 120 120;
820                                 }
821                         }
822                 }
823
824                 programs
825                 {
826                         program
827                         {
828                                 name,   "initial_view";
829                                 signal, "mouse,clicked,1";
830                                 source, "background";
831                                 in,     0 0.3;
832                                 after,  "emit_signal1";
833                         }
834
835                         program
836                         {
837                                 name,   "emit_signal1";
838                                 action, SIGNAL_EMIT "idle,state,pulse,visible" "";
839                         }
840
841                         program
842                         {
843                                 name,   "listening";
844                                 signal, "elm,state,listening";
845                                 source, "elm";
846                                 action, STATE_SET "recording" 0.0;
847                                 target, "MIC_ICON";
848                         }
849
850                         program
851                         {
852                                 name,   "start_processing";
853                                 signal, "elm,state,processing";
854                                 source, "elm";
855                                 action, STATE_SET "processing" 0.0;
856                                 target, "PROGRESS_BAR";
857                                 target, "MIC_ICON";
858                                 transition, DECELERATE 0.3;
859                         }
860
861                         program
862                         {
863                                 name,   "idle";
864                                 signal, "elm,state,init";
865                                 source, "elm";
866                                 action, STATE_SET "default" 0.0;
867                                 target, "PROGRESS_BAR";
868                                 target, "MIC_ICON";
869                                 transition, DECELERATE 0.3;
870                         }
871                         program
872                         {
873                                 name, "idle_message";
874                                 signal, "elm,state,init_message";
875                                 source, "elm";
876                                 action, STATE_SET "message" 0.0;
877                                 target, "PROGRESS_BAR";
878                                 target, "MIC_ICON";
879                         }
880
881                         program
882                         {
883                                 name,   "text_show";
884                                 signal, "idle,state,text,visible";
885                                 source, "elm";
886                                 action, STATE_SET "expand" 0.0;
887                                 target, "elm.text";
888                         }
889
890                         program
891                         {
892                                 name,   "text_hide";
893                                 signal, "idle,state,text,hidden";
894                                 source, "elm";
895                                 action, STATE_SET "default" 0.0;
896                                 target, "elm.text";
897                         }
898                         program
899                         {
900                                 name,   "show_effect_part";
901                                 signal, "elm,state,eq,show";
902                                 source, "eq";
903                                 action, STATE_SET "default" 0.1;
904                                 target, "EFFECT_BG";
905                         }
906
907                         program
908                         {
909                                 name,   "hide_effect_part";
910                                 signal, "elm,state,eq,hide";
911                                 source, "eq";
912                                 action, STATE_SET "default" 0.0;
913                                 target, "EFFECT_BG";
914                         }
915
916                         program
917                         {
918                                 name,   "guide_text_up";
919                                 signal, "idle,state,guide_text,up";
920                                 source, "elm";
921                                 action, STATE_SET "default" 0.0;
922                                 target, "guide_text_block";
923                         }
924                         program
925                         {
926                                 name,   "guide_text_bottom";
927                                 signal, "idle,state,guide_text,bottom";
928                                 source, "elm";
929                                 action, STATE_SET "bottom" 0.0;
930                                 target, "guide_text_block";
931                         }
932
933
934                 }
935         }
936
937         group
938         {
939                 name: "option_more_index";
940                 parts
941                 {
942                         part
943                         {
944                                 name: "bg";
945                                 type: SPACER;
946                                 scale: 1;
947                                 description
948                                 {
949                                         state: "default" 0.0;
950                                         min: 360 360;
951                                         max: -1 360;
952                                 }
953                         }
954                         part
955                         {
956                                 name: "scroller";
957                                 type: SWALLOW;
958                                 scale: 1;
959                                 description
960                                 {
961                                         state: "default" 0.0;
962                                         rel1.to: "bg";
963                                         rel2.to: "bg";
964                                 }
965                         }
966                         part
967                         {
968                                 name: "controller";
969                                 type: SWALLOW;
970                                 scale: 1;
971                                 description
972                                 {
973                                         state: "default" 0.0;
974                                         align: 0.5 0.0;
975                                         min: 360 40;
976                                         max: 360 40;
977                                         fixed: 0 1;
978                                         rel1.to: "bg";
979                                         rel1.relative: 0.0 0.0;
980                                         rel2.to: "bg";
981                                         rel2.relative: 1.0 0.0;
982                                 }
983                         }
984                 }
985         }
986
987         group
988         {
989                 name, "language_list";
990                 parts
991                 {
992                         part
993                         {
994                                 name, "bg";
995                                 type, RECT;
996                                 scale, 1;
997                                 description
998                                 {
999                                         state, "default" 0.0;
1000                                         min, 358 0;
1001                                         max, 358 223;
1002                                         rel1
1003                                         {
1004                                                 relative, 0.0 0.0;
1005                                         }
1006                                         rel2
1007                                         {
1008                                                 relative, 1.0 1.0;
1009                                         }
1010                                         color, 8 8 8 255;
1011                                 }
1012                         }
1013                         part
1014                         {
1015                                 name, "list";
1016                                 type, SWALLOW;
1017                                 scale, 1;
1018                                 repeat_events, 0;
1019                                 description
1020                                 {
1021                                         state, "default" 0.0;
1022                                         rel1
1023                                         {
1024                                                 relative, 0.0 0.0;
1025                                                 to, "bg";
1026                                         }
1027                                         rel2
1028                                         {
1029                                                 relative, 1.0 1.0;
1030                                                 to, "bg";
1031                                         }
1032                                 }
1033                         }
1034                 }
1035         }
1036
1037         group{
1038                 name: "layout_textblock";
1039
1040                 script {
1041                          public timer_cb(val) {
1042                                 run_program(PROGRAM:"do_scroll");
1043                          }
1044
1045                   }
1046                 parts {
1047                         part
1048                         {
1049                                 name, "bg";
1050                                 type, SPACER;
1051                                 scale, 1;
1052                                 description
1053                                 {
1054                                         state, "default" 0.0;
1055                                         min, 282 39;
1056                                         rel1
1057                                         {
1058                                                 relative, 0.0 0.0;
1059                                         }
1060                                         rel2
1061                                         {
1062                                                 relative, 1.0 1.0;
1063                                         }
1064                                 }
1065                         }
1066                    part { name: "elm.swallow.content";
1067                           scale: 1;
1068                           type: SWALLOW;
1069                           description { state: "default" 0.0;
1070                                  min: 282 39;
1071                                  color, 120 120 120 120;
1072                           }
1073                    }
1074                 }
1075                 programs {
1076                         program
1077                         {
1078                                 name, "scroll";
1079                                 signal, "scrolling";
1080                                 source, "entry";
1081                                 script {
1082                                         timer(3/10, "timer_cb", 0);
1083                                 }
1084                         }
1085                         program
1086                         {
1087                                 name, "do_scroll";
1088                                 action, SIGNAL_EMIT "do_scroll" "entry";
1089                         }
1090                 }
1091         }
1092
1093         group{ name: "entry_focused_layout";
1094                 parts {
1095                         part
1096                         {
1097                                 name, "bg";
1098                                 type, RECT;
1099                                 scale, 1;
1100                                 description
1101                                 {
1102                                         state, "default" 0.0;
1103                                         rel1
1104                                         {
1105                                                 relative, 0.0 0.0;
1106                                         }
1107                                         rel2
1108                                         {
1109                                                 relative, 1.0 1.0;
1110                                         }
1111                                         visible: 1;
1112                                         color, 120 120 120 120;
1113                                 }
1114                         }
1115                         part { name: "padding_top";
1116                                 type: SPACER;
1117                                 scale: 1;
1118                                 description {
1119                                         state: "default" 0.0;
1120                                         align: 0.0 0.0;
1121                                         rel1.relative: 0.0 0.0;
1122                                         rel2.relative: 1.0 0.0;
1123                                         min: 0 20;
1124                                         fixed: 1 1;
1125                                 }
1126                         }
1127                         part { name: "padding_left";
1128                                 type: SPACER;
1129                                 scale: 1;
1130                                 description {
1131                                         state: "default" 0.0;
1132                                         align: 0.0 0.0;
1133                                         rel1.relative: 0.0 0.0;
1134                                         rel2.relative: 0.0 1.0;
1135                                         min: 73 0;
1136                                         fixed: 1 1;
1137                                 }
1138                         }
1139                         part { name: "padding_right";
1140                                 type: SPACER;
1141                                 scale: 1;
1142                                 description {
1143                                         state: "default" 0.0;
1144                                         align: 1.0 0.0;
1145                                         rel1.relative: 1.0 0.0;
1146                                         rel2.relative: 1.0 1.0;
1147                                         min: 73 0;
1148                                         fixed: 1 1;
1149                                 }
1150                         }
1151                         part {
1152                                 name: "contents";
1153                                 type: SWALLOW;
1154                                 scale: 1;
1155                                 description {
1156                                         state: "default" 0.0;
1157                                         rel1 { relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; }
1158                                         rel2 { relative: 0.0 1.0; to_x: "padding_right"; to_y: "padding_top";}
1159                                         min:0 42;
1160                                         max: -1 42;
1161                                         align: 0.5 0;
1162                                 }
1163                         }
1164                 }
1165         }
1166
1167
1168
1169 #define PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC 50
1170         group
1171         {
1172                 name: "elm/progressbar/horizontal/voice_input/process/small";
1173                 images {
1174                         image: "style/tw_loading_small_00.png" COMP;
1175                         image: "style/tw_loading_small_01.png" COMP;
1176                         image: "style/tw_loading_small_02.png" COMP;
1177                         image: "style/tw_loading_small_03.png" COMP;
1178                         image: "style/tw_loading_small_04.png" COMP;
1179                         image: "style/tw_loading_small_05.png" COMP;
1180                         image: "style/tw_loading_small_06.png" COMP;
1181                         image: "style/tw_loading_small_07.png" COMP;
1182                         image: "style/tw_loading_small_08.png" COMP;
1183                         image: "style/tw_loading_small_09.png" COMP;
1184                         image: "style/tw_loading_small_10.png" COMP;
1185                         image: "style/tw_loading_small_11.png" COMP;
1186                         image: "style/tw_loading_small_12.png" COMP;
1187                         image: "style/tw_loading_small_13.png" COMP;
1188                         image: "style/tw_loading_small_14.png" COMP;
1189                         image: "style/tw_loading_small_15.png" COMP;
1190                         image: "style/tw_loading_small_16.png" COMP;
1191                         image: "style/tw_loading_small_17.png" COMP;
1192                         image: "style/tw_loading_small_18.png" COMP;
1193                         image: "style/tw_loading_small_19.png" COMP;
1194                         image: "style/tw_loading_small_20.png" COMP;
1195                         image: "style/tw_loading_small_21.png" COMP;
1196                         image: "style/tw_loading_small_22.png" COMP;
1197                         image: "style/tw_loading_small_23.png" COMP;
1198                         image: "style/tw_loading_small_24.png" COMP;
1199                         image: "style/tw_loading_small_25.png" COMP;
1200                         image: "style/tw_loading_small_26.png" COMP;
1201                         image: "style/tw_loading_small_27.png" COMP;
1202                         image: "style/tw_loading_small_28.png" COMP;
1203                         image: "style/tw_loading_small_29.png" COMP;
1204                         image: "style/tw_loading_small_30.png" COMP;
1205                         image: "style/tw_loading_small_31.png" COMP;
1206                         image: "style/tw_loading_small_32.png" COMP;
1207                         image: "style/tw_loading_small_33.png" COMP;
1208                         image: "style/tw_loading_small_34.png" COMP;
1209                         image: "style/tw_loading_small_35.png" COMP;
1210                         image: "style/tw_loading_small_36.png" COMP;
1211                         image: "style/tw_loading_small_37.png" COMP;
1212                         image: "style/tw_loading_small_38.png" COMP;
1213                         image: "style/tw_loading_small_39.png" COMP;
1214                         image: "style/tw_loading_small_40.png" COMP;
1215                         image: "style/tw_loading_small_41.png" COMP;
1216                         image: "style/tw_loading_small_42.png" COMP;
1217                         image: "style/tw_loading_small_43.png" COMP;
1218                         image: "style/tw_loading_small_44.png" COMP;
1219                         image: "style/tw_loading_small_45.png" COMP;
1220                         image: "style/tw_loading_small_46.png" COMP;
1221                         image: "style/tw_loading_small_47.png" COMP;
1222                         image: "style/tw_loading_small_48.png" COMP;
1223                         image: "style/tw_loading_small_49.png" COMP;
1224                         image: "style/tw_loading_small_50.png" COMP;
1225                         image: "style/tw_loading_small_51.png" COMP;
1226                         image: "style/tw_loading_small_52.png" COMP;
1227                         image: "style/tw_loading_small_53.png" COMP;
1228                         image: "style/tw_loading_small_54.png" COMP;
1229                         image: "style/tw_loading_small_55.png" COMP;
1230                         image: "style/tw_loading_small_56.png" COMP;
1231                         image: "style/tw_loading_small_57.png" COMP;
1232                         image: "style/tw_loading_small_58.png" COMP;
1233                         image: "style/tw_loading_small_59.png" COMP;
1234                         image: "style/tw_loading_small_60.png" COMP;
1235                         image: "style/tw_loading_small_61.png" COMP;
1236                         image: "style/tw_loading_small_62.png" COMP;
1237                         image: "style/tw_loading_small_63.png" COMP;
1238                         image: "style/tw_loading_small_64.png" COMP;
1239                 }
1240                 parts {
1241                         part {
1242                                 name: "access";
1243                                 type: RECT;
1244                                 description
1245                                 {
1246                                         state: "default" 0.0;
1247                                         fixed: 1 1;
1248                                         color: 0 0 0 0;
1249                                 }
1250                         }
1251                         part {
1252                                 name: "elm.background.progressbar";
1253                                 mouse_events: 0;
1254                                 scale: 1;
1255                                 type: RECT;
1256                                 description {
1257                                         state: "default" 0.0;
1258                                 }
1259                         }
1260                         part {
1261                                 name: "bar";
1262                                 mouse_events: 0;
1263                                 scale: 1;
1264                                 clip_to: "elm.background.progressbar";
1265                                 description {
1266                                         state: "default" 0.0;
1267                                         min: PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC;
1268                                         max: PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC;
1269                                         fixed, 1 1;
1270                                         aspect: 1.0 1.0;
1271                                         aspect_preference: BOTH;
1272                                         image.normal: "style/tw_loading_small_00.png";
1273                                         image.tween: "style/tw_loading_small_01.png";
1274                                         image.tween: "style/tw_loading_small_02.png";
1275                                         image.tween: "style/tw_loading_small_03.png";
1276                                         image.tween: "style/tw_loading_small_04.png";
1277                                         image.tween: "style/tw_loading_small_05.png";
1278                                         image.tween: "style/tw_loading_small_06.png";
1279                                         image.tween: "style/tw_loading_small_07.png";
1280                                         image.tween: "style/tw_loading_small_08.png";
1281                                         image.tween: "style/tw_loading_small_09.png";
1282                                         image.tween: "style/tw_loading_small_10.png";
1283                                         image.tween: "style/tw_loading_small_11.png";
1284                                         image.tween: "style/tw_loading_small_12.png";
1285                                         image.tween: "style/tw_loading_small_13.png";
1286                                         image.tween: "style/tw_loading_small_14.png";
1287                                         image.tween: "style/tw_loading_small_15.png";
1288                                         image.tween: "style/tw_loading_small_16.png";
1289                                         image.tween: "style/tw_loading_small_17.png";
1290                                         image.tween: "style/tw_loading_small_18.png";
1291                                         image.tween: "style/tw_loading_small_19.png";
1292                                         image.tween: "style/tw_loading_small_20.png";
1293                                         image.tween: "style/tw_loading_small_21.png";
1294                                         image.tween: "style/tw_loading_small_22.png";
1295                                         image.tween: "style/tw_loading_small_23.png";
1296                                         image.tween: "style/tw_loading_small_24.png";
1297                                         image.tween: "style/tw_loading_small_25.png";
1298                                         image.tween: "style/tw_loading_small_26.png";
1299                                         image.tween: "style/tw_loading_small_27.png";
1300                                         image.tween: "style/tw_loading_small_28.png";
1301                                         image.tween: "style/tw_loading_small_29.png";
1302                                         image.tween: "style/tw_loading_small_30.png";
1303                                         image.tween: "style/tw_loading_small_31.png";
1304                                         image.tween: "style/tw_loading_small_32.png";
1305                                         image.tween: "style/tw_loading_small_33.png";
1306                                         image.tween: "style/tw_loading_small_34.png";
1307                                         image.tween: "style/tw_loading_small_35.png";
1308                                         image.tween: "style/tw_loading_small_36.png";
1309                                         image.tween: "style/tw_loading_small_37.png";
1310                                         image.tween: "style/tw_loading_small_38.png";
1311                                         image.tween: "style/tw_loading_small_39.png";
1312                                         image.tween: "style/tw_loading_small_40.png";
1313                                         image.tween: "style/tw_loading_small_41.png";
1314                                         image.tween: "style/tw_loading_small_42.png";
1315                                         image.tween: "style/tw_loading_small_43.png";
1316                                         image.tween: "style/tw_loading_small_44.png";
1317                                         image.tween: "style/tw_loading_small_45.png";
1318                                         image.tween: "style/tw_loading_small_46.png";
1319                                         image.tween: "style/tw_loading_small_47.png";
1320                                         image.tween: "style/tw_loading_small_48.png";
1321                                         image.tween: "style/tw_loading_small_48.png";
1322                                         image.tween: "style/tw_loading_small_49.png";
1323                                         image.tween: "style/tw_loading_small_50.png";
1324                                         image.tween: "style/tw_loading_small_51.png";
1325                                         image.tween: "style/tw_loading_small_52.png";
1326                                         image.tween: "style/tw_loading_small_53.png";
1327                                         image.tween: "style/tw_loading_small_54.png";
1328                                         image.tween: "style/tw_loading_small_55.png";
1329                                         image.tween: "style/tw_loading_small_56.png";
1330                                         image.tween: "style/tw_loading_small_57.png";
1331                                         image.tween: "style/tw_loading_small_58.png";
1332                                         image.tween: "style/tw_loading_small_59.png";
1333                                         image.tween: "style/tw_loading_small_60.png";
1334                                         image.tween: "style/tw_loading_small_61.png";
1335                                         image.tween: "style/tw_loading_small_62.png";
1336                                         image.tween: "style/tw_loading_small_63.png";
1337                                         image.tween: "style/tw_loading_small_64.png";
1338                                         color: 128 128 128 128;
1339                                 }
1340                         }
1341                 }
1342                 programs {
1343                         program {
1344                                 name: "start_pulse";
1345                                 signal: "elm,state,pulse,start";
1346                                 source: "elm";
1347                                 action: STATE_SET "default" 0.0;
1348                                 target: "bar";
1349                                 transition: LINEAR 1.8;
1350                                 after: "start_pulse";
1351                         }
1352                         program {
1353                                 name: "stop_pulse";
1354                                 signal: "elm,state,pulse,stop";
1355                                 source: "elm";
1356                                 action: ACTION_STOP;
1357                                 target: "start_pulse";
1358                                 after: "init_pulse";
1359                         }
1360                         program { name: "init_pulse";
1361                                 action: STATE_SET "default" 0.0;
1362                                 target: "bar";
1363                         }
1364                 }
1365         }
1366
1367
1368 #define BUTTON_PADDING_SIZE_INC                            20 0
1369 #define BUTTON_HEIGHT_INC                                  122
1370 #define BUTTON_ICON_SIZE_INC                               60 60
1371         group { name: "elm/button/base/default";
1372                 script {
1373                         public mouse_down = 0;
1374                         public multi_down = 0;
1375                 }
1376                 parts {
1377                         part { name: "bg";
1378                                 type: RECT;
1379                                 scale: 1;
1380                                 description { state: "default" 0.0;
1381                                 min: 0 BUTTON_HEIGHT_INC;
1382                                 color_class: "W011";
1383                         }
1384                         description { state: "pressed" 0.0;
1385                                 inherit: "default" 0.0;
1386                                 color_class: "W011P";
1387                         }
1388                         description { state: "disabled" 0.0;
1389                                 inherit: "default" 0.0;
1390                                 color_class: "W011D";
1391                         }
1392                 }
1393                 part { name: "padding_left_top";
1394                         type: SPACER;
1395                         scale: 1;
1396                         description { state: "default" 0.0;
1397                                 align: 0.0 0.0;
1398                                 rel2.relative: 0.0 0.0;
1399                                 min: BUTTON_PADDING_SIZE_INC;
1400                                 fixed: 1 1;
1401                         }
1402                 }
1403                 part { name: "padding_right_bottom";
1404                         type: SPACER;
1405                         scale: 1;
1406                         description { state: "default" 0.0;
1407                                 align: 1.0 1.0;
1408                                 rel1.relative: 1.0 1.0;
1409                                 min: BUTTON_PADDING_SIZE_INC;
1410                                 fixed: 1 1;
1411                         }
1412                 }
1413                 part { name: "icon_rect";
1414                         type: SPACER;
1415                         scale: 1;
1416                         description { state: "default" 0.0;
1417                                 align: 0.0 0.5;
1418                                 rel1 {
1419                                         relative: 1.0 1.0;
1420                                         to: "padding_left_top";
1421                                 }
1422                                 rel2 {
1423                                         relative: 1.0 0.0;
1424                                         to_x: "padding_left_top";
1425                                         to_y: "padding_right_bottom";
1426                                 }
1427                                 min: 0 0;
1428                                 fixed: 1 1;
1429                         }
1430                         description { state: "visible" 0.0;
1431                                 inherit: "default" 0.0;
1432                                 min: BUTTON_ICON_SIZE_INC;
1433                                 max: BUTTON_ICON_SIZE_INC;
1434                                 fixed: 1 1;
1435                         }
1436                  }
1437                  part { name: "elm.swallow.content";
1438                         type: SWALLOW;
1439                         clip_to: "elm.swallow.content.clip";
1440                         scale: 1;
1441                         description { state: "default" 0.0;
1442                                 visible: 0;
1443                                 align: 0.0 0.5;
1444                                 rel1 {
1445                                         relative: 1.0 1.0;
1446                                         to: "padding_left_top";
1447                                 }
1448                                 rel2 {
1449                                         relative: 1.0 0.0;
1450                                         to_x: "padding_left_top";
1451                                         to_y: "padding_right_bottom";
1452                                 }
1453                                 fixed: 1 0;
1454                         }
1455                         description { state: "visible" 0.0;
1456                                 fixed: 1 1;
1457                                 min: BUTTON_ICON_SIZE_INC;
1458                                 max: BUTTON_ICON_SIZE_INC;
1459                                 align: 1.0 0.5;
1460                                 rel1 {
1461                                         relative: 0.0 1.0;
1462                                         to_x: "elm.text";
1463                                         to_y: "padding_left_top";
1464                                 }
1465                                 rel2 {
1466                                         relative: 0.0 0.0;
1467                                         to_x: "elm.text";
1468                                         to_y: "padding_right_bottom";
1469                                 }
1470                         }
1471                         description { state: "icononly" 0.0;
1472                                 min: BUTTON_ICON_SIZE_INC;
1473                                 max: BUTTON_ICON_SIZE_INC;
1474                         }
1475                 }
1476                 part { name: "elm.text";
1477                         type: TEXTBLOCK;
1478                         mouse_events: 0;
1479                         scale: 1;
1480                         description { state: "default" 0.0;
1481                                 fixed: 1 1;
1482                                 rel1 {
1483                                         relative: 1.0 1.0;
1484                                         to_x: "icon_rect";
1485                                         to_y: "padding_left_top";
1486                                 }
1487                                 rel2 {
1488                                         relative: 0.0 0.0;
1489                                         to: "padding_right_bottom";
1490                                 }
1491                                 text {
1492                                         max: 1 0;
1493                                         style: "button_general_text_normal";
1494                                 }
1495                         }
1496                         description { state: "disabled" 0.0;
1497                                 inherit: "default" 0.0;
1498                                 text.style: "button_general_text_dim";
1499                         }
1500                         description { state: "pressed" 0.0;
1501                                 inherit: "default" 0.0;
1502                                 text.style: "button_general_text_press";
1503                         }
1504                 }
1505                 part { name: "elm.swallow.content.clip";
1506                         type: RECT;
1507                         scale: 1;
1508                         description { state: "default" 0.0;
1509                                 color_class: "F022L1i";
1510                         }
1511                         description { state: "disabled" 0.0;
1512                                 inherit: "default" 0.0;
1513                                 color_class: "F022L1iD";
1514                         }
1515                 }
1516                 part { name: "event";
1517                         type: RECT;
1518                         scale: 1;
1519                         description { state: "default" 0.0;
1520                                 color: 0 0 0 0;
1521                                 rel1.to: "bg";
1522                                 rel2.to: "bg";
1523                         }
1524                 }
1525         }
1526         programs {
1527                 program { name: "pressed";
1528                         signal: "mouse,down,1*";
1529                         source: "event";
1530                         script {
1531                                 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
1532                                 {
1533                                         set_int(mouse_down, 1);
1534                                         run_program(PROGRAM:"button_press1");
1535                                 }
1536                         }
1537                 }
1538                 program { name: "button_press1";
1539                         script {
1540                                 new st[31];
1541                                 new Float:vl;
1542                                 get_state(PART:"bg", st, 30, vl);
1543                                 if (strcmp(st, "disabled")) {
1544                                         set_state(PART:"bg", "pressed", 0.0);
1545                                         set_state(PART:"elm.text", "pressed", 0.0);
1546                                         emit("elm,action,press", "");
1547                                 }
1548                         }
1549                 }
1550                 program { name: "unpressed";
1551                         signal: "mouse,up,1";
1552                         source: "event";
1553                         script {
1554                                 if (get_int(mouse_down) == 1) {
1555                                         set_int(mouse_down, 0);
1556                                         run_program(PROGRAM:"button_unpress1");
1557                                 }
1558                         }
1559                 }
1560                 program { name: "button_unpress1";
1561                         script {
1562                                 new st[31];
1563                                 new Float:vl;
1564                                 get_state(PART:"bg", st, 30, vl);
1565                                 if (strcmp(st, "disabled")) {
1566                                         set_state(PART:"bg", "default", 0.0);
1567                                         set_state(PART:"elm.text", "default", 0.0);
1568                                         emit("elm,action,unpress", "");
1569                                 }
1570                         }
1571                 }
1572                 program { name: "touch_snd";
1573                         signal: "mouse,clicked,1";
1574                         source: "event";
1575                         script {
1576                                 new st[31];
1577                                 new Float:vl;
1578                                 if (get_int(multi_down) == 0) {
1579                                         get_state(PART:"bg", st, 30, vl);
1580                                         if (strcmp(st, "disabled")) {
1581                                                 //run_program(PROGRAM:"play_sample");
1582                                                 emit("elm,action,click", "");
1583                                         }
1584                                 }
1585                         }
1586                 }
1587                 program {
1588                         name: "play_sample";
1589                         action: RUN_PLUGIN "touch_sound";
1590                 }
1591                 program { name: "text_show";
1592                         signal: "elm,state,text,visible";
1593                         source: "elm";
1594                         script {
1595                                 new st[31];
1596                                 new Float:vl;
1597                                 get_state(PART:"elm.swallow.content", st, 30, vl);
1598                                 if (!strcmp(st, "icononly"))
1599                                 {
1600                                         set_state(PART:"elm.swallow.content", "visible", 0.0);
1601                                         set_state(PART:"icon_rect", "visible", 0.0);
1602                                 }
1603                                 get_state(PART:"bg", st, 30, vl);
1604                                 if (strcmp(st, "disabled"))
1605                                         set_state(PART:"elm.text", "default", 0.0);
1606                                 else
1607                                         set_state(PART:"elm.text", "disabled", 0.0);
1608                         }
1609                 }
1610                 program { name: "text_hide";
1611                         signal: "elm,state,text,hidden";
1612                         source: "elm";
1613                         script {
1614                                 new st[31];
1615                                 new Float:vl;
1616                                 get_state(PART:"elm.swallow.content", st, 30, vl);
1617                                 if (!strcmp(st, "visible"))
1618                                 {
1619                                         set_state(PART:"elm.swallow.content", "icononly", 0.0);
1620                                         set_state(PART:"icon_rect", "default", 0.0);
1621                                 }
1622                                 set_state(PART:"elm.text", "default", 0.0);
1623                         }
1624                 }
1625                 program { name: "icon_show";
1626                         signal: "elm,state,icon,visible";
1627                         source: "elm";
1628                         action: STATE_SET "visible" 0.0;
1629                         target: "elm.swallow.content";
1630                         target: "icon_rect";
1631                 }
1632                 program { name: "icon_hide";
1633                         signal: "elm,state,icon,hidden";
1634                         source: "elm";
1635                         action: STATE_SET "default" 0.0;
1636                         target: "elm.swallow.content";
1637                         target: "icon_rect";
1638                 }
1639                 program { name: "disable";
1640                         signal: "elm,state,disabled";
1641                         source: "elm";
1642                         action: STATE_SET "disabled" 0.0;
1643                         target: "bg";
1644                         target: "elm.swallow.content.clip";
1645                         target: "elm.text";
1646                 }
1647                 program { name: "enable";
1648                         signal: "elm,state,enabled";
1649                         source: "elm";
1650                         action: STATE_SET "default" 0.0;
1651                         target: "bg";
1652                         target: "elm.swallow.content.clip";
1653                         target: "elm.text";
1654                 }
1655                 program { name: "multi_down";
1656                         signal: "elm,action,multi,down";
1657                         source: "elm";
1658                         script {
1659                                 set_int(multi_down, 1);
1660                         }
1661                 }
1662                 program { name: "multi_up";
1663                         signal: "elm,action,multi,up";
1664                         source: "elm";
1665                         script {
1666                                 set_int(multi_down, 0);
1667                         }
1668                 }
1669         }
1670 }
1671
1672         group { name: "elm/button/base/ime_transparent";
1673                 inherit: "elm/button/base/default";
1674                 parts {
1675                         part { name: "bg";
1676                                 type: RECT;
1677                                 scale: 1;
1678                                 description { state: "default" 0.0;
1679                                         min: 0 112;
1680                                         visible: 0;
1681                                 }
1682                                 description { state: "pressed" 0.0;
1683                                         inherit: "default" 0.0;
1684                                 }
1685                                 description { state: "disabled" 0.0;
1686                                         inherit: "default" 0.0;
1687                                 }
1688                         }
1689                 }
1690         }
1691
1692         group { name: "elm/button/base/ime_button";
1693                 alias: "elm/button/base/ime_button_stt";
1694                 inherit: "elm/button/base/default";
1695                 parts {
1696                         part { name: "bg";
1697                                 type: IMAGE;
1698                                 scale: 1;
1699                                 description { state: "default" 0.0;
1700                                         min: 0 0;
1701                                         color_class: "AO01153L1";
1702                                         visible: 1;
1703                                         image.normal: "./w_mode_ic_bg.png";
1704                                 }
1705                                 description { state: "pressed" 0.0;
1706                                         inherit: "default" 0.0;
1707                                         color_class: "AO01153L1P";
1708                                 }
1709                                 description { state: "disabled" 0.0;
1710                                         inherit: "default" 0.0;
1711                                         color_class: "W011D";
1712                                 }
1713                         }
1714                         part { name: "elm.swallow.content";
1715                                 type: SWALLOW;
1716                                 scale: 1;
1717                                 clip_to: "elm.swallow.content.clip";
1718                                 description { state: "default" 0.0;
1719                                         visible: 1;
1720                                         align: 0.5 0.5;
1721                                         rel1 { relative: 0.0 0.0; to: "bg";}
1722                                         rel2 { relative: 1.0 1.0; to: "bg";}
1723                                         fixed: 1 1;
1724                                 }
1725                                 description { state: "visible" 0.0;
1726                                         inherit: "default" 0.0;
1727                                         visible: 1;
1728                                 }
1729                                 description { state: "icononly" 0.0;
1730                                         inherit: "default" 0.0;
1731                                         visible: 1;
1732                                 }
1733                         }
1734
1735                 }
1736                 programs {
1737                         program { name: "pressed";
1738                                 signal: "mouse,down,1*";
1739                                 source: "event";
1740                                 script {
1741                                         if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
1742                                         {
1743                                                 set_int(mouse_down, 1);
1744                                                 run_program(PROGRAM:"button_press1");
1745                                         }
1746                                 }
1747                         }
1748                         program { name: "button_press1";
1749                                 script {
1750                                         new st[31];
1751                                         new Float:vl;
1752                                         get_state(PART:"bg", st, 30, vl);
1753                                         if (strcmp(st, "disabled")) {
1754                                                 set_state(PART:"bg", "pressed", 0.0);
1755                                                 set_state(PART:"elm.swallow.content.clip", "pressed", 0.0);
1756                                                 emit("elm,action,press", "");
1757                                         }
1758                                 }
1759                         }
1760                         program { name: "unpressed";
1761                                 signal: "mouse,up,1";
1762                                 source: "event";
1763                                 script {
1764                                         if (get_int(mouse_down) == 1) {
1765                                                 set_int(mouse_down, 0);
1766                                                 run_program(PROGRAM:"button_unpress1");
1767                                         }
1768                                 }
1769                         }
1770                         program { name: "button_unpress1";
1771                                 script {
1772                                         new st[31];
1773                                         new Float:vl;
1774                                         get_state(PART:"bg", st, 30, vl);
1775                                         if (strcmp(st, "disabled")) {
1776                                                 set_state(PART:"bg", "default", 0.0);
1777                                                 set_state(PART:"elm.swallow.content.clip", "default", 0.0);
1778                                                 emit("elm,action,unpress", "");
1779                                         }
1780                                 }
1781                         }
1782                 }
1783         }
1784
1785         group { name: "elm/button/base/ime_button_emoticon";
1786                 inherit: "elm/button/base/ime_button";
1787                 parts {
1788                         part { name: "bg";
1789                                 type: IMAGE;
1790                                 scale: 1;
1791                                 description { state: "default" 0.0;
1792                                         min: 0 0;
1793                                         color_class: "AO01154L1";
1794                                         visible: 1;
1795                                         image.normal: "./w_mode_ic_bg.png";
1796                         }
1797                                 description { state: "pressed" 0.0;
1798                                         inherit: "default" 0.0;
1799                                         color_class: "AO01154L1P";
1800                                 }
1801                                 description { state: "disabled" 0.0;
1802                                         inherit: "default" 0.0;
1803                                         color_class: "W011D";
1804                                         }
1805                                 }
1806                         }
1807                 }
1808
1809         group { name: "elm/button/base/ime_button_keyboard";
1810                 inherit: "elm/button/base/ime_button";
1811                 parts {
1812                         part { name: "bg";
1813                                 type: IMAGE;
1814                                 scale: 1;
1815                                 description { state: "default" 0.0;
1816                                         min: 0 0;
1817                                         color_class: "AO01155L1";
1818                                         visible: 1;
1819                                         image.normal: "./w_mode_ic_bg.png";
1820                                 }
1821                                 description { state: "pressed" 0.0;
1822                                         inherit: "default" 0.0;
1823                                         color_class: "AO01155L1P";
1824                                 }
1825                                 description { state: "disabled" 0.0;
1826                                         inherit: "default" 0.0;
1827                                         color_class: "W011D";
1828                                 }
1829                         }
1830                 }
1831         }
1832
1833         group { name: "elm/button/base/ime_button_template";
1834                 inherit: "elm/button/base/ime_button";
1835                 parts {
1836                         part { name: "bg";
1837                                 type: IMAGE;
1838                                 scale: 1;
1839                                 description { state: "default" 0.0;
1840                                         min: 76 76;
1841                                         max: 76 76;
1842                                         color_class: "AO01161";
1843                                         visible: 1;
1844                                         image.normal: "./w_mode_ic_bg.png";
1845                                 }
1846                                 description { state: "pressed" 0.0;
1847                                         inherit: "default" 0.0;
1848                                         color_class: "AO01161P";
1849                                 }
1850                                 description { state: "disabled" 0.0;
1851                                         inherit: "default" 0.0;
1852                                         color_class: "AO01161D";
1853                                 }
1854                         }
1855                         part { name: "elm.swallow.content.clip";
1856                                 type: RECT;
1857                                 scale: 1;
1858                                 description { state: "default" 0.0;
1859                                         color_class: "AO01153L3";
1860                                 }
1861                                 description { state: "pressed" 0.0;
1862                                         inherit: "default" 0.0;
1863                                         color_class: "AO01153L3P";
1864                                 }
1865                                 description { state: "disabled" 0.0;
1866                                         inherit: "default" 0.0;
1867                                         color_class: "AO01153L3D";
1868                                 }
1869                         }
1870                 }
1871         }
1872
1873         group { name: "elm/button/base/ime_button_stt_confirm";
1874                 inherit: "elm/button/base/ime_button";
1875                 parts {
1876                         part { name: "bg";
1877                                 type: IMAGE;
1878                                 scale: 1;
1879                                 description { state: "default" 0.0;
1880                                         min: 0 0;
1881                                         color_class: "AO015L2";
1882                                         visible: 0;
1883                                         image.normal: "./b_stt_icon_btn.png";
1884                                 }
1885                                 description { state: "pressed" 0.0;
1886                                         inherit: "default" 0.0;
1887                                         color_class: "AO015L2P";
1888                                 }
1889                                 description { state: "disabled" 0.0;
1890                                         inherit: "default" 0.0;
1891                                         color_class: "AO015L2D";
1892                                 }
1893                         }
1894                         part { name: "elm.swallow.content.clip";
1895                                 type: RECT;
1896                                 scale: 1;
1897                                 description { state: "default" 0.0;
1898                                         color_class: "AO015L2";
1899                                 }
1900                                 description { state: "pressed" 0.0;
1901                                         inherit: "default" 0.0;
1902                                         color_class: "AO015L2P";
1903                                 }
1904                                 description { state: "disabled" 0.0;
1905                                         inherit: "default" 0.0;
1906                                         color_class: "AO015L2D";
1907                                 }
1908                         }
1909                 }
1910         }
1911
1912         group { name: "elm/button/base/touch_area";
1913                 inherit: "elm/button/base/default";
1914                 parts {
1915                         part { name: "bg";
1916                                 type: RECT;
1917                                 scale: 1;
1918                                 description { state: "default" 0.0;
1919                                         min: 0 0;
1920                                         color: 0 0 0 0;
1921                                         visible: 1;
1922                                 }
1923                                 description { state: "pressed" 0.0;
1924                                         inherit: "default" 0.0;
1925                                 }
1926                                 description { state: "disabled" 0.0;
1927                                         inherit: "default" 0.0;
1928                                 }
1929                         }
1930                 }
1931                 programs {
1932                         program { name: "touch_snd";
1933                                 signal: "mouse,clicked,1";
1934                                 source: "event";
1935                                 script {
1936                                         new st[31];
1937                                         new Float:vl;
1938                                         if (get_int(multi_down) == 0) {
1939                                                 get_state(PART:"bg", st, 30, vl);
1940                                                 if (strcmp(st, "disabled")) {
1941                                                         run_program(PROGRAM:"play_sample");
1942                                                         emit("elm,action,click", "");
1943                                                 }
1944                                         }
1945                                 }
1946                         }
1947                 }
1948         }
1949
1950 #define NAVIFRAME_VIEW_TRANS_TIME 0.4 //time for push and pop
1951 #define NAVIFRAME_TITLE_TRANS_TIME 0.5 //Title transition time
1952 #define NAVIFRAME_TITLE_EXPAND_TRANS_TIME 0.5 //Title Expansion transition time
1953 #define NAVIFRAME_TEXT_FADE_OUT_CALC_TIME 0.2 //Text fade out calculation time
1954 #define ACTIONBAR_PADDING_SIZE_INC 64
1955 #define ACTIONBAR_HEIGHT_INC 115
1956 #define ACTIONBAR_TEXT_SIZE_INC 39
1957 #define ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC 51
1958 #define ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC 25
1959 #define ACTIONBAR_TEX_SLIDING_SPEED 0.006
1960 #define ACTIONBAR_TEX_SLIDING_START_WAITING_TIME 0.8
1961 #define HIDDEN_BUTTON_HEIGHT_INC 88
1962
1963 #define STYLE_TAG_MATCH \
1964         tag: "match" "+ color=#ffffff color_class=T0212";
1965
1966 styles {
1967         style { name: "action_bar_title";
1968                 base: "font=Tizen:style=Regular font_size="ACTIONBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T012 text_class=T012";
1969                 STYLE_TAG_MATCH
1970         }
1971 }
1972
1973 group { name: "elm_naviframe_item_basic_customized";
1974         data.item: "tizen_zoom" 1;
1975         script {
1976                 public g_mirrored = 0; //Mirrored on/off status
1977                 public g_text_fade_out_calc_timer = 0; //Text fade out calculation timer
1978
1979                 public g_duration_1st;
1980                 public g_duration_2nd;
1981                 public g_timer_id;
1982                 public g_anim_id;
1983                 public g_sliding_start;
1984
1985                 public title_text_fade_out() {
1986                         new x, y, w, h, w2;
1987
1988                         if (get_int(g_text_fade_out_calc_timer)) {
1989                                 cancel_timer(g_text_fade_out_calc_timer);
1990                                 set_int(g_text_fade_out_calc_timer, 0);
1991                         }
1992
1993                         get_geometry(PART:"elm.text.title", x, y, w, h);
1994                         get_geometry(PART:"title_text_bg", x, y, w2, h);
1995                 }
1996
1997                 public init() {
1998                         slide_stop();
1999                         set_float(g_duration_1st, 0);
2000                         set_float(g_duration_2nd, 0);
2001                         set_int(g_timer_id, 0);
2002                         set_int(g_anim_id, 0);
2003                         set_int(g_sliding_start, 0);
2004                 }
2005                 public slide_first_anim(val, Float:pos) {
2006                         set_tween_state(PART:"elm.text.title", pos, "slide", 0.0, "slide_1", 0.0);
2007                         if (pos >= 1.0) {
2008                                 cancel_anim(get_int(g_anim_id));
2009                                 set_int(g_anim_id, anim(get_float(g_duration_2nd), "slide_second_anim", 1));
2010                         }
2011                 }
2012                 public slide_second_anim(val, Float:pos) {
2013                         set_tween_state(PART:"elm.text.title", pos, "slide_2", 0.0, "slide", 0.0);
2014                         if (pos >= 1.0)
2015                                 slide_stop();
2016                         }
2017                 public slide_first() {
2018                         check_size();
2019                         if (get_int(g_sliding_start)) {
2020                                 set_state(PART:"elm.text.title", "slide", 0.0);
2021                                 get_duration();
2022                                 set_int(g_anim_id, anim(get_float(g_duration_1st), "slide_first_anim", 1));
2023                         }
2024                 }
2025                 public slide_start() {
2026                         set_int(g_timer_id, timer(ACTIONBAR_TEX_SLIDING_START_WAITING_TIME, "slide_first", 1));
2027                 }
2028                 public slide_stop() {
2029                         cancel_anim(get_int(g_anim_id));
2030                         set_state(PART:"elm.text.title", "default", 0.0);
2031                         set_int(g_sliding_start, 0);
2032                 }
2033                 public check_size() {
2034                         new x, y, w, w1, h;
2035                         get_geometry(PART:"elm.text.title", x, y, w, h);
2036                         get_geometry(PART:"title_text_clip", x, y, w1, h);
2037                         if (w >= w1) {
2038                                 set_int(g_sliding_start, 1);
2039                         }
2040                         else {
2041                                 set_int(g_sliding_start, 0);
2042                         }
2043                 }
2044                 public get_duration() {
2045                         new x, y, w, w1, h;
2046                         get_geometry(PART:"elm.text.title", x, y, w, h);
2047                         get_geometry(PART:"title_text_clip", x, y, w1, h);
2048                         set_float(g_duration_1st, w * ACTIONBAR_TEX_SLIDING_SPEED);
2049                         set_float(g_duration_2nd, w1 * ACTIONBAR_TEX_SLIDING_SPEED);
2050                 }
2051         }
2052         parts {
2053                 part { name: "clipper";
2054                         type: RECT;
2055                         description { state: "default" 0.0;
2056                         visible: 1;
2057                         }
2058                         description { state: "hide" 0.0;
2059                                 visible: 0;
2060                         }
2061                 }
2062                 part { name: "base";
2063                         type: RECT;
2064                         mouse_events: 0;
2065                         scale: 1;
2066                         clip_to: "clipper";
2067                         description { state: "default" 0.0;
2068                                 color: 128 128 128 128;
2069                         }
2070                 }
2071                 part { name: "title_expand";
2072                         type: RECT;
2073                         scale: 1;
2074                         repeat_events: 0;
2075                         clip_to: "clipper";
2076                         description { state: "default" 0.0;
2077                                 min: 0 HIDDEN_BUTTON_HEIGHT_INC;
2078                                 max: -1 HIDDEN_BUTTON_HEIGHT_INC;
2079                                 fixed: 1 1;
2080                                 align: 0.5 1.0;
2081                                 visible: 0;
2082                                 color: 255 255 255 0;
2083                                 rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_bg"; }
2084                                 rel2 { relative: 1.0 1.0; to_x: "base"; to_y: "title_bg"; }
2085                         }
2086                         description { state: "show" 0.0;
2087                                 inherit: "default" 0.0;
2088                                 align: 0.5 0.0;
2089                                 visible: 1;
2090                         }
2091                 }
2092                 part { name: "title_clip";
2093                         type: RECT;
2094                         clip_to: "clipper";
2095                         description { state: "default" 0.0;
2096                                 visible: 1;
2097                                 rel1.to: "title_bg";
2098                                 rel2.to: "title_bg";
2099                         }
2100                         description { state: "hide" 0.0;
2101                                 inherit: "default" 0.0;
2102                                 visible: 0;
2103                         }
2104                 }
2105                 part { name: "title_bg";
2106                         type: RECT;
2107                         scale: 1;
2108                         clip_to: "title_clip";
2109                         description { state: "default" 0.0;
2110                                 min: 0 ACTIONBAR_HEIGHT_INC;
2111                                 max: -1 ACTIONBAR_HEIGHT_INC;
2112                                 fixed: 0 1;
2113                                 align: 0.5 0.0;
2114                                 rel1 { relative: 0.0 0.0; to: "base"; }
2115                                 rel2 { relative: 1.0 0.0; to: "base"; }
2116                                 color: 255 255 255 0;
2117                         }
2118                         description { state: "hide_trans" 0.0;
2119                                 inherit: "default" 0.0;
2120                                 align: 0.5 1.0;
2121                         }
2122                         description { state: "hide" 0.0;
2123                                 inherit: "default" 0.0;
2124                                 min: 0 0;
2125                                 max: -1 0;
2126                         }
2127                 }
2128                 part { name: "title_text_bg";
2129                         type: SPACER;
2130                         scale: 1;
2131                         description { state: "default" 0.0;
2132                                 rel1 { relative: 1.0 1.0; to_x: "left_padding"; to_y: "top_padding"; }
2133                                 rel2 { relative: 0.0 0.0; to: "right_padding"; to_y: "bottom_padding"; }
2134                                 fixed: 0 1;
2135                         }
2136                 }
2137                 part { name: "title_text_clip";
2138                         type: RECT;
2139                         scale: 1;
2140                         clip_to: "title_clip";
2141                         description { state: "default" 0.0;
2142                                 rel1.to: "title_text_bg";
2143                                 rel2.to: "title_text_bg";
2144                         }
2145                 }
2146                 part { name: "elm.text.title";
2147                         type: TEXTBLOCK;
2148                         scale: 1;
2149                         clip_to: "title_text_clip";
2150                         description { state: "default" 0.0;
2151                                 text {
2152                                         min: 0 1;
2153                                         max: 1 1;
2154                                         ellipsis: -1.0;
2155 //                                      fade_ellipsis: 1.0;
2156                                         style: "action_bar_title";
2157                                 }
2158                                 fixed: 1 1;
2159                                 align: 0.5 0.5;
2160                                 rel1.to: "title_text_bg"; rel2.to: "title_text_bg";
2161                         }
2162                         description { state: "slide" 0.0;
2163                                 inherit: "default" 0.0;
2164                                 align: 0.0 0.5;
2165                                 rel1 {
2166                                         relative: 1.0 1.0;
2167                                         to_x: "left_padding";
2168                                         to_y: "top_padding";
2169                                 }
2170                                 rel2 {
2171                                         relative: 1.0 0.0;
2172                                         to_x: "left_padding";
2173                                         to_y: "bottom_padding";
2174                                 }
2175                                 text.min: 1 1;
2176                         }
2177                         description { state: "slide_1" 0.0;
2178                                 inherit: "default" 0.0;
2179                                 align: 1.0 0.5;
2180                                 rel1 {
2181                                         relative: 1.0 1.0;
2182                                         to_x: "left_padding";
2183                                         to_y: "top_padding";
2184                                 }
2185                                 rel2 {
2186                                         relative: 1.0 0.0;
2187                                         to_x: "left_padding";
2188                                         to_y: "bottom_padding";
2189                                 }
2190                                 text.min: 1 1;
2191                         }
2192                         description { state: "slide_2" 0.0;
2193                                 inherit: "default" 0.0;
2194                                 align: 0.0 0.5;
2195                                 rel1 {
2196                                         relative: 0.0 1.0;
2197                                         to_x: "right_padding";
2198                                         to_y: "top_padding";
2199                                 }
2200                                 rel2 {
2201                                         relative: 0.0 0.0;
2202                                         to_x: "right_padding";
2203                                         to_y: "bottom_padding";
2204                                 }
2205                                 text.min: 1 1;
2206                         }
2207                 }
2208                 part { name: "left_padding";
2209                         type: SPACER;
2210                         scale: 1;
2211                         description { state: "default" 0.0;
2212                                 min: ACTIONBAR_PADDING_SIZE_INC 0;
2213                                 max: ACTIONBAR_PADDING_SIZE_INC -1;
2214                                 fixed: 1 0;
2215                                 align: 0.0 0.5;
2216                                 rel1 { relative: 0.0 0.0; to: "title_bg"; }
2217                                 rel2 { relative: 0.0 1.0; to: "title_bg"; }
2218                         }
2219                 }
2220                 part { name: "right_padding";
2221                         type: SPACER;
2222                         scale: 1;
2223                         description { state: "default" 0.0;
2224                                 min: ACTIONBAR_PADDING_SIZE_INC 0;
2225                                 max: ACTIONBAR_PADDING_SIZE_INC -1;
2226                                 fixed: 1 0;
2227                                 align: 1.0 0.5;
2228                                 rel1 { relative: 1.0 0.0; to: "title_bg"; }
2229                                 rel2 { relative: 1.0 1.0; to: "title_bg"; }
2230                         }
2231                 }
2232                 part { name: "click_event_area";
2233                         type: RECT;
2234                         ignore_flags: ON_HOLD;
2235                         description { state: "default" 0.0;
2236                                 rel1 { to: "title_bg"; }
2237                                 rel2 { to: "title_bg"; }
2238                                 color: 0 0 0 0;
2239                         }
2240                 }
2241                 part { name: "access.title";
2242                         type: RECT;
2243                         repeat_events: 1;
2244                         description { state: "default" 0.0;
2245                                 rel1.to: "title_bg";
2246                                 rel2.to: "title_bg";
2247                                 color: 0 0 0 0;
2248                         }
2249                 }
2250                 part { name: "top_padding";
2251                         type: SPACER;
2252                         scale: 1;
2253                         description { state: "default" 0.0;
2254                                 fixed: 0 1;
2255                                 align: 0.5 0.0;
2256                                 min: 0 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC;
2257                                 max: -1 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC;
2258                                 rel1 {relative: 0.0 0.0; to: "title_bg"; }
2259                                 rel2 {relative: 1.0 0.0; to: "title_bg"; }
2260                         }
2261                 }
2262                 part { name: "bottom_padding";
2263                         type: SPACER;
2264                         scale: 1;
2265                         description { state: "default" 0.0;
2266                                 fixed: 0 1;
2267                                 align: 0.5 1.0;
2268                                 min: 0 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC;
2269                                 max: -1 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC;
2270                                 rel1 {relative: 0.0 1.0; to: "title_bg"; }
2271                                 rel2 {relative: 1.0 1.0; to: "title_bg"; }
2272                         }
2273                 }
2274                 part { name: "elm.swallow.content";
2275                         type: SWALLOW;
2276                         scale: 1;
2277                         repeat_events: 0;
2278                         clip_to: "clipper";
2279                         description { state: "default" 0.0;
2280                                 rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_expand"; }
2281                                 rel2 { relative: 1.0 0.0; to_x: "base"; to_y: "button_padding"; }
2282                         }
2283                 }
2284                 part { name: "elm.swallow.circle_bg";
2285                         type: SWALLOW;
2286                         mouse_events: 0;
2287                         scale: 1;
2288                         clip_to: "clipper";
2289                         description { state: "default" 0.0; }
2290                 }
2291                 part { name: "elm.swallow.circle";
2292                         type: SWALLOW;
2293                         mouse_events: 0;
2294                         scale: 1;
2295                         clip_to: "clipper";
2296                         description { state: "default" 0.0; }
2297                 }
2298                 part { name: "button_padding";
2299                         type: SPACER;
2300                         scale: 1;
2301                         description { state: "default" 0.0;
2302                                 fixed: 0 1;
2303                                 align: 0.5 1.0;
2304                                 min: 0 100;
2305                                 max: -1 100;
2306                                 rel1 {relative: 0.0 1.0; to: "base"; }
2307                                 rel2 {relative: 1.0 1.0; to: "base"; }
2308                         }
2309                 }
2310         }
2311         programs {
2312                 program { name: "visible";
2313                         signal: "elm,state,visible";
2314                         source: "elm";
2315                         script {
2316                                 set_state(PART:"base", "default", 0.0);
2317                                 set_state(PART:"clipper", "default", 0.0);
2318                                 init();
2319                                 slide_start();
2320                                 run_program(PROGRAM:"title_text_fade_out");
2321                         }
2322                 }
2323                 program { name: "invisible";
2324                         signal: "elm,state,invisible";
2325                         source: "elm";
2326                         script {
2327                                 set_state(PART:"clipper", "hide", 0.0);
2328                         }
2329                 }
2330                 program { name: "title_hide";
2331                         signal: "elm,state,title,hide";
2332                         source: "elm";
2333                         script {
2334                                 set_state(PART:"title_bg", "hide", 0.0);
2335                                 set_state(PART:"title_clip", "hide", 0.0);
2336                         }
2337                 }
2338                 program { name: "title_hide_trans";
2339                         signal: "elm,action,title,hide";
2340                         source: "elm";
2341                         script {
2342                                 new st[32];
2343                                 new Float:vl;
2344                                 get_state(PART:"title_bg", st, 32, vl);
2345                                 if (!strcmp(st, "default")) {
2346                                         run_program(PROGRAM:"title_hide_trans2");
2347                                 }
2348                         }
2349                 }
2350                 program { name: "title_hide_trans2";
2351                         action: STATE_SET "hide_trans" 0.0;
2352                         target: "title_bg";
2353                         transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7;
2354                         after: "title_hide_trans3";
2355                 }
2356                 program { name: "title_hide_trans3";
2357                         script {
2358                                 run_program(PROGRAM:"title_hide");
2359                         }
2360                         after: "title_trans_finished";
2361                 }
2362                 program { name: "title_trans_finished";
2363                         action: SIGNAL_EMIT "elm,action,title,transition,finished" "";
2364                 }
2365                 program { name: "title_show";
2366                         signal: "elm,state,title,show";
2367                         source: "elm";
2368                         script {
2369                                 set_state(PART:"title_bg", "default", 0.0);
2370                                 set_state(PART:"title_clip", "default", 0.0);
2371                                 run_program(PROGRAM:"title_text_fade_out");
2372                         }
2373                 }
2374                 program { name: "title_show_trans";
2375                         signal: "elm,action,title,show";
2376                         source: "elm";
2377                         script {
2378                                 new st[32];
2379                                 new Float:vl;
2380                                 get_state(PART:"title_bg", st, 32, vl);
2381                                 if (!strcmp(st, "hide")) {
2382                                         set_state(PART:"title_bg", "hide_trans", 0.0);
2383                                         set_state(PART:"title_clip", "default", 0.0);
2384                                         run_program(PROGRAM:"title_show_trans2");
2385                                 }
2386                         }
2387                 }
2388                 program { name: "title_show_trans2";
2389                         action: STATE_SET "default" 0.0;
2390                         target: "title_bg";
2391                         transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7;
2392                         after: "title_trans_finished";
2393                 }
2394                 program { name: "title_label_show";
2395                         signal: "elm,state,title_label,show";
2396                         source: "elm";
2397                         script {
2398                                 run_program(PROGRAM:"title_text_fade_out");
2399                         }
2400                 }
2401                 program { name: "title_label_hide";
2402                         signal: "elm,state,title_label,hide";
2403                         source: "elm";
2404                 }
2405                 program { name: "title_expand_show";
2406                         signal: "elm,state,title_expand,show";
2407                         source: "";
2408                         script {
2409                                 set_state(PART:"title_expand", "show", 0.0);
2410                         }
2411                 }
2412                 program { name: "title_expand_hide";
2413                         signal: "elm,state,title_expand,hide";
2414                         source: "";
2415                         script {
2416                                 set_state(PART:"title_expand", "default", 0.0);
2417                         }
2418                 }
2419                 program { name: "hidden_btn_show_trans";
2420                         signal: "elm,action,title_expand,show";
2421                         source: "";
2422                         action: STATE_SET "show" 0.0;
2423                         target: "title_expand";
2424                         transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7;
2425                 }
2426                 program { name: "title_expand_hide_trans";
2427                         signal: "elm,action,title_expand,hide";
2428                         source: "";
2429                         action: STATE_SET "default" 0.0;
2430                         target: "title_expand";
2431                         transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7;
2432                 }
2433                 program { name: "title_clicked";
2434                         signal: "mouse,clicked,1";
2435                         source: "click_event_area";
2436                         action: SIGNAL_EMIT "elm,action,title,clicked" "";
2437                 }
2438                 program {
2439                         name: "mirrored_on";
2440                         signal: "edje,state,rtl";
2441                         source: "edje";
2442                         script {
2443                                 set_int(g_mirrored, 1);
2444                                 run_program(PROGRAM:"title_text_fade_out");
2445                         }
2446                 }
2447                 program {
2448                         name: "mirrored_off";
2449                         signal: "edje,state,ltr";
2450                         source: "edje";
2451                         script {
2452                                 set_int(g_mirrored, 0);
2453                                 run_program(PROGRAM:"title_text_fade_out");
2454                         }
2455                 }
2456                 program {
2457                         name: "title_text_fade_out";
2458                         script {
2459                                 if (get_int(g_text_fade_out_calc_timer)) {
2460                                         cancel_timer(g_text_fade_out_calc_timer);
2461                                         set_int(g_text_fade_out_calc_timer, 0);
2462                                 }
2463                                 set_int(g_text_fade_out_calc_timer, timer(NAVIFRAME_TEXT_FADE_OUT_CALC_TIME, "title_text_fade_out", 0));
2464                         }
2465                 }
2466         }
2467 }
2468
2469 //////////////////////////////////////////////////////////////////////////////////
2470 // Customizing panel for send button.
2471 //////////////////////////////////////////////////////////////////////////////////
2472
2473 // ***************************** Panel*****************************************/
2474 #define PANEL_LEFT_PADDING_SIZE_INC                        8
2475 #define PANEL_RIGHT_PADDING_SIZE_INC                       6
2476 #define PANEL_LEFT_IMAGE_SIZE_INC                          29 36
2477 #define PANEL_RIGHT_IMAGE_SIZE_INC                         16 36
2478 #define PANEL_RIGHT_CUE_SIZE_INC                           32 158
2479 #define PANEL_RIGHT_CUE_IMAGE_SIZE_INC                     158 158
2480 #define PANEL_RIGHT_EVENT_AREA_SIZE_INC                    50 140
2481 #define PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC            100 140
2482 #define PANEL_RIGHT_CUE_EFFECT_SIZE_INC                    200 200
2483 #define PANEL_LAYOUT_SIZE_INC                              360 360
2484
2485 images {
2486         image, "./b_more_option.png" COMP;
2487         image, "./b_more_option_ef.png" COMP;
2488         image, "./b_more_option_bg.png" COMP;
2489         image, "./b_ic_press_full_circle_bg.png" COMP;
2490 }
2491
2492 group { name: "elm/panel/right1/default";
2493    script {
2494       public mouse_down = 0;
2495       public mouse_click = 0;
2496       public multi_down = 0;
2497       public click_cnt = 0;
2498       public event_down = 0;
2499       public cue_hide = 0;
2500       public timer0(val) {
2501         if(val == 1)
2502            run_program(PROGRAM:"change_opacity");
2503         else if(val == 2)
2504            run_program(PROGRAM:"change_opacity2");
2505       }
2506    }
2507    parts {
2508       part { name: "bg";
2509          type: RECT;
2510          repeat_events: 1;
2511          description { state: "default" 0.0;
2512             min: PANEL_LAYOUT_SIZE_INC;
2513             max: PANEL_LAYOUT_SIZE_INC;
2514             //color_class: "transparent";
2515             color: 0 0 0 0;
2516          }
2517       }
2518       part { name: "cue.padding";
2519          type: SPACER;
2520          description { state: "default" 0.0;
2521             rel1.to: "bg";
2522             rel1.relative: 1.0 0.0;
2523             rel2.to: "bg";
2524             rel2.relative: 1.0 1.0;
2525             align: 1.0 0.5;
2526             min: PANEL_RIGHT_PADDING_SIZE_INC 0;
2527             max: PANEL_RIGHT_PADDING_SIZE_INC -1;
2528             fixed: 1 0;
2529          }
2530       }
2531       part { name: "cue";
2532          description { state: "default" 0.0;
2533             min: PANEL_RIGHT_IMAGE_SIZE_INC;
2534             max: PANEL_RIGHT_IMAGE_SIZE_INC;
2535             fixed: 1 0;
2536             image.normal: "./b_more_option.png";
2537             color: 128 128 128 128;
2538             rel1.to: "cue.padding";
2539             rel1.relative: 0.0 0.0;
2540             rel2.to: "cue.padding";
2541             rel2.relative: 0.0 1.0;
2542             align: 1.0 0.5;
2543          }
2544          description { state: "hidden" 0.0;
2545             inherit: "default" 0.0;
2546             visible: 0;
2547          }
2548          description { state: "disabled" 0.0;
2549             inherit: "default" 0.0;
2550             color: 128 128 128 128;
2551          }
2552       }
2553       part { name: "cue_ef";
2554          description { state: "default" 0.0;
2555             min: PANEL_RIGHT_IMAGE_SIZE_INC;
2556             max: PANEL_RIGHT_IMAGE_SIZE_INC;
2557             fixed: 1 1;
2558             image.normal: "./b_more_option_ef.png";
2559             color: 128 128 128 128;
2560             rel1.to: "cue";
2561             rel2.to: "cue";
2562          }
2563          description { state: "hidden" 0.0;
2564             inherit: "default" 0.0;
2565             visible: 0;
2566          }
2567       }
2568       part { name: "effect_bg";
2569          scale: 1;
2570          clip_to: "effect_bg_clip";
2571          repeat_events: 1;
2572          description { state: "default" 0.0;
2573             min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2574             max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2575             rel1.to: "bg";
2576             rel1.relative: 1.0 0.0;
2577             rel2.to: "bg";
2578             rel2.relative: 1.0 1.0;
2579             align: 0.5 0.5;
2580             fixed: 1 0;
2581             image.normal: "./b_ic_press_full_circle_bg.png";
2582             color: 128 128 128 128;
2583             map.on: 1;
2584          }
2585          description { state: "pressed" 0.0;
2586             inherit: "default" 0.0;
2587             color: 128 128 128 128;
2588             map {
2589                zoom.x: 0.8;
2590                zoom.y: 0.8;
2591             }
2592          }
2593          description { state: "disabled" 0.0;
2594             inherit: "default" 0.0;
2595          }
2596          description { state: "start_persp" 0.0;
2597             inherit: "default" 0.0;
2598             color: 128 128 128 128;
2599             map {
2600                zoom.x: 1.0;
2601                zoom.y: 1.0;
2602             }
2603          }
2604       }
2605       part { name: "effect_bg_clip";
2606          scale: 1;
2607          type: RECT;
2608          repeat_events: 1;
2609          description { state: "default" 0.0;
2610             min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2611             max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2612             rel1.to: "bg";
2613             rel1.relative: 1.0 0.0;
2614             rel2.to: "bg";
2615             rel2.relative: 1.0 1.0;
2616             align: 0.5 0.5;
2617             fixed: 1 0;
2618             color: 255 255 255 0;
2619          }
2620          description { state: "pressed" 0.0;
2621             inherit: "default" 0.0;
2622             color: 255 255 255 255;
2623          }
2624          description { state: "disabled" 0.0;
2625             inherit: "default" 0.0;
2626          }
2627       }
2628       part { name: "effect_bg2";
2629          scale: 1;
2630          clip_to: "effect_bg_clip2";
2631          repeat_events: 1;
2632          description { state: "default" 0.0;
2633             min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2634             max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2635             rel1.to: "bg";
2636             rel1.relative: 1.0 0.0;
2637             rel2.to: "bg";
2638             rel2.relative: 1.0 1.0;
2639             align: 0.5 0.5;
2640             fixed: 1 0;
2641             image.normal: "./b_ic_press_full_circle_bg.png";
2642             //color_class: "transparent";
2643             color: 0 0 0 0;
2644             map.on: 1;
2645          }
2646          description { state: "pressed" 0.0;
2647             inherit: "default" 0.0;
2648             color: 128 128 128 128;
2649             map {
2650                zoom.x: 0.8;
2651                zoom.y: 0.8;
2652             }
2653          }
2654          description { state: "disabled" 0.0;
2655             inherit: "default" 0.0;
2656          }
2657          description { state: "start_persp" 0.0;
2658             inherit: "default" 0.0;
2659             color: 128 128 128 128;
2660             map {
2661                zoom.x: 1.0;
2662                zoom.y: 1.0;
2663             }
2664          }
2665       }
2666       part { name: "effect_bg_clip2";
2667          scale: 1;
2668          type: RECT;
2669          repeat_events: 1;
2670          description { state: "default" 0.0;
2671             min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2672             max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2673             rel1.to: "bg";
2674             rel1.relative: 1.0 0.0;
2675             rel2.to: "bg";
2676             rel2.relative: 1.0 1.0;
2677             align: 0.5 0.5;
2678             fixed: 1 0;
2679             color: 255 255 255 0;
2680          }
2681          description { state: "pressed" 0.0;
2682             inherit: "default" 0.0;
2683             color: 255 255 255 255;
2684          }
2685          description { state: "disabled" 0.0;
2686             inherit: "default" 0.0;
2687          }
2688       }
2689       part { name: "cue.event";
2690          type: RECT;
2691          repeat_events: 0;
2692          description { state: "default" 0.0;
2693             min: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
2694             max: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
2695             fixed: 1 0;
2696             //color_class: "transparent";
2697             color: 0 0 0 0;
2698             rel1.to: "bg";
2699             rel1.relative: 1.0 0.0;
2700             rel2.to: "bg";
2701             rel2.relative: 1.0 1.0;
2702             align: 1.0 0.5;
2703          }
2704          description { state: "hidden" 0.0;
2705             inherit: "default" 0.0;
2706             visible: 0;
2707          }
2708       }
2709       part { name: "cue.release.event";
2710          type: RECT;
2711          repeat_events: 1;
2712          description { state: "default" 0.0;
2713             min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
2714             max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
2715             fixed: 1 0;
2716             //color_class: "transparent";
2717             color: 0 0 0 0;
2718             rel1.to: "bg";
2719             rel1.relative: 1.0 0.0;
2720             rel2.to: "bg";
2721             rel2.relative: 1.0 1.0;
2722             align: 1.0 0.5;
2723          }
2724          description { state: "hidden" 0.0;
2725             inherit: "default" 0.0;
2726             visible: 0;
2727          }
2728       }
2729       part { name: "base";
2730          repeat_events: 0;
2731          description { state: "default" 0.0;
2732             rel1.to: "bg";
2733             rel1.offset: -1 -1;
2734             rel2.to: "bg";
2735             rel2.offset: 0 0;
2736             visible: 0;
2737             fixed: 1 1;
2738             image.normal: "./b_more_option_bg.png";
2739             color: 128 128 128 128;
2740             map {
2741                on: 1;
2742                zoom {
2743                   x: 1.35;
2744                   y: 1.35;
2745                }
2746                color[0]: 0 0 0 0;
2747                color[1]: 0 0 0 0;
2748                color[2]: 0 0 0 0;
2749                color[3]: 0 0 0 0;
2750             }
2751          }
2752          description { state: "show" 0.0;
2753             inherit: "default" 0.0;
2754             visible: 1;
2755             map {
2756                zoom {
2757                   x: 1.0;
2758                   y: 1.0;
2759                }
2760                color[0]: 255 255 255 255;
2761                color[1]: 255 255 255 255;
2762                color[2]: 255 255 255 255;
2763                color[3]: 255 255 255 255;
2764             }
2765          }
2766       }
2767       part { name: "elm.swallow.content";
2768          type: SWALLOW;
2769          description { state: "default" 0.0;
2770             rel1.to: "bg";
2771             rel2.to: "bg";
2772             visible: 0;
2773             fixed: 1 1;
2774             map {
2775                on: 1;
2776                zoom {
2777                   x: 1.35;
2778                   y: 1.35;
2779                }
2780                color[0]: 0 0 0 0;
2781                color[1]: 0 0 0 0;
2782                color[2]: 0 0 0 0;
2783                color[3]: 0 0 0 0;
2784             }
2785          }
2786          description { state: "show" 0.0;
2787             inherit: "default" 0.0;
2788             visible: 1;
2789             map {
2790                zoom {
2791                   x: 1.0;
2792                   y: 1.0;
2793                }
2794                color[0]: 255 255 255 255;
2795                color[1]: 255 255 255 255;
2796                color[2]: 255 255 255 255;
2797                color[3]: 255 255 255 255;
2798             }
2799          }
2800       }
2801    }
2802    programs {
2803       program { name: "pressed";
2804          signal: "mouse,down,1*";
2805          source: "cue.event";
2806          script {
2807             if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
2808             {
2809                set_int(mouse_down, 1);
2810                set_int(event_down, 1);
2811                run_program(PROGRAM:"button_press1");
2812             }
2813          }
2814       }
2815       program { name: "button_press1";
2816          script {
2817             new st[31];
2818             new Float:vl;
2819             get_state(PART:"effect_bg", st, 30, vl);
2820             if (strcmp(st, "disabled")) {
2821                emit("elm,action,press", "");
2822                run_program(PROGRAM:"haptic");
2823                if(get_int(click_cnt) == 0) {
2824                   set_state(PART:"effect_bg", "pressed", 0.0);
2825                   set_state(PART:"effect_bg_clip", "pressed", 0.0);
2826                   run_program(PROGRAM:"start_persp");
2827                   timer(0.3, "timer0", 1);
2828                }
2829                else if(get_int(click_cnt) == 1) {
2830                   set_state(PART:"effect_bg2", "pressed", 0.0);
2831                   set_state(PART:"effect_bg_clip2", "pressed", 0.0);
2832                   run_program(PROGRAM:"start_persp2");
2833                   timer(0.3, "timer0", 2);
2834                }
2835             }
2836          }
2837       }
2838       program { name: "unpressed";
2839          signal: "mouse,up,1";
2840          source: "cue.event";
2841          script {
2842             if (get_int(mouse_down) == 1) {
2843                set_int(mouse_down, 0);
2844                run_program(PROGRAM:"button_unpress1");
2845             }
2846          }
2847       }
2848       program { name: "button_unpress1";
2849          script {
2850             new st[31];
2851             new Float:vl;
2852             get_state(PART:"effect_bg", st, 30, vl);
2853             if (strcmp(st, "disabled")) {
2854             if(get_int(click_cnt) == 0)
2855                set_int(click_cnt, 1);
2856             else
2857                set_int(click_cnt, 0);
2858             }
2859          }
2860       }
2861       program { name: "release.event_clicked";
2862          signal: "mouse,clicked,*";
2863          source: "cue.release.event";
2864          script {
2865             if (get_int(event_down) == 1) {
2866                set_int(event_down, 0);
2867                emit("cue,clicked", "elm");
2868                run_program(PROGRAM:"panel_toggle");
2869                run_program(PROGRAM:"play_sample");
2870             }
2871          }
2872       }
2873       program {
2874          name: "play_sample";
2875          action: RUN_PLUGIN "touch_sound";
2876       }
2877       program { name: "panel_toggle";
2878          action: SIGNAL_EMIT "elm,action,panel,toggle" "elm";
2879       }
2880       program {
2881          name: "haptic";
2882          action: RUN_PLUGIN "haptic_tap";
2883       }
2884       program { name: "disable";
2885          signal: "elm,state,disabled";
2886          source: "elm";
2887          script {
2888             if (get_int(cue_hide) == 0)
2889                set_state(PART:"cue", "disabled", 0.0);
2890             set_state(PART:"effect_bg", "disabled", 0.0);
2891             set_state(PART:"cue.event", "hidden", 0.0);
2892             set_state(PART:"cue.release.event", "hidden", 0.0);
2893          }
2894       }
2895       program { name: "enable";
2896          signal: "elm,state,enabled";
2897          source: "elm";
2898          script {
2899             if (get_int(cue_hide) == 1) {
2900                set_state(PART:"cue", "hidden", 0.0);
2901                set_state(PART:"cue.event", "hidden", 0.0);
2902                set_state(PART:"cue.release.event", "hidden", 0.0);
2903             }
2904             else {
2905                set_state(PART:"cue", "default", 0.0);
2906                set_state(PART:"cue.event", "default", 0.0);
2907                set_state(PART:"cue.release.event", "default", 0.0);
2908             }
2909             set_state(PART:"effect_bg", "default", 0.0);
2910          }
2911       }
2912       program { name: "multi_down";
2913          signal: "elm,action,multi,down";
2914          source: "elm";
2915          script {
2916             set_int(multi_down, 1);
2917          }
2918       }
2919       program { name: "multi_up";
2920          signal: "elm,action,multi,up";
2921          source: "elm";
2922          script {
2923             set_int(multi_down, 0);
2924          }
2925       }
2926       program { name: "start_persp";
2927          action: STATE_SET "start_persp" 0.0;
2928          transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
2929          target: "effect_bg";
2930       }
2931       program { name: "change_opacity";
2932          action: STATE_SET "default" 0.0;
2933          transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
2934          target: "effect_bg_clip";
2935       }
2936       program { name: "start_persp2";
2937          action: STATE_SET "start_persp" 0.0;
2938          transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
2939          target: "effect_bg2";
2940       }
2941       program { name: "change_opacity2";
2942          action: STATE_SET "default" 0.0;
2943          transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
2944          target: "effect_bg_clip2";
2945       }
2946       program {
2947          signal: "elm,action,show";
2948          source: "elm";
2949          action: STATE_SET "show" 0.0;
2950          transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0;
2951          target: "elm.swallow.content";
2952          target: "base";
2953          after: "active,finished";
2954       }
2955       program {
2956          signal: "elm,action,hide";
2957          source: "elm";
2958          action: STATE_SET "default" 0.0;
2959          transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0;
2960          target: "elm.swallow.content";
2961          target: "base";
2962          after: "inactive,finished";
2963       }
2964       program { name: "active,finished";
2965          action: SIGNAL_EMIT "elm,state,active,finished" "elm";
2966       }
2967       program { name: "inactive,finished";
2968          action: SIGNAL_EMIT "elm,state,inactive,finished" "elm";
2969       }
2970       program { name: "cue,hide";
2971          signal: "cue,hide";
2972          source: "elm";
2973          script {
2974             set_int(cue_hide, 1);
2975             set_state(PART:"cue", "hidden", 0.0);
2976             set_state(PART:"cue_ef", "hidden", 0.0);
2977             set_state(PART:"cue.event", "hidden", 0.0);
2978             set_state(PART:"cue.release.event", "hidden", 0.0);
2979          }
2980       }
2981       program { name: "cue,show";
2982          signal: "cue,show";
2983          source: "elm";
2984          script {
2985             set_int(cue_hide, 0);
2986             set_state(PART:"cue", "default", 0.0);
2987             set_state(PART:"cue_ef", "default", 0.0);
2988             set_state(PART:"cue.event", "default", 0.0);
2989             set_state(PART:"cue.release.event", "default", 0.0);
2990          }
2991       }
2992    }
2993 }
2994
2995 group { name: "elm/panel/left1/default";
2996    inherit: "elm/panel/right1/default";
2997    parts {
2998       part { name: "cue.padding";
2999          type: SPACER;
3000          description { state: "default" 0.0;
3001             rel1.to: "bg";
3002             rel1.relative: 0.0 0.0;
3003             rel2.to: "bg";
3004             rel2.relative: 0.0 1.0;
3005             align: 0.0 0.5;
3006             min: PANEL_RIGHT_PADDING_SIZE_INC 0;
3007             max: PANEL_RIGHT_PADDING_SIZE_INC -1;
3008             fixed: 1 0;
3009          }
3010       }
3011       part { name: "cue";
3012          description { state: "default" 0.0;
3013             min: PANEL_RIGHT_IMAGE_SIZE_INC;
3014             max: PANEL_RIGHT_IMAGE_SIZE_INC;
3015             fixed: 1 0;
3016             image.normal: "./b_more_option.png";
3017             color: 128 128 128 128;
3018             rel1.to: "cue.padding";
3019             rel1.relative: 1.0 0.0;
3020             rel2.to: "cue.padding";
3021             rel2.relative: 1.0 1.0;
3022             align: 0.0 0.5;
3023          }
3024          description { state: "hidden" 0.0;
3025             inherit: "default" 0.0;
3026             visible: 0;
3027          }
3028          description { state: "disabled" 0.0;
3029             inherit: "default" 0.0;
3030             color: 128 128 128 128;
3031          }
3032       }
3033       part { name: "cue_ef";
3034          description { state: "default" 0.0;
3035             min: PANEL_RIGHT_IMAGE_SIZE_INC;
3036             max: PANEL_RIGHT_IMAGE_SIZE_INC;
3037             fixed: 1 1;
3038             image.normal: "./b_more_option_ef.png";
3039             color: 128 128 128 128;
3040             rel1.to: "cue";
3041             rel2.to: "cue";
3042          }
3043          description { state: "hidden" 0.0;
3044             inherit: "default" 0.0;
3045             visible: 0;
3046          }
3047       }
3048       part { name: "effect_bg";
3049          scale: 1;
3050          clip_to: "effect_bg_clip";
3051          repeat_events: 1;
3052          description { state: "default" 0.0;
3053             min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3054             max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3055             rel1.to: "bg";
3056             rel1.relative: 0.0 0.0;
3057             rel2.to: "bg";
3058             rel2.relative: 0.0 1.0;
3059             align: 0.5 0.5;
3060             fixed: 1 0;
3061             image.normal: "./b_ic_press_full_circle_bg.png";
3062             color: 128 128 128 128;
3063             map.on: 1;
3064          }
3065          description { state: "pressed" 0.0;
3066             inherit: "default" 0.0;
3067             color: 128 128 128 128;
3068             map {
3069                zoom.x: 0.8;
3070                zoom.y: 0.8;
3071             }
3072          }
3073          description { state: "disabled" 0.0;
3074             inherit: "default" 0.0;
3075          }
3076          description { state: "start_persp" 0.0;
3077             inherit: "default" 0.0;
3078             color: 128 128 128 128;
3079             map {
3080                zoom.x: 1.0;
3081                zoom.y: 1.0;
3082             }
3083          }
3084       }
3085       part { name: "effect_bg_clip";
3086          scale: 1;
3087          type: RECT;
3088          repeat_events: 1;
3089          description { state: "default" 0.0;
3090             min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3091             max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3092             rel1.to: "bg";
3093             rel1.relative: 0.0 0.0;
3094             rel2.to: "bg";
3095             rel2.relative: 0.0 1.0;
3096             align: 0.5 0.5;
3097             fixed: 1 0;
3098             color: 255 255 255 0;
3099          }
3100          description { state: "pressed" 0.0;
3101             inherit: "default" 0.0;
3102             color: 255 255 255 255;
3103          }
3104          description { state: "disabled" 0.0;
3105             inherit: "default" 0.0;
3106          }
3107       }
3108       part { name: "effect_bg2";
3109          scale: 1;
3110          clip_to: "effect_bg_clip2";
3111          repeat_events: 1;
3112          description { state: "default" 0.0;
3113             min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3114             max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3115             rel1.to: "bg";
3116             rel1.relative: 0.0 0.0;
3117             rel2.to: "bg";
3118             rel2.relative: 0.0 1.0;
3119             align: 0.5 0.5;
3120             fixed: 1 0;
3121             image.normal: "./b_ic_press_full_circle_bg.png";
3122             //color_class: "transparent";
3123             color: 0 0 0 0;
3124             map.on: 1;
3125          }
3126          description { state: "pressed" 0.0;
3127             inherit: "default" 0.0;
3128             color: 128 128 128 128;
3129             map {
3130                zoom.x: 0.8;
3131                zoom.y: 0.8;
3132             }
3133          }
3134          description { state: "disabled" 0.0;
3135             inherit: "default" 0.0;
3136          }
3137          description { state: "start_persp" 0.0;
3138             inherit: "default" 0.0;
3139             color: 128 128 128 128;
3140             map {
3141                zoom.x: 1.0;
3142                zoom.y: 1.0;
3143             }
3144          }
3145       }
3146       part { name: "effect_bg_clip2";
3147          scale: 1;
3148          type: RECT;
3149          repeat_events: 1;
3150          description { state: "default" 0.0;
3151             min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3152             max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3153             rel1.to: "bg";
3154             rel1.relative: 0.0 0.0;
3155             rel2.to: "bg";
3156             rel2.relative: 0.0 1.0;
3157             align: 0.5 0.5;
3158             fixed: 1 0;
3159             color: 255 255 255 0;
3160          }
3161          description { state: "pressed" 0.0;
3162             inherit: "default" 0.0;
3163             color: 255 255 255 255;
3164          }
3165          description { state: "disabled" 0.0;
3166             inherit: "default" 0.0;
3167          }
3168       }
3169       part { name: "cue.event";
3170          type: RECT;
3171          description { state: "default" 0.0;
3172             min: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
3173             max: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
3174             fixed: 1 0;
3175             //color_class: "transparent";
3176             color: 0 0 0 0;
3177             rel1.to: "bg";
3178             rel1.relative: 0.0 0.0;
3179             rel2.to: "bg";
3180             rel2.relative: 0.0 1.0;
3181             align: 0.0 0.5;
3182          }
3183          description { state: "hidden" 0.0;
3184             inherit: "default" 0.0;
3185             visible: 0;
3186          }
3187       }
3188       part { name: "cue.release.event";
3189          type: RECT;
3190          repeat_events: 1;
3191          description { state: "default" 0.0;
3192             min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
3193             max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
3194             fixed: 1 0;
3195             //color_class: "transparent";
3196             color: 0 0 0 0;
3197             rel1.to: "bg";
3198             rel1.relative: 0.0 0.0;
3199             rel2.to: "bg";
3200             rel2.relative: 0.0 1.0;
3201             align: 0.0 0.5;
3202          }
3203          description { state: "hidden" 0.0;
3204             inherit: "default" 0.0;
3205             visible: 0;
3206          }
3207       }
3208    }
3209 }
3210
3211 group { name: "elm/panel/left_sending/default";
3212         inherit: "elm/panel/left1/default";
3213         parts {
3214                 part { name: "cue.padding";
3215                    type: SPACER;
3216                    description { state: "default" 0.0;
3217                           rel1.to: "bg";
3218                           rel1.relative: 0.0 0.0;
3219                           rel2.to: "bg";
3220                           rel2.relative: 0.0 1.0;
3221                           align: 0.0 0.5;
3222                           min: 1 0;//PANEL_RIGHT_PADDING_SIZE_INC 0;
3223                           max: 1 -1;//PANEL_RIGHT_PADDING_SIZE_INC -1;
3224                           fixed: 1 0;
3225                    }
3226                 }
3227                 part { name: "cue";
3228                    description { state: "default" 0.0;
3229                           min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3230                           max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3231                           fixed: 1 0;
3232                           image.normal: "./b_stt_send_icon.png";
3233                           color: 128 128 128 128;
3234                           rel1.to: "cue.padding";
3235                           rel1.relative: 1.0 0.0;
3236                           rel2.to: "cue.padding";
3237                           rel2.relative: 1.0 1.0;
3238                           align: 0.0 0.5;
3239                    }
3240                    description { state: "hidden" 0.0;
3241                           inherit: "default" 0.0;
3242                           visible: 0;
3243                    }
3244                    description { state: "disabled" 0.0;
3245                           inherit: "default" 0.0;
3246                           color_class: "AO015L2D";//"B052L1D";
3247                    }
3248                 }
3249                 part { name: "cue_ef";
3250                    description { state: "default" 0.0;
3251                           min: PANEL_RIGHT_IMAGE_SIZE_INC;
3252                           max: PANEL_RIGHT_IMAGE_SIZE_INC;
3253                           fixed: 1 1;
3254                           visible: 0;
3255                           image.normal: "./b_more_option_ef.png";
3256                           color: 128 128 128 128;
3257                           rel1.to: "cue";
3258                           rel2.to: "cue";
3259                    }
3260                    description { state: "hidden" 0.0;
3261                           inherit: "default" 0.0;
3262                           visible: 0;
3263                    }
3264                 }
3265         }
3266 }
3267
3268 group { name: "elm/panel/left_confirm/default";
3269         inherit: "elm/panel/left_sending/default";
3270         parts {
3271                 part { name: "cue";
3272                    description { state: "default" 0.0;
3273                           min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3274                           max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3275                           fixed: 1 0;
3276                           image.normal: "./b_stt_confirm_icon.png";
3277                           color: 128 128 128 128;
3278                           rel1.to: "cue.padding";
3279                           rel1.relative: 1.0 0.0;
3280                           rel2.to: "cue.padding";
3281                           rel2.relative: 1.0 1.0;
3282                           align: 0.0 0.5;
3283                    }
3284                    description { state: "hidden" 0.0;
3285                           inherit: "default" 0.0;
3286                           visible: 0;
3287                    }
3288                    description { state: "disabled" 0.0;
3289                           inherit: "default" 0.0;
3290                           color_class: "AO015L2D";//"B052L1D";
3291                    }
3292                 }
3293         }
3294 }
3295
3296 }