1 group { name: "elm/button/base/default";
2 alias: "elm/button/base/popup_button/default";
3 alias: "elm/button/base/datetime_ampm/default";
5 image: "bt_base1.png" COMP;
6 image: "bt_base2.png" COMP;
7 image: "bt_hilight.png" COMP;
8 image: "bt_shine.png" COMP;
9 image: "bt_glow.png" COMP;
10 image: "bt_dis_base.png" COMP;
11 image: "bt_dis_hilight.png" COMP;
14 part { name: "button_image";
16 description { state: "default" 0.0;
19 normal: "bt_base2.png";
24 description { state: "clicked" 0.0;
25 inherit: "default" 0.0;
26 image.normal: "bt_base1.png";
28 description { state: "disabled" 0.0;
29 inherit: "default" 0.0;
31 normal: "bt_dis_base.png";
36 part { name: "elm.swallow.content";
38 description { state: "default" 0.0;
44 rel2.relative: 0.0 1.0;
46 description { state: "visible" 0.0;
47 inherit: "default" 0.0;
51 // aspect_preference: VERTICAL;
54 description { state: "icononly" 0.0;
55 inherit: "default" 0.0;
61 rel2.relative: 1.0 1.0;
62 // aspect_preference: VERTICAL;
71 description { state: "default" 0.0;
73 rel1.to_x: "elm.swallow.content";
74 rel1.relative: 1.0 0.0;
77 color: 224 224 224 255;
80 font: "Sans,Edje-Vera";
87 description { state: "visible" 0.0;
88 inherit: "default" 0.0;
92 description { state: "disabled" 0.0;
93 inherit: "default" 0.0;
95 description { state: "disabled_visible" 0.0;
96 inherit: "default" 0.0;
103 part { name: "over1";
105 description { state: "default" 0.0;
106 rel2.relative: 1.0 0.5;
108 normal: "bt_hilight.png";
112 description { state: "disabled" 0.0;
113 inherit: "default" 0.0;
115 normal: "bt_dis_hilight.png";
120 part { name: "over2";
123 ignore_flags: ON_HOLD;
124 description { state: "default" 0.0;
126 normal: "bt_shine.png";
130 description { state: "disabled" 0.0;
131 inherit: "default" 0.0;
135 part { name: "over3";
138 description { state: "default" 0.0;
139 color: 255 255 255 0;
141 normal: "bt_glow.png";
146 description { state: "clicked" 0.0;
147 inherit: "default" 0.0;
148 color: 255 255 255 255;
151 part { name: "disabler";
153 description { state: "default" 0.0;
157 description { state: "disabled" 0.0;
158 inherit: "default" 0.0;
165 name: "button_click";
166 signal: "mouse,down,1";
168 action: SIGNAL_EMIT "elm,action,press" "";
169 after: "button_click_anim";
172 name: "button_click_anim";
173 action: STATE_SET "clicked" 0.0;
174 target: "button_image";
177 name: "button_unclick";
178 signal: "mouse,up,1";
180 action: SIGNAL_EMIT "elm,action,unpress" "";
181 after: "button_unclick_anim";
184 name: "button_pressed_anim";
185 signal: "elm,anim,activate";
187 action: STATE_SET "clicked" 0.0;
188 target: "button_image";
190 after: "button_unpressed_anim";
193 name: "button_unpressed_anim";
194 action: STATE_SET "default" 0.0;
195 transition: DECELERATE 0.5;
196 target: "button_image";
200 name: "button_unclick_anim";
201 action: STATE_SET "default" 0.0;
202 target: "button_image";
205 name: "button_click2";
206 signal: "mouse,down,1";
208 action: STATE_SET "clicked" 0.0;
212 name: "button_unclick2";
213 signal: "mouse,up,1";
215 action: STATE_SET "default" 0.0;
216 transition: DECELERATE 0.5;
220 name: "button_unclick3";
221 signal: "mouse,clicked,1";
223 action: SIGNAL_EMIT "elm,action,click" "";
225 program { name: "text_show";
226 signal: "elm,state,text,visible";
231 get_state(PART:"elm.swallow.content", st, 30, vl);
232 if (!strcmp(st, "icononly"))
233 set_state(PART:"elm.swallow.content", "visible", 0.0);
234 get_state(PART:"elm.text", st, 30, vl);
235 if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
236 set_state(PART:"elm.text", "disabled_visible", 0.0);
238 set_state(PART:"elm.text", "visible", 0.0);
241 program { name: "text_hide";
242 signal: "elm,state,text,hidden";
247 get_state(PART:"elm.swallow.content", st, 30, vl);
248 if (!strcmp(st, "visible"))
249 set_state(PART:"elm.swallow.content", "icononly", 0.0);
250 set_state(PART:"elm.text", "default", 0.0);
251 get_state(PART:"elm.text", st, 30, vl);
252 if (!strcmp(st, "default") || (!strcmp(st, "visible")))
253 set_state(PART:"elm.text", "default", 0.0);
255 set_state(PART:"elm.text", "disabled", 0.0);
258 program { name: "icon_show";
259 signal: "elm,state,icon,visible";
264 get_state(PART:"elm.text", st, 30, vl);
265 if (!strcmp(st, "visible"))
266 set_state(PART:"elm.swallow.content", "visible", 0.0);
268 set_state(PART:"elm.swallow.content", "icononly", 0.0);
271 program { name: "icon_hide";
272 signal: "elm,state,icon,hidden";
274 action: STATE_SET "default" 0.0;
275 target: "elm.swallow.content";
277 program { name: "disable";
278 signal: "elm,state,disabled";
283 set_state(PART:"button_image", "disabled", 0.0);
284 set_state(PART:"over1", "disabled", 0.0);
285 set_state(PART:"over2", "disabled", 0.0);
286 set_state(PART:"disabler", "disabled", 0.0);
287 get_state(PART:"elm.text", st, 30, vl);
288 if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
289 set_state(PART:"elm.text", "disabled_visible", 0.0);
291 set_state(PART:"elm.text", "disabled", 0.0);
294 program { name: "enable";
295 signal: "elm,state,enabled";
300 set_state(PART:"button_image", "visible", 0.0);
301 set_state(PART:"over1", "visible", 0.0);
302 set_state(PART:"over2", "visible", 0.0);
303 set_state(PART:"disabler", "visible", 0.0);
304 get_state(PART:"elm.text", st, 30, vl);
305 if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
306 set_state(PART:"elm.text", "visible", 0.0);
308 set_state(PART:"elm.text", "default", 0.0);
314 group { name: "elm/button/base/hoversel_vertical/default";
315 alias: "elm/button/base/hoversel_vertical/entry";
316 alias: "elm/button/base/hoversel_horizontal/default";
317 alias: "elm/button/base/hoversel_horizontal/entry";
319 image: "bt_base1.png" COMP;
320 image: "bt_base2.png" COMP;
321 image: "bt_hilight.png" COMP;
322 image: "bt_shine.png" COMP;
323 image: "bt_glow.png" COMP;
324 image: "updown.png" COMP;
325 image: "bt_dis_base.png" COMP;
326 image: "bt_dis_hilight.png" COMP;
329 part { name: "button_image";
331 description { state: "default" 0.0;
333 normal: "bt_base2.png";
338 description { state: "clicked" 0.0;
339 inherit: "default" 0.0;
340 image.normal: "bt_base1.png";
343 description { state: "disabled" 0.0;
344 inherit: "default" 0.0;
346 normal: "bt_dis_base.png";
351 part { name: "arrow";
353 description { state: "default" 0.0;
354 image.normal: "updown.png";
355 aspect: 0.6666666666 0.6666666666;
356 aspect_preference: VERTICAL;
359 rel2.relative: 0.0 1.0;
363 part { name: "elm.swallow.content";
365 description { state: "default" 0.0;
380 description { state: "visible" 0.0;
381 inherit: "default" 0.0;
385 aspect_preference: VERTICAL;
388 description { state: "icononly" 0.0;
389 inherit: "default" 0.0;
395 to_x: "button_image";
399 aspect_preference: VERTICAL;
408 description { state: "default" 0.0;
410 rel1.to_x: "elm.swallow.content";
411 rel1.relative: 1.0 0.0;
414 color: 224 224 224 255;
417 font: "Sans,Edje-Vera";
421 text_class: "button";
424 description { state: "visible" 0.0;
425 inherit: "default" 0.0;
429 description { state: "disabled" 0.0;
430 inherit: "default" 0.0;
434 description { state: "disabled_visible" 0.0;
435 inherit: "default" 0.0;
442 part { name: "over1";
444 description { state: "default" 0.0;
445 rel2.relative: 1.0 0.5;
447 normal: "bt_hilight.png";
451 description { state: "disabled" 0.0;
452 inherit: "default" 0.0;
454 normal: "bt_dis_hilight.png";
459 part { name: "over2";
462 ignore_flags: ON_HOLD;
463 description { state: "default" 0.0;
465 normal: "bt_shine.png";
469 description { state: "disabled" 0.0;
470 inherit: "default" 0.0;
474 part { name: "over3";
477 description { state: "default" 0.0;
478 color: 255 255 255 0;
480 normal: "bt_glow.png";
485 description { state: "clicked" 0.0;
486 inherit: "default" 0.0;
488 color: 255 255 255 255;
491 part { name: "disabler";
493 description { state: "default" 0.0;
497 description { state: "disabled" 0.0;
498 inherit: "default" 0.0;
505 name: "button_click";
506 signal: "mouse,down,1";
508 action: STATE_SET "clicked" 0.0;
509 target: "button_image";
512 name: "button_unclick";
513 signal: "mouse,up,1";
515 action: STATE_SET "default" 0.0;
516 target: "button_image";
519 name: "button_click2";
520 signal: "mouse,down,1";
522 action: STATE_SET "clicked" 0.0;
526 name: "button_unclick2";
527 signal: "mouse,up,1";
529 action: STATE_SET "default" 0.0;
530 transition: DECELERATE 0.5;
534 name: "button_unclick3";
535 signal: "mouse,up,1";
537 action: SIGNAL_EMIT "elm,action,click" "";
539 program { name: "text_show";
540 signal: "elm,state,text,visible";
545 get_state(PART:"elm.swallow.content", st, 30, vl);
546 if (!strcmp(st, "icononly"))
547 set_state(PART:"elm.swallow.content", "visible", 0.0);
548 set_state(PART:"elm.text", "visible", 0.0);
551 program { name: "text_hide";
552 signal: "elm,state,text,hidden";
557 get_state(PART:"elm.swallow.content", st, 30, vl);
558 if (!strcmp(st, "visible"))
559 set_state(PART:"elm.swallow.content", "icononly", 0.0);
560 set_state(PART:"elm.text", "default", 0.0);
563 program { name: "icon_show";
564 signal: "elm,state,icon,visible";
569 get_state(PART:"elm.text", st, 30, vl);
570 if (!strcmp(st, "visible"))
571 set_state(PART:"elm.swallow.content", "visible", 0.0);
573 set_state(PART:"elm.swallow.content", "icononly", 0.0);
576 program { name: "icon_hide";
577 signal: "elm,state,icon,hidden";
579 action: STATE_SET "default" 0.0;
580 target: "elm.swallow.content";
582 program { name: "disable";
583 signal: "elm,state,disabled";
585 action: STATE_SET "disabled" 0.0;
586 target: "button_image";
590 after: "disable_text";
592 program { name: "disable_text";
596 get_state(PART:"elm.text", st, 30, vl);
597 if (!strcmp(st, "visible"))
598 set_state(PART:"elm.text", "disabled_visible", 0.0);
600 set_state(PART:"elm.text", "disabled", 0.0);
603 program { name: "enable";
604 signal: "elm,state,enabled";
606 action: STATE_SET "default" 0.0;
607 target: "button_image";
611 after: "enable_text";
613 program { name: "enable_text";
617 get_state(PART:"elm.text", st, 30, vl);
618 if (!strcmp(st, "disabled_visible"))
619 set_state(PART:"elm.text", "visible", 0.0);
621 set_state(PART:"elm.text", "default", 0.0);
627 group { name: "elm/button/base/hoversel_vertical_entry/default";
628 alias: "elm/button/base/hoversel_vertical_entry/entry";
629 alias: "elm/button/base/hoversel_horizontal_entry/default";
630 alias: "elm/button/base/hoversel_horizontal_entry/entry";
632 image: "hoversel_entry_bg.png" COMP;
635 part { name: "button_image";
637 description { state: "default" 0.0;
638 color: 255 255 255 0;
639 image.normal: "hoversel_entry_bg.png";
640 image.border: 0 0 2 2;
643 description { state: "clicked" 0.0;
644 inherit: "default" 0.0;
645 color: 255 255 255 255;
648 part { name: "elm.swallow.content";
650 description { state: "default" 0.0;
655 rel2.relative: 0.0 1.0;
657 description { state: "visible" 0.0;
658 inherit: "default" 0.0;
661 aspect_preference: VERTICAL;
664 description { state: "icononly" 0.0;
665 inherit: "default" 0.0;
670 rel2.relative: 1.0 1.0;
671 aspect_preference: VERTICAL;
674 part { name: "textvis";
677 description { state: "default" 0.0;
680 description { state: "visible" 0.0;
691 description { state: "default" 0.0;
692 rel1.to_x: "elm.swallow.content";
693 rel1.relative: 1.0 0.0;
696 color: 224 224 224 255;
699 font: "Sans,Edje-Vera";
703 text_class: "button";
706 description { state: "visible" 0.0;
707 inherit: "default" 0.0;
710 description { state: "clicked" 0.0;
711 inherit: "default" 0.0;
717 part { name: "over2";
720 description { state: "default" 0.0;
727 name: "button_click";
728 signal: "mouse,down,1";
730 action: STATE_SET "clicked" 0.0;
731 target: "button_image";
735 name: "button_unclick";
736 signal: "mouse,up,1";
738 action: STATE_SET "default" 0.0;
739 target: "button_image";
743 name: "button_unclick3";
744 signal: "mouse,up,1";
746 action: SIGNAL_EMIT "elm,action,click" "";
748 program { name: "text_show";
749 signal: "elm,state,text,visible";
754 get_state(PART:"elm.swallow.content", st, 30, vl);
755 if (!strcmp(st, "icononly"))
756 set_state(PART:"elm.swallow.content", "visible", 0.0);
757 set_state(PART:"textvis", "visible", 0.0);
758 set_state(PART:"elm.text", "visible", 0.0);
761 program { name: "text_hide";
762 signal: "elm,state,text,hidden";
767 get_state(PART:"elm.swallow.content", st, 30, vl);
768 if (!strcmp(st, "visible"))
769 set_state(PART:"elm.swallow.content", "icononly", 0.0);
770 set_state(PART:"textvis", "default", 0.0);
771 set_state(PART:"elm.text", "default", 0.0);
774 program { name: "icon_show";
775 signal: "elm,state,icon,visible";
780 get_state(PART:"textvis", st, 30, vl);
781 if (!strcmp(st, "visible"))
782 set_state(PART:"elm.swallow.content", "visible", 0.0);
784 set_state(PART:"elm.swallow.content", "icononly", 0.0);
787 program { name: "icon_hide";
788 signal: "elm,state,icon,hidden";
790 action: STATE_SET "default" 0.0;
791 target: "elm.swallow.content";
796 group { name: "elm/button/base/anchor";
798 image: "bt_base1.png" COMP;
799 image: "bt_base2.png" COMP;
800 image: "bt_hilight.png" COMP;
801 image: "bt_shine.png" COMP;
802 image: "bt_glow.png" COMP;
803 image: "bt_dis_base.png" COMP;
804 image: "bt_dis_hilight.png" COMP;
807 part { name: "button_image";
809 description { state: "default" 0.0;
811 color: 255 255 255 0;
813 normal: "bt_base2.png";
818 description { state: "visible" 0.0;
819 inherit: "default" 0.0;
820 color: 255 255 255 255;
822 description { state: "clicked" 0.0;
823 inherit: "default" 0.0;
824 inherit: "visible" 0.0;
825 image.normal: "bt_base1.png";
828 description { state: "disabled" 0.0;
829 inherit: "default" 0.0;
830 inherit: "visible" 0.0;
832 normal: "bt_dis_base.png";
837 part { name: "elm.swallow.content";
839 description { state: "default" 0.0;
845 rel2.relative: 0.0 1.0;
847 description { state: "visible" 0.0;
848 inherit: "default" 0.0;
852 aspect_preference: VERTICAL;
855 description { state: "icononly" 0.0;
856 inherit: "default" 0.0;
862 rel2.relative: 1.0 1.0;
863 aspect_preference: VERTICAL;
872 description { state: "default" 0.0;
874 rel1.to_x: "elm.swallow.content";
875 rel1.relative: 1.0 0.0;
878 color: 224 224 224 255;
881 font: "Sans,Edje-Vera";
885 text_class: "button";
888 description { state: "visible" 0.0;
889 inherit: "default" 0.0;
893 description { state: "disabled" 0.0;
894 inherit: "default" 0.0;
896 description { state: "disabled_visible" 0.0;
897 inherit: "default" 0.0;
904 part { name: "over1";
906 description { state: "default" 0.0;
907 color: 255 255 255 0;
908 rel2.relative: 1.0 0.5;
910 normal: "bt_hilight.png";
914 description { state: "visible" 0.0;
915 inherit: "default" 0.0;
916 color: 255 255 255 255;
918 description { state: "disabled" 0.0;
919 inherit: "default" 0.0;
920 inherit: "visible" 0.0;
922 normal: "bt_dis_hilight.png";
927 part { name: "over2";
930 ignore_flags: ON_HOLD;
931 description { state: "default" 0.0;
933 normal: "bt_shine.png";
937 description { state: "disabled" 0.0;
938 inherit: "default" 0.0;
942 part { name: "over3";
945 description { state: "default" 0.0;
946 color: 255 255 255 0;
948 normal: "bt_glow.png";
953 description { state: "clicked" 0.0;
954 inherit: "default" 0.0;
956 color: 255 255 255 255;
959 part { name: "disabler";
961 description { state: "default" 0.0;
965 description { state: "disabled" 0.0;
966 inherit: "default" 0.0;
973 name: "button_mouse_in";
976 action: STATE_SET "visible" 0.0;
977 target: "button_image";
979 transition: DECELERATE 0.5;
982 name: "button_mouse_out";
985 action: STATE_SET "default" 0.0;
986 target: "button_image";
988 transition: DECELERATE 0.5;
991 name: "button_unclick";
992 signal: "mouse,up,1";
994 action: STATE_SET "visible" 0.0;
995 target: "button_image";
998 name: "button_click2";
999 signal: "mouse,down,1";
1001 action: STATE_SET "clicked" 0.0;
1005 name: "button_unclick2";
1006 signal: "mouse,up,1";
1008 action: STATE_SET "default" 0.0;
1009 transition: DECELERATE 0.5;
1013 name: "button_unclick3";
1014 signal: "mouse,up,1";
1016 action: SIGNAL_EMIT "elm,action,click" "";
1018 program { name: "text_show";
1019 signal: "elm,state,text,visible";
1024 get_state(PART:"elm.swallow.content", st, 30, vl);
1025 if (!strcmp(st, "icononly"))
1026 set_state(PART:"elm.swallow.content", "visible", 0.0);
1027 get_state(PART:"elm.text", st, 30, vl);
1028 if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
1029 set_state(PART:"elm.text", "disabled_visible", 0.0);
1031 set_state(PART:"elm.text", "visible", 0.0);
1034 program { name: "text_hide";
1035 signal: "elm,state,text,hidden";
1040 get_state(PART:"elm.swallow.content", st, 30, vl);
1041 if (!strcmp(st, "visible"))
1042 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1043 get_state(PART:"elm.text", st, 30, vl);
1044 if (!strcmp(st, "default") || (!strcmp(st, "visible")))
1045 set_state(PART:"elm.text", "default", 0.0);
1047 set_state(PART:"elm.text", "disabled", 0.0);
1050 program { name: "icon_show";
1051 signal: "elm,state,icon,visible";
1056 get_state(PART:"elm.text", st, 30, vl);
1057 if (!strcmp(st, "visible"))
1058 set_state(PART:"elm.swallow.content", "visible", 0.0);
1060 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1063 program { name: "icon_hide";
1064 signal: "elm,state,icon,hidden";
1066 action: STATE_SET "default" 0.0;
1067 target: "elm.swallow.content";
1069 program { name: "disable";
1070 signal: "elm,state,disabled";
1075 set_state(PART:"button_image", "disabled", 0.0);
1076 set_state(PART:"over1", "disabled", 0.0);
1077 set_state(PART:"over2", "disabled", 0.0);
1078 set_state(PART:"disabler", "disabled", 0.0);
1079 get_state(PART:"elm.text", st, 30, vl);
1080 if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
1081 set_state(PART:"elm.text", "disabled_visible", 0.0);
1083 set_state(PART:"elm.text", "disabled", 0.0);
1086 program { name: "enable";
1087 signal: "elm,state,enabled";
1092 set_state(PART:"button_image", "visible", 0.0);
1093 set_state(PART:"over1", "visible", 0.0);
1094 set_state(PART:"over2", "visible", 0.0);
1095 set_state(PART:"disabler", "visible", 0.0);
1096 get_state(PART:"elm.text", st, 30, vl);
1097 if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
1098 set_state(PART:"elm.text", "visible", 0.0);
1100 set_state(PART:"elm.text", "default", 0.0);
1105 group { name: "elm/button/base/naviframe/back_btn/default";
1107 image: "bt_base1.png" COMP;
1108 image: "bt_base2.png" COMP;
1109 image: "bt_hilight.png" COMP;
1110 image: "bt_shine.png" COMP;
1111 image: "bt_glow.png" COMP;
1112 image: "bt_dis_base.png" COMP;
1113 image: "bt_dis_hilight.png" COMP;
1114 image: "icon_left_arrow.png" COMP;
1117 part { name: "button_image";
1119 description { state: "default" 0.0;
1122 normal: "bt_base2.png";
1125 image.middle: SOLID;
1127 description { state: "clicked" 0.0;
1128 inherit: "default" 0.0;
1129 image.normal: "bt_base1.png";
1131 description { state: "disabled" 0.0;
1132 inherit: "default" 0.0;
1134 normal: "bt_dis_base.png";
1139 part { name: "prev_image";
1142 description { state: "default" 0.0;
1147 image.normal: "icon_left_arrow.png";
1150 part { name: "over1";
1152 description { state: "default" 0.0;
1153 rel2.relative: 1.0 0.5;
1155 normal: "bt_hilight.png";
1159 description { state: "disabled" 0.0;
1160 inherit: "default" 0.0;
1162 normal: "bt_dis_hilight.png";
1167 part { name: "over2";
1170 ignore_flags: ON_HOLD;
1171 description { state: "default" 0.0;
1173 normal: "bt_shine.png";
1177 description { state: "disabled" 0.0;
1178 inherit: "default" 0.0;
1182 part { name: "over3";
1185 description { state: "default" 0.0;
1186 color: 255 255 255 0;
1188 normal: "bt_glow.png";
1189 border: 12 12 12 12;
1193 description { state: "clicked" 0.0;
1194 inherit: "default" 0.0;
1195 color: 255 255 255 255;
1198 part { name: "disabler";
1200 description { state: "default" 0.0;
1204 description { state: "disabled" 0.0;
1205 inherit: "default" 0.0;
1212 name: "button_click";
1213 signal: "mouse,down,1";
1215 action: SIGNAL_EMIT "elm,action,press" "";
1216 after: "button_click_anim";
1219 name: "button_click_anim";
1220 action: STATE_SET "clicked" 0.0;
1221 target: "button_image";
1224 name: "button_unclick";
1225 signal: "mouse,up,1";
1227 action: SIGNAL_EMIT "elm,action,unpress" "";
1228 after: "button_unclick_anim";
1231 name: "button_pressed_anim";
1232 signal: "elm,anim,activate";
1234 action: STATE_SET "clicked" 0.0;
1235 target: "button_image";
1237 after: "button_unpressed_anim";
1240 name: "button_unpressed_anim";
1241 action: STATE_SET "default" 0.0;
1242 transition: DECELERATE 0.5;
1243 target: "button_image";
1247 name: "button_unclick_anim";
1248 action: STATE_SET "default" 0.0;
1249 target: "button_image";
1252 name: "button_click2";
1253 signal: "mouse,down,1";
1255 action: STATE_SET "clicked" 0.0;
1259 name: "button_unclick2";
1260 signal: "mouse,up,1";
1262 action: STATE_SET "default" 0.0;
1263 transition: DECELERATE 0.5;
1267 name: "button_unclick3";
1268 signal: "mouse,clicked,1";
1270 action: SIGNAL_EMIT "elm,action,click" "";
1272 program { name: "disable";
1273 signal: "elm,state,disabled";
1275 action: STATE_SET "disabled" 0.0;
1276 target: "button_image";
1281 program { name: "enable";
1282 signal: "elm,state,enabled";
1284 action: STATE_SET "default" 0.0;
1285 target: "button_image";
1293 group { name: "elm/button/base/colorselector/left/default";
1295 image: "bt_base1.png" COMP;
1296 image: "bt_base2.png" COMP;
1297 image: "bt_hilight.png" COMP;
1298 image: "bt_shine.png" COMP;
1299 image: "bt_glow.png" COMP;
1300 image: "bt_dis_base.png" COMP;
1301 image: "bt_dis_hilight.png" COMP;
1302 image: "sp_bt_l.png" COMP;
1305 part { name: "button_image";
1307 description { state: "default" 0.0;
1310 normal: "bt_base2.png";
1313 image.middle: SOLID;
1315 description { state: "clicked" 0.0;
1316 inherit: "default" 0.0;
1317 image.normal: "bt_base1.png";
1319 description { state: "disabled" 0.0;
1320 inherit: "default" 0.0;
1322 normal: "bt_dis_base.png";
1327 part { name: "prev_image";
1330 description { state: "default" 0.0;
1335 image.normal: "sp_bt_l.png";
1338 part { name: "over1";
1340 description { state: "default" 0.0;
1341 rel2.relative: 1.0 0.5;
1343 normal: "bt_hilight.png";
1347 description { state: "disabled" 0.0;
1348 inherit: "default" 0.0;
1350 normal: "bt_dis_hilight.png";
1355 part { name: "over2";
1358 ignore_flags: ON_HOLD;
1359 description { state: "default" 0.0;
1361 normal: "bt_shine.png";
1365 description { state: "disabled" 0.0;
1366 inherit: "default" 0.0;
1370 part { name: "over3";
1373 description { state: "default" 0.0;
1374 color: 255 255 255 0;
1376 normal: "bt_glow.png";
1377 border: 12 12 12 12;
1381 description { state: "clicked" 0.0;
1382 inherit: "default" 0.0;
1383 color: 255 255 255 255;
1386 part { name: "disabler";
1388 description { state: "default" 0.0;
1392 description { state: "disabled" 0.0;
1393 inherit: "default" 0.0;
1400 name: "button_click";
1401 signal: "mouse,down,1";
1403 action: SIGNAL_EMIT "elm,action,press" "";
1404 after: "button_click_anim";
1407 name: "button_click_anim";
1408 action: STATE_SET "clicked" 0.0;
1409 target: "button_image";
1412 name: "button_unclick";
1413 signal: "mouse,up,1";
1415 action: SIGNAL_EMIT "elm,action,unpress" "";
1416 after: "button_unclick_anim";
1419 name: "button_pressed_anim";
1420 signal: "elm,anim,activate";
1422 action: STATE_SET "clicked" 0.0;
1423 target: "button_image";
1425 after: "button_unpressed_anim";
1428 name: "button_unpressed_anim";
1429 action: STATE_SET "default" 0.0;
1430 transition: DECELERATE 0.5;
1431 target: "button_image";
1435 name: "button_unclick_anim";
1436 action: STATE_SET "default" 0.0;
1437 target: "button_image";
1440 name: "button_click2";
1441 signal: "mouse,down,1";
1443 action: STATE_SET "clicked" 0.0;
1447 name: "button_unclick2";
1448 signal: "mouse,up,1";
1450 action: STATE_SET "default" 0.0;
1451 transition: DECELERATE 0.5;
1455 name: "button_unclick3";
1456 signal: "mouse,clicked,1";
1458 action: SIGNAL_EMIT "elm,action,click" "";
1460 program { name: "disable";
1461 signal: "elm,state,disabled";
1463 action: STATE_SET "disabled" 0.0;
1464 target: "button_image";
1469 program { name: "enable";
1470 signal: "elm,state,enabled";
1472 action: STATE_SET "default" 0.0;
1473 target: "button_image";
1481 group { name: "elm/button/base/colorselector/right/default";
1483 image: "bt_base1.png" COMP;
1484 image: "bt_base2.png" COMP;
1485 image: "bt_hilight.png" COMP;
1486 image: "bt_shine.png" COMP;
1487 image: "bt_glow.png" COMP;
1488 image: "bt_dis_base.png" COMP;
1489 image: "bt_dis_hilight.png" COMP;
1490 image: "sp_bt_r.png" COMP;
1493 part { name: "button_image";
1495 description { state: "default" 0.0;
1498 normal: "bt_base2.png";
1501 image.middle: SOLID;
1503 description { state: "clicked" 0.0;
1504 inherit: "default" 0.0;
1505 image.normal: "bt_base1.png";
1507 description { state: "disabled" 0.0;
1508 inherit: "default" 0.0;
1510 normal: "bt_dis_base.png";
1515 part { name: "prev_image";
1518 description { state: "default" 0.0;
1523 image.normal: "sp_bt_r.png";
1526 part { name: "over1";
1528 description { state: "default" 0.0;
1529 rel2.relative: 1.0 0.5;
1531 normal: "bt_hilight.png";
1535 description { state: "disabled" 0.0;
1536 inherit: "default" 0.0;
1538 normal: "bt_dis_hilight.png";
1543 part { name: "over2";
1546 ignore_flags: ON_HOLD;
1547 description { state: "default" 0.0;
1549 normal: "bt_shine.png";
1553 description { state: "disabled" 0.0;
1554 inherit: "default" 0.0;
1558 part { name: "over3";
1561 description { state: "default" 0.0;
1562 color: 255 255 255 0;
1564 normal: "bt_glow.png";
1565 border: 12 12 12 12;
1569 description { state: "clicked" 0.0;
1570 inherit: "default" 0.0;
1571 color: 255 255 255 255;
1574 part { name: "disabler";
1576 description { state: "default" 0.0;
1580 description { state: "disabled" 0.0;
1581 inherit: "default" 0.0;
1588 name: "button_click";
1589 signal: "mouse,down,1";
1591 action: SIGNAL_EMIT "elm,action,press" "";
1592 after: "button_click_anim";
1595 name: "button_click_anim";
1596 action: STATE_SET "clicked" 0.0;
1597 target: "button_image";
1600 name: "button_unclick";
1601 signal: "mouse,up,1";
1603 action: SIGNAL_EMIT "elm,action,unpress" "";
1604 after: "button_unclick_anim";
1607 name: "button_pressed_anim";
1608 signal: "elm,anim,activate";
1610 action: STATE_SET "clicked" 0.0;
1611 target: "button_image";
1613 after: "button_unpressed_anim";
1616 name: "button_unpressed_anim";
1617 action: STATE_SET "default" 0.0;
1618 transition: DECELERATE 0.5;
1619 target: "button_image";
1623 name: "button_unclick_anim";
1624 action: STATE_SET "default" 0.0;
1625 target: "button_image";
1628 name: "button_click2";
1629 signal: "mouse,down,1";
1631 action: STATE_SET "clicked" 0.0;
1635 name: "button_unclick2";
1636 signal: "mouse,up,1";
1638 action: STATE_SET "default" 0.0;
1639 transition: DECELERATE 0.5;
1643 name: "button_unclick3";
1644 signal: "mouse,clicked,1";
1646 action: SIGNAL_EMIT "elm,action,click" "";
1648 program { name: "disable";
1649 signal: "elm,state,disabled";
1651 action: STATE_SET "disabled" 0.0;
1652 target: "button_image";
1657 program { name: "enable";
1658 signal: "elm,state,enabled";
1660 action: STATE_SET "default" 0.0;
1661 target: "button_image";