1 group { name: "elm/toolbar/base/default";
3 image: "bt_dis_base.png" COMP;
4 image: "bt_dis_hilight.png" COMP;
5 image: "bt_dis_shine.png" COMP;
6 image: "icon_left_arrow.png" COMP;
7 image: "icon_right_arrow.png" COMP;
12 description { state: "default" 0.0;
19 normal: "bt_dis_base.png";
25 part { name: "clipper";
40 part { name: "elm.swallow.content";
51 description { state: "default" 0.0;
55 normal: "bt_dis_shine.png";
62 description { state: "default" 0.0;
65 rel2.relative: 1.0 0.5;
67 normal: "bt_dis_hilight.png";
70 color: 255 255 255 128;
73 part { name: "left_arrow";
75 description { state: "default" 0.0;
76 image.normal: "icon_left_arrow.png";
78 aspect_preference: VERTICAL;
83 description { state: "hidden" 0.0;
84 inherit: "default" 0.0;
89 part { name: "right_arrow";
91 description { state: "default" 0.0;
92 image.normal: "icon_right_arrow.png";
94 aspect_preference: VERTICAL;
99 description { state: "hidden" 0.0;
100 inherit: "default" 0.0;
102 color: 255 255 255 0;
105 part { name: "event";
109 description { state: "default" 0.0;
115 program { name: "sb_hbar_show";
116 signal: "elm,action,show,hbar";
118 action: STATE_SET "default" 0.0;
119 transition: LINEAR 0.5;
120 target: "left_arrow";
121 target: "right_arrow";
123 program { name: "sb_hbar_hide";
124 signal: "elm,action,hide,hbar";
126 action: STATE_SET "hidden" 0.0;
127 target: "left_arrow";
128 target: "right_arrow";
129 transition: LINEAR 0.5;
134 group { name: "elm/toolbar/item/default";
136 image: "toolbar_sel.png" COMP;
138 data.item: "transition_animation_on" "1";
140 part { name: "label2";
144 clip_to: "elm.text.clipper";
145 description { state: "default" 0.0;
153 text_source: "elm.text";
157 text_class: "toolbar_item";
160 description { state: "selected" 0.0;
161 inherit: "default" 0.0;
164 description { state: "disabled" 0.0;
165 inherit: "default" 0.0;
169 description { state: "disabled_visible" 0.0;
170 inherit: "default" 0.0;
177 part { name: "label2_new";
181 clip_to: "elm.text_new.clipper";
182 description { state: "default" 0.0;
185 rel1.to: "elm.text_new";
186 rel2.to: "elm.text_new";
190 text_source: "elm.text_new";
194 text_class: "toolbar_item";
197 description { state: "selected" 0.0;
198 inherit: "default" 0.0;
201 description { state: "disabled" 0.0;
202 inherit: "default" 0.0;
206 description { state: "disabled_visible" 0.0;
207 inherit: "default" 0.0;
216 description { state: "default" 0.0;
218 color: 255 255 255 0;
220 normal: "toolbar_sel.png";
226 description { state: "selected" 0.0;
227 inherit: "default" 0.0;
229 color: 255 255 255 255;
231 description { state: "disabled" 0.0;
232 inherit: "default" 0.0;
234 color: 255 255 255 0;
237 part { name: "elm.swallow.icon";
239 clip_to: "elm.icon.clipper";
240 description { state: "default" 0.0;
254 part { name: "elm.swallow.icon_new";
256 clip_to: "elm.icon_new.clipper";
257 description { state: "default" 0.0;
264 to_y: "elm.text_new";
271 part { name: "elm.text";
276 clip_to: "elm.text.clipper";
277 description { state: "default" 0.0;
289 color: 224 224 224 255;
292 font: "Sans:style=Bold";
296 text_class: "toolbar_item";
299 description { state: "selected" 0.0;
300 inherit: "default" 0.0;
303 description { state: "visible" 0.0;
304 inherit: "default" 0.0;
308 description { state: "disabled" 0.0;
309 inherit: "default" 0.0;
313 description { state: "disabled_visible" 0.0;
314 inherit: "default" 0.0;
321 part { name: "elm.text_new";
325 clip_to: "elm.text_new.clipper";
327 description { state: "default" 0.0;
339 color: 224 224 224 255;
342 font: "Sans:style=Bold";
346 text_class: "toolbar_item";
349 description { state: "selected" 0.0;
350 inherit: "default" 0.0;
353 description { state: "visible" 0.0;
354 inherit: "default" 0.0;
358 description { state: "disabled" 0.0;
359 inherit: "default" 0.0;
363 description { state: "disabled_visible" 0.0;
364 inherit: "default" 0.0;
371 part { name: "elm.text.clipper";
373 description { state: "default" 0.0;
374 color: 255 255 255 255;
376 description { state: "animation" 0.0;
377 color: 255 255 255 0;
380 part { name: "elm.text_new.clipper";
382 description { state: "default" 0.0;
383 color: 255 255 255 0;
385 description { state: "animation" 0.0;
386 color: 255 255 255 255;
389 part { name: "elm.icon.clipper";
391 description { state: "default" 0.0;
392 color: 255 255 255 255;
394 description { state: "animation" 0.0;
395 color: 255 255 255 0;
398 part { name: "elm.icon_new.clipper";
400 description { state: "default" 0.0;
401 color: 255 255 255 0;
403 description { state: "animation" 0.0;
404 color: 255 255 255 255;
407 part { name: "event";
410 ignore_flags: ON_HOLD;
411 description { state: "default" 0.0;
417 program { name: "go_active";
418 signal: "elm,state,selected";
420 action: STATE_SET "selected" 0.0;
424 target: "elm.text_new";
425 target: "label2_new";
426 transition: LINEAR 0.2;
428 program { name: "go_passive";
429 signal: "elm,state,unselected";
431 action: STATE_SET "default" 0.0;
435 target: "elm.text_new";
436 target: "label2_new";
437 transition: LINEAR 0.1;
439 program { name: "go";
440 signal: "mouse,clicked,1";
442 action: SIGNAL_EMIT "elm,action,click" "elm";
444 program { name: "mouse,in";
447 action: SIGNAL_EMIT "elm,mouse,in" "elm";
449 program { name: "mouse,out";
452 action: SIGNAL_EMIT "elm,mouse,out" "elm";
454 program { name: "disable";
455 signal: "elm,state,disabled";
457 action: STATE_SET "disabled" 0.0;
459 target: "label2_new";
461 after: "disable_text";
463 program { name: "disable_text";
467 get_state(PART:"elm.text", st, 30, vl);
468 if (!strcmp(st, "visible"))
470 set_state(PART:"elm.text", "disabled_visible", 0.0);
471 set_state(PART:"elm.text_new", "disabled_visible", 0.0);
475 set_state(PART:"elm.text", "disabled", 0.0);
476 set_state(PART:"elm.text_new", "disabled", 0.0);
480 program { name: "enable";
481 signal: "elm,state,enabled";
483 action: STATE_SET "default" 0.0;
485 target: "label2_new";
487 after: "enable_text";
489 program { name: "enable_text";
493 get_state(PART:"elm.text", st, 30, vl);
494 if (!strcmp(st, "disabled_visible"))
496 set_state(PART:"elm.text", "visible", 0.0);
497 set_state(PART:"elm.text_new", "visible", 0.0);
501 set_state(PART:"elm.text", "default", 0.0);
502 set_state(PART:"elm.text_new", "default", 0.0);
506 program { name: "label_set,animation,forward";
507 signal: "elm,state,label_set,forward";
509 after: "label_set,animation";
511 program { name: "label_set,animation,backward";
512 signal: "elm,state,label_set,backward";
514 after: "label_set,animation";
516 program { name: "label_set,animation";
517 signal: "elm,state,label_set";
519 action: STATE_SET "animation" 0.0;
520 target: "elm.text.clipper";
521 target: "elm.text_new.clipper";
522 transition: LINEAR 0.2;
523 after: "label_set,animation,done";
525 program { name: "label_set,animation,done";
526 action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
528 program { name: "label,reset";
529 signal: "elm,state,label,reset";
531 action: STATE_SET "default" 0.0;
532 target: "elm.text.clipper";
533 target: "elm.text_new.clipper";
535 program { name: "icon_set,animation,forward";
536 signal: "elm,state,icon_set,forward";
538 after: "icon_set,animation";
540 program { name: "icon_set,animation,backward";
541 signal: "elm,state,icon_set,backward";
543 after: "icon_set,animation";
545 program { name: "icon_set,animation";
546 signal: "elm,state,icon_set";
548 action: STATE_SET "animation" 0.0;
549 target: "elm.icon.clipper";
550 target: "elm.icon_new.clipper";
551 transition: LINEAR 0.2;
552 after: "icon_set,animation,done";
554 program { name: "icon_set,animation,done";
555 action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
557 program { name: "icon,reset";
558 signal: "elm,state,icon,reset";
560 action: STATE_SET "default" 0.0;
561 target: "elm.icon.clipper";
562 target: "elm.icon_new.clipper";
567 group { name: "elm/toolbar/item/item_horizontal";
568 inherit: "elm/toolbar/item/default";
570 part { name: "elm.swallow.icon";
571 description { state: "default" 0.0;
574 aspect_preference: VERTICAL;
583 part { name: "elm.swallow.icon_new";
584 description { state: "default" 0.0;
588 part { name: "elm.text";
589 description { state: "default" 0.0;
593 rel1.relative: 1.0 0.0;
594 rel1.to_x: "elm.swallow.icon";
595 rel2.relative: 1.0 1.0;
598 description { state: "selected" 0.0;
599 inherit: "default" 0.0;
602 description { state: "visible" 0.0;
603 inherit: "default" 0.0;
607 description { state: "disabled" 0.0;
608 inherit: "default" 0.0;
612 description { state: "disabled_visible" 0.0;
613 inherit: "default" 0.0;
620 part { name: "elm.text_new";
621 description { state: "default" 0.0;
625 rel1.relative: 1.0 0.0;
626 rel1.to_x: "elm.swallow.icon";
627 rel2.relative: 1.0 1.0;
630 description { state: "selected" 0.0;
631 inherit: "default" 0.0;
634 description { state: "visible" 0.0;
635 inherit: "default" 0.0;
639 description { state: "disabled" 0.0;
640 inherit: "default" 0.0;
644 description { state: "disabled_visible" 0.0;
645 inherit: "default" 0.0;
655 group { name: "elm/toolbar/separator/default";
657 image: "toolbar_separator_v.png" COMP;
660 part { name: "separator"; // separator group
661 description { state: "default" 0.0;
667 normal: "toolbar_separator_v.png";
677 group { name: "elm/toolbar/object/default";
679 part { name: "elm.swallow.object"; // object group
681 description { state: "default" 0.0;