3 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 * Licensed under the Apache License, Version 2.0 (the License);
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an AS IS BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
20 #define ITEM_STATE_ENABLED 0
21 #define ITEM_STATE_DISABLED 1
23 #define TOOLBAR_TEXT_STYLE(_font_size) \
24 style { name: "toolbar_text_style_"_font_size; \
25 base: "font=Tizen:style=Medium style=far_shadow,bottom shadow_color=#ffffffff font_size="_font_size" align=center color="TABBAR_ITEM_TEXTBLOCK_COLOR_INC" wrap=word ellipsis=1 text_class=tizen linegap=-10"; \
28 tag: "hilight" "+ font=Tizen:style=Bold"; \
29 tag: "b" "+ font=Tizen:style=Bold"; \
33 #define TOOLBAR_SELECTED_TEXT_STYLE(_font_size) \
34 style { name: "toolbar_selected_text_style_"_font_size; \
35 base: "font=Tizen:style=Medium style=far_shadow,bottom shadow_color=#ffffffff font_size="_font_size" align=center color="TABBAR_ITEM_SELECTED_TEXTBLOCK_COLOR_INC" wrap=word ellipsis=1 text_class=tizen linegap=-10"; \
38 tag: "hilight" "+ font=Tizen:style=Bold"; \
39 tag: "b" "+ font=Tizen:style=Bold"; \
44 TOOLBAR_TEXT_STYLE(24)
45 TOOLBAR_TEXT_STYLE(28)
46 TOOLBAR_TEXT_STYLE(30)
47 TOOLBAR_SELECTED_TEXT_STYLE(24)
48 TOOLBAR_SELECTED_TEXT_STYLE(28)
49 TOOLBAR_SELECTED_TEXT_STYLE(30)
52 group { name: "elm/toolbar/base/default";
54 image: "00_winset_control_toolbar_bg.png" COMP;
59 description { state: "default" 0.0;
60 image.normal: "00_winset_control_toolbar_bg.png";
63 part { name: "clipper";
78 part { name: "elm.swallow.content";
91 description { state: "default" 0.0;
98 group { name: "elm/toolbar/item/default";
100 image: "00_winset_toolbar_press.png" COMP;
103 data.item: "transition_animation_on" "1";
105 public item_state = ITEM_STATE_ENABLED;
106 public items_number = 0;
111 description { state: "default" 0.0;
113 color: 255 255 255 0;
116 offset: TOOLBAR_ITEM_BG_REL1_OFFSET_INC;
120 offset: TOOLBAR_ITEM_BG_REL2_OFFSET_INC;
123 normal: "00_winset_toolbar_press.png";
124 border: TOOLBAR_ITEM_BG_SELECTED_BORDER_INC;
129 description { state: "selected" 0.0;
130 inherit: "default" 0.0;
132 color: 255 255 255 255;
134 description { state: "disabled" 0.0;
135 inherit: "default" 0.0;
137 color: 255 255 255 0;
140 part { name: "padding_left_top";
144 description { state: "default" 0.0;
146 rel2.relative: 0.0 0.0;
153 part { name: "padding_right_bottom";
157 description { state: "default" 0.0;
159 rel1.relative: 1.0 1.0;
171 description { state: "default" 0.0;
176 to: "padding_left_top";
180 to_x: "padding_right_bottom";
181 to_y: "padding_left_top";
186 description { state: "visible" 0.0;
187 min: TABBAR_ITEM_ICON_SIZE_INC;
191 to: "padding_left_top";
195 to_x: "padding_right_bottom";
196 to_y: "padding_left_top";
201 description { state: "icononly" 0.0;
202 inherit: "default" 0.0;
205 part { name: "padding_after_icon";
209 description { state: "default" 0.0; //when only icon or no icon is there
215 rel2.to: "icon_rect";
220 description { state: "visible" 0.0;
221 inherit: "default" 0.0;
223 description { state: "icononly" 0.0;
224 inherit: "default" 0.0;
227 part { name: "padding_before_text";
231 description { state: "default" 0.0; //when only icon or no icon is there
235 to_x: "padding_left_top";
240 to_x: "padding_right_bottom";
248 part { name: "elm.swallow.icon";
251 clip_to: "elm.icon.clipper";
252 description { state: "default" 0.0;
257 to: "padding_left_top";
261 to_x: "padding_right_bottom";
262 to_y: "padding_left_top";
266 description { state: "visible" 0.0;
268 min: TABBAR_ITEM_ICON_SIZE_INC;
269 max: TABBAR_ITEM_ICON_SIZE_INC;
272 to: "padding_left_top";
276 to_x: "padding_right_bottom";
277 to_y: "padding_before_text";
280 aspect_preference: HORIZONTAL;
282 description { state: "icononly" 0.0;
283 min: TABBAR_ITEM_ICON_SIZE_INC;
284 max: TABBAR_ITEM_ICON_SIZE_INC;
287 to: "padding_left_top";
291 to: "padding_right_bottom";
294 aspect_preference: HORIZONTAL;
297 part { name: "elm.swallow.icon_new";
300 clip_to: "elm.icon_new.clipper";
301 description { state: "default" 0.0;
306 to: "padding_left_top";
310 to_x: "padding_right_bottom";
311 to_y: "padding_left_top";
315 description { state: "visible" 0.0;
317 min: TABBAR_ITEM_ICON_SIZE_INC;
318 max: TABBAR_ITEM_ICON_SIZE_INC;
321 to: "padding_left_top";
325 to_x: "padding_right_bottom";
326 to_y: "padding_before_text";
329 aspect_preference: HORIZONTAL;
331 description { state: "icononly" 0.0;
332 min: TABBAR_ITEM_ICON_SIZE_INC;
333 max: TABBAR_ITEM_ICON_SIZE_INC;
336 to: "padding_left_top";
340 to: "padding_right_bottom";
343 aspect_preference: HORIZONTAL;
346 part { name: "elm.text";
350 clip_to: "elm.text.clipper";
351 description { state: "default" 0.0;
355 to_x: "padding_left_top";
356 to_y: "padding_after_icon";
360 to: "padding_right_bottom";
362 color: BUTTON_NAVIFRAME_DEFAULT_TEXT_COLOR_INC;
365 style: "toolbar_text_style_26";
369 description { state: "visible" 0.0;
370 inherit: "default" 0.0;
373 description { state: "visible_30" 0.0;
374 inherit: "default" 0.0;
375 text.style: "toolbar_text_style_30";
378 description { state: "visible_32" 0.0;
379 inherit: "default" 0.0;
380 text.style: "toolbar_text_style_32";
383 description { state: "visible_36" 0.0;
384 inherit: "default" 0.0;
385 text.style: "toolbar_text_style_36";
389 part { name: "elm.text_new";
393 clip_to: "elm.text_new.clipper";
394 description { state: "default" 0.0;
398 to_x: "padding_left_top";
399 to_y: "padding_after_icon";
403 to: "padding_right_bottom";
405 color: BUTTON_NAVIFRAME_DEFAULT_TEXT_COLOR_INC;
408 style: "toolbar_text_style_26";
412 description { state: "visible" 0.0;
413 inherit: "default" 0.0;
416 description { state: "visible_30" 0.0;
417 inherit: "default" 0.0;
418 text.style: "toolbar_text_style_30";
421 description { state: "visible_32" 0.0;
422 inherit: "default" 0.0;
423 text.style: "toolbar_text_style_32";
426 description { state: "visible_36" 0.0;
427 inherit: "default" 0.0;
428 text.style: "toolbar_text_style_36";
432 part { name: "elm.text.clipper";
434 description { state: "default" 0.0;
435 color: 255 255 255 255;
437 description { state: "animation" 0.0;
438 color: 255 255 255 0;
440 description { state: "disabled" 0.0;
441 color: 255 255 255 153;
444 part { name: "elm.text_new.clipper";
446 description { state: "default" 0.0;
447 color: 255 255 255 0;
449 description { state: "animation" 0.0;
450 color: 255 255 255 255;
452 description { state: "disabled" 0.0;
453 color: 255 255 255 153;
456 part { name: "elm.icon.clipper";
458 description { state: "default" 0.0;
459 color: 255 255 255 255;
461 description { state: "animation" 0.0;
462 color: 255 255 255 0;
464 description { state: "disabled" 0.0;
465 color: 255 255 255 153;
468 part { name: "elm.icon_new.clipper";
470 description { state: "default" 0.0;
471 color: 255 255 255 0;
473 description { state: "animation" 0.0;
474 color: 255 255 255 255;
476 description { state: "disabled" 0.0;
477 color: 255 255 255 153;
480 part { name: "event";
483 ignore_flags: ON_HOLD;
484 description { state: "default" 0.0;
488 part { name: "event2";
492 description { state: "default" 0.0;
498 program { name: "pressed";
499 signal: "mouse,down,1";
502 if (get_int(item_state) != ITEM_STATE_DISABLED)
503 set_state(PART:"bg", "selected", 0.0);
505 transition: LINEAR 0.2;
507 program { name: "unpressed";
508 signal: "mouse,up,1";
510 action: STATE_SET "default" 0.0;
512 transition: LINEAR 0.1;
514 program { name: "go";
515 signal: "mouse,clicked,1";
517 action: SIGNAL_EMIT "elm,action,click" "elm";
519 program { name: "mouse,in";
522 action: SIGNAL_EMIT "elm,mouse,in" "elm";
524 program { name: "mouse,out";
527 action: SIGNAL_EMIT "elm,mouse,out" "elm";
529 program { name: "disable";
530 signal: "elm,state,disabled";
533 set_int(item_state, ITEM_STATE_DISABLED);
534 set_state(PART:"bg", "disabled", 0.0);
535 set_state(PART:"elm.text.clipper", "disabled", 0.0);
536 set_state(PART:"elm.icon.clipper", "disabled", 0.0);
537 run_program(PROGRAM:"label_set,animation,done");
538 run_program(PROGRAM:"icon_set,animation,done");
541 program { name: "enable";
542 signal: "elm,state,enabled";
545 set_int(item_state, ITEM_STATE_ENABLED);
546 set_state(PART:"bg", "default", 0.0);
547 set_state(PART:"elm.text.clipper", "default", 0.0);
548 set_state(PART:"elm.icon.clipper", "default", 0.0);
549 run_program(PROGRAM:"label_set,animation,done");
550 run_program(PROGRAM:"icon_set,animation,done");
553 program { name: "label_set,animation,forward";
554 signal: "elm,state,label_set,forward";
556 after: "label_set,sync";
558 program { name: "label_set,animation,backward";
559 signal: "elm,state,label_set,backward";
561 after: "label_set,sync";
563 program { name: "label_set,sync";
564 signal: "elm,state,label_set";
569 get_state(PART:"elm.text", st, 30, vl);
570 set_state(PART:"elm.text_new", st, vl);
572 after: "label_set,animation";
574 program { name: "label_set,animation";
575 action: STATE_SET "animation" 0.0;
576 target: "elm.text.clipper";
577 target: "elm.text_new.clipper";
578 transition: LINEAR 0.2;
579 after: "label_set,animation,done";
581 program { name: "label_set,animation,done";
582 action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
584 program { name: "label,reset";
585 signal: "elm,state,label,reset";
588 set_state(PART:"elm.text_new.clipper", "default", 0.0);
589 if (get_int(item_state) != ITEM_STATE_DISABLED)
590 set_state(PART:"elm.text.clipper", "default", 0.0);
592 set_state(PART:"elm.text.clipper", "disabled", 0.0);
595 program { name: "icon_set,animation,forward";
596 signal: "elm,state,icon_set,forward";
598 after: "icon_set,animation";
600 program { name: "icon_set,animation,backward";
601 signal: "elm,state,icon_set,backward";
603 after: "icon_set,animation";
605 program { name: "icon_set,animation";
606 signal: "elm,state,icon_set";
608 action: STATE_SET "animation" 0.0;
609 target: "elm.icon.clipper";
610 target: "elm.icon_new.clipper";
611 transition: LINEAR 0.2;
612 after: "icon_set,animation,done";
614 program { name: "icon_set,animation,done";
615 action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
617 program { name: "icon,reset";
618 signal: "elm,state,icon,reset";
621 set_state(PART:"elm.icon_new.clipper", "default", 0.0);
622 if (get_int(item_state) != ITEM_STATE_DISABLED)
623 set_state(PART:"elm.icon.clipper", "default", 0.0);
625 set_state(PART:"elm.icon.clipper", "disabled", 0.0);
628 program { name: "text_show";
629 signal: "elm,state,text,visible";
634 get_state(PART:"elm.swallow.icon", st, 30, vl);
635 if (!strcmp(st, "icononly"))
637 set_state(PART:"elm.swallow.icon", "visible", 0.0);
638 set_state(PART:"icon_rect", "visible", 0.0);
639 set_state(PART:"padding_after_icon", "visible", 0.0);
641 if (strcmp(st, "default"))
643 set_state(PART:"elm.text", "visible", 0.0);
647 if (get_int(items_number) <= 3)
648 set_state(PART:"elm.text", "visible_32", 0.0);
649 else if (get_int(items_number) >= 4)
650 set_state(PART:"elm.text", "visible_30", 0.0);
654 program { name: "text_hide";
655 signal: "elm,state,text,hidden";
660 get_state(PART:"elm.swallow.icon", st, 30, vl);
661 if (!strcmp(st, "visible"))
663 set_state(PART:"elm.swallow.icon", "icononly", 0.0);
664 set_state(PART:"icon_rect", "icononly", 0.0);
665 set_state(PART:"padding_after_icon", "icononly", 0.0);
667 set_state(PART:"elm.text", "default", 0.0);
670 program { name: "icon_show";
671 signal: "elm,state,icon,visible";
676 get_state(PART:"elm.text", st, 30, vl);
677 if (!strncmp(st, "visible", 7))
679 set_state(PART:"elm.swallow.icon", "visible", 0.0);
680 set_state(PART:"icon_rect", "visible", 0.0);
681 set_state(PART:"padding_after_icon", "visible", 0.0);
682 set_state(PART:"elm.text", "visible", 0.0);
686 set_state(PART:"elm.swallow.icon", "icononly", 0.0);
687 set_state(PART:"icon_rect", "icononly", 0.0);
688 set_state(PART:"padding_after_icon", "icononly", 0.0);
692 program { name: "icon_hide";
693 signal: "elm,state,icon,hidden";
698 get_state(PART:"elm.text", st, 30, vl);
699 if (!strncmp(st, "visible", 7))
701 if (get_int(items_number) <= 3)
702 set_state(PART:"elm.text", "visible_32", 0.0);
703 else if (get_int(items_number) >= 4)
704 set_state(PART:"elm.text", "visible_30", 0.0);
706 set_state(PART:"elm.swallow.icon", "default", 0.0);
707 set_state(PART:"icon_rect", "default", 0.0);
708 set_state(PART:"padding_after_icon", "default", 0.0);
711 program { name: "text_only_item_1";
712 signal: "elm,number,item,1";
715 set_int(items_number, 1);
717 after: "text_only_item_under_3";
719 program { name: "text_only_item_2";
720 signal: "elm,number,item,2";
723 set_int(items_number, 2);
725 after: "text_only_item_under_3";
727 program { name: "text_only_item_3";
728 signal: "elm,number,item,3";
731 set_int(items_number, 3);
733 after: "text_only_item_under_3";
735 program { name: "text_only_item_under_3";
739 get_state(PART:"elm.swallow.icon", st, 30, vl);
740 if (strcmp(st, "visible"))
742 get_state(PART:"elm.text", st, 30, vl);
743 if (!strncmp(st, "visible", 7))
745 set_state(PART:"elm.text", "visible_32", 0.0);
750 program { name: "text_only_item_4";
751 signal: "elm,number,item,4";
754 set_int(items_number, 4);
756 after: "text_only_item_upper_4";
758 program { name: "text_only_item_5";
759 signal: "elm,number,item,5";
762 set_int(items_number, 5);
764 after: "text_only_item_upper_4";
766 program { name: "text_only_item_6";
767 signal: "elm,number,item,6";
770 set_int(items_number, 6);
772 after: "text_only_item_upper_4";
774 program { name: "text_only_item_7";
775 signal: "elm,number,item,7";
778 set_int(items_number, 7);
780 after: "text_only_item_upper_4";
782 program { name: "text_only_item_8";
783 signal: "elm,number,item,8";
786 set_int(items_number, 8);
788 after: "text_only_item_upper_4";
790 program { name: "text_only_item_9";
791 signal: "elm,number,item,9";
794 set_int(items_number, 9);
796 after: "text_only_item_upper_4";
798 program { name: "text_only_item_10";
799 signal: "elm,number,item,10";
802 set_int(items_number, 10);
804 after: "text_only_item_upper_4";
806 program { name: "text_only_item_upper_4";
807 signal: "elm,number,item,4";
812 get_state(PART:"elm.swallow.icon", st, 30, vl);
813 if (strcmp(st, "visible"))
815 get_state(PART:"elm.text", st, 30, vl);
816 if (!strncmp(st, "visible", 7))
818 set_state(PART:"elm.text", "visible_30", 0.0);
826 group { name: "elm/toolbar/item/item_horizontal";
827 inherit: "elm/toolbar/item/default";
829 part { name: "icon_rect";
830 description { state: "default" 0.0;
834 description { state: "visible" 0.0;
838 to_x: "padding_left_top";
839 to_y: "padding_right_bottom";
844 part { name: "padding_after_icon";
845 description { state: "default" 0.0; //when only icon or no icon is there
846 rel1.relative: 1.0 0.0;
849 description { state: "visible" 0.0;
850 inherit: "default" 0.0;
854 part { name: "padding_before_text";
855 description { state: "default" 0.0; //when only icon or no icon is there
860 to_y: "padding_left_top";
864 to_y: "padding_right_bottom";
870 part { name: "elm.swallow.icon";
871 description { state: "default" 0.0;
875 to_x: "padding_left_top";
876 to_y: "padding_right_bottom";
880 description { state: "visible" 0.0;
885 to_x: "padding_before_text";
886 to_y: "padding_left_top";
890 to_x: "padding_before_text";
891 to_y: "padding_right_bottom";
893 aspect_preference: VERTICAL;
895 description { state: "icononly" 0.0;
896 aspect_preference: VERTICAL;
899 part { name: "elm.swallow.icon_new";
900 description { state: "default" 0.0;
904 to_x: "padding_left_top";
905 to_y: "padding_right_bottom";
909 description { state: "visible" 0.0;
914 to_x: "padding_before_text";
915 to_y: "padding_left_top";
919 to_x: "padding_before_text";
920 to_y: "padding_right_bottom";
922 aspect_preference: VERTICAL;
924 description { state: "icononly" 0.0;
925 aspect_preference: VERTICAL;
928 part { name: "elm.text";
930 description { state: "default" 0.0;
933 to_x: "padding_after_icon";
934 to_y: "padding_left_top";
940 description { state: "visible" 0.0;
941 inherit: "default" 0.0;
944 description { state: "visible_30" 0.0;
945 inherit: "default" 0.0;
946 text.style: "toolbar_text_style_30";
949 description { state: "visible_32" 0.0;
950 inherit: "default" 0.0;
951 text.style: "toolbar_text_style_32";
954 description { state: "visible_36" 0.0;
955 inherit: "default" 0.0;
956 text.style: "toolbar_text_style_36";
960 part { name: "elm.text_new";
962 description { state: "default" 0.0;
965 to_x: "padding_after_icon";
966 to_y: "padding_left_top";
972 description { state: "visible" 0.0;
973 inherit: "default" 0.0;
976 description { state: "visible_30" 0.0;
977 inherit: "default" 0.0;
978 text.style: "toolbar_text_style_30";
981 description { state: "visible_32" 0.0;
982 inherit: "default" 0.0;
983 text.style: "toolbar_text_style_32";
986 description { state: "visible_36" 0.0;
987 inherit: "default" 0.0;
988 text.style: "toolbar_text_style_36";
995 group { name: "elm/toolbar/separator/default";
997 image: "00_winset_divider_line.png" COMP;
1000 part { name: "base";
1003 description { state: "default" 0.0;
1007 rel1.relative: 0.0 0.5;
1008 rel2.relative: 0.0 0.5;
1010 normal: "00_winset_divider_line.png";
1018 group { name: "elm/toolbar/object/default";
1020 part { name: "elm.swallow.object"; // object group
1023 state: "default" 0.0;
1029 group { name: "elm/toolbar/base/tabbar";
1031 image: "00_effect_tab_bounce_left.png" COMP;
1032 image: "00_effect_tab_bounce_right.png" COMP;
1035 public left_timer, right_timer;
1036 public l_timer(val) {
1037 emit("do-hide-left-shadow", "");
1038 set_int(left_timer, 0);
1041 public r_timer(val) {
1042 emit("do-hide-right-shadow", "");
1043 set_int(right_timer, 0);
1048 part { name: "base";
1051 description { state: "default" 0.0;
1052 color: 248 246 239 255;
1055 part { name: "left_padding";
1060 state: "default" 0.0;
1067 rel1.relative: 0.0 0.0;
1068 rel2.relative: 0.0 1.0;
1071 part { name: "right_padding";
1076 state: "default" 0.0;
1083 rel1.relative: 1.0 0.0;
1084 rel2.relative: 1.0 1.0;
1087 part { name: "clipper";
1092 state: "default" 0.0;
1093 rel1.to: "left_padding";
1094 rel1.relative: 1.0 0.0;
1095 rel2.to: "right_padding";
1096 rel2.relative: 0.0 1.0;
1099 part { name: "elm.swallow.content";
1104 state: "default" 0.0;
1109 part { name: "left_shadow_clip";
1113 description { state: "default" 0.0;
1115 color: 255 255 255 0;
1117 description { state: "show" 0.0;
1120 part { name: "right_shadow_clip";
1124 description { state: "default" 0.0;
1126 color: 255 255 255 0;
1128 description { state: "show" 0.0;
1131 part { name: "shadow_left";
1132 clip_to: "left_shadow_clip";
1136 description { state: "default" 0.0;
1140 color: 255 255 255 255;
1141 rel1.relative: 0.0 0.0;
1142 rel2.relative: 0.0 1.0;
1143 image.normal: "00_effect_tab_bounce_left.png";
1146 part { name: "shadow_right";
1147 clip_to: "right_shadow_clip";
1151 description { state: "default" 0.0;
1155 color: 255 255 255 255;
1156 rel1.relative: 1.0 0.0;
1157 rel2.relative: 1.0 1.0;
1158 image.normal: "00_effect_tab_bounce_right.png";
1163 program { name: "load";
1165 set_int(left_timer, 0);
1166 set_int(right_timer, 0);
1169 program { name: "left_shadow_show";
1170 signal: "do-show-left-shadow";
1172 action: STATE_SET "show" 0.0;
1173 transition: LINEAR 0.3;
1174 target: "left_shadow_clip";
1176 program { name: "left_shadow_hide";
1177 signal: "do-hide-left-shadow";
1179 action: STATE_SET "default" 0.0;
1180 transition: LINEAR 0.3;
1181 target: "left_shadow_clip";
1183 program { name: "right_shadow_show";
1184 signal: "do-show-right-shadow";
1186 action: STATE_SET "show" 0.0;
1187 transition: LINEAR 0.3;
1188 target: "right_shadow_clip";
1190 program { name: "right_shadow_hide";
1191 signal: "do-hide-right-shadow";
1193 action: STATE_SET "default" 0.0;
1194 transition: LINEAR 0.3;
1195 target: "right_shadow_clip";
1197 program { name: "edge_left";
1198 signal: "elm,edge,left";
1202 v = get_int(left_timer);
1204 emit("do-show-left-shadow", "");
1206 if (v > 0) cancel_timer(v);
1207 v = timer(0.5, "l_timer", 0);
1208 set_int(left_timer, v);
1211 program { name: "edge_right";
1212 signal: "elm,edge,right";
1216 v = get_int(right_timer);
1218 emit("do-show-right-shadow", "");
1220 if (v > 0) cancel_timer(v);
1221 v = timer(0.5, "r_timer", 0);
1222 set_int(right_timer, v);
1228 group { name: "elm/toolbar/more/tabbar";
1230 image: "00_winset_control_tab_h_line_h.png" COMP;
1233 part { name: "base";
1236 description { state: "default" 0.0;
1237 rel1.relative: 0.0 0.0;
1238 rel2.relative: 1.0 0.0;
1239 color: 248 246 239 255;
1241 description { state: "open" 0.0;
1242 inherit: "default" 0.0;
1243 rel2.relative: 1.0 1.0;
1245 description { state: "open2" 0.0;
1246 inherit: "default" 0.0;
1247 rel2.relative: 1.0 2.0;
1250 part { name: "clipper";
1254 state: "default" 0.0;
1263 description { state: "open" 0.0;
1264 inherit: "default" 0.0;
1265 rel2.relative: 1.0 1.0;
1267 description { state: "open2" 0.0;
1268 inherit: "default" 0.0;
1269 rel2.relative: 1.0 0.5;
1272 part { name: "clipper2";
1276 state: "default" 0.0;
1286 description { state: "open" 0.0;
1287 inherit: "default" 0.0;
1288 rel1.relative: 0.0 1.0;
1290 description { state: "open2" 0.0;
1291 inherit: "default" 0.0;
1292 rel1.relative: 0.0 0.5;
1295 part { name: "elm.swallow.content";
1299 state: "default" 0.0;
1305 part { name: "elm.swallow.content2";
1306 clip_to: "clipper2";
1309 state: "default" 0.0;
1311 rel1.to: "clipper2";
1312 rel2.to: "clipper2";
1315 part { name: "separator";
1317 description { state: "default" 0.0;
1332 normal: "00_winset_control_tab_h_line_h.png";
1340 part { name: "separator2";
1341 clip_to: "clipper2";
1342 description { state: "default" 0.0;
1357 normal: "00_winset_control_tab_h_line_h.png";
1367 program { name: "open";
1368 signal: "elm,state,open";
1370 action: STATE_SET "open" 0.0;
1374 transition: LINEAR 0.2;
1376 program { name: "open2";
1377 signal: "elm,state,open2";
1379 action: STATE_SET "open2" 0.0;
1383 transition: LINEAR 0.2;
1385 program { name: "close";
1386 signal: "elm,state,close";
1388 action: STATE_SET "default" 0.0;
1390 transition: LINEAR 0.2;
1395 group { name: "elm/toolbar/item/tabbar";
1397 image: "00_tab_press.png" COMP;
1398 image: "00_badge_bg.png" COMP;
1401 data.item: "transition_animation_on" "1";
1403 public item_state = ITEM_STATE_ENABLED;
1404 public items_number = 0;
1411 description { state: "default" 0.0;
1415 description { state: "icon_text" 0.0;
1416 inherit: "default" 0.0;
1420 part { name: "bg_cover";
1424 description { state: "default" 0.0;
1426 image.normal: "00_tab_press.png";
1428 description { state: "pressed" 0.0;
1429 inherit: "default" 0.0;
1432 description { state: "moving" 0.0;
1433 inherit: "default" 0.0;
1437 part { name: "padding_left_top";
1441 description { state: "default" 0.0;
1443 rel2.relative: 0.0 0.0;
1450 part { name: "padding_right_bottom";
1454 description { state: "default" 0.0;
1456 rel1.relative: 1.0 1.0;
1468 description { state: "default" 0.0;
1473 to: "padding_left_top";
1477 to_x: "padding_left_top";
1478 to_y: "padding_right_bottom";
1483 description { state: "visible" 0.0;
1484 inherit: "default" 0.0;
1485 min: TABBAR_ITEM_SMALL_ICON_SIZE_INC;
1487 description { state: "icononly" 0.0;
1488 inherit: "default" 0.0;
1491 part { name: "padding_after_icon";
1495 description { state: "default" 0.0; //when only icon or no icon is there
1501 rel2.to: "icon_rect";
1506 description { state: "visible" 0.0;
1507 inherit: "default" 0.0;
1510 description { state: "icononly" 0.0;
1511 inherit: "default" 0.0;
1514 part { name: "padding_before_text";
1518 description { state: "default" 0.0; //when only icon or no icon is there
1523 to_y: "padding_left_top";
1528 to_y: "padding_right_bottom";
1535 part { name: "elm.swallow.icon";
1538 clip_to: "elm.icon.clipper";
1539 description { state: "default" 0.0;
1541 min: TABBAR_ITEM_ICON_SIZE_INC;
1542 max: TABBAR_ITEM_ICON_SIZE_INC;
1543 rel1.to: "padding_left_top";
1544 rel2.to: "padding_right_bottom";
1546 aspect_preference: HORIZONTAL;
1548 description { state: "visible" 0.0;
1550 min: TABBAR_ITEM_SMALL_ICON_SIZE_INC;
1551 max: TABBAR_ITEM_SMALL_ICON_SIZE_INC;
1555 to_x: "padding_before_text";
1556 to_y: "padding_left_top";
1560 to_x: "padding_before_text";
1561 to_y: "padding_right_bottom";
1564 aspect_preference: HORIZONTAL;
1566 description { state: "icononly" 0.0;
1567 inherit: "default" 0.0;
1571 part { name: "elm.swallow.icon_new";
1574 clip_to: "elm.icon_new.clipper";
1575 description { state: "default" 0.0;
1577 min: TABBAR_ITEM_ICON_SIZE_INC;
1578 max: TABBAR_ITEM_ICON_SIZE_INC;
1579 rel1.to: "padding_left_top";
1580 rel2.to: "padding_right_bottom";
1582 aspect_preference: HORIZONTAL;
1584 description { state: "visible" 0.0;
1586 min: TABBAR_ITEM_SMALL_ICON_SIZE_INC;
1587 max: TABBAR_ITEM_SMALL_ICON_SIZE_INC;
1590 to_x: "padding_before_text";
1591 to_y: "padding_left_top";
1595 to_x: "padding_before_text";
1596 to_y: "padding_right_bottom";
1599 aspect_preference: HORIZONTAL;
1601 description { state: "icononly" 0.0;
1602 inherit: "default" 0.0;
1606 part { name: "elm.swallow.icon_new.proxy";
1609 clip_to: "elm.icon_new.proxy.clipper";
1610 description { state: "default" 0.0;
1611 source: "elm.swallow.icon_new";
1612 rel1.to: "elm.swallow.icon_new";
1614 rel2.to: "elm.swallow.icon_new";
1618 part { name: "elm.swallow.icon.proxy";
1621 clip_to: "elm.icon.proxy.clipper";
1622 description { state: "default" 0.0;
1623 source: "elm.swallow.icon";
1624 rel1.to: "elm.swallow.icon";
1626 rel2.to: "elm.swallow.icon";
1630 part { name: "elm.text";
1634 clip_to: "elm.text.clipper";
1635 description { state: "default" 0.0;
1639 to_x: "padding_after_icon";
1640 to_y: "padding_left_top";
1644 to: "padding_right_bottom";
1649 style: "toolbar_text_style_30";
1654 description { state: "visible" 0.0;
1655 inherit: "default" 0.0;
1658 description { state: "visible" 0.24;
1659 inherit: "visible" 0.0;
1661 text.style: "toolbar_text_style_24";
1663 description { state: "visible" 0.28;
1664 inherit: "visible" 0.0;
1666 text.style: "toolbar_text_style_28";
1668 description { state: "visible" 0.30;
1669 inherit: "visible" 0.0;
1671 text.style: "toolbar_text_style_30";
1673 description { state: "selected" 0.0;
1674 inherit: "visible" 0.0;
1675 text.style: "toolbar_selected_text_style_30";
1677 description { state: "selected" 0.24;
1678 inherit: "visible" 0.24;
1679 text.style: "toolbar_selected_text_style_24";
1681 description { state: "selected" 0.28;
1682 inherit: "visible" 0.28;
1683 text.style: "toolbar_selected_text_style_28";
1685 description { state: "selected" 0.30;
1686 inherit: "visible" 0.30;
1687 text.style: "toolbar_selected_text_style_30";
1690 part { name: "elm.text_new";
1694 clip_to: "elm.text_new.clipper";
1695 description { state: "default" 0.0;
1699 to_x: "padding_after_icon";
1700 to_y: "padding_left_top";
1704 to: "padding_right_bottom";
1710 style: "toolbar_text_style_30";
1715 description { state: "visible" 0.0;
1716 inherit: "default" 0.0;
1719 description { state: "visible" 0.24;
1720 inherit: "visible" 0.0;
1722 text.style: "toolbar_text_style_24";
1724 description { state: "visible" 0.28;
1725 inherit: "visible" 0.0;
1727 text.style: "toolbar_text_style_28";
1729 description { state: "visible" 0.30;
1730 inherit: "visible" 0.0;
1732 text.style: "toolbar_text_style_30";
1734 description { state: "selected" 0.0;
1735 inherit: "visible" 0.0;
1736 text.style: "toolbar_selected_text_style_30";
1738 description { state: "selected" 0.24;
1739 inherit: "visible" 0.24;
1740 text.style: "toolbar_selected_text_style_24";
1742 description { state: "selected" 0.28;
1743 inherit: "visible" 0.28;
1744 text.style: "toolbar_selected_text_style_28";
1746 description { state: "selected" 0.30;
1747 inherit: "visible" 0.30;
1748 text.style: "toolbar_selected_text_style_30";
1751 part { name: "padding.selected_line";
1755 description { state: "default" 0.0;
1769 part { name: "selected_line";
1773 description { state: "default" 0.0;
1775 to: "padding.selected_line";
1779 to: "padding.selected_line";
1783 color: 59 115 182 255;
1788 description { state: "selected" 0.0;
1789 inherit: "default" 0.0;
1793 part { name: "padding.badge";
1797 description { state: "default" 0.0;
1809 description { state: "default" 0.10;
1810 inherit: "default" 0.0;
1813 description { state: "default" 0.06;
1814 inherit: "default" 0.0;
1817 description { state: "default" 0.04;
1818 inherit: "default" 0.0;
1822 part { name: "elm.image.badge";
1825 description { state: "default" 0.0;
1830 to: "left.padding.text";
1834 to: "right.padding.text";
1838 normal: "00_badge_bg.png";
1843 description { state: "visible" 0.0;
1844 inherit: "default" 0.0;
1848 part { name: "left.padding.text";
1852 state: "default" 0.0;
1857 to: "elm.text.badge";
1861 to: "elm.text.badge";
1867 part { name: "right.padding.text";
1871 state: "default" 0.0;
1876 to: "padding.badge";
1880 to: "padding.badge";
1886 part { name: "elm.text.badge";
1891 state: "default" 0.0;
1894 to: "right.padding.text";
1898 to: "right.padding.text";
1904 color: 10 100 208 255;
1906 font: "Tizen:style=Bold";
1911 description { state: "visible" 0.0;
1912 inherit: "default" 0.0;
1916 part { name: "elm.text.clipper";
1918 description { state: "default" 0.0;
1919 color: 255 255 255 255;
1921 description { state: "animation" 0.0;
1922 color: 255 255 255 0;
1924 description { state: "disabled" 0.0;
1925 color: 255 255 255 153;
1928 part { name: "elm.text_new.clipper";
1930 description { state: "default" 0.0;
1931 color: 255 255 255 0;
1933 description { state: "animation" 0.0;
1934 color: 255 255 255 255;
1936 description { state: "disabled" 0.0;
1937 color: 255 255 255 153;
1940 part { name: "elm.icon.clipper";
1942 description { state: "default" 0.0;
1943 color: 255 255 255 255;
1945 description { state: "animation" 0.0;
1946 color: 255 255 255 0;
1948 description { state: "selected" 0.0;
1949 color: 255 255 255 255;
1951 description { state: "disabled" 0.0;
1952 color: 255 255 255 153;
1955 part { name: "elm.icon_new.clipper";
1957 description { state: "default" 0.0;
1958 color: 255 255 255 0;
1960 description { state: "animation" 0.0;
1961 color: 255 255 255 255;
1963 description { state: "selected" 0.0;
1964 color: 255 255 255 255;
1966 description { state: "disabled" 0.0;
1967 color: 255 255 255 153;
1970 part { name: "elm.icon.proxy.clipper";
1972 description { state: "default" 0.0;
1973 color: 153 153 153 255;
1975 description { state: "animation" 0.0;
1976 color: 255 255 255 0;
1978 description { state: "selected" 0.0;
1979 color: 61 114 180 255;
1981 description { state: "disabled" 0.0;
1982 color: 255 255 255 153;
1985 part { name: "elm.icon_new.proxy.clipper";
1987 description { state: "default" 0.0;
1988 color: 255 255 255 0;
1990 description { state: "animation" 0.0;
1991 color: 255 255 255 255;
1993 description { state: "selected" 0.0;
1994 color: 61 114 180 255;
1996 description { state: "disabled" 0.0;
1997 color: 255 255 255 153;
2000 part { name: "divider";
2003 description { state: "default" 0.0;
2009 to_y: "elm.swallow.icon";
2013 to_y: "elm.swallow.icon";
2016 description { state: "hidden" 0.0;
2017 inherit: "default" 0.0;
2021 part { name: "divider_left";
2024 description { state: "default" 0.0;
2025 color: TABBAR_ITEM_DIVIDER_LEFT_COLOR_INC;
2036 part { name: "divider_right";
2039 description { state: "default" 0.0;
2040 color: TABBAR_ITEM_DIVIDER_RIGHT_COLOR_INC;
2051 part { name: "event";
2058 description { state: "default" 0.0;
2064 program { name: "go_active";
2065 signal: "elm,state,selected";
2067 action: STATE_SET "selected" 0.0;
2068 target: "elm.icon.clipper";
2069 target: "elm.icon.proxy.clipper";
2070 target: "selected_line";
2071 after: "selected_text";
2073 program { name: "selected_text";
2077 get_state(PART:"elm.text", st, 30, vl);
2078 set_state(PART:"elm.text", "selected", vl);
2081 program { name: "go_passive";
2082 signal: "elm,state,unselected";
2084 action: STATE_SET "default" 0.0;
2085 target: "elm.icon.clipper";
2086 target: "elm.icon.proxy.clipper";
2087 target: "selected_line";
2088 after: "unselected_text";
2090 program { name: "unselected_text";
2094 get_state(PART:"elm.text", st, 30, vl);
2095 set_state(PART:"elm.text", "visible", vl);
2098 program { name: "moving";
2099 signal: "elm,state,moving";
2101 action: STATE_SET "moving" 0.0;
2104 program { name: "pressed";
2105 signal: "mouse,down,1";
2107 action: STATE_SET "pressed" 0.0;
2117 new Float:dx, Float:dy;
2118 get_state(PART:"bg_cover", st, 30, vl);
2119 if (strcmp(st, "moving"))
2121 get_drag(PART:"event", dx, dy);
2122 if ((abs(dx)*abs(dx))+(abs(dy)*abs(dy)) > 400)
2124 set_drag(PART:"event", 0.0, 0.0);
2125 set_state(PART:"bg_cover", "default", 0.0);
2127 set_drag(PART:"event", 0.0, 0.0);
2131 program { name: "unpressed";
2132 signal: "mouse,up,1";
2135 set_drag(PART:"event", 0.0, 0.0);
2136 set_state(PART:"bg_cover", "default", 0.0);
2139 program { name: "go";
2140 signal: "mouse,clicked,1";
2142 action: SIGNAL_EMIT "elm,action,click" "elm";
2143 after: "play_sound";
2145 program { name: "play_sound";
2146 action: PLAY_SAMPLE "touch_sound" 1.0;
2148 program { name: "mouse,in";
2151 action: SIGNAL_EMIT "elm,mouse,in" "elm";
2153 program { name: "mouse,out";
2154 signal: "mouse,out";
2156 action: SIGNAL_EMIT "elm,mouse,out" "elm";
2158 program { name: "disable";
2159 signal: "elm,state,disabled";
2162 set_int(item_state, ITEM_STATE_DISABLED);
2163 set_state(PART:"bg", "disabled", 0.0);
2164 set_state(PART:"elm.text.clipper", "disabled", 0.0);
2165 set_state(PART:"elm.icon.clipper", "disabled", 0.0);
2166 set_state(PART:"elm.icon.proxy.clipper", "disabled", 0.0);
2167 run_program(PROGRAM:"label_set,animation,done");
2168 run_program(PROGRAM:"icon_set,animation,done");
2171 program { name: "enable";
2172 signal: "elm,state,enabled";
2175 set_int(item_state, ITEM_STATE_ENABLED);
2176 set_state(PART:"bg", "default", 0.0);
2177 set_state(PART:"elm.text.clipper", "default", 0.0);
2178 set_state(PART:"elm.icon.clipper", "default", 0.0);
2179 set_state(PART:"elm.icon.proxy.clipper", "default", 0.0);
2180 run_program(PROGRAM:"label_set,animation,done");
2181 run_program(PROGRAM:"icon_set,animation,done");
2184 program { name: "label_set,animation,forward";
2185 signal: "elm,state,label_set,forward";
2187 after: "label_set,sync";
2189 program { name: "label_set,animation,backward";
2190 signal: "elm,state,label_set,backward";
2192 after: "label_set,sync";
2194 program { name: "label_set,sync";
2195 signal: "elm,state,label_set";
2200 get_state(PART:"elm.text", st, 30, vl);
2201 set_state(PART:"elm.text_new", st, vl);
2203 after: "label_set,animation";
2205 program { name: "label_set,animation";
2206 action: STATE_SET "animation" 0.0;
2207 target: "elm.text.clipper";
2208 target: "elm.text_new.clipper";
2209 transition: LINEAR 0.2;
2210 after: "label_set,animation,done";
2212 program { name: "label_set,animation,done";
2213 action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
2215 program { name: "label,reset";
2216 signal: "elm,state,label,reset";
2219 set_state(PART:"elm.text_new.clipper", "default", 0.0);
2220 if (get_int(item_state) != ITEM_STATE_DISABLED)
2221 set_state(PART:"elm.text.clipper", "default", 0.0);
2223 set_state(PART:"elm.text.clipper", "disabled", 0.0);
2226 program { name: "icon_set,animation,forward";
2227 signal: "elm,state,icon_set,forward";
2229 after: "icon_set,animation";
2231 program { name: "icon_set,animation,backward";
2232 signal: "elm,state,icon_set,backward";
2234 after: "icon_set,animation";
2236 program { name: "icon_set,animation";
2237 signal: "elm,state,icon_set";
2239 action: STATE_SET "animation" 0.0;
2240 target: "elm.icon.clipper";
2241 target: "elm.icon_new.clipper";
2242 target: "elm.icon.proxy.clipper";
2243 target: "elm.icon_new.proxy.clipper";
2244 transition: LINEAR 0.2;
2245 after: "icon_set,animation,done";
2247 program { name: "icon_set,animation,done";
2248 action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
2250 program { name: "icon,reset";
2251 signal: "elm,state,icon,reset";
2254 set_state(PART:"elm.icon_new.clipper", "default", 0.0);
2255 if (get_int(item_state) != ITEM_STATE_DISABLED)
2257 set_state(PART:"elm.icon.clipper", "default", 0.0);
2258 set_state(PART:"elm.icon.proxy.clipper", "default", 0.0);
2262 set_state(PART:"elm.icon.clipper", "disabled", 0.0);
2263 set_state(PART:"elm.icon.proxy.clipper", "disabled", 0.0);
2267 program { name: "text_show";
2268 signal: "elm,state,text,visible";
2273 get_state(PART:"elm.swallow.icon", st, 30, vl);
2274 if (!strcmp(st, "icononly"))
2276 set_state(PART:"elm.swallow.icon", "visible", 0.0);
2277 set_state(PART:"icon_rect", "visible", 0.0);
2278 set_state(PART:"padding_after_icon", "visible", 0.0);
2279 set_state(PART:"bg", "icon_text", 0.0);
2281 get_state(PART:"elm.text", st, 30, vl);
2282 if (!strcmp(st, "default"))
2284 if (get_int(items_number) <= 2)
2285 set_state(PART:"elm.text", "visible", 0.30);
2286 else if (get_int(items_number) == 3)
2287 set_state(PART:"elm.text", "visible", 0.28);
2288 else if (get_int(items_number) >= 4)
2290 get_state(PART:"bg", st, 30, vl);
2291 if (!strcmp(st, "icon_text"))
2292 set_state(PART:"elm.text", "visible", 0.28);
2294 set_state(PART:"elm.text", "visible", 0.24);
2299 program { name: "text_hide";
2300 signal: "elm,state,text,hidden";
2305 get_state(PART:"elm.swallow.icon", st, 30, vl);
2306 if (!strcmp(st, "visible"))
2308 set_state(PART:"elm.swallow.icon", "icononly", 0.0);
2309 set_state(PART:"icon_rect", "icononly", 0.0);
2310 set_state(PART:"padding_after_icon", "icononly", 0.0);
2312 set_state(PART:"elm.text", "default", 0.0);
2313 set_state(PART:"bg", "default", 0.0);
2316 program { name: "icon_show";
2317 signal: "elm,state,icon,visible";
2322 get_state(PART:"elm.text", st, 30, vl);
2323 if (!strncmp(st, "visible", 7))
2325 set_state(PART:"elm.swallow.icon", "visible", 0.0);
2326 set_state(PART:"icon_rect", "visible", 0.0);
2327 set_state(PART:"padding_after_icon", "visible", 0.0);
2328 set_state(PART:"bg", "icon_text", 0.0);
2332 set_state(PART:"elm.swallow.icon", "icononly", 0.0);
2333 set_state(PART:"icon_rect", "icononly", 0.0);
2334 set_state(PART:"padding_after_icon", "icononly", 0.0);
2338 program { name: "icon_hide";
2339 signal: "elm,state,icon,hidden";
2342 set_state(PART:"elm.swallow.icon", "default", 0.0);
2343 set_state(PART:"icon_rect", "default", 0.0);
2344 set_state(PART:"padding_after_icon", "default", 0.0);
2345 set_state(PART:"bg", "default", 0.0);
2348 program { name: "text_only_item_1";
2349 signal: "elm,number,item,1";
2352 set_int(items_number, 1);
2354 after: "text_only_item_under_2";
2356 program { name: "text_only_item_2";
2357 signal: "elm,number,item,2";
2360 set_int(items_number, 2);
2362 after: "text_only_item_under_2";
2364 program { name: "text_only_item_under_2";
2368 get_state(PART:"elm.text", st, 30, vl);
2369 if (!strncmp(st, "visible", 7))
2371 set_state(PART:"elm.text", st, 0.30);
2373 set_state(PART:"padding.badge", "default", 0.10);
2376 program { name: "text_only_item_3";
2377 signal: "elm,number,item,3";
2382 set_int(items_number, 3);
2383 get_state(PART:"elm.text", st, 30, vl);
2384 if (!strncmp(st, "visible", 7))
2386 set_state(PART:"elm.text", st, 0.28);
2388 set_state(PART:"padding.badge", "default", 0.06);
2391 program { name: "text_only_item_4";
2392 signal: "elm,number,item,4";
2395 set_int(items_number, 4);
2397 after: "text_only_item_upper_4";
2399 program { name: "text_only_item_5";
2400 signal: "elm,number,item,5";
2403 set_int(items_number, 5);
2405 after: "text_only_item_upper_4";
2407 program { name: "text_only_item_6";
2408 signal: "elm,number,item,6";
2411 set_int(items_number, 6);
2413 after: "text_only_item_upper_4";
2415 program { name: "text_only_item_7";
2416 signal: "elm,number,item,7";
2419 set_int(items_number, 7);
2421 after: "text_only_item_upper_4";
2423 program { name: "text_only_item_8";
2424 signal: "elm,number,item,8";
2427 set_int(items_number, 8);
2429 after: "text_only_item_upper_4";
2431 program { name: "text_only_item_9";
2432 signal: "elm,number,item,9";
2435 set_int(items_number, 9);
2437 after: "text_only_item_upper_4";
2439 program { name: "text_only_item_10";
2440 signal: "elm,number,item,10";
2443 set_int(items_number, 10);
2445 after: "text_only_item_upper_4";
2447 program { name: "text_only_item_upper_4";
2452 get_state(PART:"elm.text", st, 30, vl);
2453 if (!strcmp(st, "visible") || !strcmp(st, "selected"))
2455 get_state(PART:"bg", stb, 30, vl);
2456 if (!strcmp(stb, "icon_text"))
2457 set_state(PART:"elm.text", st, 0.28);
2459 set_state(PART:"elm.text", st, 0.24);
2461 get_state(PART:"bg", stb, 30, vl);
2462 if (!strcmp(stb, "icon_text"))
2463 set_state(PART:"padding.badge", "default", 0.06);
2465 set_state(PART:"padding.badge", "default", 0.04);
2468 program { name: "badge_show";
2469 signal: "elm,state,elm.text.badge,visible";
2471 action: STATE_SET "visible" 0.0;
2472 target: "elm.text.badge";
2473 target: "elm.image.badge";
2475 program { name: "badge_hide";
2476 signal: "elm,state,elm.text.badge,hidden";
2478 action: STATE_SET "default" 0.0;
2479 target: "elm.text.badge";
2480 target: "elm.image.badge";
2482 program { name: "divider_visible";
2483 signal: "elm,order,first,item";
2484 signal: "elm,order,default,item";
2486 action: STATE_SET "default" 0.0;
2489 program { name: "divider_hidden";
2490 signal: "elm,order,last,item";
2492 action: STATE_SET "hidden" 0.0;
2498 group { name: "elm/toolbar/base/tabbar/item_horizontal";
2499 inherit: "elm/toolbar/base/tabbar";
2501 part { name: "left_padding";
2503 state: "default" 0.0;
2507 part { name: "right_padding";
2509 state: "default" 0.0;
2516 group { name: "elm/toolbar/item/tabbar/item_horizontal";
2517 inherit: "elm/toolbar/item/tabbar";
2520 description { state: "default" 0.0;
2523 description { state: "icon_text" 0.0;