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: "arrow_right.png" COMP;
10 image: "arrow_left.png" COMP;
36 rel2.relative: 0.0 1.0;
42 name: "elm.swallow.left";
44 clip_to: "whole_left";
48 rel1.to: "whole_left";
49 rel2.to: "whole_left";
62 rel1.relative: 1.0 0.0;
68 name: "elm.swallow.right";
70 clip_to: "whole_right";
74 rel1.to: "whole_right";
75 rel2.to: "whole_right";
79 part { name: "elm.bar";
86 description { state: "default" 0.0;
90 rel1.relative: 0.0 0.5;
91 rel2.relative: 1.0 0.5;
93 normal: "bt_base2.png";
98 description { state: "clicked" 0.0;
99 inherit: "default" 0.0;
100 image.normal: "bt_base1.png";
103 description { state: "disabled" 0.0;
104 inherit: "default" 0.0;
108 part { name: "over1";
110 description { state: "default" 0.0;
113 rel2.relative: 1.0 0.5;
115 normal: "bt_hilight.png";
119 description { state: "disabled" 0.0;
120 inherit: "default" 0.0;
124 part { name: "over2";
127 ignore_flags: ON_HOLD;
128 description { state: "default" 0.0;
132 normal: "bt_shine.png";
136 description { state: "disabled" 0.0;
137 inherit: "default" 0.0;
141 part { name: "over3";
144 description { state: "default" 0.0;
145 color: 255 255 255 0;
149 normal: "bt_glow.png";
154 description { state: "clicked" 0.0;
155 inherit: "default" 0.0;
157 color: 255 255 255 255;
160 part { name:"bar_disabled";
162 description { state:"default" 0.0;
163 rel1.to_x: "elm.bar";
164 rel2.to_x: "elm.bar";
168 description { state: "disabled" 0.0;
169 inherit: "default" 0.0;
178 description { state: "default" 0.0;
181 color: 255 255 255 0;
183 rel1.relative: 1.0 0.5;
184 rel1.to_x: "elm.bar";
185 rel1.offset: 45/2 -45/2;
187 rel2.relative: 1.0 0.5;
188 rel2.to_x: "elm.bar";
189 rel2.offset: 45/2 45/2;
191 image.normal: "arrow_right.png";
195 description { state: "default" 0.1;
196 inherit: "default" 0.0;
197 image.normal: "arrow_left.png";
199 description { state: "anim_1" 0.0;
200 inherit: "default" 0.0;
201 color: 255 255 255 200;
202 rel1.offset: (45/2 + 10) -45/2;
203 rel2.offset: (45/2 +10) 45/2;
205 description { state: "anim_1" 0.1;
206 inherit: "default" 0.0;
207 image.normal: "arrow_left.png";
208 color: 255 255 255 200;
209 rel1.offset: (45/2 + 10) -45/2;
210 rel2.offset: (45/2 +10) 45/2;
212 description { state: "anim_2" 0.0;
213 inherit: "default" 0.0;
214 color: 255 255 255 0;
215 rel1.offset: (45/2 + 20) -45/2;
216 rel2.offset: (45/2 + 20) 45/2;
218 description { state: "anim_2" 0.1;
219 inherit: "default" 0.0;
220 image.normal: "arrow_left.png";
221 color: 255 255 255 0;
222 rel1.offset: (45/2 + 20) -45/2;
223 rel2.offset: (45/2 + 20) 45/2;
229 description { state: "default" 0.0;
232 color: 255 255 255 0;
234 rel1.relative: 0.0 0.5;
235 rel1.to_x: "elm.bar";
236 rel1.offset: -45/2 -45/2;
238 rel2.relative: 0.0 0.5;
239 rel2.to_x: "elm.bar";
240 rel2.offset: -45/2 45/2;
242 image.normal: "arrow_left.png";
246 description { state: "default" 0.1;
247 inherit: "default" 0.0;
248 image.normal: "arrow_right.png";
250 description { state: "anim_1" 0.0;
251 inherit: "default" 0.0;
252 color: 255 255 255 200;
253 rel1.offset: (-45/2 - 10) -45/2;
254 rel2.offset: (-45/2 - 10) 45/2;
256 description { state: "anim_1" 0.1;
257 inherit: "default" 0.0;
258 image.normal: "arrow_right.png";
259 color: 255 255 255 200;
260 rel1.offset: (-45/2 - 10) -45/2;
261 rel2.offset: (-45/2 - 10) 45/2;
263 description { state: "anim_2" 0.0;
264 inherit: "default" 0.0;
265 color: 255 255 255 0;
266 rel1.offset: (-45/2 - 20) -45/2;
267 rel2.offset: (-45/2 - 20) 45/2;
269 description { state: "anim_2" 0.1;
270 inherit: "default" 0.0;
271 image.normal: "arrow_right.png";
272 color: 255 255 255 0;
273 rel1.offset: (-45/2 - 20) -45/2;
274 rel2.offset: (-45/2 - 20) 45/2;
281 name: "button_click";
282 signal: "mouse,down,1";
284 action: SIGNAL_EMIT "elm,action,press" "";
285 after: "button_click_anim";
286 after: "arrow_anim_start";
289 name: "button_click_anim";
290 action: STATE_SET "clicked" 0.0;
294 name: "button_unclick";
295 signal: "mouse,up,1";
297 action: SIGNAL_EMIT "elm,action,unpress" "";
298 after: "button_unclick_anim";
299 after: "arrow_anim_stop";
302 name: "button_unclick_anim";
303 action: STATE_SET "default" 0.0;
307 name: "button_click2";
308 signal: "mouse,down,1";
310 action: STATE_SET "clicked" 0.0;
314 name: "button_unclick2";
315 signal: "mouse,up,1";
317 action: STATE_SET "default" 0.0;
318 transition: DECELERATE 0.5;
322 name: "button_unclick3";
323 signal: "mouse,up,1";
325 action: SIGNAL_EMIT "elm,action,click" "";
328 name: "button_down_double";
329 signal: "mouse,down,1,double";
331 action: SIGNAL_EMIT "elm,action,click,double" "";
336 name: "arrow_anim_start";
340 get_state(PART:"arrow_left", st, 30, vl);
342 run_program(PROGRAM:"arrow_anim_start_ltr");
345 run_program(PROGRAM:"arrow_anim_start_rtl");
350 name: "arrow_anim_stop";
354 get_state(PART:"arrow_left", st, 30, vl);
356 run_program(PROGRAM:"arrow_anim_stop_ltr");
359 run_program(PROGRAM:"arrow_anim_stop_rtl");
365 name: "arrow_anim_start_ltr";
366 action: STATE_SET "anim_1" 0.0;
367 target: "arrow_right";
368 target: "arrow_left";
369 transition: LINEAR 0.6;
370 after: "arrow_anim_1_ltr";
373 name: "arrow_anim_1_ltr";
374 action: STATE_SET "anim_2" 0.0;
375 target: "arrow_right";
376 target: "arrow_left";
377 transition: LINEAR 0.6;
378 after: "arrow_anim_2_ltr";
381 name: "arrow_anim_2_ltr";
382 action: STATE_SET "default" 0.0;
383 target: "arrow_right";
384 target: "arrow_left";
385 after: "arrow_anim_start_ltr";
388 name: "arrow_anim_stop_ltr";
390 target: "arrow_anim_start_ltr";
391 target: "arrow_anim_1_ltr";
392 target: "arrow_anim_2_ltr";
393 after: "arrow_anim_stop_1_ltr";
396 name: "arrow_anim_stop_1_ltr";
397 action: STATE_SET "default" 0.0;
398 target: "arrow_right";
399 target: "arrow_left";
400 transition: DECELERATE 0.4;
403 name: "arrow_anim_start_rtl";
404 action: STATE_SET "anim_1" 0.1;
405 target: "arrow_right";
406 target: "arrow_left";
407 transition: LINEAR 0.6;
408 after: "arrow_anim_1_rtl";
411 name: "arrow_anim_1_rtl";
412 action: STATE_SET "anim_2" 0.1;
413 target: "arrow_right";
414 target: "arrow_left";
415 transition: LINEAR 0.6;
416 after: "arrow_anim_2_rtl";
419 name: "arrow_anim_2_rtl";
420 action: STATE_SET "default" 0.1;
421 target: "arrow_right";
422 target: "arrow_left";
423 after: "arrow_anim_start_rtl";
426 name: "arrow_anim_stop_rtl";
428 target: "arrow_anim_start_rtl";
429 target: "arrow_anim_1_rtl";
430 target: "arrow_anim_2_rtl";
431 after: "arrow_anim_stop_1_rtl";
434 name: "arrow_anim_stop_1_rtl";
435 action: STATE_SET "default" 0.1;
436 target: "arrow_right";
437 target: "arrow_left";
438 transition: DECELERATE 0.4;
440 program { name: "to_rtl";
441 signal: "edje,state,rtl";
446 get_state(PART:"arrow_left", st, 30, vl);
448 set_state(PART:"arrow_left", st, 0.1);
450 get_state(PART:"arrow_right", st, 30, vl);
452 set_state(PART:"arrow_right", st, 0.1);
456 program { name: "to_ltr";
457 signal: "edje,state,ltr";
462 get_state(PART:"arrow_left", st, 30, vl);
464 set_state(PART:"arrow_left", st, 0.0);
466 get_state(PART:"arrow_right", st, 30, vl);
468 set_state(PART:"arrow_right", st, 0.0);
475 signal: "elm.panes.fixed";
477 action: STATE_SET "disabled" 0.0;
480 target: "bar_disabled";
482 //allow the movement by interaction
484 name: "panes_unfixed";
485 signal: "elm.panes.unfixed";
487 action: STATE_SET "default" 0.0;
490 target: "bar_disabled";
496 name: "elm/panes/horizontal/default";
498 image: "bt_base1.png" COMP;
499 image: "bt_base2.png" COMP;
500 image: "bt_hilight.png" COMP;
501 image: "bt_shine.png" COMP;
502 image: "bt_glow.png" COMP;
503 image: "arrow_up.png" COMP;
504 image: "arrow_down.png" COMP;
515 state: "default" 0.0;
528 state: "default" 0.0;
529 rel2.to_y: "elm.bar";
530 rel2.relative: 1.0 0.0;
536 name: "elm.swallow.left";
538 clip_to: "whole_left";
541 state: "default" 0.0;
542 rel1.to: "whole_left";
543 rel2.to: "whole_left";
554 state: "default" 0.0;
555 rel1.to_y: "elm.bar";
556 rel1.relative: 0.0 1.0;
562 name: "elm.swallow.right";
564 clip_to: "whole_right";
567 state: "default" 0.0;
568 rel1.to: "whole_right";
569 rel2.to: "whole_right";
573 part { name: "elm.bar";
580 description { state: "default" 0.0;
584 rel1.relative: 0.5 0.0;
585 rel2.relative: 0.5 1.0;
587 normal: "bt_base2.png";
592 description { state: "clicked" 0.0;
593 inherit: "default" 0.0;
594 image.normal: "bt_base1.png";
597 description { state: "disabled" 0.0;
598 inherit: "default" 0.0;
602 part { name: "over1";
604 description { state: "default" 0.0;
607 rel2.relative: 1.0 0.5;
609 normal: "bt_hilight.png";
613 description { state: "disabled" 0.0;
614 inherit: "default" 0.0;
618 part { name: "over2";
621 ignore_flags: ON_HOLD;
622 description { state: "default" 0.0;
626 normal: "bt_shine.png";
630 description { state: "disabled" 0.0;
631 inherit: "default" 0.0;
635 part { name: "over3";
638 description { state: "default" 0.0;
639 color: 255 255 255 0;
643 normal: "bt_glow.png";
648 description { state: "clicked" 0.0;
649 inherit: "default" 0.0;
651 color: 255 255 255 255;
654 part { name:"bar_disabled";
656 description { state:"default" 0.0;
657 rel1.to_y: "elm.bar";
658 rel2.to_y: "elm.bar";
662 description { state: "disabled" 0.0;
663 inherit: "default" 0.0;
672 description { state: "default" 0.0;
675 color: 255 255 255 0;
677 rel1.relative: 0.5 1.0;
678 rel1.to_y: "elm.bar";
679 rel1.offset: -45/2 45/2;
681 rel2.relative: 0.5 1.0;
682 rel2.to_y: "elm.bar";
683 rel2.offset: 45/2 45/2;
685 image.normal: "arrow_down.png";
689 description { state: "anim_1" 0.0;
690 inherit: "default" 0.0;
691 color: 255 255 255 200;
692 rel1.offset: -45/2 (45/2 +10);
693 rel2.offset: 45/2 (45/2 +10);
695 description { state: "anim_2" 0.0;
696 inherit: "default" 0.0;
697 color: 255 255 255 0;
698 rel1.offset: -45/2 (45/2 + 20);
699 rel2.offset: 45/2 (45/2 + 20);
705 description { state: "default" 0.0;
708 color: 255 255 255 0;
710 rel1.relative: 0.5 0.0;
711 rel1.to_y: "elm.bar";
712 rel1.offset: -45/2 -45/2;
714 rel2.relative: 0.5 0.0;
715 rel2.to_y: "elm.bar";
716 rel2.offset: 45/2 -45/2;
718 image.normal: "arrow_up.png";
722 description { state: "anim_1" 0.0;
723 inherit: "default" 0.0;
724 color: 255 255 255 200;
725 rel1.offset: -45/2 (-45/2 - 10);
726 rel2.offset: 45/2 (-45/2 - 10);
728 description { state: "anim_2" 0.0;
729 inherit: "default" 0.0;
730 color: 255 255 255 0;
731 rel1.offset: -45/2 (-45/2 - 20);
732 rel2.offset: 45/2 (-45/2 - 20);
739 name: "button_click";
740 signal: "mouse,down,1";
742 action: SIGNAL_EMIT "elm,action,press" "";
743 after: "button_click_anim";
744 after: "arrow_anim_start";
747 name: "button_click_anim";
748 action: STATE_SET "clicked" 0.0;
752 name: "button_unclick";
753 signal: "mouse,up,1";
755 action: SIGNAL_EMIT "elm,action,unpress" "";
756 after: "button_unclick_anim";
757 after: "arrow_anim_stop";
760 name: "button_unclick_anim";
761 action: STATE_SET "default" 0.0;
765 name: "button_click2";
766 signal: "mouse,down,1";
768 action: STATE_SET "clicked" 0.0;
772 name: "button_unclick2";
773 signal: "mouse,up,1";
775 action: STATE_SET "default" 0.0;
776 transition: DECELERATE 0.5;
780 name: "button_unclick3";
781 signal: "mouse,up,1";
783 action: SIGNAL_EMIT "elm,action,click" "";
786 name: "button_down_double";
787 signal: "mouse,down,1,double";
789 action: SIGNAL_EMIT "elm,action,click,double" "";
794 name: "arrow_anim_start";
795 action: STATE_SET "anim_1" 0.0;
796 target: "arrow_right";
797 target: "arrow_left";
798 transition: LINEAR 0.6;
799 after: "arrow_anim_1";
802 name: "arrow_anim_1";
803 action: STATE_SET "anim_2" 0.0;
804 target: "arrow_right";
805 target: "arrow_left";
806 transition: LINEAR 0.6;
807 after: "arrow_anim_2";
810 name: "arrow_anim_2";
811 action: STATE_SET "default" 0.0;
812 target: "arrow_right";
813 target: "arrow_left";
814 after: "arrow_anim_start";
817 name: "arrow_anim_stop";
819 target: "arrow_anim_start";
820 target: "arrow_anim_1";
821 target: "arrow_anim_2";
822 after: "arrow_anim_stop_1";
825 name: "arrow_anim_stop_1";
826 action: STATE_SET "default" 0.0;
827 target: "arrow_right";
828 target: "arrow_left";
829 transition: DECELERATE 0.4;
834 signal: "elm.panes.fixed";
836 action: STATE_SET "disabled" 0.0;
839 target: "bar_disabled";
841 //allow the movement by interaction
843 name: "panes_unfixed";
844 signal: "elm.panes.unfixed";
846 action: STATE_SET "default" 0.0;
849 target: "bar_disabled";