1 /* TODO: replicate diagonal swallow slots to the other hover styles */
2 group { name: "elm/hover/base/default";
4 image: "shad_circ.png" COMP;
7 part { name: "elm.swallow.offset";
9 description { state: "default" 0.0;
11 rel1.relative: 0.0 0.0;
12 rel2.relative: 0.0 0.0;
15 part { name: "elm.swallow.size";
17 description { state: "default" 0.0;
19 rel1.to: "elm.swallow.offset";
20 rel1.relative: 1.0 1.0;
21 rel2.to: "elm.swallow.offset";
22 rel2.relative: 1.0 1.0;
28 description { state: "default" 0.0;
34 description { state: "default" 0.0;
35 image.normal: "shad_circ.png";
36 rel1.to: "elm.swallow.size";
38 rel2.to: "elm.swallow.size";
46 description { state: "default" 0.0;
48 rel1.to: "elm.swallow.size";
50 rel2.to: "elm.swallow.size";
54 part { name: "elm.swallow.slot.left";
56 description { state: "default" 0.0;
58 rel1.to: "elm.swallow.slot.middle";
59 rel1.relative: 0.0 0.0;
61 rel2.to: "elm.swallow.slot.middle";
62 rel2.relative: 0.0 1.0;
66 part { name: "elm.swallow.slot.top-left";
68 description { state: "default" 0.0;
70 rel1.to: "elm.swallow.slot.middle";
71 rel1.relative: 0.0 0.0;
73 rel2.to: "elm.swallow.slot.middle";
74 rel2.relative: 0.0 0.0;
78 part { name: "elm.swallow.slot.top";
80 description { state: "default" 0.0;
82 rel1.to: "elm.swallow.slot.middle";
83 rel1.relative: 0.0 0.0;
85 rel2.to: "elm.swallow.slot.middle";
86 rel2.relative: 1.0 0.0;
90 part { name: "elm.swallow.slot.top-right";
92 description { state: "default" 0.0;
94 rel1.to: "elm.swallow.slot.middle";
95 rel1.relative: 1.0 0.0;
97 rel2.to: "elm.swallow.slot.middle";
98 rel2.relative: 1.0 0.0;
102 part { name: "elm.swallow.slot.right";
104 description { state: "default" 0.0;
106 rel1.to: "elm.swallow.slot.middle";
107 rel1.relative: 1.0 0.0;
109 rel2.to: "elm.swallow.slot.middle";
110 rel2.relative: 1.0 1.0;
114 part { name: "elm.swallow.slot.bottom-right";
116 description { state: "default" 0.0;
118 rel1.to: "elm.swallow.slot.middle";
119 rel1.relative: 1.0 1.0;
121 rel2.to: "elm.swallow.slot.middle";
122 rel2.relative: 1.0 1.0;
126 part { name: "elm.swallow.slot.bottom";
128 description { state: "default" 0.0;
130 rel1.to: "elm.swallow.slot.middle";
131 rel1.relative: 0.0 1.0;
133 rel2.to: "elm.swallow.slot.middle";
134 rel2.relative: 1.0 1.0;
138 part { name: "elm.swallow.slot.bottom-left";
140 description { state: "default" 0.0;
142 rel1.to: "elm.swallow.slot.middle";
143 rel1.relative: 0.0 1.0;
145 rel2.to: "elm.swallow.slot.middle";
146 rel2.relative: 0.0 1.0;
150 part { name: "elm.swallow.slot.middle";
152 description { state: "default" 0.0;
153 rel1.to: "elm.swallow.size";
154 rel2.to: "elm.swallow.size";
159 program { name: "end";
160 signal: "mouse,up,1";
162 action: SIGNAL_EMIT "elm,action,dismiss" "";
167 group { name: "elm/hover/base/popout";
169 image: "shad_circ.png" COMP;
170 image: "bt_dis_base.png" COMP;
171 image: "bt_dis_hilight.png" COMP;
174 part { name: "elm.swallow.offset";
176 description { state: "default" 0.0;
178 rel1.relative: 0.0 0.0;
179 rel2.relative: 0.0 0.0;
182 part { name: "elm.swallow.size";
184 description { state: "default" 0.0;
186 rel1.to: "elm.swallow.offset";
187 rel1.relative: 1.0 1.0;
188 rel2.to: "elm.swallow.offset";
189 rel2.relative: 1.0 1.0;
195 description { state: "default" 0.0;
198 description { state: "visible" 0.0;
199 inherit: "default" 1.0;
203 part { name: "leftclip";
205 description { state: "default" 0.0;
207 rel2.relative: 0.0 1.0;
213 description { state: "default" 0.0;
215 rel1.to: "elm.swallow.slot.left";
217 rel2.to: "elm.swallow.slot.left";
220 normal: "bt_dis_base.png";
225 description { state: "visible" 0.0;
226 inherit: "default" 0.0;
230 part { name: "elm.swallow.slot.left";
233 description { state: "default" 0.0;
235 rel1.to: "elm.swallow.slot.middle";
236 rel1.relative: 0.0 0.0;
238 rel2.to: "elm.swallow.slot.middle";
239 rel2.relative: 0.0 1.0;
242 description { state: "visible" 0.0;
243 inherit: "default" 0.0;
249 part { name: "leftover";
252 description { state: "default" 0.0;
255 rel2.relative: 1.0 0.5;
257 normal: "bt_dis_hilight.png";
262 part { name: "rightclip";
264 description { state: "default" 0.0;
266 rel1.relative: 1.0 0.0;
270 part { name: "right";
271 clip_to: "rightclip";
272 description { state: "default" 0.0;
274 rel1.to: "elm.swallow.slot.right";
276 rel2.to: "elm.swallow.slot.right";
279 normal: "bt_dis_base.png";
284 description { state: "visible" 0.0;
285 inherit: "default" 0.0;
289 part { name: "elm.swallow.slot.right";
291 clip_to: "rightclip";
292 description { state: "default" 0.0;
294 rel1.to: "elm.swallow.slot.middle";
295 rel1.relative: 1.0 0.0;
297 rel2.to: "elm.swallow.slot.middle";
298 rel2.relative: 1.0 1.0;
301 description { state: "visible" 0.0;
302 inherit: "default" 0.0;
308 part { name: "rightover";
309 clip_to: "rightclip";
311 description { state: "default" 0.0;
314 rel2.relative: 1.0 0.5;
316 normal: "bt_dis_hilight.png";
321 part { name: "topclip";
323 description { state: "default" 0.0;
325 rel2.relative: 1.0 0.0;
331 description { state: "default" 0.0;
333 rel1.to: "elm.swallow.slot.top";
335 rel2.to: "elm.swallow.slot.top";
338 normal: "bt_dis_base.png";
343 description { state: "visible" 0.0;
344 inherit: "default" 0.0;
348 part { name: "elm.swallow.slot.top";
351 description { state: "default" 0.0;
354 rel1.to: "elm.swallow.slot.middle";
355 rel1.relative: 0.0 0.0;
357 rel2.to: "elm.swallow.slot.middle";
358 rel2.relative: 1.0 0.0;
361 description { state: "visible" 0.0;
362 inherit: "default" 0.0;
368 part { name: "topover";
371 description { state: "default" 0.0;
374 rel2.relative: 1.0 0.5;
376 normal: "bt_dis_hilight.png";
381 part { name: "bottomclip";
383 description { state: "default" 0.0;
385 rel1.relative: 0.0 1.0;
389 part { name: "bottom";
390 clip_to: "bottomclip";
391 description { state: "default" 0.0;
393 rel1.to: "elm.swallow.slot.bottom";
395 rel2.to: "elm.swallow.slot.bottom";
398 normal: "bt_dis_base.png";
403 description { state: "visible" 0.0;
404 inherit: "default" 0.0;
408 part { name: "elm.swallow.slot.bottom";
410 clip_to: "bottomclip";
411 description { state: "default" 0.0;
413 rel1.to: "elm.swallow.slot.middle";
414 rel1.relative: 0.0 1.0;
416 rel2.to: "elm.swallow.slot.middle";
417 rel2.relative: 1.0 1.0;
420 description { state: "visible" 0.0;
421 inherit: "default" 0.0;
427 part { name: "bottomover";
428 clip_to: "bottomclip";
430 description { state: "default" 0.0;
433 rel2.relative: 1.0 0.5;
435 normal: "bt_dis_hilight.png";
442 description { state: "default" 0.0;
443 image.normal: "shad_circ.png";
444 rel1.to: "elm.swallow.size";
445 rel1.offset: -64 -64;
446 rel2.to: "elm.swallow.size";
453 description { state: "default" 0.0;
454 rel1.to: "elm.swallow.slot.middle";
456 rel2.to: "elm.swallow.slot.middle";
459 normal: "bt_dis_base.png";
465 part { name: "elm.swallow.slot.middle";
467 description { state: "default" 0.0;
468 rel1.to: "elm.swallow.size";
469 rel2.to: "elm.swallow.size";
472 part { name: "popover";
474 description { state: "default" 0.0;
477 rel2.relative: 1.0 0.5;
479 normal: "bt_dis_hilight.png";
486 program { name: "end";
487 signal: "mouse,up,1";
489 action: SIGNAL_EMIT "elm,action,dismiss" "";
492 program { name: "show";
493 signal: "elm,action,show";
495 action: STATE_SET "visible" 0.0;
496 // transition: DECELERATE 0.5;
499 program { name: "hide";
500 signal: "elm,action,hide";
502 action: STATE_SET "default" 0.0;
503 // transition: DECELERATE 0.5;
507 program { name: "leftshow";
508 signal: "elm,action,slot,left,show";
510 action: STATE_SET "visible" 0.0;
511 transition: DECELERATE 0.5;
513 target: "elm.swallow.slot.left";
515 program { name: "lefthide";
516 signal: "elm,action,slot,left,hide";
518 action: STATE_SET "default" 0.0;
519 transition: DECELERATE 0.5;
521 target: "elm.swallow.slot.left";
523 program { name: "rightshow";
524 signal: "elm,action,slot,right,show";
526 action: STATE_SET "visible" 0.0;
527 transition: DECELERATE 0.5;
529 target: "elm.swallow.slot.right";
531 program { name: "righthide";
532 signal: "elm,action,slot,right,hide";
534 action: STATE_SET "default" 0.0;
535 transition: DECELERATE 0.5;
537 target: "elm.swallow.slot.right";
539 program { name: "topshow";
540 signal: "elm,action,slot,top,show";
542 action: STATE_SET "visible" 0.0;
543 transition: DECELERATE 0.5;
545 target: "elm.swallow.slot.top";
547 program { name: "tophide";
548 signal: "elm,action,slot,top,hide";
550 action: STATE_SET "default" 0.0;
551 transition: DECELERATE 0.5;
553 target: "elm.swallow.slot.top";
555 program { name: "bottomshow";
556 signal: "elm,action,slot,bottom,show";
558 action: STATE_SET "visible" 0.0;
559 transition: DECELERATE 0.5;
561 target: "elm.swallow.slot.bottom";
563 program { name: "bottomhide";
564 signal: "elm,action,slot,bottom,hide";
566 action: STATE_SET "default" 0.0;
567 transition: DECELERATE 0.5;
569 target: "elm.swallow.slot.bottom";
574 //In the hover used by the menu only the bottom part is used.
575 group { name: "elm/hover/base/menu";
577 image: "shad_circ.png" COMP;
578 image: "bt_dis_base.png" COMP;
581 part { name: "elm.swallow.offset";
583 description { state: "default" 0.0;
585 rel1.relative: 0.0 0.0;
586 rel2.relative: 0.0 0.0;
589 part { name: "elm.swallow.size";
591 description { state: "default" 0.0;
593 rel1.to: "elm.swallow.offset";
594 rel1.relative: 1.0 1.0;
595 rel2.to: "elm.swallow.offset";
596 rel2.relative: 1.0 1.0;
602 description { state: "default" 0.0;
605 description { state: "visible" 0.0;
606 inherit: "default" 1.0;
610 part { name: "elm.swallow.slot.left";
612 description { state: "default" 0.0;
615 part { name: "elm.swallow.slot.right";
617 description { state: "default" 0.0;
620 part { name: "elm.swallow.slot.top";
622 description { state: "default" 0.0;
624 description { state: "visible" 0.0;
625 inherit: "default" 0.0;
628 part { name: "bottomclip";
630 description { state: "default" 0.0;
632 rel1.relative: 0.0 1.0;
636 part { name: "bottom";
637 clip_to: "bottomclip";
638 description { state: "default" 0.0;
640 rel1.to: "elm.swallow.slot.bottom";
642 rel2.to: "elm.swallow.slot.bottom";
645 normal: "bt_dis_base.png";
650 description { state: "visible" 0.0;
651 inherit: "default" 0.0;
655 part { name: "elm.swallow.slot.bottom";
657 clip_to: "bottomclip";
658 description { state: "default" 0.0;
660 rel1.to: "elm.swallow.slot.middle";
661 rel1.relative: 0.0 1.0;
663 rel2.to: "elm.swallow.slot.middle";
664 rel2.relative: 1.0 1.0;
667 description { state: "visible" 0.0;
668 inherit: "default" 0.0;
677 description { state: "default" 0.0;
678 rel1.to: "elm.swallow.slot.middle";
680 rel2.to: "elm.swallow.slot.middle";
684 part { name: "elm.swallow.slot.middle";
687 description { state: "default" 0.0;
688 rel1.to: "elm.swallow.size";
689 rel2.to: "elm.swallow.size";
694 program { name: "end";
695 signal: "mouse,up,1";
697 action: SIGNAL_EMIT "elm,action,dismiss" "";
699 program { name: "show";
700 signal: "elm,action,show";
702 action: STATE_SET "visible" 0.0;
703 // transition: DECELERATE 0.5;
706 program { name: "hide";
707 signal: "elm,action,hide";
709 action: STATE_SET "default" 0.0;
710 // transition: DECELERATE 0.5;
713 program { name: "bottomshow";
714 signal: "elm,action,slot,bottom,show";
716 action: STATE_SET "visible" 0.0;
717 transition: DECELERATE 0.3;
719 target: "elm.swallow.slot.bottom";
721 program { name: "bottomhide";
722 signal: "elm,action,slot,bottom,hide";
724 action: STATE_SET "default" 0.0;
725 transition: DECELERATE 0.5;
727 target: "elm.swallow.slot.bottom";
732 //In the hover used by the submenu only the bottom part is used
733 //and no part should interact except the bottom area
734 group { name: "elm/hover/base/submenu";
736 image: "shad_circ.png" COMP;
737 image: "bt_dis_base.png" COMP;
740 part { name: "elm.swallow.offset";
743 description { state: "default" 0.0;
745 rel1.relative: 0.0 0.0;
746 rel2.relative: 0.0 0.0;
749 part { name: "elm.swallow.size";
751 description { state: "default" 0.0;
753 rel1.to: "elm.swallow.offset";
754 rel1.relative: 1.0 1.0;
755 rel2.to: "elm.swallow.offset";
756 rel2.relative: 1.0 1.0;
759 //here we do non catch events like the hover hover does
763 description { state: "default" 0.0;
768 part { name: "elm.swallow.slot.left";
770 description { state: "default" 0.0;
773 part { name: "elm.swallow.slot.right";
775 description { state: "default" 0.0;
778 part { name: "elm.swallow.slot.top";
780 description { state: "default" 0.0;
783 part { name: "bottomclip";
785 description { state: "default" 0.0;
787 rel1.relative: 0.0 1.0;
791 part { name: "bottom";
792 clip_to: "bottomclip";
793 description { state: "default" 0.0;
795 rel1.to: "elm.swallow.slot.bottom";
797 rel2.to: "elm.swallow.slot.bottom";
800 normal: "bt_dis_base.png";
805 description { state: "visible" 0.0;
806 inherit: "default" 0.0;
810 part { name: "elm.swallow.slot.bottom";
812 clip_to: "bottomclip";
813 description { state: "default" 0.0;
815 rel1.to: "elm.swallow.slot.middle";
816 rel1.relative: 0.0 1.0;
818 rel2.to: "elm.swallow.slot.middle";
819 rel2.relative: 1.0 1.0;
822 description { state: "visible" 0.0;
823 inherit: "default" 0.0;
832 description { state: "default" 0.0;
833 rel1.to: "elm.swallow.slot.middle";
835 rel2.to: "elm.swallow.slot.middle";
839 part { name: "elm.swallow.slot.middle";
842 description { state: "default" 0.0;
843 rel1.to: "elm.swallow.size";
844 rel2.to: "elm.swallow.size";
849 program { name: "end";
850 signal: "mouse,up,1";
852 action: SIGNAL_EMIT "elm,action,dismiss" "";
854 program { name: "show";
855 signal: "elm,action,show";
857 action: STATE_SET "visible" 0.0;
858 // transition: DECELERATE 0.5;
861 program { name: "hide";
862 signal: "elm,action,hide";
864 action: STATE_SET "default" 0.0;
865 // transition: DECELERATE 0.5;
868 program { name: "bottomshow";
869 signal: "elm,action,slot,bottom,show";
871 action: STATE_SET "visible" 0.0;
872 transition: DECELERATE 0.3;
874 target: "elm.swallow.slot.bottom";
876 program { name: "bottomhide";
877 signal: "elm,action,slot,bottom,hide";
879 action: STATE_SET "default" 0.0;
880 transition: DECELERATE 0.5;
882 target: "elm.swallow.slot.bottom";
887 group { name: "elm/hover/base/hoversel_vertical/default";
888 alias: "elm/hover/base/hoversel_vertical/entry";
890 // image: "shad_circ.png" COMP;
891 image: "bt_base2.png" COMP;
892 image: "bt_hilight.png" COMP;
893 image: "bt_shine.png" COMP;
894 image: "outdent-top.png" COMP;
895 image: "outdent-bottom.png" COMP;
898 part { name: "elm.swallow.offset";
900 description { state: "default" 0.0;
902 rel1.relative: 0.0 0.0;
903 rel2.relative: 0.0 0.0;
906 part { name: "elm.swallow.size";
908 description { state: "default" 0.0;
910 rel1.to: "elm.swallow.offset";
911 rel1.relative: 1.0 1.0;
912 rel2.to: "elm.swallow.offset";
913 rel2.relative: 1.0 1.0;
919 description { state: "default" 0.0;
920 image.normal: "shad_circ.png";
921 rel1.to: "button_image";
922 rel1.offset: -64 -64;
923 rel2.to: "button_image";
929 part { name: "button_image";
931 description { state: "default" 0.0;
932 rel1.to_x: "elm.swallow.slot.top";
933 rel1.to_y: "elm.swallow.slot.top";
935 rel2.to_x: "elm.swallow.slot.top";
936 rel2.to_y: "elm.swallow.slot.bottom";
939 normal: "bt_base2.png";
944 description { state: "bottom" 0.0;
945 rel1.to_x: "elm.swallow.slot.bottom";
946 rel1.to_y: "elm.swallow.slot.top";
948 rel2.to_x: "elm.swallow.slot.bottom";
949 rel2.to_y: "elm.swallow.slot.bottom";
952 normal: "bt_base2.png";
962 description { state: "default" 0.0;
965 description { state: "visible" 0.0;
966 inherit: "default" 1.0;
971 part { name: "topclip";
973 description { state: "default" 0.0;
974 rel2.to_y: "edge_top";
975 rel2.relative: 1.0 0.0;
979 part { name: "elm.swallow.slot.top";
982 description { state: "default" 0.0;
985 rel1.to: "elm.swallow.slot.middle";
986 rel1.relative: 0.0 0.0;
988 rel2.to: "elm.swallow.slot.middle";
989 rel2.relative: 1.0 0.0;
992 description { state: "visible" 0.0;
993 inherit: "default" 0.0;
1000 part { name: "bottomclip";
1002 description { state: "default" 0.0;
1003 rel1.to_y: "edge_bottom";
1004 rel1.relative: 0.0 1.0;
1008 part { name: "elm.swallow.slot.bottom";
1010 clip_to: "bottomclip";
1011 description { state: "default" 0.0;
1013 rel1.to: "elm.swallow.slot.middle";
1014 rel1.relative: 0.0 1.0;
1016 rel2.to: "elm.swallow.slot.middle";
1017 rel2.relative: 1.0 1.0;
1020 description { state: "visible" 0.0;
1021 inherit: "default" 0.0;
1028 part { name: "over1";
1030 description { state: "default" 0.0;
1031 rel1.to: "button_image";
1032 rel2.to: "button_image";
1033 rel2.relative: 1.0 0.5;
1035 normal: "bt_hilight.png";
1040 part { name: "over2";
1043 ignore_flags: ON_HOLD;
1044 description { state: "default" 0.0;
1045 rel1.to: "button_image";
1046 rel2.to: "button_image";
1048 normal: "bt_shine.png";
1053 part { name: "edge_top";
1055 description { state: "default" 0.0;
1058 to: "elm.swallow.size";
1062 to: "elm.swallow.size";
1064 image.normal: "outdent-bottom.png";
1065 image.border: 0 0 13 0;
1068 description { state: "visible" 0.0;
1069 inherit: "default" 0.0;
1073 part { name: "edge_bottom";
1075 description { state: "default" 0.0;
1078 to: "elm.swallow.size";
1081 to: "elm.swallow.size";
1084 image.normal: "outdent-top.png";
1085 image.border: 0 0 0 13;
1088 description { state: "visible" 0.0;
1089 inherit: "default" 0.0;
1093 part { name: "elm.swallow.slot.middle";
1095 description { state: "default" 0.0;
1096 rel1.to: "elm.swallow.size";
1097 rel2.to: "elm.swallow.size";
1102 program { name: "end";
1103 signal: "mouse,up,1";
1105 action: SIGNAL_EMIT "elm,action,dismiss" "";
1108 program { name: "show";
1109 signal: "elm,action,show";
1111 action: STATE_SET "visible" 0.0;
1112 // transition: DECELERATE 0.5;
1115 program { name: "hide";
1116 signal: "elm,action,hide";
1118 action: STATE_SET "default" 0.0;
1119 // transition: DECELERATE 0.5;
1122 program { name: "topshow";
1123 signal: "elm,action,slot,top,show";
1125 action: STATE_SET "visible" 0.0;
1129 program { name: "topshow2";
1130 action: STATE_SET "visible" 0.0;
1131 transition: DECELERATE 0.5;
1132 target: "elm.swallow.slot.top";
1134 program { name: "topshow3";
1135 signal: "elm,action,slot,top,show";
1137 action: STATE_SET "default" 0.0;
1138 target: "button_image";
1140 program { name: "tophide";
1141 signal: "elm,action,slot,top,hide";
1143 action: STATE_SET "default" 0.0;
1144 transition: DECELERATE 0.5;
1145 target: "elm.swallow.slot.top";
1148 program { name: "tophide2";
1149 action: STATE_SET "default" 0.0;
1152 program { name: "bottomshow";
1153 signal: "elm,action,slot,bottom,show";
1155 action: STATE_SET "visible" 0.0;
1156 target: "edge_bottom";
1157 after: "bottomshow2";
1159 program { name: "bottomshow2";
1160 action: STATE_SET "visible" 0.0;
1161 transition: DECELERATE 0.5;
1162 target: "elm.swallow.slot.bottom";
1164 program { name: "bottomshow3";
1165 signal: "elm,action,slot,bottom,show";
1167 action: STATE_SET "bottom" 0.0;
1168 target: "button_image";
1170 program { name: "bottomhide";
1171 signal: "elm,action,slot,bottom,hide";
1173 action: STATE_SET "default" 0.0;
1174 transition: DECELERATE 0.5;
1175 target: "elm.swallow.slot.bottom";
1176 after: "bottomhide2";
1178 program { name: "bottomhide2";
1179 action: STATE_SET "default" 0.0;
1180 target: "edge_bottom";
1184 ///////////////////////////////////////////////////////////////////////////////