1 #define ITEM_STATE_ENABLED 0
2 #define ITEM_STATE_DISABLED 1
4 #define BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC 16 16
6 group { name: "elm/toolbar/base/default";
8 image: "bt_dis_base.png" COMP;
9 image: "bt_dis_hilight.png" COMP;
10 image: "bt_dis_shine.png" COMP;
11 image: "arrow_right.png" COMP;
12 image: "arrow_left.png" COMP;
13 image: "arrow_up.png" COMP;
14 image: "arrow_down.png" COMP;
19 description { state: "default" 0.0;
26 normal: "bt_dis_base.png";
32 part { name: "clipper";
47 part { name: "elm.swallow.content";
58 description { state: "default" 0.0;
62 normal: "bt_dis_shine.png";
69 description { state: "default" 0.0;
72 rel2.relative: 1.0 0.5;
74 normal: "bt_dis_hilight.png";
77 color: 255 255 255 128;
80 part { name: "event"; type: RECT;
83 description { state: "default" 0.0;
87 part { name: "left_arrow";
89 description { state: "default" 0.0;
90 image.normal: "arrow_left.png";
96 description { state: "visible" 0.0;
97 inherit: "default" 0.0;
101 part { name: "right_arrow";
103 description { state: "default" 0.0;
104 image.normal: "arrow_right.png";
110 description { state: "visible" 0.0;
111 inherit: "default" 0.0;
115 part { name: "up_arrow";
117 description { state: "default" 0.0;
118 image.normal: "arrow_up.png";
124 description { state: "visible" 0.0;
125 inherit: "default" 0.0;
129 part { name: "down_arrow";
131 description { state: "default" 0.0;
132 image.normal: "arrow_down.png";
138 description { state: "visible" 0.0;
139 inherit: "default" 0.0;
145 program { name: "left_show";
146 signal: "elm,action,show,left";
148 action: STATE_SET "visible" 0.0;
149 target: "left_arrow";
151 program { name: "left_hide";
152 signal: "elm,action,hide,left";
154 action: STATE_SET "default" 0.0;
155 target: "left_arrow";
157 program { name: "right_show";
158 signal: "elm,action,show,right";
160 action: STATE_SET "visible" 0.0;
161 target: "right_arrow";
163 program { name: "right_hide";
164 signal: "elm,action,hide,right";
166 action: STATE_SET "default" 0.0;
167 target: "right_arrow";
169 program { name: "up_show";
170 signal: "elm,action,show,up";
172 action: STATE_SET "visible" 0.0;
175 program { name: "up_hide";
176 signal: "elm,action,hide,up";
178 action: STATE_SET "default" 0.0;
181 program { name: "down_show";
182 signal: "elm,action,show,down";
184 action: STATE_SET "visible" 0.0;
185 target: "down_arrow";
187 program { name: "down_hide";
188 signal: "elm,action,hide,down";
190 action: STATE_SET "default" 0.0;
191 target: "down_arrow";
193 program { name: "left_go";
194 signal: "mouse,up,1";
195 source: "left_arrow";
196 action: SIGNAL_EMIT "elm,action,left" "elm";
198 program { name: "right_go";
199 signal: "mouse,up,1";
200 source: "right_arrow";
201 action: SIGNAL_EMIT "elm,action,right" "elm";
203 program { name: "up_go";
204 signal: "mouse,up,1";
206 action: SIGNAL_EMIT "elm,action,up" "elm";
208 program { name: "down_go";
209 signal: "mouse,up,1";
210 source: "down_arrow";
211 action: SIGNAL_EMIT "elm,action,down" "elm";
216 group { name: "elm/toolbar/more/default";
218 image: "toolbar_separator_h.png" COMP;
223 description { state: "default" 0.0;
224 rel1.relative: 0.0 0.0;
225 rel2.relative: 1.0 0.0;
227 normal: "bt_dis_base.png";
232 description { state: "open" 0.0;
233 inherit: "default" 0.0;
234 rel2.relative: 1.0 1.0;
236 description { state: "open2" 0.0;
237 inherit: "default" 0.0;
238 rel2.relative: 1.0 2.0;
241 part { name: "clipper";
245 state: "default" 0.0;
256 description { state: "open" 0.0;
257 inherit: "default" 0.0;
258 rel2.relative: 1.0 1.0;
260 description { state: "open2" 0.0;
261 inherit: "default" 0.0;
262 rel2.relative: 1.0 0.5;
266 part { name: "clipper2";
270 state: "default" 0.0;
282 description { state: "open" 0.0;
283 inherit: "default" 0.0;
284 rel1.relative: 0.0 1.0;
286 description { state: "open2" 0.0;
287 inherit: "default" 0.0;
288 rel1.relative: 0.0 0.5;
291 part { name: "elm.swallow.content";
295 state: "default" 0.0;
301 part { name: "elm.swallow.content2";
305 state: "default" 0.0;
311 part { name: "separator2";
313 description { state: "default" 0.0;
328 normal: "toolbar_separator_h.png";
336 part { name: "over2";
338 description { state: "default" 0.0;
342 normal: "bt_dis_shine.png";
347 part { name: "over1";
349 description { state: "default" 0.0;
352 rel2.relative: 1.0 0.5;
354 normal: "bt_dis_hilight.png";
357 color: 255 255 255 128;
362 program { name: "open";
363 signal: "elm,state,open";
365 action: STATE_SET "open" 0.0;
369 transition: BOUNCE 0.8 1.0 3;
371 program { name: "open2";
372 signal: "elm,state,open2";
374 action: STATE_SET "open2" 0.0;
378 transition: BOUNCE 0.8 1.0 3;
380 program { name: "close";
381 signal: "elm,state,close";
383 action: STATE_SET "default" 0.0;
385 transition: BOUNCE 0.8 1.0 3;
390 group { name: "elm/toolbar/item/default";
392 image: "toolbar_sel.png" COMP;
394 data.item: "transition_animation_on" "1";
396 part { name: "label2";
400 clip_to: "elm.text.clipper";
401 description { state: "default" 0.0;
409 text_source: "elm.text";
413 text_class: "toolbar_item";
416 description { state: "selected" 0.0;
417 inherit: "default" 0.0;
420 description { state: "disabled" 0.0;
421 inherit: "default" 0.0;
425 description { state: "disabled_visible" 0.0;
426 inherit: "default" 0.0;
433 part { name: "label2_new";
437 clip_to: "elm.text_new.clipper";
438 description { state: "default" 0.0;
441 rel1.to: "elm.text_new";
442 rel2.to: "elm.text_new";
446 text_source: "elm.text_new";
450 text_class: "toolbar_item";
453 description { state: "selected" 0.0;
454 inherit: "default" 0.0;
457 description { state: "disabled" 0.0;
458 inherit: "default" 0.0;
462 description { state: "disabled_visible" 0.0;
463 inherit: "default" 0.0;
472 description { state: "default" 0.0;
474 color: 255 255 255 0;
476 normal: "toolbar_sel.png";
482 description { state: "selected" 0.0;
483 inherit: "default" 0.0;
485 color: 255 255 255 255;
487 description { state: "disabled" 0.0;
488 inherit: "default" 0.0;
490 color: 255 255 255 0;
492 description { state: "moving" 0.0;
493 inherit: "default" 0.0;
495 color: 255 255 255 100;
498 part { name: "elm.swallow.icon";
500 clip_to: "elm.icon.clipper";
501 description { state: "default" 0.0;
515 part { name: "elm.swallow.icon_new";
517 clip_to: "elm.icon_new.clipper";
518 description { state: "default" 0.0;
525 to_y: "elm.text_new";
532 part { name: "elm.text";
537 clip_to: "elm.text.clipper";
538 description { state: "default" 0.0;
550 color: 224 224 224 255;
553 font: "Sans:style=Bold";
557 text_class: "toolbar_item";
560 description { state: "selected" 0.0;
561 inherit: "default" 0.0;
564 description { state: "visible" 0.0;
565 inherit: "default" 0.0;
569 description { state: "disabled" 0.0;
570 inherit: "default" 0.0;
574 description { state: "disabled_visible" 0.0;
575 inherit: "default" 0.0;
582 part { name: "elm.text_new";
586 clip_to: "elm.text_new.clipper";
588 description { state: "default" 0.0;
600 color: 224 224 224 255;
603 font: "Sans:style=Bold";
607 text_class: "toolbar_item";
610 description { state: "selected" 0.0;
611 inherit: "default" 0.0;
614 description { state: "visible" 0.0;
615 inherit: "default" 0.0;
619 description { state: "disabled" 0.0;
620 inherit: "default" 0.0;
624 description { state: "disabled_visible" 0.0;
625 inherit: "default" 0.0;
632 part { name: "elm.text.clipper";
634 description { state: "default" 0.0;
635 color: 255 255 255 255;
637 description { state: "animation" 0.0;
638 color: 255 255 255 0;
641 part { name: "elm.text_new.clipper";
643 description { state: "default" 0.0;
644 color: 255 255 255 0;
646 description { state: "animation" 0.0;
647 color: 255 255 255 255;
650 part { name: "elm.icon.clipper";
652 description { state: "default" 0.0;
653 color: 255 255 255 255;
655 description { state: "animation" 0.0;
656 color: 255 255 255 0;
659 part { name: "elm.icon_new.clipper";
661 description { state: "default" 0.0;
662 color: 255 255 255 0;
664 description { state: "animation" 0.0;
665 color: 255 255 255 255;
668 part { name: "event";
671 ignore_flags: ON_HOLD;
672 description { state: "default" 0.0;
678 program { name: "go_active";
679 signal: "elm,state,selected";
681 action: STATE_SET "selected" 0.0;
685 target: "elm.text_new";
686 target: "label2_new";
687 transition: LINEAR 0.2;
689 program { name: "go_passive";
690 signal: "elm,state,unselected";
692 action: STATE_SET "default" 0.0;
696 target: "elm.text_new";
697 target: "label2_new";
698 transition: LINEAR 0.1;
700 program { name: "moving";
701 signal: "elm,state,moving";
703 action: STATE_SET "moving" 0.0;
706 program { name: "go";
707 signal: "mouse,clicked,1";
709 action: SIGNAL_EMIT "elm,action,click" "elm";
711 program { name: "mouse,in";
714 action: SIGNAL_EMIT "elm,mouse,in" "elm";
716 program { name: "mouse,out";
719 action: SIGNAL_EMIT "elm,mouse,out" "elm";
721 program { name: "disable";
722 signal: "elm,state,disabled";
724 action: STATE_SET "disabled" 0.0;
726 target: "label2_new";
728 after: "disable_text";
730 program { name: "disable_text";
734 get_state(PART:"elm.text", st, 30, vl);
735 if (!strcmp(st, "visible"))
737 set_state(PART:"elm.text", "disabled_visible", 0.0);
738 set_state(PART:"elm.text_new", "disabled_visible", 0.0);
742 set_state(PART:"elm.text", "disabled", 0.0);
743 set_state(PART:"elm.text_new", "disabled", 0.0);
747 program { name: "enable";
748 signal: "elm,state,enabled";
750 action: STATE_SET "default" 0.0;
752 target: "label2_new";
754 after: "enable_text";
756 program { name: "enable_text";
760 get_state(PART:"elm.text", st, 30, vl);
761 if (!strcmp(st, "disabled_visible"))
763 set_state(PART:"elm.text", "visible", 0.0);
764 set_state(PART:"elm.text_new", "visible", 0.0);
768 set_state(PART:"elm.text", "default", 0.0);
769 set_state(PART:"elm.text_new", "default", 0.0);
773 program { name: "label_set,animation,forward";
774 signal: "elm,state,label_set,forward";
776 after: "label_set,animation";
778 program { name: "label_set,animation,backward";
779 signal: "elm,state,label_set,backward";
781 after: "label_set,animation";
783 program { name: "label_set,animation";
784 signal: "elm,state,label_set";
786 action: STATE_SET "animation" 0.0;
787 target: "elm.text.clipper";
788 target: "elm.text_new.clipper";
789 transition: LINEAR 0.2;
790 after: "label_set,animation,done";
792 program { name: "label_set,animation,done";
793 action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
795 program { name: "label,reset";
796 signal: "elm,state,label,reset";
798 action: STATE_SET "default" 0.0;
799 target: "elm.text.clipper";
800 target: "elm.text_new.clipper";
802 program { name: "icon_set,animation,forward";
803 signal: "elm,state,icon_set,forward";
805 after: "icon_set,animation";
807 program { name: "icon_set,animation,backward";
808 signal: "elm,state,icon_set,backward";
810 after: "icon_set,animation";
812 program { name: "icon_set,animation";
813 signal: "elm,state,icon_set";
815 action: STATE_SET "animation" 0.0;
816 target: "elm.icon.clipper";
817 target: "elm.icon_new.clipper";
818 transition: LINEAR 0.2;
819 after: "icon_set,animation,done";
821 program { name: "icon_set,animation,done";
822 action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
824 program { name: "icon,reset";
825 signal: "elm,state,icon,reset";
827 action: STATE_SET "default" 0.0;
828 target: "elm.icon.clipper";
829 target: "elm.icon_new.clipper";
834 group { name: "elm/toolbar/item/item_horizontal";
835 inherit: "elm/toolbar/item/default";
837 part { name: "elm.swallow.icon";
838 description { state: "default" 0.0;
841 aspect_preference: VERTICAL;
850 part { name: "elm.swallow.icon_new";
851 description { state: "default" 0.0;
855 part { name: "elm.text";
856 description { state: "default" 0.0;
861 rel1.relative: 1.0 0.0;
862 rel1.to_x: "elm.swallow.icon";
863 rel2.relative: 1.0 1.0;
866 description { state: "selected" 0.0;
867 inherit: "default" 0.0;
870 description { state: "visible" 0.0;
871 inherit: "default" 0.0;
875 description { state: "disabled" 0.0;
876 inherit: "default" 0.0;
880 description { state: "disabled_visible" 0.0;
881 inherit: "default" 0.0;
888 part { name: "elm.text_new";
889 description { state: "default" 0.0;
894 rel1.relative: 1.0 0.0;
895 rel1.to_x: "elm.swallow.icon";
896 rel2.relative: 1.0 1.0;
899 description { state: "selected" 0.0;
900 inherit: "default" 0.0;
903 description { state: "visible" 0.0;
904 inherit: "default" 0.0;
908 description { state: "disabled" 0.0;
909 inherit: "default" 0.0;
913 description { state: "disabled_visible" 0.0;
914 inherit: "default" 0.0;
924 group { name: "elm/toolbar/item/item_centered";
926 image: "toolbar_sel.png" COMP;
928 data.item: "transition_animation_on" "1";
930 public item_state = ITEM_STATE_ENABLED;
933 part { name: "label2";
937 clip_to: "elm.text.clipper";
938 description { state: "default" 0.0;
946 text_source: "elm.text";
950 text_class: "toolbar_item";
953 description { state: "selected" 0.0;
954 inherit: "default" 0.0;
957 description { state: "disabled" 0.0;
958 inherit: "default" 0.0;
962 description { state: "disabled_visible" 0.0;
963 inherit: "default" 0.0;
970 part { name: "label2_new";
974 clip_to: "elm.text_new.clipper";
975 description { state: "default" 0.0;
978 rel1.to: "elm.text_new";
979 rel2.to: "elm.text_new";
983 text_source: "elm.text_new";
987 text_class: "toolbar_item";
990 description { state: "selected" 0.0;
991 inherit: "default" 0.0;
994 description { state: "disabled" 0.0;
995 inherit: "default" 0.0;
999 description { state: "disabled_visible" 0.0;
1000 inherit: "default" 0.0;
1009 description { state: "default" 0.0;
1011 color: 255 255 255 0;
1021 normal: "toolbar_sel.png";
1024 image.middle: SOLID;
1027 description { state: "selected" 0.0;
1028 inherit: "default" 0.0;
1030 color: 255 255 255 255;
1032 description { state: "disabled" 0.0;
1033 inherit: "default" 0.0;
1035 color: 255 255 255 0;
1038 part { name: "padding_left_top";
1042 description { state: "default" 0.0;
1044 rel2.relative: 0.0 0.0;
1051 part { name: "padding_right_bottom";
1055 description { state: "default" 0.0;
1057 rel1.relative: 1.0 1.0;
1069 description { state: "default" 0.0;
1074 to: "padding_left_top";
1078 to_x: "padding_right_bottom";
1079 to_y: "padding_left_top";
1084 description { state: "visible" 0.0;
1085 min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1089 to: "padding_left_top";
1093 to_x: "padding_right_bottom";
1094 to_y: "padding_left_top";
1099 description { state: "icononly" 0.0;
1100 inherit: "default" 0.0;
1103 part { name: "padding_after_icon";
1107 description { state: "default" 0.0; //when only icon or no icon is there
1113 rel2.to: "icon_rect";
1118 description { state: "visible" 0.0;
1119 inherit: "default" 0.0;
1121 description { state: "icononly" 0.0;
1122 inherit: "default" 0.0;
1125 part { name: "padding_before_text";
1129 description { state: "default" 0.0; //when only icon or no icon is there
1133 to_x: "padding_left_top";
1138 to_x: "padding_right_bottom";
1146 part { name: "elm.swallow.icon";
1149 clip_to: "elm.icon.clipper";
1150 description { state: "default" 0.0;
1155 to: "padding_left_top";
1159 to_x: "padding_right_bottom";
1160 to_y: "padding_left_top";
1164 description { state: "visible" 0.0;
1166 min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1167 max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1170 to: "padding_left_top";
1175 to: "padding_right_bottom";
1179 aspect_preference: BOTH;
1181 description { state: "icononly" 0.0;
1182 min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1183 max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1186 to: "padding_left_top";
1190 to: "padding_right_bottom";
1193 aspect_preference: BOTH;
1196 part { name: "elm.swallow.icon_new";
1199 clip_to: "elm.icon_new.clipper";
1200 description { state: "default" 0.0;
1205 to: "padding_left_top";
1209 to_x: "padding_right_bottom";
1210 to_y: "padding_left_top";
1214 description { state: "visible" 0.0;
1216 min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1217 max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1220 to: "padding_left_top";
1225 to: "padding_right_bottom";
1229 aspect_preference: BOTH;
1231 description { state: "icononly" 0.0;
1232 min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1233 max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1236 to: "padding_left_top";
1240 to: "padding_right_bottom";
1243 aspect_preference: BOTH;
1246 part { name: "elm.text";
1248 effect: SOFT_SHADOW;
1251 clip_to: "elm.text.clipper";
1252 description { state: "default" 0.0;
1257 to_x: "padding_left_top";
1258 to_y: "padding_after_icon";
1263 to: "padding_right_bottom";
1267 color: 224 224 224 255;
1270 font: "Sans:style=Bold";
1274 text_class: "toolbar_item";
1277 description { state: "selected" 0.0;
1278 inherit: "default" 0.0;
1281 description { state: "visible" 0.0;
1282 inherit: "default" 0.0;
1286 description { state: "disabled" 0.0;
1287 inherit: "default" 0.0;
1291 description { state: "disabled_visible" 0.0;
1292 inherit: "default" 0.0;
1299 part { name: "elm.text_new";
1301 effect: SOFT_SHADOW;
1303 clip_to: "elm.text_new.clipper";
1305 description { state: "default" 0.0;
1310 to_x: "padding_left_top";
1311 to_y: "padding_after_icon";
1316 to: "padding_right_bottom";
1320 color: 224 224 224 255;
1323 font: "Sans:style=Bold";
1327 text_class: "toolbar_item";
1330 description { state: "selected" 0.0;
1331 inherit: "default" 0.0;
1334 description { state: "visible" 0.0;
1335 inherit: "default" 0.0;
1339 description { state: "disabled" 0.0;
1340 inherit: "default" 0.0;
1344 description { state: "disabled_visible" 0.0;
1345 inherit: "default" 0.0;
1352 part { name: "elm.text.clipper";
1354 description { state: "default" 0.0;
1355 color: 255 255 255 255;
1357 description { state: "animation" 0.0;
1358 color: 255 255 255 0;
1360 description { state: "disabled" 0.0;
1361 color: 255 255 255 153;
1364 part { name: "elm.text_new.clipper";
1366 description { state: "default" 0.0;
1367 color: 255 255 255 0;
1369 description { state: "animation" 0.0;
1370 color: 255 255 255 255;
1372 description { state: "disabled" 0.0;
1373 color: 255 255 255 153;
1376 part { name: "elm.icon.clipper";
1378 description { state: "default" 0.0;
1379 color: 255 255 255 255;
1381 description { state: "animation" 0.0;
1382 color: 255 255 255 0;
1384 description { state: "disabled" 0.0;
1385 color: 255 255 255 153;
1388 part { name: "elm.icon_new.clipper";
1390 description { state: "default" 0.0;
1391 color: 255 255 255 0;
1393 description { state: "animation" 0.0;
1394 color: 255 255 255 255;
1396 description { state: "disabled" 0.0;
1397 color: 255 255 255 153;
1400 part { name: "event";
1403 ignore_flags: ON_HOLD;
1404 description { state: "default" 0.0;
1408 part { name: "event2";
1412 description { state: "default" 0.0;
1418 program { name: "pressed";
1419 signal: "mouse,down,1";
1422 if (get_int(item_state) != ITEM_STATE_DISABLED)
1424 set_state(PART:"elm.text", "visible", 0.0);
1425 set_state(PART:"elm.text_new", "visible", 0.0);
1426 set_state(PART:"bg", "selected", 0.0);
1429 transition: LINEAR 0.2;
1431 program { name: "unpressed";
1432 signal: "mouse,up,1";
1434 action: STATE_SET "default" 0.0;
1437 target: "elm.text_new";
1438 transition: LINEAR 0.1;
1440 program { name: "go";
1441 signal: "mouse,up,1";
1443 action: SIGNAL_EMIT "elm,action,click" "elm";
1445 program { name: "mouse,in";
1448 action: SIGNAL_EMIT "elm,mouse,in" "elm";
1450 program { name: "mouse,out";
1451 signal: "mouse,out";
1453 action: SIGNAL_EMIT "elm,mouse,out" "elm";
1455 program { name: "disable";
1456 signal: "elm,state,disabled";
1459 set_int(item_state, ITEM_STATE_DISABLED);
1460 set_state(PART:"bg", "disabled", 0.0);
1461 set_state(PART:"elm.text.clipper", "disabled", 0.0);
1462 set_state(PART:"elm.icon.clipper", "disabled", 0.0);
1463 run_program(PROGRAM:"label_set,animation,done");
1464 run_program(PROGRAM:"icon_set,animation,done");
1467 program { name: "enable";
1468 signal: "elm,state,enabled";
1471 set_int(item_state, ITEM_STATE_ENABLED);
1472 set_state(PART:"bg", "default", 0.0);
1473 set_state(PART:"elm.text.clipper", "default", 0.0);
1474 set_state(PART:"elm.icon.clipper", "default", 0.0);
1475 run_program(PROGRAM:"label_set,animation,done");
1476 run_program(PROGRAM:"icon_set,animation,done");
1479 program { name: "label_set,animation,forward";
1480 signal: "elm,state,label_set,forward";
1482 after: "label_set,animation";
1484 program { name: "label_set,animation,backward";
1485 signal: "elm,state,label_set,backward";
1487 after: "label_set,animation";
1489 program { name: "label_set,animation";
1490 signal: "elm,state,label_set";
1492 action: STATE_SET "animation" 0.0;
1493 target: "elm.text.clipper";
1494 target: "elm.text_new.clipper";
1495 transition: LINEAR 0.2;
1496 after: "label_set,animation,done";
1498 program { name: "label_set,animation,done";
1499 action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
1501 program { name: "label,reset";
1502 signal: "elm,state,label,reset";
1505 set_state(PART:"elm.text_new.clipper", "default", 0.0);
1506 if (get_int(item_state) != ITEM_STATE_DISABLED)
1507 set_state(PART:"elm.text.clipper", "default", 0.0);
1509 set_state(PART:"elm.text.clipper", "disabled", 0.0);
1512 program { name: "icon_set,animation,forward";
1513 signal: "elm,state,icon_set,forward";
1515 after: "icon_set,animation";
1517 program { name: "icon_set,animation,backward";
1518 signal: "elm,state,icon_set,backward";
1520 after: "icon_set,animation";
1522 program { name: "icon_set,animation";
1523 signal: "elm,state,icon_set";
1525 action: STATE_SET "animation" 0.0;
1526 target: "elm.icon.clipper";
1527 target: "elm.icon_new.clipper";
1528 transition: LINEAR 0.2;
1529 after: "icon_set,animation,done";
1531 program { name: "icon_set,animation,done";
1532 action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
1534 program { name: "icon,reset";
1535 signal: "elm,state,icon,reset";
1538 set_state(PART:"elm.icon_new.clipper", "default", 0.0);
1539 if (get_int(item_state) != ITEM_STATE_DISABLED)
1540 set_state(PART:"elm.icon.clipper", "default", 0.0);
1542 set_state(PART:"elm.icon.clipper", "disabled", 0.0);
1545 program { name: "text_show";
1546 signal: "elm,state,text,visible";
1551 get_state(PART:"elm.swallow.icon", st, 30, vl);
1552 if (!strcmp(st, "icononly"))
1554 set_state(PART:"elm.swallow.icon", "visible", 0.0);
1555 set_state(PART:"icon_rect", "visible", 0.0);
1556 set_state(PART:"padding_after_icon", "visible", 0.0);
1558 set_state(PART:"label2", "visible", 0.0);
1561 program { name: "text_hide";
1562 signal: "elm,state,text,hidden";
1567 get_state(PART:"elm.swallow.icon", st, 30, vl);
1568 if (!strcmp(st, "visible"))
1570 set_state(PART:"elm.swallow.icon", "icononly", 0.0);
1571 set_state(PART:"icon_rect", "icononly", 0.0);
1572 set_state(PART:"padding_after_icon", "icononly", 0.0);
1574 set_state(PART:"label2", "default", 0.0);
1577 program { name: "icon_show";
1578 signal: "elm,state,icon,visible";
1583 get_state(PART:"elm.text", st, 30, vl);
1584 if (!strcmp(st, "visible"))
1586 set_state(PART:"elm.swallow.icon", "visible", 0.0);
1587 set_state(PART:"icon_rect", "visible", 0.0);
1588 set_state(PART:"padding_after_icon", "visible", 0.0);
1592 set_state(PART:"elm.swallow.icon", "icononly", 0.0);
1593 set_state(PART:"icon_rect", "icononly", 0.0);
1594 set_state(PART:"padding_after_icon", "icononly", 0.0);
1598 program { name: "icon_hide";
1599 signal: "elm,state,icon,hidden";
1604 get_state(PART:"elm.text", st, 30, vl);
1605 if (!strcmp(st, "visible"))
1607 set_state(PART:"label2", "visible", 0.0);
1609 set_state(PART:"elm.swallow.icon", "default", 0.0);
1610 set_state(PART:"icon_rect", "default", 0.0);
1611 set_state(PART:"padding_after_icon", "default", 0.0);
1617 group { name: "elm/toolbar/separator/default";
1619 image: "toolbar_separator_v.png" COMP;
1622 part { name: "separator"; // separator group
1623 description { state: "default" 0.0;
1629 normal: "toolbar_separator_v.png";
1639 group { name: "elm/toolbar/object/default";
1641 part { name: "elm.swallow.object"; // object group
1643 description { state: "default" 0.0;