1 #define ITEM_STATE_ENABLED 0
2 #define ITEM_STATE_DISABLED 1
4 group { name: "elm/toolbar/base/default";
6 image: "00_winset_control_toolbar_bg.png" COMP;
11 description { state: "default" 0.0;
12 image.normal: "00_winset_control_toolbar_bg.png";
15 part { name: "clipper";
30 part { name: "elm.swallow.content";
43 description { state: "default" 0.0;
50 group { name: "elm/toolbar/item/default";
52 image: "00_winset_toolbar_press.png" COMP;
55 style { name: "toolbar_style";
56 base: "font=SLP:style=Medium font_size="BUTTON_CONTROLBAR_ITEM_BUTTON_TEXT_SIZE_INC" align=center color="BUTTON_CONTROLBAR_ITEM_BUTTON_TEXTBLOCK_COLOR_INC" wrap=mixed ellipsis=1 text_class=slp_medium";
59 tag: "hilight" "+ font=SLP:style=Bold";
60 tag: "b" "+ font=SLP:style=Bold";
65 data.item: "transition_animation_on" "1";
67 public item_state = ITEM_STATE_ENABLED;
72 description { state: "default" 0.0;
84 normal: "00_winset_toolbar_press.png";
90 description { state: "selected" 0.0;
91 inherit: "default" 0.0;
93 color: 255 255 255 255;
95 description { state: "disabled" 0.0;
96 inherit: "default" 0.0;
101 part { name: "padding_left_top";
105 description { state: "default" 0.0;
107 rel2.relative: 0.0 0.0;
114 part { name: "padding_right_bottom";
118 description { state: "default" 0.0;
120 rel1.relative: 1.0 1.0;
132 description { state: "default" 0.0;
137 to: "padding_left_top";
141 to_x: "padding_right_bottom";
142 to_y: "padding_left_top";
147 description { state: "visible" 0.0;
148 min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
152 to: "padding_left_top";
156 to_x: "padding_right_bottom";
157 to_y: "padding_left_top";
162 description { state: "icononly" 0.0;
163 inherit: "default" 0.0;
166 part { name: "padding_after_icon";
170 description { state: "default" 0.0; //when only icon or no icon is there
176 rel2.to: "icon_rect";
181 description { state: "visible" 0.0;
182 inherit: "default" 0.0;
184 description { state: "icononly" 0.0;
185 inherit: "default" 0.0;
188 part { name: "padding_before_text";
192 description { state: "default" 0.0; //when only icon or no icon is there
196 to_x: "padding_left_top";
201 to_x: "padding_right_bottom";
209 part { name: "elm.swallow.icon";
212 clip_to: "elm.icon.clipper";
213 description { state: "default" 0.0;
218 to: "padding_left_top";
222 to_x: "padding_right_bottom";
223 to_y: "padding_left_top";
227 description { state: "visible" 0.0;
229 min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
230 max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
233 to: "padding_left_top";
237 to_x: "padding_right_bottom";
238 to_y: "padding_before_text";
241 aspect_preference: HORIZONTAL;
243 description { state: "icononly" 0.0;
244 min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
245 max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
248 to: "padding_left_top";
252 to: "padding_right_bottom";
255 aspect_preference: HORIZONTAL;
258 part { name: "elm.swallow.icon_new";
261 clip_to: "elm.icon_new.clipper";
262 description { state: "default" 0.0;
267 to: "padding_left_top";
271 to_x: "padding_right_bottom";
272 to_y: "padding_left_top";
276 description { state: "visible" 0.0;
278 min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
279 max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
282 to: "padding_left_top";
286 to_x: "padding_right_bottom";
287 to_y: "padding_before_text";
290 aspect_preference: HORIZONTAL;
292 description { state: "icononly" 0.0;
293 min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
294 max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
297 to: "padding_left_top";
301 to: "padding_right_bottom";
304 aspect_preference: HORIZONTAL;
307 part { name: "elm.text";
311 clip_to: "elm.text.clipper";
312 description { state: "default" 0.0;
316 to_x: "padding_left_top";
317 to_y: "padding_after_icon";
321 to: "padding_right_bottom";
323 color: BUTTON_NAVIFRAME_DEFAULT_TEXT_COLOR_INC;
326 style: "toolbar_style";
330 description { state: "selected" 0.0;
331 inherit: "default" 0.0;
334 description { state: "visible" 0.0;
335 inherit: "default" 0.0;
338 description { state: "clicked" 0.0;
339 inherit: "default" 0.0;
341 color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
343 description { state: "focused" 0.0;
344 inherit: "default" 0.0;
346 color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
349 part { name: "elm.text_new";
353 clip_to: "elm.text_new.clipper";
354 description { state: "default" 0.0;
358 to_x: "padding_left_top";
359 to_y: "padding_after_icon";
363 to: "padding_right_bottom";
365 color: BUTTON_NAVIFRAME_DEFAULT_TEXT_COLOR_INC;
368 style: "toolbar_style";
372 description { state: "visible" 0.0;
373 inherit: "default" 0.0;
376 description { state: "clicked" 0.0;
377 inherit: "default" 0.0;
379 color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
381 description { state: "focused" 0.0;
382 inherit: "default" 0.0;
384 color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
387 part { name: "elm.text.clipper";
389 description { state: "default" 0.0;
390 color: 255 255 255 255;
392 description { state: "animation" 0.0;
393 color: 255 255 255 0;
395 description { state: "disabled" 0.0;
396 color: 255 255 255 153;
399 part { name: "elm.text_new.clipper";
401 description { state: "default" 0.0;
402 color: 255 255 255 0;
404 description { state: "animation" 0.0;
405 color: 255 255 255 255;
407 description { state: "disabled" 0.0;
408 color: 255 255 255 153;
411 part { name: "elm.icon.clipper";
413 description { state: "default" 0.0;
414 color: 255 255 255 255;
416 description { state: "animation" 0.0;
417 color: 255 255 255 0;
419 description { state: "disabled" 0.0;
420 color: 255 255 255 153;
423 part { name: "elm.icon_new.clipper";
425 description { state: "default" 0.0;
426 color: 255 255 255 0;
428 description { state: "animation" 0.0;
429 color: 255 255 255 255;
431 description { state: "disabled" 0.0;
432 color: 255 255 255 153;
435 part { name: "event";
438 ignore_flags: ON_HOLD;
439 description { state: "default" 0.0;
443 part { name: "event2";
447 description { state: "default" 0.0;
453 program { name: "pressed";
454 signal: "mouse,down,1";
457 if (get_int(item_state) != ITEM_STATE_DISABLED)
458 set_state(PART:"bg", "selected", 0.0);
460 transition: LINEAR 0.2;
462 program { name: "unpressed";
463 signal: "mouse,up,1";
465 action: STATE_SET "default" 0.0;
467 transition: LINEAR 0.1;
469 program { name: "go";
470 signal: "mouse,up,1";
472 action: SIGNAL_EMIT "elm,action,click" "elm";
474 program { name: "mouse,in";
477 action: SIGNAL_EMIT "elm,mouse,in" "elm";
479 program { name: "mouse,out";
482 action: SIGNAL_EMIT "elm,mouse,out" "elm";
484 program { name: "disable";
485 signal: "elm,state,disabled";
488 set_int(item_state, ITEM_STATE_DISABLED);
489 set_state(PART:"bg", "disabled", 0.0);
490 set_state(PART:"elm.text.clipper", "disabled", 0.0);
491 set_state(PART:"elm.icon.clipper", "disabled", 0.0);
492 run_program(PROGRAM:"label_set,animation,done");
493 run_program(PROGRAM:"icon_set,animation,done");
496 program { name: "enable";
497 signal: "elm,state,enabled";
500 set_int(item_state, ITEM_STATE_ENABLED);
501 set_state(PART:"bg", "default", 0.0);
502 set_state(PART:"elm.text.clipper", "default", 0.0);
503 set_state(PART:"elm.icon.clipper", "default", 0.0);
504 run_program(PROGRAM:"label_set,animation,done");
505 run_program(PROGRAM:"icon_set,animation,done");
508 program { name: "label_set,animation,forward";
509 signal: "elm,state,label_set,forward";
511 after: "label_set,animation";
513 program { name: "label_set,animation,backward";
514 signal: "elm,state,label_set,backward";
516 after: "label_set,animation";
518 program { name: "label_set,animation";
519 signal: "elm,state,label_set";
521 action: STATE_SET "animation" 0.0;
522 target: "elm.text.clipper";
523 target: "elm.text_new.clipper";
524 transition: LINEAR 0.2;
525 after: "label_set,animation,done";
527 program { name: "label_set,animation,done";
528 action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
530 program { name: "label,reset";
531 signal: "elm,state,label,reset";
534 set_state(PART:"elm.text_new.clipper", "default", 0.0);
535 if (get_int(item_state) != ITEM_STATE_DISABLED)
536 set_state(PART:"elm.text.clipper", "default", 0.0);
538 set_state(PART:"elm.text.clipper", "disabled", 0.0);
541 program { name: "icon_set,animation,forward";
542 signal: "elm,state,icon_set,forward";
544 after: "icon_set,animation";
546 program { name: "icon_set,animation,backward";
547 signal: "elm,state,icon_set,backward";
549 after: "icon_set,animation";
551 program { name: "icon_set,animation";
552 signal: "elm,state,icon_set";
554 action: STATE_SET "animation" 0.0;
555 target: "elm.icon.clipper";
556 target: "elm.icon_new.clipper";
557 transition: LINEAR 0.2;
558 after: "icon_set,animation,done";
560 program { name: "icon_set,animation,done";
561 action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
563 program { name: "icon,reset";
564 signal: "elm,state,icon,reset";
567 set_state(PART:"elm.icon_new.clipper", "default", 0.0);
568 if (get_int(item_state) != ITEM_STATE_DISABLED)
569 set_state(PART:"elm.icon.clipper", "default", 0.0);
571 set_state(PART:"elm.icon.clipper", "disabled", 0.0);
574 program { name: "text_show";
575 signal: "elm,state,text,visible";
580 get_state(PART:"elm.swallow.icon", st, 30, vl);
581 if (!strcmp(st, "icononly"))
583 set_state(PART:"elm.swallow.icon", "visible", 0.0);
584 set_state(PART:"icon_rect", "visible", 0.0);
585 set_state(PART:"padding_after_icon", "visible", 0.0);
587 set_state(PART:"elm.text", "visible", 0.0);
590 program { name: "text_hide";
591 signal: "elm,state,text,hidden";
596 get_state(PART:"elm.swallow.icon", st, 30, vl);
597 if (!strcmp(st, "visible"))
599 set_state(PART:"elm.swallow.icon", "icononly", 0.0);
600 set_state(PART:"icon_rect", "icononly", 0.0);
601 set_state(PART:"padding_after_icon", "icononly", 0.0);
603 set_state(PART:"elm.text", "default", 0.0);
606 program { name: "icon_show";
607 signal: "elm,state,icon,visible";
612 get_state(PART:"elm.text", st, 30, vl);
613 if (!strcmp(st, "visible"))
615 set_state(PART:"elm.swallow.icon", "visible", 0.0);
616 set_state(PART:"icon_rect", "visible", 0.0);
617 set_state(PART:"padding_after_icon", "visible", 0.0);
621 set_state(PART:"elm.swallow.icon", "icononly", 0.0);
622 set_state(PART:"icon_rect", "icononly", 0.0);
623 set_state(PART:"padding_after_icon", "icononly", 0.0);
630 group { name: "elm/toolbar/item/item_horizontal";
631 inherit: "elm/toolbar/item/default";
633 public item_state = ITEM_STATE_ENABLED;
636 part { name: "icon_rect";
637 description { state: "default" 0.0;
641 description { state: "visible" 0.0;
645 to_x: "padding_left_top";
646 to_y: "padding_right_bottom";
651 part { name: "padding_after_icon";
652 description { state: "default" 0.0; //when only icon or no icon is there
653 rel1.relative: 1.0 0.0;
656 description { state: "visible" 0.0;
657 inherit: "default" 0.0;
661 part { name: "padding_before_text";
662 description { state: "default" 0.0; //when only icon or no icon is there
667 to_y: "padding_left_top";
671 to_y: "padding_right_bottom";
677 part { name: "elm.swallow.icon";
678 description { state: "default" 0.0;
682 to_x: "padding_left_top";
683 to_y: "padding_right_bottom";
687 description { state: "visible" 0.0;
692 to_x: "padding_before_text";
693 to_y: "padding_left_top";
697 to_x: "padding_before_text";
698 to_y: "padding_right_bottom";
700 aspect_preference: VERTICAL;
702 description { state: "icononly" 0.0;
703 aspect_preference: VERTICAL;
706 part { name: "elm.swallow.icon_new";
707 description { state: "default" 0.0;
711 to_x: "padding_left_top";
712 to_y: "padding_right_bottom";
716 description { state: "visible" 0.0;
721 to_x: "padding_before_text";
722 to_y: "padding_left_top";
726 to_x: "padding_before_text";
727 to_y: "padding_right_bottom";
729 aspect_preference: VERTICAL;
731 description { state: "icononly" 0.0;
732 aspect_preference: VERTICAL;
735 part { name: "elm.text";
737 description { state: "default" 0.0;
740 to_x: "padding_after_icon";
741 to_y: "padding_left_top";
744 style: "toolbar_style";
748 description { state: "selected" 0.0;
749 inherit: "default" 0.0;
752 description { state: "visible" 0.0;
753 inherit: "default" 0.0;
756 description { state: "clicked" 0.0;
757 inherit: "default" 0.0;
759 color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
761 description { state: "focused" 0.0;
762 inherit: "default" 0.0;
764 color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
767 part { name: "elm.text_new";
769 description { state: "default" 0.0;
772 to_x: "padding_after_icon";
773 to_y: "padding_left_top";
776 style: "toolbar_style";
780 description { state: "selected" 0.0;
781 inherit: "default" 0.0;
784 description { state: "visible" 0.0;
785 inherit: "default" 0.0;
788 description { state: "clicked" 0.0;
789 inherit: "default" 0.0;
791 color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
793 description { state: "focused" 0.0;
794 inherit: "default" 0.0;
796 color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
802 group { name: "elm/toolbar/separator/default";
806 description { state: "default" 0.0;
812 part { name: "separator_left";
814 description { state: "default" 0.0;
826 color: TOOLBAR_ITEM_SEPARATOR_LEFT_COLOR_INC;
829 part { name: "separator_middle";
831 description { state: "default" 0.0;
838 to: "separator_left";
843 to: "separator_left";
845 color: TOOLBAR_ITEM_SEPARATOR_MIDDLE_COLOR_INC;
848 part { name: "separator_right";
850 description { state: "default" 0.0;
857 to: "separator_middle";
862 to: "separator_middle";
864 color: TOOLBAR_ITEM_SEPARATOR_RIGHT_COLOR_INC;
870 group { name: "elm/toolbar/object/default";
872 part { name: "elm.swallow.object"; // object group
875 state: "default" 0.0;
881 group { name: "elm/toolbar/base/tabbar";
882 alias: "elm/toolbar/base/tabbar/item_horizontal";
884 image: "00_winset_control_tabbar_bg_top.png" COMP;
890 description { state: "default" 0.0;
891 image.normal: "00_winset_control_tabbar_bg_top.png";
894 part { name: "clipper";
898 state: "default" 0.0;
909 part { name: "elm.swallow.content";
913 state: "default" 0.0;
918 part { name: "event";
922 description { state: "default" 0.0;
929 group { name: "elm/toolbar/item/tabbar";
931 image: "00_winset_tabbar_focus.png" COMP;
934 data.item: "transition_animation_on" "1";
936 public item_state = ITEM_STATE_ENABLED;
941 description { state: "default" 0.0;
943 color: 255 255 255 0;
945 normal: "00_winset_tabbar_focus.png";
950 description { state: "selected" 0.0;
951 inherit: "default" 0.0;
953 color: 255 255 255 255;
955 description { state: "disabled" 0.0;
956 inherit: "default" 0.0;
958 color: 255 255 255 0;
961 part { name: "padding_left_top";
965 description { state: "default" 0.0;
967 rel2.relative: 0.0 0.0;
974 part { name: "padding_right_bottom";
978 description { state: "default" 0.0;
980 rel1.relative: 1.0 1.0;
992 description { state: "default" 0.0;
997 to: "padding_left_top";
1001 to_x: "padding_right_bottom";
1002 to_y: "padding_left_top";
1007 description { state: "visible" 0.0;
1008 min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1012 to: "padding_left_top";
1016 to_x: "padding_right_bottom";
1017 to_y: "padding_left_top";
1022 description { state: "icononly" 0.0;
1023 inherit: "default" 0.0;
1026 part { name: "padding_after_icon";
1030 description { state: "default" 0.0; //when only icon or no icon is there
1036 rel2.to: "icon_rect";
1041 description { state: "visible" 0.0;
1047 rel2.to: "icon_rect";
1052 description { state: "icononly" 0.0;
1053 inherit: "default" 0.0;
1056 part { name: "padding_before_text";
1060 description { state: "default" 0.0; //when only icon or no icon is there
1064 to_x: "padding_left_top";
1069 to_x: "padding_right_bottom";
1077 part { name: "elm.swallow.icon";
1080 clip_to: "elm.icon.clipper";
1081 description { state: "default" 0.0;
1086 to: "padding_left_top";
1090 to_x: "padding_right_bottom";
1091 to_y: "padding_left_top";
1095 description { state: "visible" 0.0;
1097 min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1098 max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1101 to: "padding_left_top";
1105 to_x: "padding_right_bottom";
1106 to_y: "padding_before_text";
1109 aspect_preference: HORIZONTAL;
1111 description { state: "icononly" 0.0;
1112 min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1113 max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1116 to: "padding_left_top";
1120 to: "padding_right_bottom";
1123 aspect_preference: HORIZONTAL;
1126 part { name: "elm.swallow.icon_new";
1129 clip_to: "elm.icon_new.clipper";
1130 description { state: "default" 0.0;
1135 to: "padding_left_top";
1139 to_x: "padding_right_bottom";
1140 to_y: "padding_left_top";
1144 description { state: "visible" 0.0;
1146 min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1147 max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1150 to: "padding_left_top";
1154 to_x: "padding_right_bottom";
1155 to_y: "padding_before_text";
1158 aspect_preference: HORIZONTAL;
1160 description { state: "icononly" 0.0;
1161 min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1162 max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1165 to: "padding_left_top";
1169 to: "padding_right_bottom";
1172 aspect_preference: HORIZONTAL;
1175 part { name: "elm.text";
1179 clip_to: "elm.text.clipper";
1180 description { state: "default" 0.0;
1184 to_x: "padding_left_top";
1185 to_y: "padding_after_icon";
1189 to: "padding_right_bottom";
1191 color: BUTTON_NAVIFRAME_DEFAULT_TEXT_COLOR_INC;
1194 style: "toolbar_style";
1198 description { state: "selected" 0.0;
1199 inherit: "default" 0.0;
1202 description { state: "visible" 0.0;
1203 inherit: "default" 0.0;
1206 description { state: "clicked" 0.0;
1207 inherit: "default" 0.0;
1209 color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
1211 description { state: "focused" 0.0;
1212 inherit: "default" 0.0;
1214 color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
1217 part { name: "elm.text_new";
1221 clip_to: "elm.text_new.clipper";
1222 description { state: "default" 0.0;
1226 to_x: "padding_left_top";
1227 to_y: "padding_after_icon";
1231 to: "padding_right_bottom";
1233 color: BUTTON_NAVIFRAME_DEFAULT_TEXT_COLOR_INC;
1236 style: "toolbar_style";
1240 description { state: "visible" 0.0;
1241 inherit: "default" 0.0;
1244 description { state: "clicked" 0.0;
1245 inherit: "default" 0.0;
1247 color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
1249 description { state: "focused" 0.0;
1250 inherit: "default" 0.0;
1252 color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
1255 part { name: "elm.text.clipper";
1257 description { state: "default" 0.0;
1258 color: 255 255 255 255;
1260 description { state: "animation" 0.0;
1261 color: 255 255 255 0;
1263 description { state: "disabled" 0.0;
1264 color: 255 255 255 153;
1267 part { name: "elm.text_new.clipper";
1269 description { state: "default" 0.0;
1270 color: 255 255 255 0;
1272 description { state: "animation" 0.0;
1273 color: 255 255 255 255;
1275 description { state: "disabled" 0.0;
1276 color: 255 255 255 153;
1279 part { name: "elm.icon.clipper";
1281 description { state: "default" 0.0;
1282 color: 255 255 255 255;
1284 description { state: "animation" 0.0;
1285 color: 255 255 255 0;
1287 description { state: "disabled" 0.0;
1288 color: 255 255 255 153;
1291 part { name: "elm.icon_new.clipper";
1293 description { state: "default" 0.0;
1294 color: 255 255 255 0;
1296 description { state: "animation" 0.0;
1297 color: 255 255 255 255;
1299 description { state: "disabled" 0.0;
1300 color: 255 255 255 153;
1303 part { name: "event";
1306 ignore_flags: ON_HOLD;
1307 description { state: "default" 0.0;
1313 program { name: "go_active";
1314 signal: "elm,state,selected";
1316 action: STATE_SET "selected" 0.0;
1318 transition: LINEAR 0.2;
1320 program { name: "go_passive";
1321 signal: "elm,state,unselected";
1323 action: STATE_SET "default" 0.0;
1325 transition: LINEAR 0.1;
1327 program { name: "pressed";
1328 signal: "mouse,down,1";
1330 action: STATE_SET "selected" 0.0;
1333 target: "elm.text_new";
1334 transition: LINEAR 0.2;
1336 program { name: "unpressed";
1337 signal: "mouse,up,1";
1339 action: STATE_SET "default" 0.0;
1342 target: "elm.text_new";
1343 transition: LINEAR 0.1;
1345 program { name: "go";
1346 signal: "mouse,up,1";
1348 action: SIGNAL_EMIT "elm,action,click" "elm";
1350 program { name: "mouse,in";
1353 action: SIGNAL_EMIT "elm,mouse,in" "elm";
1355 program { name: "mouse,out";
1356 signal: "mouse,out";
1358 action: SIGNAL_EMIT "elm,mouse,out" "elm";
1360 program { name: "disable";
1361 signal: "elm,state,disabled";
1364 set_int(item_state, ITEM_STATE_DISABLED);
1365 set_state(PART:"bg", "disabled", 0.0);
1366 set_state(PART:"elm.text.clipper", "disabled", 0.0);
1367 set_state(PART:"elm.icon.clipper", "disabled", 0.0);
1368 run_program(PROGRAM:"label_set,animation,done");
1369 run_program(PROGRAM:"icon_set,animation,done");
1372 program { name: "enable";
1373 signal: "elm,state,enabled";
1376 set_int(item_state, ITEM_STATE_ENABLED);
1377 set_state(PART:"bg", "default", 0.0);
1378 set_state(PART:"elm.text.clipper", "default", 0.0);
1379 set_state(PART:"elm.icon.clipper", "default", 0.0);
1380 run_program(PROGRAM:"label_set,animation,done");
1381 run_program(PROGRAM:"icon_set,animation,done");
1384 program { name: "label_set,animation,forward";
1385 signal: "elm,state,label_set,forward";
1387 after: "label_set,animation";
1389 program { name: "label_set,animation,backward";
1390 signal: "elm,state,label_set,backward";
1392 after: "label_set,animation";
1394 program { name: "label_set,animation";
1395 signal: "elm,state,label_set";
1397 action: STATE_SET "animation" 0.0;
1398 target: "elm.text.clipper";
1399 target: "elm.text_new.clipper";
1400 transition: LINEAR 0.2;
1401 after: "label_set,animation,done";
1403 program { name: "label_set,animation,done";
1404 action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
1406 program { name: "label,reset";
1407 signal: "elm,state,label,reset";
1410 set_state(PART:"elm.text_new.clipper", "default", 0.0);
1411 if (get_int(item_state) != ITEM_STATE_DISABLED)
1412 set_state(PART:"elm.text.clipper", "default", 0.0);
1414 set_state(PART:"elm.text.clipper", "disabled", 0.0);
1417 program { name: "icon_set,animation,forward";
1418 signal: "elm,state,icon_set,forward";
1420 after: "icon_set,animation";
1422 program { name: "icon_set,animation,backward";
1423 signal: "elm,state,icon_set,backward";
1425 after: "icon_set,animation";
1427 program { name: "icon_set,animation";
1428 signal: "elm,state,icon_set";
1430 action: STATE_SET "animation" 0.0;
1431 target: "elm.icon.clipper";
1432 target: "elm.icon_new.clipper";
1433 transition: LINEAR 0.2;
1434 after: "icon_set,animation,done";
1436 program { name: "icon_set,animation,done";
1437 action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
1439 program { name: "icon,reset";
1440 signal: "elm,state,icon,reset";
1443 set_state(PART:"elm.icon_new.clipper", "default", 0.0);
1444 if (get_int(item_state) != ITEM_STATE_DISABLED)
1445 set_state(PART:"elm.icon.clipper", "default", 0.0);
1447 set_state(PART:"elm.icon.clipper", "disabled", 0.0);
1450 program { name: "text_show";
1451 signal: "elm,state,text,visible";
1456 get_state(PART:"elm.swallow.icon", st, 30, vl);
1457 if (!strcmp(st, "icononly"))
1459 set_state(PART:"elm.swallow.icon", "visible", 0.0);
1460 set_state(PART:"icon_rect", "visible", 0.0);
1461 set_state(PART:"padding_after_icon", "visible", 0.0);
1463 set_state(PART:"elm.text", "visible", 0.0);
1466 program { name: "text_hide";
1467 signal: "elm,state,text,hidden";
1472 get_state(PART:"elm.swallow.icon", st, 30, vl);
1473 if (!strcmp(st, "visible"))
1475 set_state(PART:"elm.swallow.icon", "icononly", 0.0);
1476 set_state(PART:"icon_rect", "icononly", 0.0);
1477 set_state(PART:"padding_after_icon", "icononly", 0.0);
1479 set_state(PART:"elm.text", "default", 0.0);
1482 program { name: "icon_show";
1483 signal: "elm,state,icon,visible";
1488 get_state(PART:"elm.text", st, 30, vl);
1489 if (!strcmp(st, "visible"))
1491 set_state(PART:"elm.swallow.icon", "visible", 0.0);
1492 set_state(PART:"icon_rect", "visible", 0.0);
1493 set_state(PART:"padding_after_icon", "visible", 0.0);
1497 set_state(PART:"elm.swallow.icon", "icononly", 0.0);
1498 set_state(PART:"icon_rect", "icononly", 0.0);
1499 set_state(PART:"padding_after_icon", "icononly", 0.0);
1506 group { name: "elm/toolbar/item/tabbar/item_horizontal";
1507 inherit: "elm/toolbar/item/tabbar";
1509 public item_state = ITEM_STATE_ENABLED;
1512 part { name: "icon_rect";
1513 description { state: "default" 0.0;
1517 description { state: "visible" 0.0;
1521 to_x: "padding_left_top";
1522 to_y: "padding_right_bottom";
1527 part { name: "padding_after_icon";
1528 description { state: "default" 0.0; //when only icon or no icon is there
1529 rel1.relative: 1.0 0.0;
1532 description { state: "visible" 0.0;
1533 inherit: "default" 0.0;
1537 part { name: "padding_before_text";
1538 description { state: "default" 0.0; //when only icon or no icon is there
1543 to_y: "padding_left_top";
1547 to_y: "padding_right_bottom";
1553 part { name: "elm.swallow.icon";
1554 description { state: "default" 0.0;
1558 to_x: "padding_left_top";
1559 to_y: "padding_right_bottom";
1563 description { state: "visible" 0.0;
1568 to_x: "padding_before_text";
1569 to_y: "padding_left_top";
1573 to_x: "padding_before_text";
1574 to_y: "padding_right_bottom";
1576 aspect_preference: VERTICAL;
1578 description { state: "icononly" 0.0;
1579 aspect_preference: VERTICAL;
1582 part { name: "elm.swallow.icon_new";
1583 description { state: "default" 0.0;
1587 to_x: "padding_left_top";
1588 to_y: "padding_right_bottom";
1592 description { state: "visible" 0.0;
1597 to_x: "padding_before_text";
1598 to_y: "padding_left_top";
1602 to_x: "padding_before_text";
1603 to_y: "padding_right_bottom";
1605 aspect_preference: VERTICAL;
1607 description { state: "icononly" 0.0;
1608 aspect_preference: VERTICAL;
1611 part { name: "elm.text";
1613 description { state: "default" 0.0;
1616 to_x: "padding_after_icon";
1617 to_y: "padding_left_top";
1620 style: "toolbar_style";
1624 description { state: "selected" 0.0;
1625 inherit: "default" 0.0;
1628 description { state: "visible" 0.0;
1629 inherit: "default" 0.0;
1632 description { state: "clicked" 0.0;
1633 inherit: "default" 0.0;
1635 color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
1637 description { state: "focused" 0.0;
1638 inherit: "default" 0.0;
1640 color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
1643 part { name: "elm.text_new";
1645 description { state: "default" 0.0;
1648 to_x: "padding_after_icon";
1649 to_y: "padding_left_top";
1652 style: "toolbar_style";
1656 description { state: "selected" 0.0;
1657 inherit: "default" 0.0;
1660 description { state: "visible" 0.0;
1661 inherit: "default" 0.0;
1664 description { state: "clicked" 0.0;
1665 inherit: "default" 0.0;
1667 color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
1669 description { state: "focused" 0.0;
1670 inherit: "default" 0.0;
1672 color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
1678 group { name: "elm/toolbar/base/naviframe";
1680 part { name: "base";
1682 description { state: "default" 0.0;
1686 part { name: "clipper";
1690 state: "default" 0.0;
1701 part { name: "elm.swallow.content";
1705 state: "default" 0.0;
1710 part { name: "event";
1714 description { state: "default" 0.0;
1721 group { name: "elm/toolbar/object/naviframe";
1723 part { name: "elm.swallow.object"; // object group
1726 state: "default" 0.0;