1 // === toolbar default base with scrolling arrows etc.
2 group { name: "elm/toolbar/base/default";
3 images.image: "vgrad_med_lighter.png" COMP;
4 images.image: "bevel_out.png" COMP;
5 images.image: "shine.png" COMP;
6 images.image: "shadow_square_tiny.png" COMP;
7 images.image: "sym_left_light_normal.png" COMP;
8 images.image: "sym_left_glow_normal.png" COMP;
9 images.image: "sym_right_light_normal.png" COMP;
10 images.image: "sym_right_glow_normal.png" COMP;
11 images.image: "sym_up_light_normal.png" COMP;
12 images.image: "sym_up_glow_normal.png" COMP;
13 images.image: "sym_down_light_normal.png" COMP;
14 images.image: "sym_down_glow_normal.png" COMP;
16 part { name: "shadow"; mouse_events: 0;
17 description { state: "default" 0.0;
20 image.normal: "shadow_square_tiny.png";
21 image.border: 6 6 6 6;
26 description { state: "default" 0.0;
27 image.normal: "vgrad_med_lighter.png";
34 part { name: "clipper"; type: RECT;
35 description { state: "default" 0.0;
40 part { name: "elm.swallow.content"; type: SWALLOW;
42 description { state: "default" 0.0;
47 part { name: "bevel"; mouse_events: 0;
48 description { state: "default" 0.0;
51 image.normal: "bevel_out.png";
52 image.border: 1 1 1 1;
58 part { name: "arrow_clipper_l"; type: RECT;
59 description { state: "default" 0.0;
62 description { state: "visible" 0.0;
63 inherit: "default" 0.0;
67 part { name: "arrow_l"; mouse_events: 0;
68 clip_to: "arrow_clipper_l";
69 description { state: "default" 0.0;
70 rel1.to: "arrow_l_ev";
71 rel2.to: "arrow_l_ev";
72 image.normal: "sym_left_light_normal.png";
75 description { state: "clicked" 0.0;
76 inherit: "default" 0.0;
77 image.normal: "sym_left_glow_normal.png";
80 part { name: "arrow_l_ev"; type: RECT;
82 clip_to: "arrow_clipper_l";
83 description { state: "default" 0.0;
92 part { name: "arrow_clipper_r"; type: RECT;
93 description { state: "default" 0.0;
96 description { state: "visible" 0.0;
97 inherit: "default" 0.0;
101 part { name: "arrow_r"; mouse_events: 0;
102 clip_to: "arrow_clipper_r";
103 description { state: "default" 0.0;
104 rel1.to: "arrow_r_ev";
105 rel2.to: "arrow_r_ev";
106 image.normal: "sym_right_light_normal.png";
109 description { state: "clicked" 0.0;
110 inherit: "default" 0.0;
111 image.normal: "sym_right_glow_normal.png";
114 part { name: "arrow_r_ev"; type: RECT;
116 clip_to: "arrow_clipper_r";
117 description { state: "default" 0.0;
125 part { name: "shine"; mouse_events: 0;
126 description { state: "default" 0.0;
127 image.normal: "shine.png";
130 rel2.relative: 1.0 0.0;
137 part { name: "arrow_clipper_u"; type: RECT;
138 description { state: "default" 0.0;
141 description { state: "visible" 0.0;
142 inherit: "default" 0.0;
146 part { name: "arrow_u"; mouse_events: 0;
147 clip_to: "arrow_clipper_u";
148 description { state: "default" 0.0;
149 rel1.to: "arrow_u_ev";
150 rel2.to: "arrow_u_ev";
151 image.normal: "sym_up_light_normal.png";
154 description { state: "clicked" 0.0;
155 inherit: "default" 0.0;
156 image.normal: "sym_up_glow_normal.png";
159 part { name: "arrow_u_ev"; type: RECT;
161 clip_to: "arrow_clipper_u";
162 description { state: "default" 0.0;
171 part { name: "arrow_clipper_d"; type: RECT;
172 description { state: "default" 0.0;
175 description { state: "visible" 0.0;
176 inherit: "default" 0.0;
180 part { name: "arrow_d"; mouse_events: 0;
181 clip_to: "arrow_clipper_d";
182 description { state: "default" 0.0;
183 rel1.to: "arrow_d_ev";
184 rel2.to: "arrow_d_ev";
185 image.normal: "sym_down_light_normal.png";
188 description { state: "clicked" 0.0;
189 inherit: "default" 0.0;
190 image.normal: "sym_down_glow_normal.png";
193 part { name: "arrow_d_ev"; type: RECT;
195 clip_to: "arrow_clipper_d";
196 description { state: "default" 0.0;
207 // signal: "elm,orient,horizontal"; source: "elm";
210 // signal: "elm,orient,vertical"; source: "elm";
213 signal: "elm,action,show,left"; source: "elm";
214 action: STATE_SET "visible" 0.0;
215 target: "arrow_clipper_l";
216 target: "arrow_clipper_l";
219 signal: "elm,action,hide,left"; source: "elm";
220 action: STATE_SET "default" 0.0;
221 target: "arrow_clipper_l";
222 target: "arrow_clipper_l";
225 signal: "mouse,down,1*"; source: "arrow_l_ev";
226 action: SIGNAL_EMIT "elm,action,left" "elm";
227 after: "arrow_l_repeat";
229 program { name: "arrow_l_repeat";
230 action: SIGNAL_EMIT "elm,action,left" "elm";
232 after: "arrow_l_repeat";
235 signal: "mouse,up,1"; source: "arrow_l_ev";
237 target: "arrow_l_repeat";
240 signal: "mouse,down,1*"; source: "arrow_l_ev";
241 action: STATE_SET "clicked" 0.0;
245 signal: "mouse,up,1"; source: "arrow_l_ev";
246 action: STATE_SET "default" 0.0;
251 signal: "elm,action,show,right"; source: "elm";
252 action: STATE_SET "visible" 0.0;
253 target: "arrow_clipper_r";
254 target: "arrow_clipper_r";
257 signal: "elm,action,hide,right"; source: "elm";
258 action: STATE_SET "default" 0.0;
259 target: "arrow_clipper_r";
260 target: "arrow_clipper_r";
263 signal: "mouse,down,1*"; source: "arrow_r_ev";
264 action: SIGNAL_EMIT "elm,action,right" "elm";
265 after: "arrow_r_repeat";
267 program { name: "arrow_r_repeat";
268 action: SIGNAL_EMIT "elm,action,right" "elm";
270 after: "arrow_r_repeat";
273 signal: "mouse,up,1"; source: "arrow_r_ev";
275 target: "arrow_r_repeat";
278 signal: "mouse,down,1*"; source: "arrow_r_ev";
279 action: STATE_SET "clicked" 0.0;
283 signal: "mouse,up,1"; source: "arrow_r_ev";
284 action: STATE_SET "default" 0.0;
289 signal: "elm,action,show,up"; source: "elm";
290 action: STATE_SET "visible" 0.0;
291 target: "arrow_clipper_u";
292 target: "arrow_clipper_u";
295 signal: "elm,action,hide,up"; source: "elm";
296 action: STATE_SET "default" 0.0;
297 target: "arrow_clipper_u";
298 target: "arrow_clipper_u";
301 signal: "mouse,down,1*"; source: "arrow_u_ev";
302 action: SIGNAL_EMIT "elm,action,up" "elm";
303 after: "arrow_u_repeat";
305 program { name: "arrow_u_repeat";
306 action: SIGNAL_EMIT "elm,action,up" "elm";
308 after: "arrow_u_repeat";
311 signal: "mouse,up,1"; source: "arrow_u_ev";
313 target: "arrow_u_repeat";
316 signal: "mouse,down,1*"; source: "arrow_u_ev";
317 action: STATE_SET "clicked" 0.0;
321 signal: "mouse,up,1"; source: "arrow_u_ev";
322 action: STATE_SET "default" 0.0;
327 signal: "elm,action,show,down"; source: "elm";
328 action: STATE_SET "visible" 0.0;
329 target: "arrow_clipper_d";
330 target: "arrow_clipper_d";
333 signal: "elm,action,hide,down"; source: "elm";
334 action: STATE_SET "default" 0.0;
335 target: "arrow_clipper_d";
336 target: "arrow_clipper_d";
339 signal: "mouse,down,1*"; source: "arrow_d_ev";
340 action: SIGNAL_EMIT "elm,action,down" "elm";
341 after: "arrow_d_repeat";
343 program { name: "arrow_d_repeat";
344 action: SIGNAL_EMIT "elm,action,down" "elm";
346 after: "arrow_d_repeat";
349 signal: "mouse,up,1"; source: "arrow_d_ev";
351 target: "arrow_d_repeat";
354 signal: "mouse,down,1*"; source: "arrow_d_ev";
355 action: STATE_SET "clicked" 0.0;
359 signal: "mouse,up,1"; source: "arrow_d_ev";
360 action: STATE_SET "default" 0.0;
366 // === item: standard default item
367 group { name: "elm/toolbar/item/default";
368 data.item: "transition_animation_on" "1";
369 data.item: "focusraise" "on";
371 images.image: "shadow_inset_bevels.png" COMP;
372 images.image: "shadow_angled_in_sides.png" COMP;
373 images.image: "horizontal_separated_bar_small_glow.png" COMP;
374 images.image: "bevel_dark_in.png" COMP;
381 public eval_mode(m) {
384 if (m1 == (ICON | LABEL)) {
386 set_state(PART:"elm.swallow.icon", "default", 0.0);
387 set_state(PART:"icon_clip", "default", 0.0);
388 set_state(PART:"elm.text", "default", 0.0);
389 set_state(PART:"label2", "default", 0.0);
391 set_state(PART:"elm.swallow.icon", "default", 0.0);
392 set_state(PART:"icon_clip", "disabled", 0.0);
393 set_state(PART:"elm.text", "disabled", 0.0);
394 set_state(PART:"label2", "default", 0.0);
396 } else if (m1 == (ICON)) {
398 set_state(PART:"elm.swallow.icon", "icononly", 0.0);
399 set_state(PART:"icon_clip", "default", 0.0);
400 set_state(PART:"elm.text", "icononly", 0.0);
401 set_state(PART:"label2", "icononly", 0.0);
403 set_state(PART:"elm.swallow.icon", "icononly", 0.0);
404 set_state(PART:"icon_clip", "disabled", 0.0);
405 set_state(PART:"elm.text", "icononly", 0.0);
406 set_state(PART:"label2", "icononly", 0.0);
408 } else if (m1 == (LABEL)) {
410 set_state(PART:"elm.swallow.icon", "noicon", 0.0);
411 set_state(PART:"icon_clip", "default", 0.0);
412 set_state(PART:"elm.text", "noicon", 0.0);
413 set_state(PART:"label2", "noicon", 0.0);
415 set_state(PART:"elm.swallow.icon", "noicon", 0.0);
416 set_state(PART:"icon_clip", "disabled", 0.0);
417 set_state(PART:"elm.text", "noicon_disabled", 0.0);
418 set_state(PART:"label2", "noicon_disabled", 0.0);
422 set_state(PART:"elm.swallow.icon", "noicon", 0.0);
423 set_state(PART:"icon_clip", "default", 0.0);
424 set_state(PART:"elm.text", "noicon", 0.0);
425 set_state(PART:"label2", "noicon", 0.0);
427 set_state(PART:"elm.swallow.icon", "noicon", 0.0);
428 set_state(PART:"icon_clip", "disabled", 0.0);
429 set_state(PART:"elm.text", "noicon_disabled", 0.0);
430 set_state(PART:"label2", "noicon_disabled", 0.0);
436 part { name: "base"; type: SPACER;
437 description { state: "default" 0.0;
439 description { state: "vert" 0.0;
444 part { name: "shadow1"; mouse_events: 0;
445 description { state: "default" 0.0;
448 image.normal: "shadow_inset_bevels.png";
449 image.border: 2 2 0 1;
452 description { state: "selected" 0.0;
453 inherit: "default" 0.0;
457 part { name: "shadow2"; mouse_events: 0;
458 description { state: "default" 0.0;
463 image.normal: "shadow_angled_in_sides.png";
464 image.border: 8 8 0 1;
468 description { state: "selected" 0.0;
469 inherit: "default" 0.0;
473 part { name: "bend_clip"; type: RECT;
474 description { state: "default" 0.0;
477 description { state: "vert" 0.0;
482 clip_to: "bend_clip";
483 description { state: "default" 0.0;
487 rel2.relative: 1.0 0.0;
488 image.normal: "bevel_dark_in.png";
489 image.border: 2 2 2 2;
494 description { state: "selected" 0.0;
495 inherit: "default" 0.0;
500 part { name: "icon_clip"; type: RECT;
501 description { state: "default" 0.0;
503 description { state: "disabled" 0.0;
504 inherit: "default" 0.0;
505 color: 255 255 255 64;
508 part { name: "icon_clip1"; type: RECT;
509 clip_to: "icon_clip";
510 description { state: "default" 0.0;
511 color: 255 255 255 255;
514 description { state: "animation" 0.0;
515 inherit: "default" 0.0;
516 color: 255 255 255 0;
520 part { name: "elm.swallow.icon"; type: SWALLOW;
521 clip_to: "icon_clip1";
522 description { state: "default" 0.0;
524 rel1.relative: 0.0 0.0;
526 rel2.to_y: "elm.text";
527 rel2.relative: 1.0 0.0;
530 description { state: "noicon" 0.0;
531 inherit: "default" 0.0;
534 rel2.relative: 1.0 0.0;
537 description { state: "icononly" 0.0;
538 inherit: "default" 0.0;
540 rel2.relative: 1.0 1.0;
542 rel2.to_y: "icon_clip";
545 part { name: "icon_clip2"; type: RECT;
546 clip_to: "icon_clip";
547 description { state: "default" 0.0;
548 color: 255 255 255 0;
551 description { state: "animation" 0.0;
552 inherit: "default" 0.0;
553 color: 255 255 255 255;
557 part { name: "elm.swallow.icon_new"; type: SWALLOW;
558 clip_to: "icon_clip2";
559 description { state: "default" 0.0;
561 rel1.relative: 0.0 0.0;
563 rel2.to_y: "elm.text";
564 rel2.relative: 1.0 0.0;
567 description { state: "noicon" 0.0;
568 inherit: "default" 0.0;
571 rel2.relative: 1.0 0.0;
574 description { state: "icononly" 0.0;
575 inherit: "default" 0.0;
577 rel2.relative: 1.0 1.0;
579 rel2.to_y: "icon_clip";
583 part { name: "text_clip1"; type: RECT;
584 description { state: "default" 0.0;
585 color: 255 255 255 255;
588 description { state: "animation" 0.0;
589 inherit: "default" 0.0;
590 color: 255 255 255 0;
594 part { name: "elm.text"; type: TEXT; mouse_events: 0;
595 effect: SHADOW BOTTOM;
597 clip_to: "text_clip1";
598 description { state: "default" 0.0;
600 rel1.relative: 0.0 1.0;
603 color: FN_COL_DEFAULT;
604 color_class: "toolbar_item";
605 text { font: FN; size: 10;
609 text_class: "toolbar_item";
613 description { state: "selected" 0.0;
614 inherit: "default" 0.0;
616 color_class: "toolbar_item_selected";
618 description { state: "disabled" 0.0;
619 inherit: "default" 0.0;
620 color: FN_COL_DISABLE;
621 color_class: "toolbar_item_disabled";
623 description { state: "noicon" 0.0;
624 inherit: "default" 0.0;
626 rel1.relative: 0.0 0.0;
629 description { state: "noicon_disabled" 0.0;
630 inherit: "noicon" 0.0;
631 color: FN_COL_DISABLE;
632 color_class: "toolbar_item_disabled";
634 description { state: "icononly" 0.0;
635 inherit: "default" 0.0;
641 part { name: "label2"; type: TEXT; mouse_events: 0;
644 clip_to: "text_clip1";
645 description { state: "default" 0.0;
650 color: FN_COL_HIGHLIGHT;
651 color_class: "toolbar_item_active";
652 text { font: FN; size: 10;
653 text_source: "elm.text";
655 text_class: "toolbar_item";
659 description { state: "selected" 0.0;
660 inherit: "default" 0.0;
663 description { state: "noicon" 0.0;
664 inherit: "default" 0.0;
666 description { state: "noicon_disabled" 0.0;
667 inherit: "noicon" 0.0;
669 description { state: "icononly" 0.0;
670 inherit: "default" 0.0;
676 part { name: "text_clip2"; type: RECT;
677 description { state: "default" 0.0;
678 color: 255 255 255 0;
681 description { state: "animation" 0.0;
682 inherit: "default" 0.0;
683 color: 255 255 255 255;
687 part { name: "elm.text_new"; type: TEXT; mouse_events: 0;
688 effect: SHADOW BOTTOM;
690 clip_to: "text_clip2";
691 description { state: "default" 0.0;
693 rel1.relative: 0.0 1.0;
696 color: FN_COL_DEFAULT;
697 color_class: "toolbar_item";
698 text { font: FN; size: 10;
702 text_class: "toolbar_item";
706 description { state: "selected" 0.0;
707 inherit: "default" 0.0;
709 color_class: "toolbar_item_selected";
711 description { state: "disabled" 0.0;
712 inherit: "default" 0.0;
713 color: FN_COL_DISABLE;
714 color_class: "toolbar_item_disabled";
716 description { state: "noicon" 0.0;
717 inherit: "default" 0.0;
719 rel1.relative: 0.0 0.0;
722 description { state: "noicon_disabled" 0.0;
723 inherit: "noicon" 0.0;
724 color: FN_COL_DISABLE;
725 color_class: "toolbar_item_disabled";
727 description { state: "icononly" 0.0;
728 inherit: "default" 0.0;
734 part { name: "label2_new"; type: TEXT; mouse_events: 0;
737 clip_to: "text_clip2";
738 description { state: "default" 0.0;
743 color: FN_COL_HIGHLIGHT;
744 color_class: "toolbar_item_active";
745 text { font: FN; size: 10;
746 text_source: "elm.text";
748 text_class: "toolbar_item";
752 description { state: "selected" 0.0;
753 inherit: "default" 0.0;
756 description { state: "noicon" 0.0;
757 inherit: "default" 0.0;
759 description { state: "noicon_disabled" 0.0;
760 inherit: "noicon" 0.0;
762 description { state: "icononly" 0.0;
763 inherit: "default" 0.0;
770 part { name: "bar"; mouse_events: 0;
771 description { state: "default" 0.0;
773 rel1.relative: 0.0 1.0;
777 image.normal: "horizontal_separated_bar_small_glow.png";
778 image.border: 4 4 4 4;
782 description { state: "selected" 0.0;
783 inherit: "default" 0.0;
787 part { name: "highlight"; mouse_events: 0;
788 description { state: "default" 0.0;
790 rel1.relative: 0.0 1.0;
794 image.normal: "horizontal_separated_bar_small_glow.png";
795 image.border: 4 4 4 4;
799 description { state: "selected" 0.0;
800 inherit: "default" 0.0;
804 part { name: "event"; type: RECT;
805 ignore_flags: ON_HOLD;
806 description { state: "default" 0.0;
813 signal: "elm,orient,horizontal"; source: "elm";
814 action: STATE_SET "default" 0.0;
819 signal: "elm,orient,vertical"; source: "elm";
820 action: STATE_SET "vert" 0.0;
825 program { name: "st0";
826 signal: "load"; source: "";
828 set_int(btmode, LABEL | ICON);
833 signal: "elm,state,selected"; source: "elm";
834 action: STATE_SET "selected" 0.0;
843 signal: "elm,state,unselected"; source: "elm";
844 action: STATE_SET "default" 0.0;
853 signal: "mouse,up,1"; source: "event";
854 action: SIGNAL_EMIT "elm,action,click" "elm";
858 signal: "elm,highlight,on"; source: "elm";
859 action: STATE_SET "selected" 0.0;
863 signal: "elm,highlight,off"; source: "elm";
864 action: STATE_SET "default" 0.0;
869 signal: "mouse,in"; source: "event";
870 action: SIGNAL_EMIT "elm,mouse,in" "elm";
872 program { name: "mouse,out";
873 signal: "mouse,out"; source: "event";
874 action: SIGNAL_EMIT "elm,mouse,out" "elm";
877 program { name: "st1";
878 signal: "elm,text,hidden"; source: "elm";
879 action: STATE_SET "notext" 0.0;
881 new m = get_int(btmode);
882 m &= ~LABEL; set_int(btmode, m);
886 program { name: "st2";
887 signal: "elm,text,visible"; source: "elm";
889 new m = get_int(btmode);
890 m |= LABEL; set_int(btmode, m);
894 program { name: "st3";
895 signal: "elm,icon,hidden"; source: "elm";
897 new m = get_int(btmode);
898 m |= ICON; set_int(btmode, m);
902 program { name: "st4";
903 signal: "elm,icon,visible"; source: "elm";
905 new m = get_int(btmode);
906 m &= ~ICON; set_int(btmode, m);
910 program { name: "st5";
911 signal: "elm,state,disabled"; source: "elm";
913 new m = get_int(btmode);
914 m |= DISABLE; set_int(btmode, m);
918 program { name: "st6";
919 signal: "elm,state,enabled"; source: "elm";
921 new m = get_int(btmode);
922 m &= ~DISABLE; set_int(btmode, m);
928 signal: "elm,state,moving"; source: "elm";
929 action: STATE_SET "default" 0.0;
935 signal: "elm,state,icon_set,forward"; source: "elm";
936 after: "icon_set,animation";
939 signal: "elm,state,icon_set,backward"; source: "elm";
940 after: "icon_set,animation";
942 program { name: "icon_set,animation";
943 signal: "elm,state,icon_set"; source: "elm";
944 action: STATE_SET "animation" 0.0;
945 target: "icon_clip1";
946 target: "icon_clip2";
947 transition: LINEAR 0.2;
948 after: "icon_set,animation,done";
950 program { name: "icon_set,animation,done";
951 action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
955 signal: "elm,state,icon,reset"; source: "elm";
956 action: STATE_SET "default" 0.0;
957 target: "icon_clip1";
958 target: "icon_clip2";
962 signal: "elm,state,label_set,forward"; source: "elm";
963 after: "label_set,animation";
966 signal: "elm,state,label_set,backward"; source: "elm";
967 after: "label_set,animation";
969 program { name: "label_set,animation";
970 signal: "elm,state,label_set"; source: "elm";
971 action: STATE_SET "animation" 0.0;
972 target: "text_clip1";
973 target: "text_clip2";
974 transition: LINEAR 0.2;
975 after: "label_set,animation,done";
977 program { name: "label_set,animation,done";
978 action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
982 signal: "elm,state,label,reset"; source: "elm";
983 action: STATE_SET "default" 0.0;
984 target: "text_clip1";
985 target: "text_clip2";
994 // === item: style assumed to exist
995 group { name: "elm/toolbar/item/item_horizontal";
996 inherit: "elm/toolbar/item/default";
998 part { name: "elm.swallow.icon";
999 description { state: "default" 0.0;
1001 aspect_preference: VERTICAL;
1004 rel2.relative: 0.0 1.0;
1007 description { state: "noicon" 0.0;
1008 inherit: "default" 0.0;
1011 rel2.relative: 0.0 1.0;
1014 description { state: "icononly" 0.0;
1015 inherit: "default" 0.0;
1017 rel2.relative: 1.0 1.0;
1019 rel2.to_y: "icon_clip";
1022 part { name: "elm.swallow.icon_new";
1023 description { state: "default" 0.0;
1024 aspect_preference: VERTICAL;
1027 rel2.relative: 0.0 1.0;
1030 description { state: "noicon" 0.0;
1031 inherit: "default" 0.0;
1034 rel2.relative: 0.0 1.0;
1037 description { state: "icononly" 0.0;
1038 inherit: "default" 0.0;
1040 rel2.relative: 1.0 1.0;
1042 rel2.to_y: "icon_clip";
1045 part { name: "elm.text";
1046 description { state: "default" 0.0;
1048 rel1.relative: 1.0 0.0;
1049 rel1.to_x: "elm.swallow.icon";
1052 color: FN_COL_DEFAULT;
1053 color_class: "toolbar_item";
1054 text { font: FN; size: 10;
1058 text_class: "toolbar_item";
1061 description { state: "selected" 0.0;
1062 inherit: "default" 0.0;
1064 color_class: "toolbar_item_selected";
1066 description { state: "disabled" 0.0;
1067 inherit: "default" 0.0;
1068 color: FN_COL_DISABLE;
1069 color_class: "toolbar_item_disabled";
1071 description { state: "noicon" 0.0;
1072 inherit: "default" 0.0;
1074 rel1.relative: 0.0 0.0;
1075 rel1.to: "icon_clip";
1078 description { state: "noicon_disabled" 0.0;
1079 inherit: "noicon" 0.0;
1080 color: FN_COL_DISABLE;
1081 color_class: "toolbar_item_disabled";
1083 description { state: "icononly" 0.0;
1084 inherit: "default" 0.0;
1090 part { name: "label2";
1091 description { state: "default" 0.0;
1093 text.align: 0.0 0.5;
1096 description { state: "selected" 0.0;
1097 inherit: "default" 0.0;
1100 description { state: "noicon" 0.0;
1101 inherit: "default" 0.0;
1103 description { state: "noicon_disabled" 0.0;
1104 inherit: "noicon" 0.0;
1107 part { name: "elm.text_new";
1108 description { state: "default" 0.0;
1110 rel1.relative: 1.0 0.0;
1111 rel1.to_x: "elm.swallow.icon";
1114 color: FN_COL_DEFAULT;
1115 color_class: "toolbar_item";
1116 text { font: FN; size: 10;
1120 text_class: "toolbar_item";
1123 description { state: "selected" 0.0;
1124 inherit: "default" 0.0;
1126 color_class: "toolbar_item_selected";
1128 description { state: "disabled" 0.0;
1129 inherit: "default" 0.0;
1130 color: FN_COL_DISABLE;
1131 color_class: "toolbar_item_disabled";
1133 description { state: "noicon" 0.0;
1134 inherit: "default" 0.0;
1136 rel1.relative: 0.0 0.0;
1137 rel1.to: "icon_clip";
1140 description { state: "noicon_disabled" 0.0;
1141 inherit: "noicon" 0.0;
1142 color: FN_COL_DISABLE;
1143 color_class: "toolbar_item_disabled";
1145 description { state: "icononly" 0.0;
1146 inherit: "default" 0.0;
1152 part { name: "label2_new";
1153 description { state: "default" 0.0;
1155 text.align: 0.0 0.5;
1158 description { state: "selected" 0.0;
1159 inherit: "default" 0.0;
1162 description { state: "noicon" 0.0;
1163 inherit: "default" 0.0;
1165 description { state: "noicon_disabled" 0.0;
1166 inherit: "noicon" 0.0;
1172 // === item: style assumed to exist
1173 // XXX: vert vs horiz (should emit)
1174 // XXX: seriously... why do we have this style?
1175 group { name: "elm/toolbar/item/item_centered";
1176 inherit: "elm/toolbar/item/default";
1182 group { name: "elm/toolbar/separator/default";
1183 images.image: "bevel_dark_in.png" COMP;
1185 part { name: "base";
1186 description { state: "default" 0.0;
1191 image.normal: "bevel_dark_in.png";
1192 image.border: 2 2 2 2;
1195 description { state: "vert" 0.0;
1196 inherit: "default" 0.0;
1205 signal: "elm,orient,horizontal"; source: "elm";
1206 action: STATE_SET "default" 0.0;
1210 signal: "elm,orient,vertical"; source: "elm";
1211 action: STATE_SET "vert" 0.0;
1217 // === item: just a regular object holder in the toolbar for any child
1218 group { name: "elm/toolbar/object/default";
1219 images.image: "horizontal_separated_bar_small_glow.png" COMP;
1221 part { name: "elm.swallow.object"; type: SWALLOW;
1222 description { state: "default" 0.0;
1227 part { name: "highlight"; mouse_events: 0;
1228 description { state: "default" 0.0;
1230 rel1.relative: 0.0 1.0;
1232 image.normal: "horizontal_separated_bar_small_glow.png";
1233 image.border: 4 4 4 4;
1237 description { state: "selected" 0.0;
1238 inherit: "default" 0.0;
1245 signal: "elm,highlight,on"; source: "elm";
1246 action: STATE_SET "selected" 0.0;
1247 target: "highlight";
1250 signal: "elm,highlight,off"; source: "elm";
1251 action: STATE_SET "default" 0.0;
1252 target: "highlight";
1257 // === item: the more PANEL that slides out under the toolbar
1258 // XXX: vert vs horiz (should emit)
1259 group { name: "elm/toolbar/more/default";
1260 images.image: "vgrad_med_lighter.png" COMP;
1261 images.image: "bevel_out.png" COMP;
1262 images.image: "shine.png" COMP;
1263 images.image: "shadow_square_tiny.png" COMP;
1265 part { name: "shadow"; mouse_events: 0;
1266 description { state: "default" 0.0;
1271 image.normal: "shadow_square_tiny.png";
1272 image.border: 6 6 6 6;
1276 description { state: "open" 0.0;
1277 inherit: "default" 0.0;
1280 description { state: "open2" 0.0;
1281 inherit: "default" 0.0;
1285 part { name: "base";
1286 description { state: "default" 0.0;
1287 image.normal: "vgrad_med_lighter.png";
1288 rel2.relative: 1.0 0.0;
1296 description { state: "open" 0.0;
1297 inherit: "default" 0.0;
1298 rel2.relative: 1.0 1.0;
1302 description { state: "open2" 0.0;
1303 inherit: "default" 0.0;
1304 rel2.relative: 1.0 2.0;
1309 part { name: "clipper"; type: RECT;
1310 description { state: "default" 0.0;
1316 description { state: "open" 0.0;
1317 inherit: "default" 0.0;
1318 rel2.relative: 1.0 1.0;
1321 description { state: "open2" 0.0;
1322 inherit: "default" 0.0;
1323 rel2.relative: 1.0 0.5;
1327 part { name: "clipper2"; type: RECT;
1328 description { state: "default" 0.0;
1329 rel1.relative: 0.0 0.5;
1335 description { state: "open" 0.0;
1336 inherit: "default" 0.0;
1337 rel1.relative: 0.0 1.0;
1340 description { state: "open2" 0.0;
1341 inherit: "default" 0.0;
1342 rel1.relative: 0.0 0.5;
1346 part { name: "elm.swallow.content"; type: SWALLOW;
1348 description { state: "default" 0.0;
1354 part { name: "elm.swallow.content2"; type: SWALLOW;
1355 clip_to: "clipper2";
1356 description { state: "default" 0.0;
1358 rel1.to: "clipper2";
1359 rel2.to: "clipper2";
1362 part { name: "bevel"; mouse_events: 0;
1363 description { state: "default" 0.0;
1366 image.normal: "bevel_out.png";
1367 image.border: 1 1 1 1;
1375 signal: "elm,state,open"; source: "elm";
1376 action: STATE_SET "open" 0.0;
1381 transition: DECELERATE 0.15;
1384 signal: "elm,state,open2"; source: "elm";
1385 action: STATE_SET "open2" 0.0;
1390 transition: DECELERATE 0.3;
1393 signal: "elm,state,close"; source: "elm";
1394 action: STATE_SET "default" 0.0;
1397 transition: DECELERATE 0.5;