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;
255 part { name: "elm.swallow.icon_new";
257 clip_to: "elm.icon_new.clipper";
258 description { state: "default" 0.0;
266 to_y: "elm.text_new";
273 part { name: "elm.text";
278 clip_to: "elm.text.clipper";
279 description { state: "default" 0.0;
291 color: 224 224 224 255;
294 font: "Sans:style=Bold";
298 text_class: "toolbar_item";
301 description { state: "selected" 0.0;
302 inherit: "default" 0.0;
305 description { state: "visible" 0.0;
306 inherit: "default" 0.0;
310 description { state: "disabled" 0.0;
311 inherit: "default" 0.0;
315 description { state: "disabled_visible" 0.0;
316 inherit: "default" 0.0;
323 part { name: "elm.text_new";
327 clip_to: "elm.text_new.clipper";
329 description { state: "default" 0.0;
341 color: 224 224 224 255;
344 font: "Sans:style=Bold";
348 text_class: "toolbar_item";
351 description { state: "selected" 0.0;
352 inherit: "default" 0.0;
355 description { state: "visible" 0.0;
356 inherit: "default" 0.0;
360 description { state: "disabled" 0.0;
361 inherit: "default" 0.0;
365 description { state: "disabled_visible" 0.0;
366 inherit: "default" 0.0;
373 part { name: "elm.text.clipper";
375 description { state: "default" 0.0;
376 color: 255 255 255 255;
378 description { state: "animation" 0.0;
379 color: 255 255 255 0;
382 part { name: "elm.text_new.clipper";
384 description { state: "default" 0.0;
385 color: 255 255 255 0;
387 description { state: "animation" 0.0;
388 color: 255 255 255 255;
391 part { name: "elm.icon.clipper";
393 description { state: "default" 0.0;
394 color: 255 255 255 255;
396 description { state: "animation" 0.0;
397 color: 255 255 255 0;
400 part { name: "elm.icon_new.clipper";
402 description { state: "default" 0.0;
403 color: 255 255 255 0;
405 description { state: "animation" 0.0;
406 color: 255 255 255 255;
409 part { name: "event";
412 ignore_flags: ON_HOLD;
413 description { state: "default" 0.0;
419 program { name: "go_active";
420 signal: "elm,state,selected";
422 action: STATE_SET "selected" 0.0;
426 target: "elm.text_new";
427 target: "label2_new";
428 transition: LINEAR 0.2;
430 program { name: "go_passive";
431 signal: "elm,state,unselected";
433 action: STATE_SET "default" 0.0;
437 target: "elm.text_new";
438 target: "label2_new";
439 transition: LINEAR 0.1;
441 program { name: "go";
442 signal: "mouse,up,1";
444 action: SIGNAL_EMIT "elm,action,click" "elm";
446 program { name: "mouse,in";
449 action: SIGNAL_EMIT "elm,mouse,in" "elm";
451 program { name: "mouse,out";
454 action: SIGNAL_EMIT "elm,mouse,out" "elm";
456 program { name: "disable";
457 signal: "elm,state,disabled";
459 action: STATE_SET "disabled" 0.0;
461 target: "label2_new";
463 after: "disable_text";
465 program { name: "disable_text";
469 get_state(PART:"elm.text", st, 30, vl);
470 if (!strcmp(st, "visible"))
472 set_state(PART:"elm.text", "disabled_visible", 0.0);
473 set_state(PART:"elm.text_new", "disabled_visible", 0.0);
477 set_state(PART:"elm.text", "disabled", 0.0);
478 set_state(PART:"elm.text_new", "disabled", 0.0);
482 program { name: "enable";
483 signal: "elm,state,enabled";
485 action: STATE_SET "default" 0.0;
487 target: "label2_new";
489 after: "enable_text";
491 program { name: "enable_text";
495 get_state(PART:"elm.text", st, 30, vl);
496 if (!strcmp(st, "disabled_visible"))
498 set_state(PART:"elm.text", "visible", 0.0);
499 set_state(PART:"elm.text_new", "visible", 0.0);
503 set_state(PART:"elm.text", "default", 0.0);
504 set_state(PART:"elm.text_new", "default", 0.0);
508 program { name: "label_set,animation,forward";
509 signal: "elm,state,label_set,forward";
511 after: "label_set,animation";
513 program { name: "label_set,animation,backward";
514 signal: "elm,state,label_set,backward";
516 after: "label_set,animation";
518 program { name: "label_set,animation";
519 signal: "elm,state,label_set";
521 action: STATE_SET "animation" 0.0;
522 target: "elm.text.clipper";
523 target: "elm.text_new.clipper";
524 transition: LINEAR 0.2;
525 after: "label_set,animation,done";
527 program { name: "label_set,animation,done";
528 action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
530 program { name: "label,reset";
531 signal: "elm,state,label,reset";
533 action: STATE_SET "default" 0.0;
534 target: "elm.text.clipper";
535 target: "elm.text_new.clipper";
537 program { name: "icon_set,animation,forward";
538 signal: "elm,state,icon_set,forward";
540 after: "icon_set,animation";
542 program { name: "icon_set,animation,backward";
543 signal: "elm,state,icon_set,backward";
545 after: "icon_set,animation";
547 program { name: "icon_set,animation";
548 signal: "elm,state,icon_set";
550 action: STATE_SET "animation" 0.0;
551 target: "elm.icon.clipper";
552 target: "elm.icon_new.clipper";
553 transition: LINEAR 0.2;
554 after: "icon_set,animation,done";
556 program { name: "icon_set,animation,done";
557 action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
559 program { name: "icon,reset";
560 signal: "elm,state,icon,reset";
562 action: STATE_SET "default" 0.0;
563 target: "elm.icon.clipper";
564 target: "elm.icon_new.clipper";
569 group { name: "elm/toolbar/separator/default";
571 image: "toolbar_separator_v.png" COMP;
574 part { name: "separator"; // separator group
575 description { state: "default" 0.0;
581 normal: "toolbar_separator_v.png";