Add initial code for inputdelegator
[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: 163 163 163 100;
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: 110 110 110 100;
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: 122 122 122 100;
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: 128 128 128 128;
1383             }
1384             description { state: "pressed" 0.0;
1385                inherit: "default" 0.0;
1386                color: 128 128 128 128;
1387             }
1388             description { state: "disabled" 0.0;
1389                inherit: "default" 0.0;
1390                color: 128 128 128 128;
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: 128 128 128 128;
1510             }
1511             description { state: "disabled" 0.0;
1512                inherit: "default" 0.0;
1513                color: 128 128 128 128;
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: 128 128 128 128;
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          part { name: "elm.swallow.content.clip";
1735             type: RECT;
1736             scale: 1;
1737             description { state: "default" 0.0;
1738                color_class: "AO01153L3";
1739             }
1740                     description { state: "pressed" 0.0;
1741                            inherit: "default" 0.0;
1742                            color_class: "AO01153L3P";
1743                         }
1744             description { state: "disabled" 0.0;
1745                inherit: "default" 0.0;
1746                color: 128 128 128 128;
1747             }
1748          }
1749          part { name: "elm.swallow.content_ef";
1750             type: SWALLOW;
1751             scale: 1;
1752             description { state: "default" 0.0;
1753                visible: 1;
1754                align: 0.5 0.5;
1755                rel1 { relative: 0.0 0.0; to: "bg";}
1756                rel2 { relative: 1.0 1.0; to: "bg";}
1757                fixed: 1 1;
1758             }
1759          }
1760           }
1761       programs {
1762          program { name: "pressed";
1763             signal: "mouse,down,1*";
1764             source: "event";
1765             script {
1766                if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
1767                  {
1768                      set_int(mouse_down, 1);
1769                      run_program(PROGRAM:"button_press1");
1770                  }
1771             }
1772          }
1773          program { name: "button_press1";
1774             script {
1775                new st[31];
1776                new Float:vl;
1777                get_state(PART:"bg", st, 30, vl);
1778                if (strcmp(st, "disabled")) {
1779                   set_state(PART:"bg", "pressed", 0.0);
1780                   set_state(PART:"elm.swallow.content.clip", "pressed", 0.0);
1781                   emit("elm,action,press", "");
1782                }
1783             }
1784          }
1785          program { name: "unpressed";
1786             signal: "mouse,up,1";
1787             source: "event";
1788             script {
1789                if (get_int(mouse_down) == 1) {
1790                  set_int(mouse_down, 0);
1791                  run_program(PROGRAM:"button_unpress1");
1792                }
1793             }
1794          }
1795          program { name: "button_unpress1";
1796             script {
1797                new st[31];
1798                new Float:vl;
1799                get_state(PART:"bg", st, 30, vl);
1800                if (strcmp(st, "disabled")) {
1801                   set_state(PART:"bg", "default", 0.0);
1802                   set_state(PART:"elm.swallow.content.clip", "default", 0.0);
1803                   emit("elm,action,unpress", "");
1804                }
1805             }
1806          }
1807       }
1808         }
1809
1810         group { name: "elm/button/base/ime_button_emoticon";
1811           inherit: "elm/button/base/ime_button";
1812           parts {
1813                   part { name: "bg";
1814                          type: IMAGE;
1815                          scale: 1;
1816                          description { state: "default" 0.0;
1817                                 min: 0 0;
1818                                 color_class: "AO01154L1";
1819                                 visible: 1;
1820                                 image.normal: "./w_mode_ic_bg.png";
1821                          }
1822                          description { state: "pressed" 0.0;
1823                                 inherit: "default" 0.0;
1824                                 color_class: "AO01154L1P";
1825                          }
1826                          description { state: "disabled" 0.0;
1827                                 inherit: "default" 0.0;
1828                                 color: 128 128 128 128;
1829                                 }
1830                         }
1831                 }
1832         }
1833
1834         group { name: "elm/button/base/ime_button_keyboard";
1835           inherit: "elm/button/base/ime_button";
1836           parts {
1837                   part { name: "bg";
1838                          type: IMAGE;
1839                          scale: 1;
1840                          description { state: "default" 0.0;
1841                                 min: 0 0;
1842                                 color_class: "AO01155L1";
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: "AO01155L1P";
1849                          }
1850                          description { state: "disabled" 0.0;
1851                                 inherit: "default" 0.0;
1852                                 color: 128 128 128 128;
1853                                 }
1854                         }
1855                 }
1856         }
1857
1858         group { name: "elm/button/base/ime_button_template";
1859           inherit: "elm/button/base/ime_button";
1860           parts {
1861                   part { name: "bg";
1862                          type: IMAGE;
1863                          scale: 1;
1864                          description { state: "default" 0.0;
1865                                 min: 76 76;
1866                                 max: 76 76;
1867                                 color_class: "AO01161";
1868                                 visible: 1;
1869                                 image.normal: "./w_mode_ic_bg.png";
1870                          }
1871                          description { state: "pressed" 0.0;
1872                                 inherit: "default" 0.0;
1873                                 color_class: "AO01161P";
1874                          }
1875                          description { state: "disabled" 0.0;
1876                                 inherit: "default" 0.0;
1877                                 color_class: "AO01161D";
1878                                 }
1879                         }
1880          part { name: "elm.swallow.content.clip";
1881             type: RECT;
1882             scale: 1;
1883             description { state: "default" 0.0;
1884                color_class: "AO0116";
1885             }
1886                     description { state: "pressed" 0.0;
1887                            inherit: "default" 0.0;
1888                            color_class: "AO0116P";
1889                         }
1890             description { state: "disabled" 0.0;
1891                inherit: "default" 0.0;
1892                color_class: "AO0116D";
1893             }
1894          }
1895                 }
1896         }
1897
1898         group { name: "elm/button/base/ime_button_stt_confirm";
1899           inherit: "elm/button/base/ime_button";
1900           parts {
1901                   part { name: "bg";
1902                          type: IMAGE;
1903                          scale: 1;
1904                          description { state: "default" 0.0;
1905                                 min: 0 0;
1906                                 color_class: "AO015L2";
1907                                 visible: 0;
1908                                 image.normal: "./b_stt_icon_btn.png";
1909                          }
1910                          description { state: "pressed" 0.0;
1911                                 inherit: "default" 0.0;
1912                                 color_class: "AO015L2P";
1913                          }
1914                          description { state: "disabled" 0.0;
1915                                 inherit: "default" 0.0;
1916                                 color_class: "AO015L2D";
1917                                 }
1918                         }
1919                   part { name: "elm.swallow.content.clip";
1920             type: RECT;
1921             scale: 1;
1922             description { state: "default" 0.0;
1923                color_class: "AO015L2";
1924             }
1925                     description { state: "pressed" 0.0;
1926                            inherit: "default" 0.0;
1927                            color_class: "AO015L2P";
1928                         }
1929             description { state: "disabled" 0.0;
1930                inherit: "default" 0.0;
1931                color_class: "AO015L2D";
1932             }
1933          }
1934                 }
1935         }
1936
1937         group { name: "elm/button/base/touch_area";
1938           inherit: "elm/button/base/default";
1939           parts {
1940                   part { name: "bg";
1941                          type: RECT;
1942                          scale: 1;
1943                          description { state: "default" 0.0;
1944                                 min: 0 0;
1945                                 color: 0 0 0 0;
1946                                 visible: 1;
1947                          }
1948                          description { state: "pressed" 0.0;
1949                                 inherit: "default" 0.0;
1950                          }
1951                          description { state: "disabled" 0.0;
1952                                 inherit: "default" 0.0;
1953                                 }
1954                         }
1955                 }
1956       programs {
1957                   program { name: "touch_snd";
1958                          signal: "mouse,clicked,1";
1959                          source: "event";
1960                          script {
1961                                 new st[31];
1962                                 new Float:vl;
1963                                 if (get_int(multi_down) == 0) {
1964                                    get_state(PART:"bg", st, 30, vl);
1965                                    if (strcmp(st, "disabled")) {
1966                                           run_program(PROGRAM:"play_sample");
1967                                           emit("elm,action,click", "");
1968                                    }
1969                                 }
1970                          }
1971                   }
1972       }
1973         }
1974
1975 #define NAVIFRAME_VIEW_TRANS_TIME 0.4 //time for push and pop
1976 #define NAVIFRAME_TITLE_TRANS_TIME 0.5 //Title transition time
1977 #define NAVIFRAME_TITLE_EXPAND_TRANS_TIME 0.5 //Title Expansion transition time
1978 #define NAVIFRAME_TEXT_FADE_OUT_CALC_TIME 0.2 //Text fade out calculation time
1979 #define ACTIONBAR_PADDING_SIZE_INC 64
1980 #define ACTIONBAR_HEIGHT_INC 115
1981 #define ACTIONBAR_TEXT_SIZE_INC 39
1982 #define ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC 51
1983 #define ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC 25
1984 #define ACTIONBAR_TEX_SLIDING_SPEED 0.006
1985 #define ACTIONBAR_TEX_SLIDING_START_WAITING_TIME 0.8
1986 #define HIDDEN_BUTTON_HEIGHT_INC 88
1987
1988 #define STYLE_TAG_MATCH \
1989         tag: "match" "+ color=#ffffff color_class=T0212";
1990
1991 styles {
1992         style { name: "action_bar_title";
1993                 base: "font=Tizen:style=Regular font_size="ACTIONBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T012 text_class=T012";
1994                 STYLE_TAG_MATCH
1995         }
1996 }
1997
1998 group { name: "elm_naviframe_item_basic_customized";
1999         data.item: "tizen_zoom" 1;
2000         script {
2001                 public g_mirrored = 0; //Mirrored on/off status
2002                 public g_text_fade_out_calc_timer = 0; //Text fade out calculation timer
2003
2004                 public g_duration_1st;
2005                 public g_duration_2nd;
2006                 public g_timer_id;
2007                 public g_anim_id;
2008                 public g_sliding_start;
2009
2010                 public title_text_fade_out() {
2011                         new x, y, w, h, w2;
2012
2013                         if (get_int(g_text_fade_out_calc_timer)) {
2014                                 cancel_timer(g_text_fade_out_calc_timer);
2015                                 set_int(g_text_fade_out_calc_timer, 0);
2016                         }
2017
2018                         get_geometry(PART:"elm.text.title", x, y, w, h);
2019                         get_geometry(PART:"title_text_bg", x, y, w2, h);
2020                 }
2021
2022                 public init() {
2023                         slide_stop();
2024                         set_float(g_duration_1st, 0);
2025                         set_float(g_duration_2nd, 0);
2026                         set_int(g_timer_id, 0);
2027                         set_int(g_anim_id, 0);
2028                         set_int(g_sliding_start, 0);
2029                 }
2030                 public slide_first_anim(val, Float:pos) {
2031                         set_tween_state(PART:"elm.text.title", pos, "slide", 0.0, "slide_1", 0.0);
2032                         if (pos >= 1.0) {
2033                                 cancel_anim(get_int(g_anim_id));
2034                                 set_int(g_anim_id, anim(get_float(g_duration_2nd), "slide_second_anim", 1));
2035                         }
2036                 }
2037                 public slide_second_anim(val, Float:pos) {
2038                         set_tween_state(PART:"elm.text.title", pos, "slide_2", 0.0, "slide", 0.0);
2039                         if (pos >= 1.0)
2040                                 slide_stop();
2041                         }
2042                 public slide_first() {
2043                         check_size();
2044                         if (get_int(g_sliding_start)) {
2045                                 set_state(PART:"elm.text.title", "slide", 0.0);
2046                                 get_duration();
2047                                 set_int(g_anim_id, anim(get_float(g_duration_1st), "slide_first_anim", 1));
2048                         }
2049                 }
2050                 public slide_start() {
2051                         set_int(g_timer_id, timer(ACTIONBAR_TEX_SLIDING_START_WAITING_TIME, "slide_first", 1));
2052                 }
2053                 public slide_stop() {
2054                         cancel_anim(get_int(g_anim_id));
2055                         set_state(PART:"elm.text.title", "default", 0.0);
2056                         set_int(g_sliding_start, 0);
2057                 }
2058                 public check_size() {
2059                         new x, y, w, w1, h;
2060                         get_geometry(PART:"elm.text.title", x, y, w, h);
2061                         get_geometry(PART:"title_text_clip", x, y, w1, h);
2062                         if (w >= w1) {
2063                                 set_int(g_sliding_start, 1);
2064                         }
2065                         else {
2066                                 set_int(g_sliding_start, 0);
2067                         }
2068                 }
2069                 public get_duration() {
2070                         new x, y, w, w1, h;
2071                         get_geometry(PART:"elm.text.title", x, y, w, h);
2072                         get_geometry(PART:"title_text_clip", x, y, w1, h);
2073                         set_float(g_duration_1st, w * ACTIONBAR_TEX_SLIDING_SPEED);
2074                         set_float(g_duration_2nd, w1 * ACTIONBAR_TEX_SLIDING_SPEED);
2075                 }
2076         }
2077         parts {
2078                 part { name: "clipper";
2079                         type: RECT;
2080                         description { state: "default" 0.0;
2081                         visible: 1;
2082                         }
2083                         description { state: "hide" 0.0;
2084                                 visible: 0;
2085                         }
2086                 }
2087                 part { name: "base";
2088                         type: RECT;
2089                         mouse_events: 0;
2090                         scale: 1;
2091                         clip_to: "clipper";
2092                         description { state: "default" 0.0;
2093                                 color: 128 128 128 128;
2094                         }
2095                 }
2096                 part { name: "title_expand";
2097                         type: RECT;
2098                         scale: 1;
2099                         repeat_events: 0;
2100                         clip_to: "clipper";
2101                         description { state: "default" 0.0;
2102                                 min: 0 HIDDEN_BUTTON_HEIGHT_INC;
2103                                 max: -1 HIDDEN_BUTTON_HEIGHT_INC;
2104                                 fixed: 1 1;
2105                                 align: 0.5 1.0;
2106                                 visible: 0;
2107                                 color: 255 255 255 0;
2108                                 rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_bg"; }
2109                                 rel2 { relative: 1.0 1.0; to_x: "base"; to_y: "title_bg"; }
2110                         }
2111                         description { state: "show" 0.0;
2112                                 inherit: "default" 0.0;
2113                                 align: 0.5 0.0;
2114                                 visible: 1;
2115                         }
2116                 }
2117                 part { name: "title_clip";
2118                         type: RECT;
2119                         clip_to: "clipper";
2120                         description { state: "default" 0.0;
2121                                 visible: 1;
2122                                 rel1.to: "title_bg";
2123                                 rel2.to: "title_bg";
2124                         }
2125                         description { state: "hide" 0.0;
2126                                 inherit: "default" 0.0;
2127                                 visible: 0;
2128                         }
2129                 }
2130                 part { name: "title_bg";
2131                         type: RECT;
2132                         scale: 1;
2133                         clip_to: "title_clip";
2134                         description { state: "default" 0.0;
2135                                 min: 0 ACTIONBAR_HEIGHT_INC;
2136                                 max: -1 ACTIONBAR_HEIGHT_INC;
2137                                 fixed: 0 1;
2138                                 align: 0.5 0.0;
2139                                 rel1 { relative: 0.0 0.0; to: "base"; }
2140                                 rel2 { relative: 1.0 0.0; to: "base"; }
2141                                 color: 255 255 255 0;
2142                         }
2143                         description { state: "hide_trans" 0.0;
2144                                 inherit: "default" 0.0;
2145                                 align: 0.5 1.0;
2146                         }
2147                         description { state: "hide" 0.0;
2148                                 inherit: "default" 0.0;
2149                                 min: 0 0;
2150                                 max: -1 0;
2151                         }
2152                 }
2153                 part { name: "title_text_bg";
2154                         type: SPACER;
2155                         scale: 1;
2156                         description { state: "default" 0.0;
2157                                 rel1 { relative: 1.0 1.0; to_x: "left_padding"; to_y: "top_padding"; }
2158                                 rel2 { relative: 0.0 0.0; to: "right_padding"; to_y: "bottom_padding"; }
2159                                 fixed: 0 1;
2160                         }
2161                 }
2162                 part { name: "title_text_clip";
2163                         type: RECT;
2164                         scale: 1;
2165                         clip_to: "title_clip";
2166                         description { state: "default" 0.0;
2167                                 rel1.to: "title_text_bg";
2168                                 rel2.to: "title_text_bg";
2169                         }
2170                 }
2171                 part { name: "elm.text.title";
2172                         type: TEXTBLOCK;
2173                         scale: 1;
2174                         clip_to: "title_text_clip";
2175                         description { state: "default" 0.0;
2176                                 text {
2177                                         min: 0 1;
2178                                         max: 1 1;
2179                                         ellipsis: -1.0;
2180 //                                      fade_ellipsis: 1.0;
2181                                         style: "action_bar_title";
2182                                 }
2183                                 fixed: 1 1;
2184                                 align: 0.5 0.5;
2185                                 rel1.to: "title_text_bg"; rel2.to: "title_text_bg";
2186                         }
2187                         description { state: "slide" 0.0;
2188                                 inherit: "default" 0.0;
2189                                 align: 0.0 0.5;
2190                                 rel1 {
2191                                         relative: 1.0 1.0;
2192                                         to_x: "left_padding";
2193                                         to_y: "top_padding";
2194                                 }
2195                                 rel2 {
2196                                         relative: 1.0 0.0;
2197                                         to_x: "left_padding";
2198                                         to_y: "bottom_padding";
2199                                 }
2200                                 text.min: 1 1;
2201                         }
2202                         description { state: "slide_1" 0.0;
2203                                 inherit: "default" 0.0;
2204                                 align: 1.0 0.5;
2205                                 rel1 {
2206                                         relative: 1.0 1.0;
2207                                         to_x: "left_padding";
2208                                         to_y: "top_padding";
2209                                 }
2210                                 rel2 {
2211                                         relative: 1.0 0.0;
2212                                         to_x: "left_padding";
2213                                         to_y: "bottom_padding";
2214                                 }
2215                                 text.min: 1 1;
2216                         }
2217                         description { state: "slide_2" 0.0;
2218                                 inherit: "default" 0.0;
2219                                 align: 0.0 0.5;
2220                                 rel1 {
2221                                         relative: 0.0 1.0;
2222                                         to_x: "right_padding";
2223                                         to_y: "top_padding";
2224                                 }
2225                                 rel2 {
2226                                         relative: 0.0 0.0;
2227                                         to_x: "right_padding";
2228                                         to_y: "bottom_padding";
2229                                 }
2230                                 text.min: 1 1;
2231                         }
2232                 }
2233                 part { name: "left_padding";
2234                         type: SPACER;
2235                         scale: 1;
2236                         description { state: "default" 0.0;
2237                                 min: ACTIONBAR_PADDING_SIZE_INC 0;
2238                                 max: ACTIONBAR_PADDING_SIZE_INC -1;
2239                                 fixed: 1 0;
2240                                 align: 0.0 0.5;
2241                                 rel1 { relative: 0.0 0.0; to: "title_bg"; }
2242                                 rel2 { relative: 0.0 1.0; to: "title_bg"; }
2243                         }
2244                 }
2245                 part { name: "right_padding";
2246                         type: SPACER;
2247                         scale: 1;
2248                         description { state: "default" 0.0;
2249                                 min: ACTIONBAR_PADDING_SIZE_INC 0;
2250                                 max: ACTIONBAR_PADDING_SIZE_INC -1;
2251                                 fixed: 1 0;
2252                                 align: 1.0 0.5;
2253                                 rel1 { relative: 1.0 0.0; to: "title_bg"; }
2254                                 rel2 { relative: 1.0 1.0; to: "title_bg"; }
2255                         }
2256                 }
2257                 part { name: "click_event_area";
2258                         type: RECT;
2259                         ignore_flags: ON_HOLD;
2260                         description { state: "default" 0.0;
2261                                 rel1 { to: "title_bg"; }
2262                                 rel2 { to: "title_bg"; }
2263                                 color: 0 0 0 0;
2264                         }
2265                 }
2266                 part { name: "access.title";
2267                         type: RECT;
2268                         repeat_events: 1;
2269                         description { state: "default" 0.0;
2270                                 rel1.to: "title_bg";
2271                                 rel2.to: "title_bg";
2272                                 color: 0 0 0 0;
2273                         }
2274                 }
2275                 part { name: "top_padding";
2276                         type: SPACER;
2277                         scale: 1;
2278                         description { state: "default" 0.0;
2279                                 fixed: 0 1;
2280                                 align: 0.5 0.0;
2281                                 min: 0 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC;
2282                                 max: -1 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC;
2283                                 rel1 {relative: 0.0 0.0; to: "title_bg"; }
2284                                 rel2 {relative: 1.0 0.0; to: "title_bg"; }
2285                         }
2286                 }
2287                 part { name: "bottom_padding";
2288                         type: SPACER;
2289                         scale: 1;
2290                         description { state: "default" 0.0;
2291                                 fixed: 0 1;
2292                                 align: 0.5 1.0;
2293                                 min: 0 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC;
2294                                 max: -1 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC;
2295                                 rel1 {relative: 0.0 1.0; to: "title_bg"; }
2296                                 rel2 {relative: 1.0 1.0; to: "title_bg"; }
2297                         }
2298                 }
2299                 part { name: "elm.swallow.content";
2300                         type: SWALLOW;
2301                         scale: 1;
2302                         repeat_events: 0;
2303                         clip_to: "clipper";
2304                         description { state: "default" 0.0;
2305                                 rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_expand"; }
2306                                 rel2 { relative: 1.0 0.0; to_x: "base"; to_y: "button_padding"; }
2307                         }
2308                 }
2309                 part { name: "elm.swallow.circle_bg";
2310                         type: SWALLOW;
2311                         mouse_events: 0;
2312                         scale: 1;
2313                         clip_to: "clipper";
2314                         description { state: "default" 0.0; }
2315                 }
2316                 part { name: "elm.swallow.circle";
2317                         type: SWALLOW;
2318                         mouse_events: 0;
2319                         scale: 1;
2320                         clip_to: "clipper";
2321                         description { state: "default" 0.0; }
2322                 }
2323                 part { name: "button_padding";
2324                         type: SPACER;
2325                         scale: 1;
2326                         description { state: "default" 0.0;
2327                                 fixed: 0 1;
2328                                 align: 0.5 1.0;
2329                                 min: 0 100;
2330                                 max: -1 100;
2331                                 rel1 {relative: 0.0 1.0; to: "base"; }
2332                                 rel2 {relative: 1.0 1.0; to: "base"; }
2333                         }
2334                 }
2335         }
2336         programs {
2337                 program { name: "visible";
2338                         signal: "elm,state,visible";
2339                         source: "elm";
2340                         script {
2341                                 set_state(PART:"base", "default", 0.0);
2342                                 set_state(PART:"clipper", "default", 0.0);
2343                                 init();
2344                                 slide_start();
2345                                 run_program(PROGRAM:"title_text_fade_out");
2346                         }
2347                 }
2348                 program { name: "invisible";
2349                         signal: "elm,state,invisible";
2350                         source: "elm";
2351                         script {
2352                                 set_state(PART:"clipper", "hide", 0.0);
2353                         }
2354                 }
2355                 program { name: "title_hide";
2356                         signal: "elm,state,title,hide";
2357                         source: "elm";
2358                         script {
2359                                 set_state(PART:"title_bg", "hide", 0.0);
2360                                 set_state(PART:"title_clip", "hide", 0.0);
2361                         }
2362                 }
2363                 program { name: "title_hide_trans";
2364                         signal: "elm,action,title,hide";
2365                         source: "elm";
2366                         script {
2367                                 new st[32];
2368                                 new Float:vl;
2369                                 get_state(PART:"title_bg", st, 32, vl);
2370                                 if (!strcmp(st, "default")) {
2371                                         run_program(PROGRAM:"title_hide_trans2");
2372                                 }
2373                         }
2374                 }
2375                 program { name: "title_hide_trans2";
2376                         action: STATE_SET "hide_trans" 0.0;
2377                         target: "title_bg";
2378                         transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7;
2379                         after: "title_hide_trans3";
2380                 }
2381                 program { name: "title_hide_trans3";
2382                         script {
2383                                 run_program(PROGRAM:"title_hide");
2384                         }
2385                         after: "title_trans_finished";
2386                 }
2387                 program { name: "title_trans_finished";
2388                         action: SIGNAL_EMIT "elm,action,title,transition,finished" "";
2389                 }
2390                 program { name: "title_show";
2391                         signal: "elm,state,title,show";
2392                         source: "elm";
2393                         script {
2394                                 set_state(PART:"title_bg", "default", 0.0);
2395                                 set_state(PART:"title_clip", "default", 0.0);
2396                                 run_program(PROGRAM:"title_text_fade_out");
2397                         }
2398                 }
2399                 program { name: "title_show_trans";
2400                         signal: "elm,action,title,show";
2401                         source: "elm";
2402                         script {
2403                                 new st[32];
2404                                 new Float:vl;
2405                                 get_state(PART:"title_bg", st, 32, vl);
2406                                 if (!strcmp(st, "hide")) {
2407                                         set_state(PART:"title_bg", "hide_trans", 0.0);
2408                                         set_state(PART:"title_clip", "default", 0.0);
2409                                         run_program(PROGRAM:"title_show_trans2");
2410                                 }
2411                         }
2412                 }
2413                 program { name: "title_show_trans2";
2414                         action: STATE_SET "default" 0.0;
2415                         target: "title_bg";
2416                         transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7;
2417                         after: "title_trans_finished";
2418                 }
2419                 program { name: "title_label_show";
2420                         signal: "elm,state,title_label,show";
2421                         source: "elm";
2422                         script {
2423                                 run_program(PROGRAM:"title_text_fade_out");
2424                         }
2425                 }
2426                 program { name: "title_label_hide";
2427                         signal: "elm,state,title_label,hide";
2428                         source: "elm";
2429                 }
2430                 program { name: "title_expand_show";
2431                         signal: "elm,state,title_expand,show";
2432                         source: "";
2433                         script {
2434                                 set_state(PART:"title_expand", "show", 0.0);
2435                         }
2436                 }
2437                 program { name: "title_expand_hide";
2438                         signal: "elm,state,title_expand,hide";
2439                         source: "";
2440                         script {
2441                                 set_state(PART:"title_expand", "default", 0.0);
2442                         }
2443                 }
2444                 program { name: "hidden_btn_show_trans";
2445                         signal: "elm,action,title_expand,show";
2446                         source: "";
2447                         action: STATE_SET "show" 0.0;
2448                         target: "title_expand";
2449                         transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7;
2450                 }
2451                 program { name: "title_expand_hide_trans";
2452                         signal: "elm,action,title_expand,hide";
2453                         source: "";
2454                         action: STATE_SET "default" 0.0;
2455                         target: "title_expand";
2456                         transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7;
2457                 }
2458                 program { name: "title_clicked";
2459                         signal: "mouse,clicked,1";
2460                         source: "click_event_area";
2461                         action: SIGNAL_EMIT "elm,action,title,clicked" "";
2462                 }
2463                 program {
2464                         name: "mirrored_on";
2465                         signal: "edje,state,rtl";
2466                         source: "edje";
2467                         script {
2468                                 set_int(g_mirrored, 1);
2469                                 run_program(PROGRAM:"title_text_fade_out");
2470                         }
2471                 }
2472                 program {
2473                         name: "mirrored_off";
2474                         signal: "edje,state,ltr";
2475                         source: "edje";
2476                         script {
2477                                 set_int(g_mirrored, 0);
2478                                 run_program(PROGRAM:"title_text_fade_out");
2479                         }
2480                 }
2481                 program {
2482                         name: "title_text_fade_out";
2483                         script {
2484                                 if (get_int(g_text_fade_out_calc_timer)) {
2485                                         cancel_timer(g_text_fade_out_calc_timer);
2486                                         set_int(g_text_fade_out_calc_timer, 0);
2487                                 }
2488                                 set_int(g_text_fade_out_calc_timer, timer(NAVIFRAME_TEXT_FADE_OUT_CALC_TIME, "title_text_fade_out", 0));
2489                         }
2490                 }
2491         }
2492 }
2493
2494 //////////////////////////////////////////////////////////////////////////////////
2495 // Customizing panel for send button.
2496 //////////////////////////////////////////////////////////////////////////////////
2497
2498 // ***************************** Panel*****************************************/
2499 #define PANEL_LEFT_PADDING_SIZE_INC                        8
2500 #define PANEL_RIGHT_PADDING_SIZE_INC                       6
2501 #define PANEL_LEFT_IMAGE_SIZE_INC                          29 36
2502 #define PANEL_RIGHT_IMAGE_SIZE_INC                         16 36
2503 #define PANEL_RIGHT_CUE_SIZE_INC                           32 158
2504 #define PANEL_RIGHT_CUE_IMAGE_SIZE_INC                     158 158
2505 #define PANEL_RIGHT_EVENT_AREA_SIZE_INC                    50 140
2506 #define PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC            100 140
2507 #define PANEL_RIGHT_CUE_EFFECT_SIZE_INC                    200 200
2508 #define PANEL_LAYOUT_SIZE_INC                              360 360
2509
2510 images {
2511         image, "./b_more_option.png" COMP;
2512         image, "./b_more_option_ef.png" COMP;
2513         image, "./b_more_option_bg.png" COMP;
2514         image, "./b_ic_press_full_circle_bg.png" COMP;
2515 }
2516
2517 group { name: "elm/panel/right1/default";
2518    script {
2519       public mouse_down = 0;
2520       public mouse_click = 0;
2521       public multi_down = 0;
2522       public click_cnt = 0;
2523       public event_down = 0;
2524       public cue_hide = 0;
2525       public timer0(val) {
2526         if(val == 1)
2527            run_program(PROGRAM:"change_opacity");
2528         else if(val == 2)
2529            run_program(PROGRAM:"change_opacity2");
2530       }
2531    }
2532    parts {
2533       part { name: "bg";
2534          type: RECT;
2535          repeat_events: 1;
2536          description { state: "default" 0.0;
2537             min: PANEL_LAYOUT_SIZE_INC;
2538             max: PANEL_LAYOUT_SIZE_INC;
2539             //color_class: "transparent";
2540             color: 0 0 0 0;
2541          }
2542       }
2543       part { name: "cue.padding";
2544          type: SPACER;
2545          description { state: "default" 0.0;
2546             rel1.to: "bg";
2547             rel1.relative: 1.0 0.0;
2548             rel2.to: "bg";
2549             rel2.relative: 1.0 1.0;
2550             align: 1.0 0.5;
2551             min: PANEL_RIGHT_PADDING_SIZE_INC 0;
2552             max: PANEL_RIGHT_PADDING_SIZE_INC -1;
2553             fixed: 1 0;
2554          }
2555       }
2556       part { name: "cue";
2557          description { state: "default" 0.0;
2558             min: PANEL_RIGHT_IMAGE_SIZE_INC;
2559             max: PANEL_RIGHT_IMAGE_SIZE_INC;
2560             fixed: 1 0;
2561             image.normal: "./b_more_option.png";
2562             color: 128 128 128 128;
2563             rel1.to: "cue.padding";
2564             rel1.relative: 0.0 0.0;
2565             rel2.to: "cue.padding";
2566             rel2.relative: 0.0 1.0;
2567             align: 1.0 0.5;
2568          }
2569          description { state: "hidden" 0.0;
2570             inherit: "default" 0.0;
2571             visible: 0;
2572          }
2573          description { state: "disabled" 0.0;
2574             inherit: "default" 0.0;
2575             color: 128 128 128 128;
2576          }
2577       }
2578       part { name: "cue_ef";
2579          description { state: "default" 0.0;
2580             min: PANEL_RIGHT_IMAGE_SIZE_INC;
2581             max: PANEL_RIGHT_IMAGE_SIZE_INC;
2582             fixed: 1 1;
2583             image.normal: "./b_more_option_ef.png";
2584             color: 128 128 128 128;
2585             rel1.to: "cue";
2586             rel2.to: "cue";
2587          }
2588          description { state: "hidden" 0.0;
2589             inherit: "default" 0.0;
2590             visible: 0;
2591          }
2592       }
2593       part { name: "effect_bg";
2594          scale: 1;
2595          clip_to: "effect_bg_clip";
2596          repeat_events: 1;
2597          description { state: "default" 0.0;
2598             min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2599             max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2600             rel1.to: "bg";
2601             rel1.relative: 1.0 0.0;
2602             rel2.to: "bg";
2603             rel2.relative: 1.0 1.0;
2604             align: 0.5 0.5;
2605             fixed: 1 0;
2606             image.normal: "./b_ic_press_full_circle_bg.png";
2607             color: 128 128 128 128;
2608             map.on: 1;
2609          }
2610          description { state: "pressed" 0.0;
2611             inherit: "default" 0.0;
2612             color: 128 128 128 128;
2613             map {
2614                zoom.x: 0.8;
2615                zoom.y: 0.8;
2616             }
2617          }
2618          description { state: "disabled" 0.0;
2619             inherit: "default" 0.0;
2620          }
2621          description { state: "start_persp" 0.0;
2622             inherit: "default" 0.0;
2623             color: 128 128 128 128;
2624             map {
2625                zoom.x: 1.0;
2626                zoom.y: 1.0;
2627             }
2628          }
2629       }
2630       part { name: "effect_bg_clip";
2631          scale: 1;
2632          type: RECT;
2633          repeat_events: 1;
2634          description { state: "default" 0.0;
2635             min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2636             max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2637             rel1.to: "bg";
2638             rel1.relative: 1.0 0.0;
2639             rel2.to: "bg";
2640             rel2.relative: 1.0 1.0;
2641             align: 0.5 0.5;
2642             fixed: 1 0;
2643             color: 255 255 255 0;
2644          }
2645          description { state: "pressed" 0.0;
2646             inherit: "default" 0.0;
2647             color: 255 255 255 255;
2648          }
2649          description { state: "disabled" 0.0;
2650             inherit: "default" 0.0;
2651          }
2652       }
2653       part { name: "effect_bg2";
2654          scale: 1;
2655          clip_to: "effect_bg_clip2";
2656          repeat_events: 1;
2657          description { state: "default" 0.0;
2658             min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2659             max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2660             rel1.to: "bg";
2661             rel1.relative: 1.0 0.0;
2662             rel2.to: "bg";
2663             rel2.relative: 1.0 1.0;
2664             align: 0.5 0.5;
2665             fixed: 1 0;
2666             image.normal: "./b_ic_press_full_circle_bg.png";
2667             //color_class: "transparent";
2668             color: 0 0 0 0;
2669             map.on: 1;
2670          }
2671          description { state: "pressed" 0.0;
2672             inherit: "default" 0.0;
2673             color: 128 128 128 128;
2674             map {
2675                zoom.x: 0.8;
2676                zoom.y: 0.8;
2677             }
2678          }
2679          description { state: "disabled" 0.0;
2680             inherit: "default" 0.0;
2681          }
2682          description { state: "start_persp" 0.0;
2683             inherit: "default" 0.0;
2684             color: 128 128 128 128;
2685             map {
2686                zoom.x: 1.0;
2687                zoom.y: 1.0;
2688             }
2689          }
2690       }
2691       part { name: "effect_bg_clip2";
2692          scale: 1;
2693          type: RECT;
2694          repeat_events: 1;
2695          description { state: "default" 0.0;
2696             min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2697             max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2698             rel1.to: "bg";
2699             rel1.relative: 1.0 0.0;
2700             rel2.to: "bg";
2701             rel2.relative: 1.0 1.0;
2702             align: 0.5 0.5;
2703             fixed: 1 0;
2704             color: 255 255 255 0;
2705          }
2706          description { state: "pressed" 0.0;
2707             inherit: "default" 0.0;
2708             color: 255 255 255 255;
2709          }
2710          description { state: "disabled" 0.0;
2711             inherit: "default" 0.0;
2712          }
2713       }
2714       part { name: "cue.event";
2715          type: RECT;
2716          repeat_events: 0;
2717          description { state: "default" 0.0;
2718             min: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
2719             max: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
2720             fixed: 1 0;
2721             //color_class: "transparent";
2722             color: 0 0 0 0;
2723             rel1.to: "bg";
2724             rel1.relative: 1.0 0.0;
2725             rel2.to: "bg";
2726             rel2.relative: 1.0 1.0;
2727             align: 1.0 0.5;
2728          }
2729          description { state: "hidden" 0.0;
2730             inherit: "default" 0.0;
2731             visible: 0;
2732          }
2733       }
2734       part { name: "cue.release.event";
2735          type: RECT;
2736          repeat_events: 1;
2737          description { state: "default" 0.0;
2738             min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
2739             max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
2740             fixed: 1 0;
2741             //color_class: "transparent";
2742             color: 0 0 0 0;
2743             rel1.to: "bg";
2744             rel1.relative: 1.0 0.0;
2745             rel2.to: "bg";
2746             rel2.relative: 1.0 1.0;
2747             align: 1.0 0.5;
2748          }
2749          description { state: "hidden" 0.0;
2750             inherit: "default" 0.0;
2751             visible: 0;
2752          }
2753       }
2754       part { name: "base";
2755          repeat_events: 0;
2756          description { state: "default" 0.0;
2757             rel1.to: "bg";
2758             rel1.offset: -1 -1;
2759             rel2.to: "bg";
2760             rel2.offset: 0 0;
2761             visible: 0;
2762             fixed: 1 1;
2763             image.normal: "./b_more_option_bg.png";
2764             color: 128 128 128 128;
2765             map {
2766                on: 1;
2767                zoom {
2768                   x: 1.35;
2769                   y: 1.35;
2770                }
2771                color[0]: 0 0 0 0;
2772                color[1]: 0 0 0 0;
2773                color[2]: 0 0 0 0;
2774                color[3]: 0 0 0 0;
2775             }
2776          }
2777          description { state: "show" 0.0;
2778             inherit: "default" 0.0;
2779             visible: 1;
2780             map {
2781                zoom {
2782                   x: 1.0;
2783                   y: 1.0;
2784                }
2785                color[0]: 255 255 255 255;
2786                color[1]: 255 255 255 255;
2787                color[2]: 255 255 255 255;
2788                color[3]: 255 255 255 255;
2789             }
2790          }
2791       }
2792       part { name: "elm.swallow.content";
2793          type: SWALLOW;
2794          description { state: "default" 0.0;
2795             rel1.to: "bg";
2796             rel2.to: "bg";
2797             visible: 0;
2798             fixed: 1 1;
2799             map {
2800                on: 1;
2801                zoom {
2802                   x: 1.35;
2803                   y: 1.35;
2804                }
2805                color[0]: 0 0 0 0;
2806                color[1]: 0 0 0 0;
2807                color[2]: 0 0 0 0;
2808                color[3]: 0 0 0 0;
2809             }
2810          }
2811          description { state: "show" 0.0;
2812             inherit: "default" 0.0;
2813             visible: 1;
2814             map {
2815                zoom {
2816                   x: 1.0;
2817                   y: 1.0;
2818                }
2819                color[0]: 255 255 255 255;
2820                color[1]: 255 255 255 255;
2821                color[2]: 255 255 255 255;
2822                color[3]: 255 255 255 255;
2823             }
2824          }
2825       }
2826    }
2827    programs {
2828       program { name: "pressed";
2829          signal: "mouse,down,1*";
2830          source: "cue.event";
2831          script {
2832             if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
2833             {
2834                set_int(mouse_down, 1);
2835                set_int(event_down, 1);
2836                run_program(PROGRAM:"button_press1");
2837             }
2838          }
2839       }
2840       program { name: "button_press1";
2841          script {
2842             new st[31];
2843             new Float:vl;
2844             get_state(PART:"effect_bg", st, 30, vl);
2845             if (strcmp(st, "disabled")) {
2846                emit("elm,action,press", "");
2847                run_program(PROGRAM:"haptic");
2848                if(get_int(click_cnt) == 0) {
2849                   set_state(PART:"effect_bg", "pressed", 0.0);
2850                   set_state(PART:"effect_bg_clip", "pressed", 0.0);
2851                   run_program(PROGRAM:"start_persp");
2852                   timer(0.3, "timer0", 1);
2853                }
2854                else if(get_int(click_cnt) == 1) {
2855                   set_state(PART:"effect_bg2", "pressed", 0.0);
2856                   set_state(PART:"effect_bg_clip2", "pressed", 0.0);
2857                   run_program(PROGRAM:"start_persp2");
2858                   timer(0.3, "timer0", 2);
2859                }
2860             }
2861          }
2862       }
2863       program { name: "unpressed";
2864          signal: "mouse,up,1";
2865          source: "cue.event";
2866          script {
2867             if (get_int(mouse_down) == 1) {
2868                set_int(mouse_down, 0);
2869                run_program(PROGRAM:"button_unpress1");
2870             }
2871          }
2872       }
2873       program { name: "button_unpress1";
2874          script {
2875             new st[31];
2876             new Float:vl;
2877             get_state(PART:"effect_bg", st, 30, vl);
2878             if (strcmp(st, "disabled")) {
2879             if(get_int(click_cnt) == 0)
2880                set_int(click_cnt, 1);
2881             else
2882                set_int(click_cnt, 0);
2883             }
2884          }
2885       }
2886       program { name: "release.event_clicked";
2887          signal: "mouse,clicked,*";
2888          source: "cue.release.event";
2889          script {
2890             if (get_int(event_down) == 1) {
2891                set_int(event_down, 0);
2892                emit("cue,clicked", "elm");
2893                run_program(PROGRAM:"panel_toggle");
2894                run_program(PROGRAM:"play_sample");
2895             }
2896          }
2897       }
2898       program {
2899          name: "play_sample";
2900          action: RUN_PLUGIN "touch_sound";
2901       }
2902       program { name: "panel_toggle";
2903          action: SIGNAL_EMIT "elm,action,panel,toggle" "elm";
2904       }
2905       program {
2906          name: "haptic";
2907          action: RUN_PLUGIN "haptic_tap";
2908       }
2909       program { name: "disable";
2910          signal: "elm,state,disabled";
2911          source: "elm";
2912          script {
2913             if (get_int(cue_hide) == 0)
2914                set_state(PART:"cue", "disabled", 0.0);
2915             set_state(PART:"effect_bg", "disabled", 0.0);
2916             set_state(PART:"cue.event", "hidden", 0.0);
2917             set_state(PART:"cue.release.event", "hidden", 0.0);
2918          }
2919       }
2920       program { name: "enable";
2921          signal: "elm,state,enabled";
2922          source: "elm";
2923          script {
2924             if (get_int(cue_hide) == 1) {
2925                set_state(PART:"cue", "hidden", 0.0);
2926                set_state(PART:"cue.event", "hidden", 0.0);
2927                set_state(PART:"cue.release.event", "hidden", 0.0);
2928             }
2929             else {
2930                set_state(PART:"cue", "default", 0.0);
2931                set_state(PART:"cue.event", "default", 0.0);
2932                set_state(PART:"cue.release.event", "default", 0.0);
2933             }
2934             set_state(PART:"effect_bg", "default", 0.0);
2935          }
2936       }
2937       program { name: "multi_down";
2938          signal: "elm,action,multi,down";
2939          source: "elm";
2940          script {
2941             set_int(multi_down, 1);
2942          }
2943       }
2944       program { name: "multi_up";
2945          signal: "elm,action,multi,up";
2946          source: "elm";
2947          script {
2948             set_int(multi_down, 0);
2949          }
2950       }
2951       program { name: "start_persp";
2952          action: STATE_SET "start_persp" 0.0;
2953          transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
2954          target: "effect_bg";
2955       }
2956       program { name: "change_opacity";
2957          action: STATE_SET "default" 0.0;
2958          transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
2959          target: "effect_bg_clip";
2960       }
2961       program { name: "start_persp2";
2962          action: STATE_SET "start_persp" 0.0;
2963          transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
2964          target: "effect_bg2";
2965       }
2966       program { name: "change_opacity2";
2967          action: STATE_SET "default" 0.0;
2968          transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
2969          target: "effect_bg_clip2";
2970       }
2971       program {
2972          signal: "elm,action,show";
2973          source: "elm";
2974          action: STATE_SET "show" 0.0;
2975          transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0;
2976          target: "elm.swallow.content";
2977          target: "base";
2978          after: "active,finished";
2979       }
2980       program {
2981          signal: "elm,action,hide";
2982          source: "elm";
2983          action: STATE_SET "default" 0.0;
2984          transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0;
2985          target: "elm.swallow.content";
2986          target: "base";
2987          after: "inactive,finished";
2988       }
2989       program { name: "active,finished";
2990          action: SIGNAL_EMIT "elm,state,active,finished" "elm";
2991       }
2992       program { name: "inactive,finished";
2993          action: SIGNAL_EMIT "elm,state,inactive,finished" "elm";
2994       }
2995       program { name: "cue,hide";
2996          signal: "cue,hide";
2997          source: "elm";
2998          script {
2999             set_int(cue_hide, 1);
3000             set_state(PART:"cue", "hidden", 0.0);
3001             set_state(PART:"cue_ef", "hidden", 0.0);
3002             set_state(PART:"cue.event", "hidden", 0.0);
3003             set_state(PART:"cue.release.event", "hidden", 0.0);
3004          }
3005       }
3006       program { name: "cue,show";
3007          signal: "cue,show";
3008          source: "elm";
3009          script {
3010             set_int(cue_hide, 0);
3011             set_state(PART:"cue", "default", 0.0);
3012             set_state(PART:"cue_ef", "default", 0.0);
3013             set_state(PART:"cue.event", "default", 0.0);
3014             set_state(PART:"cue.release.event", "default", 0.0);
3015          }
3016       }
3017    }
3018 }
3019
3020 group { name: "elm/panel/left1/default";
3021    inherit: "elm/panel/right1/default";
3022    parts {
3023       part { name: "cue.padding";
3024          type: SPACER;
3025          description { state: "default" 0.0;
3026             rel1.to: "bg";
3027             rel1.relative: 0.0 0.0;
3028             rel2.to: "bg";
3029             rel2.relative: 0.0 1.0;
3030             align: 0.0 0.5;
3031             min: PANEL_RIGHT_PADDING_SIZE_INC 0;
3032             max: PANEL_RIGHT_PADDING_SIZE_INC -1;
3033             fixed: 1 0;
3034          }
3035       }
3036       part { name: "cue";
3037          description { state: "default" 0.0;
3038             min: PANEL_RIGHT_IMAGE_SIZE_INC;
3039             max: PANEL_RIGHT_IMAGE_SIZE_INC;
3040             fixed: 1 0;
3041             image.normal: "./b_more_option.png";
3042             color: 128 128 128 128;
3043             rel1.to: "cue.padding";
3044             rel1.relative: 1.0 0.0;
3045             rel2.to: "cue.padding";
3046             rel2.relative: 1.0 1.0;
3047             align: 0.0 0.5;
3048          }
3049          description { state: "hidden" 0.0;
3050             inherit: "default" 0.0;
3051             visible: 0;
3052          }
3053          description { state: "disabled" 0.0;
3054             inherit: "default" 0.0;
3055             color: 128 128 128 128;
3056          }
3057       }
3058       part { name: "cue_ef";
3059          description { state: "default" 0.0;
3060             min: PANEL_RIGHT_IMAGE_SIZE_INC;
3061             max: PANEL_RIGHT_IMAGE_SIZE_INC;
3062             fixed: 1 1;
3063             image.normal: "./b_more_option_ef.png";
3064             color: 128 128 128 128;
3065             rel1.to: "cue";
3066             rel2.to: "cue";
3067          }
3068          description { state: "hidden" 0.0;
3069             inherit: "default" 0.0;
3070             visible: 0;
3071          }
3072       }
3073       part { name: "effect_bg";
3074          scale: 1;
3075          clip_to: "effect_bg_clip";
3076          repeat_events: 1;
3077          description { state: "default" 0.0;
3078             min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3079             max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3080             rel1.to: "bg";
3081             rel1.relative: 0.0 0.0;
3082             rel2.to: "bg";
3083             rel2.relative: 0.0 1.0;
3084             align: 0.5 0.5;
3085             fixed: 1 0;
3086             image.normal: "./b_ic_press_full_circle_bg.png";
3087             color: 128 128 128 128;
3088             map.on: 1;
3089          }
3090          description { state: "pressed" 0.0;
3091             inherit: "default" 0.0;
3092             color: 128 128 128 128;
3093             map {
3094                zoom.x: 0.8;
3095                zoom.y: 0.8;
3096             }
3097          }
3098          description { state: "disabled" 0.0;
3099             inherit: "default" 0.0;
3100          }
3101          description { state: "start_persp" 0.0;
3102             inherit: "default" 0.0;
3103             color: 128 128 128 128;
3104             map {
3105                zoom.x: 1.0;
3106                zoom.y: 1.0;
3107             }
3108          }
3109       }
3110       part { name: "effect_bg_clip";
3111          scale: 1;
3112          type: RECT;
3113          repeat_events: 1;
3114          description { state: "default" 0.0;
3115             min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3116             max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3117             rel1.to: "bg";
3118             rel1.relative: 0.0 0.0;
3119             rel2.to: "bg";
3120             rel2.relative: 0.0 1.0;
3121             align: 0.5 0.5;
3122             fixed: 1 0;
3123             color: 255 255 255 0;
3124          }
3125          description { state: "pressed" 0.0;
3126             inherit: "default" 0.0;
3127             color: 255 255 255 255;
3128          }
3129          description { state: "disabled" 0.0;
3130             inherit: "default" 0.0;
3131          }
3132       }
3133       part { name: "effect_bg2";
3134          scale: 1;
3135          clip_to: "effect_bg_clip2";
3136          repeat_events: 1;
3137          description { state: "default" 0.0;
3138             min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3139             max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3140             rel1.to: "bg";
3141             rel1.relative: 0.0 0.0;
3142             rel2.to: "bg";
3143             rel2.relative: 0.0 1.0;
3144             align: 0.5 0.5;
3145             fixed: 1 0;
3146             image.normal: "./b_ic_press_full_circle_bg.png";
3147             //color_class: "transparent";
3148             color: 0 0 0 0;
3149             map.on: 1;
3150          }
3151          description { state: "pressed" 0.0;
3152             inherit: "default" 0.0;
3153             color: 128 128 128 128;
3154             map {
3155                zoom.x: 0.8;
3156                zoom.y: 0.8;
3157             }
3158          }
3159          description { state: "disabled" 0.0;
3160             inherit: "default" 0.0;
3161          }
3162          description { state: "start_persp" 0.0;
3163             inherit: "default" 0.0;
3164             color: 128 128 128 128;
3165             map {
3166                zoom.x: 1.0;
3167                zoom.y: 1.0;
3168             }
3169          }
3170       }
3171       part { name: "effect_bg_clip2";
3172          scale: 1;
3173          type: RECT;
3174          repeat_events: 1;
3175          description { state: "default" 0.0;
3176             min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3177             max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3178             rel1.to: "bg";
3179             rel1.relative: 0.0 0.0;
3180             rel2.to: "bg";
3181             rel2.relative: 0.0 1.0;
3182             align: 0.5 0.5;
3183             fixed: 1 0;
3184             color: 255 255 255 0;
3185          }
3186          description { state: "pressed" 0.0;
3187             inherit: "default" 0.0;
3188             color: 255 255 255 255;
3189          }
3190          description { state: "disabled" 0.0;
3191             inherit: "default" 0.0;
3192          }
3193       }
3194       part { name: "cue.event";
3195          type: RECT;
3196          description { state: "default" 0.0;
3197             min: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
3198             max: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
3199             fixed: 1 0;
3200             //color_class: "transparent";
3201             color: 0 0 0 0;
3202             rel1.to: "bg";
3203             rel1.relative: 0.0 0.0;
3204             rel2.to: "bg";
3205             rel2.relative: 0.0 1.0;
3206             align: 0.0 0.5;
3207          }
3208          description { state: "hidden" 0.0;
3209             inherit: "default" 0.0;
3210             visible: 0;
3211          }
3212       }
3213       part { name: "cue.release.event";
3214          type: RECT;
3215          repeat_events: 1;
3216          description { state: "default" 0.0;
3217             min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
3218             max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
3219             fixed: 1 0;
3220             //color_class: "transparent";
3221             color: 0 0 0 0;
3222             rel1.to: "bg";
3223             rel1.relative: 0.0 0.0;
3224             rel2.to: "bg";
3225             rel2.relative: 0.0 1.0;
3226             align: 0.0 0.5;
3227          }
3228          description { state: "hidden" 0.0;
3229             inherit: "default" 0.0;
3230             visible: 0;
3231          }
3232       }
3233    }
3234 }
3235
3236 group { name: "elm/panel/left_sending/default";
3237         inherit: "elm/panel/left1/default";
3238         parts {
3239                 part { name: "cue.padding";
3240                    type: SPACER;
3241                    description { state: "default" 0.0;
3242                           rel1.to: "bg";
3243                           rel1.relative: 0.0 0.0;
3244                           rel2.to: "bg";
3245                           rel2.relative: 0.0 1.0;
3246                           align: 0.0 0.5;
3247                           min: 1 0;//PANEL_RIGHT_PADDING_SIZE_INC 0;
3248                           max: 1 -1;//PANEL_RIGHT_PADDING_SIZE_INC -1;
3249                           fixed: 1 0;
3250                    }
3251                 }
3252                 part { name: "cue";
3253                    description { state: "default" 0.0;
3254                           min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3255                           max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3256                           fixed: 1 0;
3257                           image.normal: "./b_stt_send_icon.png";
3258                           color: 128 128 128 128;
3259                           rel1.to: "cue.padding";
3260                           rel1.relative: 1.0 0.0;
3261                           rel2.to: "cue.padding";
3262                           rel2.relative: 1.0 1.0;
3263                           align: 0.0 0.5;
3264                    }
3265                    description { state: "hidden" 0.0;
3266                           inherit: "default" 0.0;
3267                           visible: 0;
3268                    }
3269                    description { state: "disabled" 0.0;
3270                           inherit: "default" 0.0;
3271                           color_class: "AO015L2D";//"B052L1D";
3272                    }
3273                 }
3274                 part { name: "cue_ef";
3275                    description { state: "default" 0.0;
3276                           min: PANEL_RIGHT_IMAGE_SIZE_INC;
3277                           max: PANEL_RIGHT_IMAGE_SIZE_INC;
3278                           fixed: 1 1;
3279                           visible: 0;
3280                           image.normal: "./b_more_option_ef.png";
3281                           color: 128 128 128 128;
3282                           rel1.to: "cue";
3283                           rel2.to: "cue";
3284                    }
3285                    description { state: "hidden" 0.0;
3286                           inherit: "default" 0.0;
3287                           visible: 0;
3288                    }
3289                 }
3290         }
3291 }
3292
3293 group { name: "elm/panel/left_confirm/default";
3294         inherit: "elm/panel/left_sending/default";
3295         parts {
3296                 part { name: "cue";
3297                    description { state: "default" 0.0;
3298                           min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3299                           max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3300                           fixed: 1 0;
3301                           image.normal: "./b_stt_confirm_icon.png";
3302                           color: 128 128 128 128;
3303                           rel1.to: "cue.padding";
3304                           rel1.relative: 1.0 0.0;
3305                           rel2.to: "cue.padding";
3306                           rel2.relative: 1.0 1.0;
3307                           align: 0.0 0.5;
3308                    }
3309                    description { state: "hidden" 0.0;
3310                           inherit: "default" 0.0;
3311                           visible: 0;
3312                    }
3313                    description { state: "disabled" 0.0;
3314                           inherit: "default" 0.0;
3315                           color_class: "AO015L2D";//"B052L1D";
3316                    }
3317                 }
3318         }
3319 }
3320
3321 }