2 name: "elm/panes/vertical/default";
4 image: "bt_base1.png" COMP;
5 image: "bt_base2.png" COMP;
6 image: "bt_hilight.png" COMP;
7 image: "bt_shine.png" COMP;
8 image: "bt_glow.png" COMP;
9 image: "bt_dis_base.png" COMP;
10 image: "bt_dis_hilight.png" COMP;
11 image: "arrow_right.png" COMP;
12 image: "arrow_left.png" COMP;
38 rel2.relative: 0.0 1.0;
44 name: "elm.swallow.left";
46 clip_to: "whole_left";
50 rel1.to: "whole_left";
51 rel2.to: "whole_left";
64 rel1.relative: 1.0 0.0;
70 name: "elm.swallow.right";
72 clip_to: "whole_right";
76 rel1.to: "whole_right";
77 rel2.to: "whole_right";
81 part { name: "elm.bar";
88 description { state: "default" 0.0;
91 rel1.relative: 0.0 0.5;
92 rel2.relative: 1.0 0.5;
94 normal: "bt_base2.png";
99 description { state: "clicked" 0.0;
100 inherit: "default" 0.0;
101 image.normal: "bt_base1.png";
104 description { state: "disabled" 0.0;
105 inherit: "default" 0.0;
107 normal: "bt_dis_base.png";
112 part { name: "over1";
114 description { state: "default" 0.0;
117 rel2.relative: 1.0 0.5;
119 normal: "bt_hilight.png";
123 description { state: "disabled" 0.0;
124 inherit: "default" 0.0;
126 normal: "bt_dis_hilight.png";
131 part { name: "over2";
134 ignore_flags: ON_HOLD;
135 description { state: "default" 0.0;
139 normal: "bt_shine.png";
143 description { state: "disabled" 0.0;
144 inherit: "default" 0.0;
148 part { name: "over3";
151 description { state: "default" 0.0;
152 color: 255 255 255 0;
156 normal: "bt_glow.png";
161 description { state: "clicked" 0.0;
162 inherit: "default" 0.0;
164 color: 255 255 255 255;
172 description { state: "default" 0.0;
175 color: 255 255 255 0;
177 rel1.relative: 1.0 0.5;
178 rel1.to_x: "elm.bar";
179 rel1.offset: 45/2 -45/2;
181 rel2.relative: 1.0 0.5;
182 rel2.to_x: "elm.bar";
183 rel2.offset: 45/2 45/2;
185 image.normal: "arrow_right.png";
189 description { state: "default" 0.1;
190 inherit: "default" 0.0;
191 image.normal: "arrow_left.png";
193 description { state: "anim_1" 0.0;
194 inherit: "default" 0.0;
195 color: 255 255 255 200;
196 rel1.offset: (45/2 + 10) -45/2;
197 rel2.offset: (45/2 +10) 45/2;
199 description { state: "anim_1" 0.1;
200 inherit: "default" 0.0;
201 image.normal: "arrow_left.png";
202 color: 255 255 255 200;
203 rel1.offset: (45/2 + 10) -45/2;
204 rel2.offset: (45/2 +10) 45/2;
206 description { state: "anim_2" 0.0;
207 inherit: "default" 0.0;
208 color: 255 255 255 0;
209 rel1.offset: (45/2 + 20) -45/2;
210 rel2.offset: (45/2 + 20) 45/2;
212 description { state: "anim_2" 0.1;
213 inherit: "default" 0.0;
214 image.normal: "arrow_left.png";
215 color: 255 255 255 0;
216 rel1.offset: (45/2 + 20) -45/2;
217 rel2.offset: (45/2 + 20) 45/2;
223 description { state: "default" 0.0;
226 color: 255 255 255 0;
228 rel1.relative: 0.0 0.5;
229 rel1.to_x: "elm.bar";
230 rel1.offset: -45/2 -45/2;
232 rel2.relative: 0.0 0.5;
233 rel2.to_x: "elm.bar";
234 rel2.offset: -45/2 45/2;
236 image.normal: "arrow_left.png";
240 description { state: "default" 0.1;
241 inherit: "default" 0.0;
242 image.normal: "arrow_right.png";
244 description { state: "anim_1" 0.0;
245 inherit: "default" 0.0;
246 color: 255 255 255 200;
247 rel1.offset: (-45/2 - 10) -45/2;
248 rel2.offset: (-45/2 - 10) 45/2;
250 description { state: "anim_1" 0.1;
251 inherit: "default" 0.0;
252 image.normal: "arrow_right.png";
253 color: 255 255 255 200;
254 rel1.offset: (-45/2 - 10) -45/2;
255 rel2.offset: (-45/2 - 10) 45/2;
257 description { state: "anim_2" 0.0;
258 inherit: "default" 0.0;
259 color: 255 255 255 0;
260 rel1.offset: (-45/2 - 20) -45/2;
261 rel2.offset: (-45/2 - 20) 45/2;
263 description { state: "anim_2" 0.1;
264 inherit: "default" 0.0;
265 image.normal: "arrow_right.png";
266 color: 255 255 255 0;
267 rel1.offset: (-45/2 - 20) -45/2;
268 rel2.offset: (-45/2 - 20) 45/2;
275 name: "button_click";
276 signal: "mouse,down,1";
278 action: SIGNAL_EMIT "elm,action,press" "";
279 after: "button_click_anim";
280 after: "arrow_anim_start";
283 name: "button_click_anim";
284 action: STATE_SET "clicked" 0.0;
288 name: "button_unclick";
289 signal: "mouse,up,1";
291 action: SIGNAL_EMIT "elm,action,unpress" "";
292 after: "button_unclick_anim";
293 after: "arrow_anim_stop";
296 name: "button_unclick_anim";
297 action: STATE_SET "default" 0.0;
301 name: "button_click2";
302 signal: "mouse,down,1";
304 action: STATE_SET "clicked" 0.0;
308 name: "button_unclick2";
309 signal: "mouse,up,1";
311 action: STATE_SET "default" 0.0;
312 transition: DECELERATE 0.5;
316 name: "button_unclick3";
317 signal: "mouse,up,1";
319 action: SIGNAL_EMIT "elm,action,click" "";
322 name: "button_down_double";
323 signal: "mouse,down,1,double";
325 action: SIGNAL_EMIT "elm,action,click,double" "";
330 name: "arrow_anim_start";
334 get_state(PART:"arrow_left", st, 30, vl);
336 run_program(PROGRAM:"arrow_anim_start_ltr");
339 run_program(PROGRAM:"arrow_anim_start_rtl");
344 name: "arrow_anim_stop";
348 get_state(PART:"arrow_left", st, 30, vl);
350 run_program(PROGRAM:"arrow_anim_stop_ltr");
353 run_program(PROGRAM:"arrow_anim_stop_rtl");
359 name: "arrow_anim_start_ltr";
360 action: STATE_SET "anim_1" 0.0;
361 target: "arrow_right";
362 target: "arrow_left";
363 transition: LINEAR 0.6;
364 after: "arrow_anim_1_ltr";
367 name: "arrow_anim_1_ltr";
368 action: STATE_SET "anim_2" 0.0;
369 target: "arrow_right";
370 target: "arrow_left";
371 transition: LINEAR 0.6;
372 after: "arrow_anim_2_ltr";
375 name: "arrow_anim_2_ltr";
376 action: STATE_SET "default" 0.0;
377 target: "arrow_right";
378 target: "arrow_left";
379 after: "arrow_anim_start_ltr";
382 name: "arrow_anim_stop_ltr";
384 target: "arrow_anim_start_ltr";
385 target: "arrow_anim_1_ltr";
386 target: "arrow_anim_2_ltr";
387 after: "arrow_anim_stop_1_ltr";
390 name: "arrow_anim_stop_1_ltr";
391 action: STATE_SET "default" 0.0;
392 target: "arrow_right";
393 target: "arrow_left";
394 transition: DECELERATE 0.4;
397 name: "arrow_anim_start_rtl";
398 action: STATE_SET "anim_1" 0.1;
399 target: "arrow_right";
400 target: "arrow_left";
401 transition: LINEAR 0.6;
402 after: "arrow_anim_1_rtl";
405 name: "arrow_anim_1_rtl";
406 action: STATE_SET "anim_2" 0.1;
407 target: "arrow_right";
408 target: "arrow_left";
409 transition: LINEAR 0.6;
410 after: "arrow_anim_2_rtl";
413 name: "arrow_anim_2_rtl";
414 action: STATE_SET "default" 0.1;
415 target: "arrow_right";
416 target: "arrow_left";
417 after: "arrow_anim_start_rtl";
420 name: "arrow_anim_stop_rtl";
422 target: "arrow_anim_start_rtl";
423 target: "arrow_anim_1_rtl";
424 target: "arrow_anim_2_rtl";
425 after: "arrow_anim_stop_1_rtl";
428 name: "arrow_anim_stop_1_rtl";
429 action: STATE_SET "default" 0.1;
430 target: "arrow_right";
431 target: "arrow_left";
432 transition: DECELERATE 0.4;
434 program { name: "to_rtl";
435 signal: "edje,state,rtl";
440 get_state(PART:"arrow_left", st, 30, vl);
442 set_state(PART:"arrow_left", st, 0.1);
444 get_state(PART:"arrow_right", st, 30, vl);
446 set_state(PART:"arrow_right", st, 0.1);
450 program { name: "to_ltr";
451 signal: "edje,state,ltr";
456 get_state(PART:"arrow_left", st, 30, vl);
458 set_state(PART:"arrow_left", st, 0.0);
460 get_state(PART:"arrow_right", st, 30, vl);
462 set_state(PART:"arrow_right", st, 0.0);
470 name: "elm/panes/horizontal/default";
472 image: "bt_base1.png" COMP;
473 image: "bt_base2.png" COMP;
474 image: "bt_hilight.png" COMP;
475 image: "bt_shine.png" COMP;
476 image: "bt_glow.png" COMP;
477 image: "bt_dis_base.png" COMP;
478 image: "bt_dis_hilight.png" COMP;
479 image: "arrow_up.png" COMP;
480 image: "arrow_down.png" COMP;
491 state: "default" 0.0;
504 state: "default" 0.0;
505 rel2.to_y: "elm.bar";
506 rel2.relative: 1.0 0.0;
512 name: "elm.swallow.left";
514 clip_to: "whole_left";
517 state: "default" 0.0;
518 rel1.to: "whole_left";
519 rel2.to: "whole_left";
530 state: "default" 0.0;
531 rel1.to_y: "elm.bar";
532 rel1.relative: 0.0 1.0;
538 name: "elm.swallow.right";
540 clip_to: "whole_right";
543 state: "default" 0.0;
544 rel1.to: "whole_right";
545 rel2.to: "whole_right";
549 part { name: "elm.bar";
556 description { state: "default" 0.0;
559 rel1.relative: 0.5 0.0;
560 rel2.relative: 0.5 1.0;
562 normal: "bt_base2.png";
567 description { state: "clicked" 0.0;
568 inherit: "default" 0.0;
569 image.normal: "bt_base1.png";
572 description { state: "disabled" 0.0;
573 inherit: "default" 0.0;
575 normal: "bt_dis_base.png";
580 part { name: "over1";
582 description { state: "default" 0.0;
585 rel2.relative: 1.0 0.5;
587 normal: "bt_hilight.png";
591 description { state: "disabled" 0.0;
592 inherit: "default" 0.0;
594 normal: "bt_dis_hilight.png";
599 part { name: "over2";
602 ignore_flags: ON_HOLD;
603 description { state: "default" 0.0;
607 normal: "bt_shine.png";
611 description { state: "disabled" 0.0;
612 inherit: "default" 0.0;
616 part { name: "over3";
619 description { state: "default" 0.0;
620 color: 255 255 255 0;
624 normal: "bt_glow.png";
629 description { state: "clicked" 0.0;
630 inherit: "default" 0.0;
632 color: 255 255 255 255;
640 description { state: "default" 0.0;
643 color: 255 255 255 0;
645 rel1.relative: 0.5 1.0;
646 rel1.to_y: "elm.bar";
647 rel1.offset: -45/2 45/2;
649 rel2.relative: 0.5 1.0;
650 rel2.to_y: "elm.bar";
651 rel2.offset: 45/2 45/2;
653 image.normal: "arrow_down.png";
657 description { state: "anim_1" 0.0;
658 inherit: "default" 0.0;
659 color: 255 255 255 200;
660 rel1.offset: -45/2 (45/2 +10);
661 rel2.offset: 45/2 (45/2 +10);
663 description { state: "anim_2" 0.0;
664 inherit: "default" 0.0;
665 color: 255 255 255 0;
666 rel1.offset: -45/2 (45/2 + 20);
667 rel2.offset: 45/2 (45/2 + 20);
673 description { state: "default" 0.0;
676 color: 255 255 255 0;
678 rel1.relative: 0.5 0.0;
679 rel1.to_y: "elm.bar";
680 rel1.offset: -45/2 -45/2;
682 rel2.relative: 0.5 0.0;
683 rel2.to_y: "elm.bar";
684 rel2.offset: 45/2 -45/2;
686 image.normal: "arrow_up.png";
690 description { state: "anim_1" 0.0;
691 inherit: "default" 0.0;
692 color: 255 255 255 200;
693 rel1.offset: -45/2 (-45/2 - 10);
694 rel2.offset: 45/2 (-45/2 - 10);
696 description { state: "anim_2" 0.0;
697 inherit: "default" 0.0;
698 color: 255 255 255 0;
699 rel1.offset: -45/2 (-45/2 - 20);
700 rel2.offset: 45/2 (-45/2 - 20);
707 name: "button_click";
708 signal: "mouse,down,1";
710 action: SIGNAL_EMIT "elm,action,press" "";
711 after: "button_click_anim";
712 after: "arrow_anim_start";
715 name: "button_click_anim";
716 action: STATE_SET "clicked" 0.0;
720 name: "button_unclick";
721 signal: "mouse,up,1";
723 action: SIGNAL_EMIT "elm,action,unpress" "";
724 after: "button_unclick_anim";
725 after: "arrow_anim_stop";
728 name: "button_unclick_anim";
729 action: STATE_SET "default" 0.0;
733 name: "button_click2";
734 signal: "mouse,down,1";
736 action: STATE_SET "clicked" 0.0;
740 name: "button_unclick2";
741 signal: "mouse,up,1";
743 action: STATE_SET "default" 0.0;
744 transition: DECELERATE 0.5;
748 name: "button_unclick3";
749 signal: "mouse,up,1";
751 action: SIGNAL_EMIT "elm,action,click" "";
754 name: "button_down_double";
755 signal: "mouse,down,1,double";
757 action: SIGNAL_EMIT "elm,action,click,double" "";
762 name: "arrow_anim_start";
763 action: STATE_SET "anim_1" 0.0;
764 target: "arrow_right";
765 target: "arrow_left";
766 transition: LINEAR 0.6;
767 after: "arrow_anim_1";
770 name: "arrow_anim_1";
771 action: STATE_SET "anim_2" 0.0;
772 target: "arrow_right";
773 target: "arrow_left";
774 transition: LINEAR 0.6;
775 after: "arrow_anim_2";
778 name: "arrow_anim_2";
779 action: STATE_SET "default" 0.0;
780 target: "arrow_right";
781 target: "arrow_left";
782 after: "arrow_anim_start";
785 name: "arrow_anim_stop";
787 target: "arrow_anim_start";
788 target: "arrow_anim_1";
789 target: "arrow_anim_2";
790 after: "arrow_anim_stop_1";
793 name: "arrow_anim_stop_1";
794 action: STATE_SET "default" 0.0;
795 target: "arrow_right";
796 target: "arrow_left";
797 transition: DECELERATE 0.4;