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;
1399 image: "00_focus.png" COMP;
1402 data.item: "transition_animation_on" "1";
1404 public item_state = ITEM_STATE_ENABLED;
1405 public items_number = 0;
1412 description { state: "default" 0.0;
1416 description { state: "icon_text" 0.0;
1417 inherit: "default" 0.0;
1421 part { name: "bg_cover";
1425 description { state: "default" 0.0;
1427 image.normal: "00_tab_press.png";
1429 description { state: "pressed" 0.0;
1430 inherit: "default" 0.0;
1433 description { state: "moving" 0.0;
1434 inherit: "default" 0.0;
1438 part { name: "padding_left_top";
1442 description { state: "default" 0.0;
1444 rel2.relative: 0.0 0.0;
1451 part { name: "padding_right_bottom";
1455 description { state: "default" 0.0;
1457 rel1.relative: 1.0 1.0;
1469 description { state: "default" 0.0;
1474 to: "padding_left_top";
1478 to_x: "padding_left_top";
1479 to_y: "padding_right_bottom";
1484 description { state: "visible" 0.0;
1485 inherit: "default" 0.0;
1486 min: TABBAR_ITEM_SMALL_ICON_SIZE_INC;
1488 description { state: "icononly" 0.0;
1489 inherit: "default" 0.0;
1492 part { name: "padding_after_icon";
1496 description { state: "default" 0.0; //when only icon or no icon is there
1502 rel2.to: "icon_rect";
1507 description { state: "visible" 0.0;
1508 inherit: "default" 0.0;
1511 description { state: "icononly" 0.0;
1512 inherit: "default" 0.0;
1515 part { name: "padding_before_text";
1519 description { state: "default" 0.0; //when only icon or no icon is there
1524 to_y: "padding_left_top";
1529 to_y: "padding_right_bottom";
1536 part { name: "elm.swallow.icon";
1539 clip_to: "elm.icon.clipper";
1540 description { state: "default" 0.0;
1542 min: TABBAR_ITEM_ICON_SIZE_INC;
1543 max: TABBAR_ITEM_ICON_SIZE_INC;
1544 rel1.to: "padding_left_top";
1545 rel2.to: "padding_right_bottom";
1547 aspect_preference: HORIZONTAL;
1549 description { state: "visible" 0.0;
1551 min: TABBAR_ITEM_SMALL_ICON_SIZE_INC;
1552 max: TABBAR_ITEM_SMALL_ICON_SIZE_INC;
1556 to_x: "padding_before_text";
1557 to_y: "padding_left_top";
1561 to_x: "padding_before_text";
1562 to_y: "padding_right_bottom";
1565 aspect_preference: HORIZONTAL;
1567 description { state: "icononly" 0.0;
1568 inherit: "default" 0.0;
1572 part { name: "elm.swallow.icon_new";
1575 clip_to: "elm.icon_new.clipper";
1576 description { state: "default" 0.0;
1578 min: TABBAR_ITEM_ICON_SIZE_INC;
1579 max: TABBAR_ITEM_ICON_SIZE_INC;
1580 rel1.to: "padding_left_top";
1581 rel2.to: "padding_right_bottom";
1583 aspect_preference: HORIZONTAL;
1585 description { state: "visible" 0.0;
1587 min: TABBAR_ITEM_SMALL_ICON_SIZE_INC;
1588 max: TABBAR_ITEM_SMALL_ICON_SIZE_INC;
1591 to_x: "padding_before_text";
1592 to_y: "padding_left_top";
1596 to_x: "padding_before_text";
1597 to_y: "padding_right_bottom";
1600 aspect_preference: HORIZONTAL;
1602 description { state: "icononly" 0.0;
1603 inherit: "default" 0.0;
1607 part { name: "elm.swallow.icon_new.proxy";
1610 clip_to: "elm.icon_new.proxy.clipper";
1611 description { state: "default" 0.0;
1612 source: "elm.swallow.icon_new";
1613 rel1.to: "elm.swallow.icon_new";
1615 rel2.to: "elm.swallow.icon_new";
1619 part { name: "elm.swallow.icon.proxy";
1622 clip_to: "elm.icon.proxy.clipper";
1623 description { state: "default" 0.0;
1624 source: "elm.swallow.icon";
1625 rel1.to: "elm.swallow.icon";
1627 rel2.to: "elm.swallow.icon";
1631 part { name: "elm.text";
1635 clip_to: "elm.text.clipper";
1636 description { state: "default" 0.0;
1640 to_x: "padding_after_icon";
1641 to_y: "padding_left_top";
1645 to: "padding_right_bottom";
1650 style: "toolbar_text_style_30";
1655 description { state: "visible" 0.0;
1656 inherit: "default" 0.0;
1659 description { state: "visible" 0.24;
1660 inherit: "visible" 0.0;
1662 text.style: "toolbar_text_style_24";
1664 description { state: "visible" 0.28;
1665 inherit: "visible" 0.0;
1667 text.style: "toolbar_text_style_28";
1669 description { state: "visible" 0.30;
1670 inherit: "visible" 0.0;
1672 text.style: "toolbar_text_style_30";
1674 description { state: "selected" 0.0;
1675 inherit: "visible" 0.0;
1676 text.style: "toolbar_selected_text_style_30";
1678 description { state: "selected" 0.24;
1679 inherit: "visible" 0.24;
1680 text.style: "toolbar_selected_text_style_24";
1682 description { state: "selected" 0.28;
1683 inherit: "visible" 0.28;
1684 text.style: "toolbar_selected_text_style_28";
1686 description { state: "selected" 0.30;
1687 inherit: "visible" 0.30;
1688 text.style: "toolbar_selected_text_style_30";
1691 part { name: "elm.text_new";
1695 clip_to: "elm.text_new.clipper";
1696 description { state: "default" 0.0;
1700 to_x: "padding_after_icon";
1701 to_y: "padding_left_top";
1705 to: "padding_right_bottom";
1711 style: "toolbar_text_style_30";
1716 description { state: "visible" 0.0;
1717 inherit: "default" 0.0;
1720 description { state: "visible" 0.24;
1721 inherit: "visible" 0.0;
1723 text.style: "toolbar_text_style_24";
1725 description { state: "visible" 0.28;
1726 inherit: "visible" 0.0;
1728 text.style: "toolbar_text_style_28";
1730 description { state: "visible" 0.30;
1731 inherit: "visible" 0.0;
1733 text.style: "toolbar_text_style_30";
1735 description { state: "selected" 0.0;
1736 inherit: "visible" 0.0;
1737 text.style: "toolbar_selected_text_style_30";
1739 description { state: "selected" 0.24;
1740 inherit: "visible" 0.24;
1741 text.style: "toolbar_selected_text_style_24";
1743 description { state: "selected" 0.28;
1744 inherit: "visible" 0.28;
1745 text.style: "toolbar_selected_text_style_28";
1747 description { state: "selected" 0.30;
1748 inherit: "visible" 0.30;
1749 text.style: "toolbar_selected_text_style_30";
1752 part { name: "padding.selected_line";
1756 description { state: "default" 0.0;
1770 part { name: "selected_line";
1774 description { state: "default" 0.0;
1776 to: "padding.selected_line";
1780 to: "padding.selected_line";
1784 color: 59 115 182 255;
1789 description { state: "selected" 0.0;
1790 inherit: "default" 0.0;
1794 part { name: "padding.badge";
1798 description { state: "default" 0.0;
1810 description { state: "default" 0.10;
1811 inherit: "default" 0.0;
1814 description { state: "default" 0.06;
1815 inherit: "default" 0.0;
1818 description { state: "default" 0.04;
1819 inherit: "default" 0.0;
1823 part { name: "elm.image.badge";
1826 description { state: "default" 0.0;
1831 to: "left.padding.text";
1835 to: "right.padding.text";
1839 normal: "00_badge_bg.png";
1844 description { state: "visible" 0.0;
1845 inherit: "default" 0.0;
1849 part { name: "left.padding.text";
1853 state: "default" 0.0;
1858 to: "elm.text.badge";
1862 to: "elm.text.badge";
1868 part { name: "right.padding.text";
1872 state: "default" 0.0;
1877 to: "padding.badge";
1881 to: "padding.badge";
1887 part { name: "elm.text.badge";
1892 state: "default" 0.0;
1895 to: "right.padding.text";
1899 to: "right.padding.text";
1905 color: 10 100 208 255;
1907 font: "Tizen:style=Bold";
1912 description { state: "visible" 0.0;
1913 inherit: "default" 0.0;
1917 part { name: "elm.text.clipper";
1919 description { state: "default" 0.0;
1920 color: 255 255 255 255;
1922 description { state: "animation" 0.0;
1923 color: 255 255 255 0;
1925 description { state: "disabled" 0.0;
1926 color: 255 255 255 153;
1929 part { name: "elm.text_new.clipper";
1931 description { state: "default" 0.0;
1932 color: 255 255 255 0;
1934 description { state: "animation" 0.0;
1935 color: 255 255 255 255;
1937 description { state: "disabled" 0.0;
1938 color: 255 255 255 153;
1941 part { name: "elm.icon.clipper";
1943 description { state: "default" 0.0;
1944 color: 255 255 255 255;
1946 description { state: "animation" 0.0;
1947 color: 255 255 255 0;
1949 description { state: "selected" 0.0;
1950 color: 255 255 255 255;
1952 description { state: "disabled" 0.0;
1953 color: 255 255 255 153;
1956 part { name: "elm.icon_new.clipper";
1958 description { state: "default" 0.0;
1959 color: 255 255 255 0;
1961 description { state: "animation" 0.0;
1962 color: 255 255 255 255;
1964 description { state: "selected" 0.0;
1965 color: 255 255 255 255;
1967 description { state: "disabled" 0.0;
1968 color: 255 255 255 153;
1971 part { name: "elm.icon.proxy.clipper";
1973 description { state: "default" 0.0;
1974 color: 153 153 153 255;
1976 description { state: "animation" 0.0;
1977 color: 255 255 255 0;
1979 description { state: "selected" 0.0;
1980 color: 61 114 180 255;
1982 description { state: "disabled" 0.0;
1983 color: 255 255 255 153;
1986 part { name: "elm.icon_new.proxy.clipper";
1988 description { state: "default" 0.0;
1989 color: 255 255 255 0;
1991 description { state: "animation" 0.0;
1992 color: 255 255 255 255;
1994 description { state: "selected" 0.0;
1995 color: 61 114 180 255;
1997 description { state: "disabled" 0.0;
1998 color: 255 255 255 153;
2001 part { name: "divider";
2004 description { state: "default" 0.0;
2010 to_y: "elm.swallow.icon";
2014 to_y: "elm.swallow.icon";
2017 description { state: "hidden" 0.0;
2018 inherit: "default" 0.0;
2022 part { name: "divider_left";
2025 description { state: "default" 0.0;
2026 color: TABBAR_ITEM_DIVIDER_LEFT_COLOR_INC;
2037 part { name: "divider_right";
2040 description { state: "default" 0.0;
2041 color: TABBAR_ITEM_DIVIDER_RIGHT_COLOR_INC;
2052 part { name: "highlight";
2054 description { state: "default" 0.0;
2057 normal: "00_focus.png";
2061 description { state: "highlighted" 0.0;
2062 inherit: "default" 0.0;
2066 part { name: "event";
2073 description { state: "default" 0.0;
2079 program { name: "go_active";
2080 signal: "elm,state,selected";
2082 action: STATE_SET "selected" 0.0;
2083 target: "elm.icon.clipper";
2084 target: "elm.icon.proxy.clipper";
2085 target: "selected_line";
2086 after: "selected_text";
2088 program { name: "selected_text";
2092 get_state(PART:"elm.text", st, 30, vl);
2093 set_state(PART:"elm.text", "selected", vl);
2096 program { name: "go_passive";
2097 signal: "elm,state,unselected";
2099 action: STATE_SET "default" 0.0;
2100 target: "elm.icon.clipper";
2101 target: "elm.icon.proxy.clipper";
2102 target: "selected_line";
2103 after: "unselected_text";
2105 program { name: "unselected_text";
2109 get_state(PART:"elm.text", st, 30, vl);
2110 set_state(PART:"elm.text", "visible", vl);
2113 program { name: "moving";
2114 signal: "elm,state,moving";
2116 action: STATE_SET "moving" 0.0;
2119 program { name: "pressed";
2120 signal: "mouse,down,1";
2122 action: STATE_SET "pressed" 0.0;
2132 new Float:dx, Float:dy;
2133 get_state(PART:"bg_cover", st, 30, vl);
2134 if (strcmp(st, "moving"))
2136 get_drag(PART:"event", dx, dy);
2137 if ((abs(dx)*abs(dx))+(abs(dy)*abs(dy)) > 400)
2139 set_drag(PART:"event", 0.0, 0.0);
2140 set_state(PART:"bg_cover", "default", 0.0);
2142 set_drag(PART:"event", 0.0, 0.0);
2146 program { name: "unpressed";
2147 signal: "mouse,up,1";
2150 set_drag(PART:"event", 0.0, 0.0);
2151 set_state(PART:"bg_cover", "default", 0.0);
2154 program { name: "go";
2155 signal: "mouse,clicked,1";
2157 action: SIGNAL_EMIT "elm,action,click" "elm";
2158 after: "play_sound";
2160 program { name: "play_sound";
2161 action: PLAY_SAMPLE "touch_sound" 1.0;
2163 program { name: "mouse,in";
2166 action: SIGNAL_EMIT "elm,mouse,in" "elm";
2168 program { name: "mouse,out";
2169 signal: "mouse,out";
2171 action: SIGNAL_EMIT "elm,mouse,out" "elm";
2173 program { name: "disable";
2174 signal: "elm,state,disabled";
2177 set_int(item_state, ITEM_STATE_DISABLED);
2178 set_state(PART:"bg", "disabled", 0.0);
2179 set_state(PART:"elm.text.clipper", "disabled", 0.0);
2180 set_state(PART:"elm.icon.clipper", "disabled", 0.0);
2181 set_state(PART:"elm.icon.proxy.clipper", "disabled", 0.0);
2182 run_program(PROGRAM:"label_set,animation,done");
2183 run_program(PROGRAM:"icon_set,animation,done");
2186 program { name: "enable";
2187 signal: "elm,state,enabled";
2190 set_int(item_state, ITEM_STATE_ENABLED);
2191 set_state(PART:"bg", "default", 0.0);
2192 set_state(PART:"elm.text.clipper", "default", 0.0);
2193 set_state(PART:"elm.icon.clipper", "default", 0.0);
2194 set_state(PART:"elm.icon.proxy.clipper", "default", 0.0);
2195 run_program(PROGRAM:"label_set,animation,done");
2196 run_program(PROGRAM:"icon_set,animation,done");
2199 program { name: "label_set,animation,forward";
2200 signal: "elm,state,label_set,forward";
2202 after: "label_set,sync";
2204 program { name: "label_set,animation,backward";
2205 signal: "elm,state,label_set,backward";
2207 after: "label_set,sync";
2209 program { name: "label_set,sync";
2210 signal: "elm,state,label_set";
2215 get_state(PART:"elm.text", st, 30, vl);
2216 set_state(PART:"elm.text_new", st, vl);
2218 after: "label_set,animation";
2220 program { name: "label_set,animation";
2221 action: STATE_SET "animation" 0.0;
2222 target: "elm.text.clipper";
2223 target: "elm.text_new.clipper";
2224 transition: LINEAR 0.2;
2225 after: "label_set,animation,done";
2227 program { name: "label_set,animation,done";
2228 action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
2230 program { name: "label,reset";
2231 signal: "elm,state,label,reset";
2234 set_state(PART:"elm.text_new.clipper", "default", 0.0);
2235 if (get_int(item_state) != ITEM_STATE_DISABLED)
2236 set_state(PART:"elm.text.clipper", "default", 0.0);
2238 set_state(PART:"elm.text.clipper", "disabled", 0.0);
2241 program { name: "icon_set,animation,forward";
2242 signal: "elm,state,icon_set,forward";
2244 after: "icon_set,animation";
2246 program { name: "icon_set,animation,backward";
2247 signal: "elm,state,icon_set,backward";
2249 after: "icon_set,animation";
2251 program { name: "icon_set,animation";
2252 signal: "elm,state,icon_set";
2254 action: STATE_SET "animation" 0.0;
2255 target: "elm.icon.clipper";
2256 target: "elm.icon_new.clipper";
2257 target: "elm.icon.proxy.clipper";
2258 target: "elm.icon_new.proxy.clipper";
2259 transition: LINEAR 0.2;
2260 after: "icon_set,animation,done";
2262 program { name: "icon_set,animation,done";
2263 action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
2265 program { name: "icon,reset";
2266 signal: "elm,state,icon,reset";
2269 set_state(PART:"elm.icon_new.clipper", "default", 0.0);
2270 if (get_int(item_state) != ITEM_STATE_DISABLED)
2272 set_state(PART:"elm.icon.clipper", "default", 0.0);
2273 set_state(PART:"elm.icon.proxy.clipper", "default", 0.0);
2277 set_state(PART:"elm.icon.clipper", "disabled", 0.0);
2278 set_state(PART:"elm.icon.proxy.clipper", "disabled", 0.0);
2282 program { name: "text_show";
2283 signal: "elm,state,text,visible";
2288 get_state(PART:"elm.swallow.icon", st, 30, vl);
2289 if (!strcmp(st, "icononly"))
2291 set_state(PART:"elm.swallow.icon", "visible", 0.0);
2292 set_state(PART:"icon_rect", "visible", 0.0);
2293 set_state(PART:"padding_after_icon", "visible", 0.0);
2294 set_state(PART:"bg", "icon_text", 0.0);
2296 get_state(PART:"elm.text", st, 30, vl);
2297 if (!strcmp(st, "default"))
2299 if (get_int(items_number) <= 2)
2300 set_state(PART:"elm.text", "visible", 0.30);
2301 else if (get_int(items_number) == 3)
2302 set_state(PART:"elm.text", "visible", 0.28);
2303 else if (get_int(items_number) >= 4)
2305 get_state(PART:"bg", st, 30, vl);
2306 if (!strcmp(st, "icon_text"))
2307 set_state(PART:"elm.text", "visible", 0.28);
2309 set_state(PART:"elm.text", "visible", 0.24);
2314 program { name: "text_hide";
2315 signal: "elm,state,text,hidden";
2320 get_state(PART:"elm.swallow.icon", st, 30, vl);
2321 if (!strcmp(st, "visible"))
2323 set_state(PART:"elm.swallow.icon", "icononly", 0.0);
2324 set_state(PART:"icon_rect", "icononly", 0.0);
2325 set_state(PART:"padding_after_icon", "icononly", 0.0);
2327 set_state(PART:"elm.text", "default", 0.0);
2328 set_state(PART:"bg", "default", 0.0);
2331 program { name: "icon_show";
2332 signal: "elm,state,icon,visible";
2337 get_state(PART:"elm.text", st, 30, vl);
2338 if (!strncmp(st, "visible", 7))
2340 set_state(PART:"elm.swallow.icon", "visible", 0.0);
2341 set_state(PART:"icon_rect", "visible", 0.0);
2342 set_state(PART:"padding_after_icon", "visible", 0.0);
2343 set_state(PART:"bg", "icon_text", 0.0);
2347 set_state(PART:"elm.swallow.icon", "icononly", 0.0);
2348 set_state(PART:"icon_rect", "icononly", 0.0);
2349 set_state(PART:"padding_after_icon", "icononly", 0.0);
2353 program { name: "icon_hide";
2354 signal: "elm,state,icon,hidden";
2357 set_state(PART:"elm.swallow.icon", "default", 0.0);
2358 set_state(PART:"icon_rect", "default", 0.0);
2359 set_state(PART:"padding_after_icon", "default", 0.0);
2360 set_state(PART:"bg", "default", 0.0);
2363 program { name: "text_only_item_1";
2364 signal: "elm,number,item,1";
2367 set_int(items_number, 1);
2369 after: "text_only_item_under_2";
2371 program { name: "text_only_item_2";
2372 signal: "elm,number,item,2";
2375 set_int(items_number, 2);
2377 after: "text_only_item_under_2";
2379 program { name: "text_only_item_under_2";
2383 get_state(PART:"elm.text", st, 30, vl);
2384 if (!strncmp(st, "visible", 7))
2386 set_state(PART:"elm.text", st, 0.30);
2388 set_state(PART:"padding.badge", "default", 0.10);
2391 program { name: "text_only_item_3";
2392 signal: "elm,number,item,3";
2397 set_int(items_number, 3);
2398 get_state(PART:"elm.text", st, 30, vl);
2399 if (!strncmp(st, "visible", 7))
2401 set_state(PART:"elm.text", st, 0.28);
2403 set_state(PART:"padding.badge", "default", 0.06);
2406 program { name: "text_only_item_4";
2407 signal: "elm,number,item,4";
2410 set_int(items_number, 4);
2412 after: "text_only_item_upper_4";
2414 program { name: "text_only_item_5";
2415 signal: "elm,number,item,5";
2418 set_int(items_number, 5);
2420 after: "text_only_item_upper_4";
2422 program { name: "text_only_item_6";
2423 signal: "elm,number,item,6";
2426 set_int(items_number, 6);
2428 after: "text_only_item_upper_4";
2430 program { name: "text_only_item_7";
2431 signal: "elm,number,item,7";
2434 set_int(items_number, 7);
2436 after: "text_only_item_upper_4";
2438 program { name: "text_only_item_8";
2439 signal: "elm,number,item,8";
2442 set_int(items_number, 8);
2444 after: "text_only_item_upper_4";
2446 program { name: "text_only_item_9";
2447 signal: "elm,number,item,9";
2450 set_int(items_number, 9);
2452 after: "text_only_item_upper_4";
2454 program { name: "text_only_item_10";
2455 signal: "elm,number,item,10";
2458 set_int(items_number, 10);
2460 after: "text_only_item_upper_4";
2462 program { name: "text_only_item_upper_4";
2467 get_state(PART:"elm.text", st, 30, vl);
2468 if (!strcmp(st, "visible") || !strcmp(st, "selected"))
2470 get_state(PART:"bg", stb, 30, vl);
2471 if (!strcmp(stb, "icon_text"))
2472 set_state(PART:"elm.text", st, 0.28);
2474 set_state(PART:"elm.text", st, 0.24);
2476 get_state(PART:"bg", stb, 30, vl);
2477 if (!strcmp(stb, "icon_text"))
2478 set_state(PART:"padding.badge", "default", 0.06);
2480 set_state(PART:"padding.badge", "default", 0.04);
2483 program { name: "badge_show";
2484 signal: "elm,state,elm.text.badge,visible";
2486 action: STATE_SET "visible" 0.0;
2487 target: "elm.text.badge";
2488 target: "elm.image.badge";
2490 program { name: "badge_hide";
2491 signal: "elm,state,elm.text.badge,hidden";
2493 action: STATE_SET "default" 0.0;
2494 target: "elm.text.badge";
2495 target: "elm.image.badge";
2497 program { name: "divider_visible";
2498 signal: "elm,order,first,item";
2499 signal: "elm,order,default,item";
2501 action: STATE_SET "default" 0.0;
2504 program { name: "divider_hidden";
2505 signal: "elm,order,last,item";
2507 action: STATE_SET "hidden" 0.0;
2510 program { name: "highlight_on";
2511 signal: "elm,highlight,on";
2513 action: STATE_SET "highlighted" 0.0;
2514 target: "highlight";
2516 program { name: "highlight_off";
2517 signal: "elm,highlight,off";
2519 action: STATE_SET "default" 0.0;
2520 target: "highlight";
2525 group { name: "elm/toolbar/base/tabbar/item_horizontal";
2526 inherit: "elm/toolbar/base/tabbar";
2528 part { name: "left_padding";
2530 state: "default" 0.0;
2534 part { name: "right_padding";
2536 state: "default" 0.0;
2543 group { name: "elm/toolbar/item/tabbar/item_horizontal";
2544 inherit: "elm/toolbar/item/tabbar";
2547 description { state: "default" 0.0;
2550 description { state: "icon_text" 0.0;