2 * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved
4 * PROPRIETARY/CONFIDENTIAL
6 * This software is the confidential and proprietary information of SAMSUNG
7 * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
8 * software is owned by Samsung and you shall not disclose such Confidential
9 * Information and shall use it only in accordance with the terms of the license
10 * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
11 * representations or warranties about the suitability of the software, either
12 * express or implied, including but not limited to the implied warranties of
13 * merchantability, fitness for a particular purpose, or non-infringement.
14 * SAMSUNG shall not be liable for any damages suffered by licensee arising out
15 * of or releated to this software.
20 name: "elm/panes/vertical/default";
22 image: "00_splitscreen_handler_top.png" COMP;
23 image: "00_splitscreen_handler_top_press.png" COMP;
24 image: "00_splitscreen_handler_middle.png" COMP;
25 image: "00_splitscreen_handler_middle_press.png" COMP;
26 image: "00_splitscreen_handler_bottom.png" COMP;
27 image: "00_splitscreen_handler_bottom_press.png" COMP;
28 image: "00_splitscreen_fixed_divider_top.png" COMP;
29 image: "00_splitscreen_fixed_divider_middle.png" COMP;
30 image: "00_splitscreen_fixed_divider_bottom.png" COMP;
33 public state_pair = 0; //0:both content are not set, 1:both content are set
58 rel2.relative: 0.0 1.0;
64 name: "elm.swallow.left";
66 clip_to: "whole_left";
70 rel1.to: "whole_left";
71 rel2.to: "whole_left";
84 rel1.relative: 1.0 0.0;
89 name: "elm.swallow.right";
91 clip_to: "whole_right";
95 rel1.to: "whole_right";
96 rel2.to: "whole_right";
99 part { name:"bar_top";
101 description { state:"default" 0.0;
102 rel1 { relative: 0 0; to_x: "elm.bar"; }
103 rel2 { relative: 1 0; to: "elm.bar"; }
105 normal: "00_splitscreen_handler_top.png";
108 description { state:"clicked" 0.0;
109 inherit: "default" 0.0;
110 image.normal: "00_splitscreen_handler_top_press.png";
112 description { state: "disabled" 0.0;
113 inherit: "default" 0.0;
114 image.normal: "00_splitscreen_fixed_divider_top.png";
118 part { name: "elm.bar";
126 description { state: "default" 0.0;
127 min: 0 PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC;
128 max: 0 PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC;
130 rel1.relative: 0.0 0.5;
131 rel2.relative: 1.0 0.5;
133 normal: "00_splitscreen_handler_middle.png";
135 color: 255 255 255 255;
137 description { state: "default" 0.1;
138 inherit: "default" 0.0;
139 min: PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC;
140 max: PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC;
142 description { state: "clicked" 0.0;
143 inherit: "default" 0.0;
144 image.normal: "00_splitscreen_handler_middle_press.png";
146 description { state: "clicked" 0.1;
147 inherit: "default" 0.1;
148 image.normal: "00_splitscreen_handler_middle_press.png";
150 description { state: "disabled" 0.0;
151 inherit: "default" 0.0;
152 min: 0 PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC;
153 max: 0 PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC;
156 description { state: "disabled" 0.1;
157 inherit: "default" 0.1;
158 min: PANES_STYLE_DEFAULT_FIXED_SIZE_INC PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC;
159 max: PANES_STYLE_DEFAULT_FIXED_SIZE_INC PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC;
160 image.normal: "00_splitscreen_fixed_divider_middle.png";
163 part { name:"bar_bottom";
165 description { state:"default" 0.0;
166 rel1 { relative: 0 1; to: "elm.bar"; }
167 rel2 { relative: 1 1; to_x: "elm.bar"; }
169 normal: "00_splitscreen_handler_bottom.png";
172 description { state:"clicked" 0.0;
173 inherit: "default" 0.0;
174 image.normal: "00_splitscreen_handler_bottom_press.png";
176 description { state: "disabled" 0.0;
177 inherit: "default" 0.0;
178 image.normal: "00_splitscreen_fixed_divider_bottom.png";
181 part { name: "over2";
184 ignore_flags: ON_HOLD;
185 description { state: "default" 0.0;
189 description { state: "disabled" 0.0;
190 inherit: "default" 0.0;
194 part { name: "over3";
197 description { state: "default" 0.0;
201 description { state: "clicked" 0.0;
202 inherit: "default" 0.0;
205 part { name:"bar_disabled";
207 description { state:"default" 0.0;
208 rel1 { relative: 0 0; to_x: "elm.bar"; }
209 rel2 { relative: 1 1; to_x: "elm.bar"; }
213 description { state: "disabled" 0.0;
214 inherit: "default" 0.0;
222 signal: "elm.panes.pair";
227 set_int(state_pair, 1);
228 get_state(PART:"elm.bar", st, 30, vl);
229 set_state(PART:"elm.bar", st, 0.1);
233 name: "panes_unpair";
234 signal: "elm.panes.unpair";
239 set_int(state_pair, 0);
240 get_state(PART:"elm.bar", st, 30, vl);
241 set_state(PART:"elm.bar", st, 0.0);
245 name: "button_click";
246 signal: "mouse,down,1";
248 action: SIGNAL_EMIT "elm,action,press" "";
249 after: "button_click_anim";
252 name: "button_click_anim";
254 if(get_int(state_pair) == 1)
255 set_state(PART:"elm.bar", "clicked", 0.1);
257 set_state(PART:"elm.bar", "clicked", 0.0);
258 set_state(PART:"bar_top", "clicked", 0.0);
259 set_state(PART:"bar_bottom", "clicked", 0.0);
263 name: "button_unclick";
264 signal: "mouse,up,1";
266 action: SIGNAL_EMIT "elm,action,unpress" "";
267 after: "button_unclick_anim";
270 name: "button_unclick_anim";
272 if(get_int(state_pair) == 1)
273 set_state(PART:"elm.bar", "default", 0.1);
275 set_state(PART:"elm.bar", "default", 0.0);
276 set_state(PART:"bar_top", "default", 0.0);
277 set_state(PART:"bar_bottom", "default", 0.0);
281 name: "button_click2";
282 signal: "mouse,down,1";
284 action: STATE_SET "clicked" 0.0;
288 name: "button_unclick2";
289 signal: "mouse,up,1";
291 action: STATE_SET "default" 0.0;
292 transition: DECELERATE 0.5;
296 name: "button_unclick3";
297 signal: "mouse,up,1";
299 action: SIGNAL_EMIT "elm,action,click" "";
302 name: "button_down_double";
303 signal: "mouse,down,1,double";
305 action: SIGNAL_EMIT "elm,action,click,double" "";
310 signal: "elm.panes.fixed";
312 action: STATE_SET "disabled" 0.0;
315 target: "bar_bottom";
316 target: "bar_disabled";
318 //allow the movement by interaction
320 name: "panes_unfixed";
321 signal: "elm.panes.unfixed";
323 action: STATE_SET "default" 0.0;
326 target: "bar_bottom";
327 target: "bar_disabled";
333 name: "elm/panes/horizontal/default";
335 image: "00_splitscreen_handler_hor_left.png" COMP;
336 image: "00_splitscreen_handler_hor_left_press.png" COMP;
337 image: "00_splitscreen_handler_hor_middle.png" COMP;
338 image: "00_splitscreen_handler_hor_middle_press.png" COMP;
339 image: "00_splitscreen_handler_hor_right.png" COMP;
340 image: "00_splitscreen_handler_hor_right_press.png" COMP;
341 image: "00_splitscreen_fixed_divider_hor_left.png" COMP;
342 image: "00_splitscreen_fixed_divider_hor_middle.png" COMP;
343 image: "00_splitscreen_fixed_divider_hor_right.png" COMP;
346 public state_pair = 0; //0:both content are not set, 1:both content are set
356 state: "default" 0.0;
369 state: "default" 0.0;
370 rel2.to_y: "elm.bar";
371 rel2.relative: 1.0 0.0;
377 name: "elm.swallow.left";
379 clip_to: "whole_left";
382 state: "default" 0.0;
383 rel1.to: "whole_left";
384 rel2.to: "whole_left";
395 state: "default" 0.0;
396 rel1.to_y: "elm.bar";
397 rel1.relative: 0.0 1.0;
402 name: "elm.swallow.right";
404 clip_to: "whole_right";
407 state: "default" 0.0;
408 rel1.to: "whole_right";
409 rel2.to: "whole_right";
412 part { name:"bar_left";
414 description { state:"default" 0.0;
415 rel1 { relative: 0 0; to_y: "elm.bar"; }
416 rel2 { relative: 0 1; to: "elm.bar"; }
417 image.normal: "00_splitscreen_handler_hor_left.png";
419 description { state:"clicked" 0.0;
420 inherit: "default" 0.0;
421 image.normal: "00_splitscreen_handler_hor_left_press.png";
423 description { state: "disabled" 0.0;
424 inherit: "default" 0.0;
425 image.normal: "00_splitscreen_fixed_divider_hor_left.png";
429 part { name: "elm.bar";
437 description { state: "default" 0.0;
438 max: PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC 0;
439 min: PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC 0;
440 rel1.relative: 0.5 0.0;
441 rel2.relative: 0.5 1.0;
443 image.normal: "00_splitscreen_handler_hor_middle.png";
445 description { state: "default" 0.1;
446 inherit: "default" 0.0;
447 max: PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC;
448 min: PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC;
450 description { state: "clicked" 0.0;
451 inherit: "default" 0.0;
453 description { state: "clicked" 0.1;
454 inherit: "default" 0.1;
455 image.normal: "00_splitscreen_handler_hor_middle_press.png";
457 description { state: "disabled" 0.0;
458 inherit: "default" 0.0;
459 min: PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC 0;
460 max: PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC 0;
463 description { state: "disabled" 0.1;
464 inherit: "default" 0.1;
465 min: PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC PANES_STYLE_DEFAULT_FIXED_SIZE_INC;
466 max: PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC PANES_STYLE_DEFAULT_FIXED_SIZE_INC;
467 image.normal: "00_splitscreen_fixed_divider_hor_middle.png";
470 part { name:"bar_right";
472 description { state:"default" 0.0;
473 rel1 { relative: 1 0; to: "elm.bar"; }
474 rel2 { relative: 1 1; to_y: "elm.bar"; }
475 image.normal: "00_splitscreen_handler_hor_right.png";
477 description { state:"clicked" 0.0;
478 inherit: "default" 0.0;
479 image.normal: "00_splitscreen_handler_hor_right_press.png";
481 description { state: "disabled" 0.0;
482 inherit: "default" 0.0;
483 image.normal: "00_splitscreen_fixed_divider_hor_right.png";
486 part { name: "over2";
489 ignore_flags: ON_HOLD;
490 description { state: "default" 0.0;
494 description { state: "disabled" 0.0;
495 inherit: "default" 0.0;
499 part { name: "over3";
502 description { state: "default" 0.0;
506 description { state: "clicked" 0.0;
507 inherit: "default" 0.0;
510 part { name:"bar_disabled";
512 description { state:"default" 0.0;
513 rel1 { relative: 0 0; to_y: "elm.bar"; }
514 rel2 { relative: 1 1; to_y: "elm.bar"; }
518 description { state: "disabled" 0.0;
519 inherit: "default" 0.0;
527 signal: "elm.panes.pair";
532 set_int(state_pair, 1);
533 get_state(PART:"elm.bar", st, 30, vl);
534 set_state(PART:"elm.bar", st, 0.1);
538 name: "panes_unpair";
539 signal: "elm.panes.unpair";
544 set_int(state_pair, 0);
545 get_state(PART:"elm.bar", st, 30, vl);
546 set_state(PART:"elm.bar", st, 0.0);
550 name: "button_click";
551 signal: "mouse,down,1";
553 action: SIGNAL_EMIT "elm,action,press" "";
554 after: "button_click_anim";
557 name: "button_click_anim";
559 if(get_int(state_pair) == 1)
560 set_state(PART:"elm.bar", "clicked", 0.1);
562 set_state(PART:"elm.bar", "clicked", 0.0);
563 set_state(PART:"bar_left", "clicked", 0.0);
564 set_state(PART:"bar_right", "clicked", 0.0);
568 name: "button_unclick";
569 signal: "mouse,up,1";
571 action: SIGNAL_EMIT "elm,action,unpress" "";
572 after: "button_unclick_anim";
575 name: "button_unclick_anim";
577 if(get_int(state_pair) == 1)
578 set_state(PART:"elm.bar", "default", 0.1);
580 set_state(PART:"elm.bar", "default", 0.0);
581 set_state(PART:"bar_left", "default", 0.0);
582 set_state(PART:"bar_right", "default", 0.0);
586 name: "button_click2";
587 signal: "mouse,down,1";
589 action: STATE_SET "clicked" 0.0;
593 name: "button_unclick2";
594 signal: "mouse,up,1";
596 action: STATE_SET "default" 0.0;
597 transition: DECELERATE 0.5;
601 name: "button_unclick3";
602 signal: "mouse,up,1";
604 action: SIGNAL_EMIT "elm,action,click" "";
607 name: "button_down_double";
608 signal: "mouse,down,1,double";
610 action: SIGNAL_EMIT "elm,action,click,double" "";
615 signal: "elm.panes.fixed";
617 action: STATE_SET "disabled" 0.0;
621 target: "bar_disabled";
623 //allow the movement by interaction
625 name: "panes_unfixed";
626 signal: "elm.panes.unfixed";
628 action: STATE_SET "default" 0.0;
632 target: "bar_disabled";
637 //Vertical Panes style to be used by music application
639 name: "elm/panes/vertical/music";
641 image: "arrow_right.png" COMP;
642 image: "arrow_left.png" COMP;
643 image: "00_splitscreen_handler_top.png" COMP;
644 image: "00_splitscreen_handler_middle.png" COMP;
645 image: "00_splitscreen_handler_bottom.png" COMP;
646 image: "00_splitscreen_pain_music.png" COMP;
649 public state_pair = 0; //0:both content are not set, 1:both content are set
660 state: "default" 0.0;
673 state: "default" 0.0;
674 rel2.to_x: "elm.bar";
675 rel2.relative: 0.0 1.0;
681 name: "elm.swallow.left";
683 clip_to: "whole_left";
686 state: "default" 0.0;
687 rel1.to: "whole_left";
688 rel2.to: "whole_left";
699 state: "default" 0.0;
700 rel1.to_x: "elm.bar";
701 rel1.relative: 1.0 0.0;
707 name: "elm.swallow.right";
709 clip_to: "whole_right";
712 state: "default" 0.0;
713 rel1.to: "whole_right";
714 rel2.to: "whole_right";
717 part { name:"bar_top";
719 description { state:"default" 0.0;
720 rel1 { relative: 0 0; to_x: "elm.bar"; }
721 rel2 { relative: 1 0; to: "elm.bar"; }
723 normal: "00_splitscreen_handler_top.png";
726 description { state: "disabled" 0.0;
727 inherit: "default" 0.0;
732 part { name: "elm.bar";
740 description { state: "default" 0.0;
744 rel1.relative: 0.0 0.5;
745 rel2.relative: 1.0 0.5;
747 normal: "00_splitscreen_handler_middle.png";
749 color: 255 255 255 255;
751 description { state: "default" 0.1;
752 inherit: "default" 0.0;
756 description { state: "clicked" 0.0;
757 inherit: "default" 0.0;
758 color: 200 200 200 200;
760 description { state: "clicked" 0.1;
761 inherit: "default" 0.1;
762 color: 200 200 200 200;
764 description { state: "disabled" 0.0;
765 inherit: "default" 0.0;
770 description { state: "disabled" 0.1;
771 inherit: "default" 0.1;
777 part { name:"bar_bottom";
779 description { state:"default" 0.0;
780 rel1 { relative: 0 1; to: "elm.bar"; }
781 rel2 { relative: 1 1; to_x: "elm.bar"; }
783 normal: "00_splitscreen_handler_bottom.png";
786 description { state: "disabled" 0.0;
787 inherit: "default" 0.0;
791 part { name: "over2";
794 ignore_flags: ON_HOLD;
795 description { state: "default" 0.0;
799 description { state: "disabled" 0.0;
800 inherit: "default" 0.0;
804 part { name: "over3";
807 description { state: "default" 0.0;
808 color: 255 255 255 0;
812 description { state: "clicked" 0.0;
813 inherit: "default" 0.0;
815 color: 255 255 255 255;
818 part { name:"bar_disabled";
819 description { state:"default" 0.0;
820 rel1 { relative: 0 0; to_x: "elm.bar"; }
821 rel2 { relative: 1 1; to_x: "elm.bar"; }
823 normal: "00_splitscreen_pain_music.png";
827 description { state: "disabled" 0.0;
828 inherit: "default" 0.0;
838 description { state: "default" 0.0;
841 color: 255 255 255 0;
843 rel1.relative: 1.0 0.5;
844 rel1.to_x: "elm.bar";
845 rel1.offset: 45/2 -45/2;
847 rel2.relative: 1.0 0.5;
848 rel2.to_x: "elm.bar";
849 rel2.offset: 45/2 45/2;
851 image.normal: "arrow_right.png";
855 description { state: "anim_1" 0.0;
856 inherit: "default" 0.0;
857 color: 255 255 255 200;
858 rel1.offset: (45/2 + 10) -45/2;
859 rel2.offset: (45/2 +10) 45/2;
861 description { state: "anim_2" 0.0;
862 inherit: "default" 0.0;
863 color: 255 255 255 0;
864 rel1.offset: (45/2 + 20) -45/2;
865 rel2.offset: (45/2 + 20) 45/2;
872 description { state: "default" 0.0;
875 color: 255 255 255 0;
877 rel1.relative: 0.0 0.5;
878 rel1.to_x: "elm.bar";
879 rel1.offset: -45/2 -45/2;
881 rel2.relative: 0.0 0.5;
882 rel2.to_x: "elm.bar";
883 rel2.offset: -45/2 45/2;
885 image.normal: "arrow_left.png";
889 description { state: "anim_1" 0.0;
890 inherit: "default" 0.0;
891 color: 255 255 255 200;
892 rel1.offset: (-45/2 - 10) -45/2;
893 rel2.offset: (-45/2 - 10) 45/2;
895 description { state: "anim_2" 0.0;
896 inherit: "default" 0.0;
897 color: 255 255 255 0;
898 rel1.offset: (-45/2 - 20) -45/2;
899 rel2.offset: (-45/2 - 20) 45/2;
906 signal: "elm.panes.pair";
911 set_int(state_pair, 1);
912 get_state(PART:"elm.bar", st, 30, vl);
913 set_state(PART:"elm.bar", st, 0.1);
917 name: "panes_unpair";
918 signal: "elm.panes.unpair";
923 set_int(state_pair, 0);
924 get_state(PART:"elm.bar", st, 30, vl);
925 set_state(PART:"elm.bar", st, 0.0);
929 name: "button_click";
930 signal: "mouse,down,1";
932 action: SIGNAL_EMIT "elm,action,press" "";
933 after: "button_click_anim";
934 after: "arrow_anim_start";
937 name: "button_click_anim";
939 if(get_int(state_pair) == 1)
940 set_state(PART:"elm.bar", "clicked", 0.1);
942 set_state(PART:"elm.bar", "clicked", 0.0);
946 name: "button_unclick";
947 signal: "mouse,up,1";
949 action: SIGNAL_EMIT "elm,action,unpress" "";
950 after: "button_unclick_anim";
951 after: "arrow_anim_stop";
954 name: "button_unclick_anim";
956 if(get_int(state_pair) == 1)
957 set_state(PART:"elm.bar", "default", 0.1);
959 set_state(PART:"elm.bar", "default", 0.0);
963 name: "button_click2";
964 signal: "mouse,down,1";
966 action: STATE_SET "clicked" 0.0;
970 name: "button_unclick2";
971 signal: "mouse,up,1";
973 action: STATE_SET "default" 0.0;
974 transition: DECELERATE 0.5;
978 name: "button_unclick3";
979 signal: "mouse,up,1";
981 action: SIGNAL_EMIT "elm,action,click" "";
984 name: "button_down_double";
985 signal: "mouse,down,1,double";
987 action: SIGNAL_EMIT "elm,action,click,double" "";
992 name: "arrow_anim_start";
993 action: STATE_SET "anim_1" 0.0;
994 target: "arrow_right";
995 target: "arrow_left";
996 transition: LINEAR 0.6;
997 after: "arrow_anim_1";
1000 name: "arrow_anim_1";
1001 action: STATE_SET "anim_2" 0.0;
1002 target: "arrow_right";
1003 target: "arrow_left";
1004 transition: LINEAR 0.6;
1005 after: "arrow_anim_2";
1008 name: "arrow_anim_2";
1009 action: STATE_SET "default" 0.0;
1010 target: "arrow_right";
1011 target: "arrow_left";
1012 after: "arrow_anim_start";
1015 name: "arrow_anim_stop";
1016 action: ACTION_STOP;
1017 target: "arrow_anim_start";
1018 target: "arrow_anim_1";
1019 target: "arrow_anim_2";
1020 after: "arrow_anim_stop_1";
1023 name: "arrow_anim_stop_1";
1024 action: STATE_SET "default" 0.0;
1025 target: "arrow_right";
1026 target: "arrow_left";
1027 transition: DECELERATE 0.4;
1031 name: "panes_fixed";
1032 signal: "elm.panes.fixed";
1034 action: STATE_SET "disabled" 0.0;
1037 target: "bar_bottom";
1038 target: "bar_disabled";
1040 //allow the movement by interaction
1042 name: "panes_unfixed";
1043 signal: "elm.panes.unfixed";
1045 action: STATE_SET "default" 0.0;
1048 target: "bar_bottom";
1049 target: "bar_disabled";
1054 //Horizontal Panes style to be used by music application
1056 name: "elm/panes/horizontal/music";
1058 image: "arrow_up.png" COMP;
1059 image: "arrow_down.png" COMP;
1060 image: "00_splitscreen_handler_left_hor.png" COMP;
1061 image: "00_splitscreen_handler_middle_hor.png" COMP;
1062 image: "00_splitscreen_handler_right_hor.png" COMP;
1063 image: "00_splitscreen_pain_hor.png" COMP;
1066 public state_pair = 0; //0:both content are not set, 1:both content are set
1077 state: "default" 0.0;
1090 state: "default" 0.0;
1091 rel2.to_y: "elm.bar";
1092 rel2.relative: 1.0 0.0;
1098 name: "elm.swallow.left";
1100 clip_to: "whole_left";
1103 state: "default" 0.0;
1104 rel1.to: "whole_left";
1105 rel2.to: "whole_left";
1111 name: "whole_right";
1116 state: "default" 0.0;
1117 rel1.to_y: "elm.bar";
1118 rel1.relative: 0.0 1.0;
1124 name: "elm.swallow.right";
1126 clip_to: "whole_right";
1129 state: "default" 0.0;
1130 rel1.to: "whole_right";
1131 rel2.to: "whole_right";
1134 part { name:"bar_left";
1136 description { state:"default" 0.0;
1137 rel1 { relative: 0 0; to_y: "elm.bar"; }
1138 rel2 { relative: 0 1; to: "elm.bar"; }
1140 normal: "00_splitscreen_handler_left_hor.png";
1143 description { state: "disabled" 0.0;
1144 inherit: "default" 0.0;
1149 part { name: "elm.bar";
1157 description { state: "default" 0.0;
1160 rel1.relative: 0.5 0.0;
1161 rel2.relative: 0.5 1.0;
1164 normal: "00_splitscreen_handler_middle_hor.png";
1166 color: 255 255 255 255;
1168 description { state: "default" 0.1;
1169 inherit: "default" 0.0;
1173 description { state: "clicked" 0.0;
1174 inherit: "default" 0.0;
1175 color: 200 200 200 200;
1177 description { state: "clicked" 0.1;
1178 inherit: "default" 0.1;
1179 color: 200 200 200 200;
1181 description { state: "disabled" 0.0;
1182 inherit: "default" 0.0;
1187 description { state: "disabled" 0.1;
1188 inherit: "default" 0.1;
1194 part { name:"bar_right";
1196 description { state:"default" 0.0;
1197 rel1 { relative: 1 0; to: "elm.bar"; }
1198 rel2 { relative: 1 1; to_y: "elm.bar"; }
1200 normal: "00_splitscreen_handler_right_hor.png";
1203 description { state: "disabled" 0.0;
1204 inherit: "default" 0.0;
1208 part { name: "over2";
1211 ignore_flags: ON_HOLD;
1212 description { state: "default" 0.0;
1216 description { state: "disabled" 0.0;
1217 inherit: "default" 0.0;
1221 part { name: "over3";
1224 description { state: "default" 0.0;
1225 color: 255 255 255 0;
1229 description { state: "clicked" 0.0;
1230 inherit: "default" 0.0;
1232 color: 255 255 255 255;
1235 part { name:"bar_disabled";
1236 description { state:"default" 0.0;
1237 rel1 { relative: 0 0; to_y: "elm.bar"; }
1238 rel2 { relative: 1 1; to_y: "elm.bar"; }
1240 normal: "00_splitscreen_pain_hor.png";
1244 description { state: "disabled" 0.0;
1245 inherit: "default" 0.0;
1252 name: "arrow_right";
1255 description { state: "default" 0.0;
1258 color: 255 255 255 0;
1260 rel1.relative: 0.5 1.0;
1261 rel1.to_y: "elm.bar";
1262 rel1.offset: -45/2 45/2;
1264 rel2.relative: 0.5 1.0;
1265 rel2.to_y: "elm.bar";
1266 rel2.offset: 45/2 45/2;
1268 image.normal: "arrow_down.png";
1272 description { state: "anim_1" 0.0;
1273 inherit: "default" 0.0;
1274 color: 255 255 255 200;
1275 rel1.offset: -45/2 (45/2 +10);
1276 rel2.offset: 45/2 (45/2 +10);
1278 description { state: "anim_2" 0.0;
1279 inherit: "default" 0.0;
1280 color: 255 255 255 0;
1281 rel1.offset: -45/2 (45/2 + 20);
1282 rel2.offset: 45/2 (45/2 + 20);
1289 description { state: "default" 0.0;
1292 color: 255 255 255 0;
1294 rel1.relative: 0.5 0.0;
1295 rel1.to_y: "elm.bar";
1296 rel1.offset: -45/2 -45/2;
1298 rel2.relative: 0.5 0.0;
1299 rel2.to_y: "elm.bar";
1300 rel2.offset: 45/2 -45/2;
1302 image.normal: "arrow_up.png";
1306 description { state: "anim_1" 0.0;
1307 inherit: "default" 0.0;
1308 color: 255 255 255 200;
1309 rel1.offset: -45/2 (-45/2 - 10);
1310 rel2.offset: 45/2 (-45/2 - 10);
1312 description { state: "anim_2" 0.0;
1313 inherit: "default" 0.0;
1314 color: 255 255 255 0;
1315 rel1.offset: -45/2 (-45/2 - 20);
1316 rel2.offset: 45/2 (-45/2 - 20);
1323 signal: "elm.panes.pair";
1328 set_int(state_pair, 1);
1329 get_state(PART:"elm.bar", st, 30, vl);
1330 set_state(PART:"elm.bar", st, 0.1);
1334 name: "panes_unpair";
1335 signal: "elm.panes.unpair";
1340 set_int(state_pair, 0);
1341 get_state(PART:"elm.bar", st, 30, vl);
1342 set_state(PART:"elm.bar", st, 0.0);
1346 name: "button_click";
1347 signal: "mouse,down,1";
1349 action: SIGNAL_EMIT "elm,action,press" "";
1350 after: "button_click_anim";
1351 after: "arrow_anim_start";
1354 name: "button_click_anim";
1356 if(get_int(state_pair) == 1)
1357 set_state(PART:"elm.bar", "clicked", 0.1);
1359 set_state(PART:"elm.bar", "clicked", 0.0);
1363 name: "button_unclick";
1364 signal: "mouse,up,1";
1366 action: SIGNAL_EMIT "elm,action,unpress" "";
1367 after: "button_unclick_anim";
1368 after: "arrow_anim_stop";
1371 name: "button_unclick_anim";
1373 if(get_int(state_pair) == 1)
1374 set_state(PART:"elm.bar", "default", 0.1);
1376 set_state(PART:"elm.bar", "default", 0.0);
1380 name: "button_click2";
1381 signal: "mouse,down,1";
1383 action: STATE_SET "clicked" 0.0;
1387 name: "button_unclick2";
1388 signal: "mouse,up,1";
1390 action: STATE_SET "default" 0.0;
1391 transition: DECELERATE 0.5;
1395 name: "button_unclick3";
1396 signal: "mouse,up,1";
1398 action: SIGNAL_EMIT "elm,action,click" "";
1401 name: "button_down_double";
1402 signal: "mouse,down,1,double";
1404 action: SIGNAL_EMIT "elm,action,click,double" "";
1409 name: "arrow_anim_start";
1410 action: STATE_SET "anim_1" 0.0;
1411 target: "arrow_right";
1412 target: "arrow_left";
1413 transition: LINEAR 0.6;
1414 after: "arrow_anim_1";
1417 name: "arrow_anim_1";
1418 action: STATE_SET "anim_2" 0.0;
1419 target: "arrow_right";
1420 target: "arrow_left";
1421 transition: LINEAR 0.6;
1422 after: "arrow_anim_2";
1425 name: "arrow_anim_2";
1426 action: STATE_SET "default" 0.0;
1427 target: "arrow_right";
1428 target: "arrow_left";
1429 after: "arrow_anim_start";
1432 name: "arrow_anim_stop";
1433 action: ACTION_STOP;
1434 target: "arrow_anim_start";
1435 target: "arrow_anim_1";
1436 target: "arrow_anim_2";
1437 after: "arrow_anim_stop_1";
1440 name: "arrow_anim_stop_1";
1441 action: STATE_SET "default" 0.0;
1442 target: "arrow_right";
1443 target: "arrow_left";
1444 transition: DECELERATE 0.4;
1448 name: "panes_fixed";
1449 signal: "elm.panes.fixed";
1451 action: STATE_SET "disabled" 0.0;
1454 target: "bar_right";
1455 target: "bar_disabled";
1457 //allow the movement by interaction
1459 name: "panes_unfixed";
1460 signal: "elm.panes.unfixed";
1462 action: STATE_SET "default" 0.0;
1465 target: "bar_right";
1466 target: "bar_disabled";