tizen 2.3.1 release
[framework/uifw/elementary.git] / data / themes / widgets / hover.edc
1 /* TODO: replicate diagonal swallow slots to the other hover styles */
2 group { name: "elm/hover/base/default";
3    images {
4       image: "shad_circ.png" COMP;
5    }
6    parts {
7       part { name: "elm.swallow.offset";
8          type: SWALLOW;
9          description { state: "default" 0.0;
10             align: 0.0 0.0;
11             rel1.relative: 0.0 0.0;
12             rel2.relative: 0.0 0.0;
13          }
14       }
15       part { name: "elm.swallow.size";
16          type: SWALLOW;
17          description { state: "default" 0.0;
18             align: 0.0 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;
23          }
24       }
25       part { name: "base";
26          type: RECT;
27          mouse_events: 1;
28          description { state: "default" 0.0;
29             color: 0 0 0 64;
30          }
31       }
32       part { name: "shad";
33          mouse_events:  0;
34          description { state: "default" 0.0;
35             image.normal: "shad_circ.png";
36             rel1.to: "elm.swallow.size";
37             rel1.offset: -32 -32;
38             rel2.to: "elm.swallow.size";
39             rel2.offset: 31 31;
40             fill.smooth: 0;
41          }
42       }
43       part { name: "box";
44          type: RECT;
45          mouse_events: 0;
46          description { state: "default" 0.0;
47             color: 0 0 0 0;
48             rel1.to: "elm.swallow.size";
49             rel1.offset: -2 -2;
50             rel2.to: "elm.swallow.size";
51             rel2.offset: 1 1;
52          }
53       }
54       part { name: "elm.swallow.slot.left";
55          type: SWALLOW;
56          description { state: "default" 0.0;
57             align: 1.0 0.5;
58             rel1.to: "elm.swallow.slot.middle";
59             rel1.relative: 0.0 0.0;
60             rel1.offset: -1 0;
61             rel2.to: "elm.swallow.slot.middle";
62             rel2.relative: 0.0 1.0;
63             rel2.offset: -1 -1;
64          }
65       }
66       part { name: "elm.swallow.slot.top-left";
67          type: SWALLOW;
68          description { state: "default" 0.0;
69             align: 1.0 1.0;
70             rel1.to: "elm.swallow.slot.middle";
71             rel1.relative: 0.0 0.0;
72             rel1.offset: 0 0;
73             rel2.to: "elm.swallow.slot.middle";
74             rel2.relative: 0.0 0.0;
75             rel2.offset: -1 -1;
76          }
77       }
78       part { name: "elm.swallow.slot.top";
79          type: SWALLOW;
80          description { state: "default" 0.0;
81             align: 0.5 1.0;
82             rel1.to: "elm.swallow.slot.middle";
83             rel1.relative: 0.0 0.0;
84             rel1.offset: 0 -1;
85             rel2.to: "elm.swallow.slot.middle";
86             rel2.relative: 1.0 0.0;
87             rel2.offset: -1 -1;
88          }
89       }
90       part { name: "elm.swallow.slot.top-right";
91          type: SWALLOW;
92          description { state: "default" 0.0;
93             align: 0.0 1.0;
94             rel1.to: "elm.swallow.slot.middle";
95             rel1.relative: 1.0 0.0;
96             rel1.offset: 0 0;
97             rel2.to: "elm.swallow.slot.middle";
98             rel2.relative: 1.0 0.0;
99             rel2.offset: -1 -1;
100          }
101       }
102       part { name: "elm.swallow.slot.right";
103          type: SWALLOW;
104          description { state: "default" 0.0;
105             align: 0.0 0.5;
106             rel1.to: "elm.swallow.slot.middle";
107             rel1.relative: 1.0 0.0;
108             rel1.offset: 0 0;
109             rel2.to: "elm.swallow.slot.middle";
110             rel2.relative: 1.0 1.0;
111             rel2.offset: 0 -1;
112          }
113       }
114       part { name: "elm.swallow.slot.bottom-right";
115          type: SWALLOW;
116          description { state: "default" 0.0;
117             align: 0.0 0.0;
118             rel1.to: "elm.swallow.slot.middle";
119             rel1.relative: 1.0 1.0;
120             rel1.offset: 0 0;
121             rel2.to: "elm.swallow.slot.middle";
122             rel2.relative: 1.0 1.0;
123             rel2.offset: -1 -1;
124          }
125       }
126       part { name: "elm.swallow.slot.bottom";
127          type: SWALLOW;
128          description { state: "default" 0.0;
129             align: 0.5 0.0;
130             rel1.to: "elm.swallow.slot.middle";
131             rel1.relative: 0.0 1.0;
132             rel1.offset: 0 0;
133             rel2.to: "elm.swallow.slot.middle";
134             rel2.relative: 1.0 1.0;
135             rel2.offset: -1 0;
136          }
137       }
138       part { name: "elm.swallow.slot.bottom-left";
139          type: SWALLOW;
140          description { state: "default" 0.0;
141             align: 1.0 0.0;
142             rel1.to: "elm.swallow.slot.middle";
143             rel1.relative: 0.0 1.0;
144             rel1.offset: 0 0;
145             rel2.to: "elm.swallow.slot.middle";
146             rel2.relative: 0.0 1.0;
147             rel2.offset: -1 0;
148          }
149       }
150       part { name: "elm.swallow.slot.middle";
151          type: SWALLOW;
152          description { state: "default" 0.0;
153             rel1.to: "elm.swallow.size";
154             rel2.to: "elm.swallow.size";
155          }
156       }
157    }
158    programs {
159       program { name: "end";
160          signal: "mouse,up,1";
161          source: "base";
162          action: SIGNAL_EMIT "elm,action,dismiss" "";
163       }
164    }
165 }
166
167 group { name: "elm/hover/base/popout";
168    images {
169       image: "shad_circ.png" COMP;
170       image: "bt_dis_base.png" COMP;
171       image: "bt_dis_hilight.png" COMP;
172    }
173    parts {
174       part { name: "elm.swallow.offset";
175          type: SWALLOW;
176          description { state: "default" 0.0;
177             align: 0.0 0.0;
178             rel1.relative: 0.0 0.0;
179             rel2.relative: 0.0 0.0;
180          }
181       }
182       part { name: "elm.swallow.size";
183          type: SWALLOW;
184          description { state: "default" 0.0;
185             align: 0.0 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;
190          }
191       }
192       part { name: "base";
193          type: RECT;
194          mouse_events: 1;
195          description { state: "default" 0.0;
196             color: 0 0 0 0;
197          }
198          description { state: "visible" 0.0;
199             inherit: "default" 1.0;
200             color: 0 0 0 64;
201          }
202       }
203       part { name: "leftclip";
204          type: RECT;
205          description { state: "default" 0.0;
206             rel2.to_x: "pop";
207             rel2.relative: 0.0 1.0;
208             rel2.offset: 1 -1;
209          }
210       }
211       part { name: "left";
212          clip_to: "leftclip";
213          description { state: "default" 0.0;
214             visible: 0;
215             rel1.to: "elm.swallow.slot.left";
216             rel1.offset: -5 -5;
217             rel2.to: "elm.swallow.slot.left";
218             rel2.offset: 4 4;
219             image {
220                normal: "bt_dis_base.png";
221                border: 4 4 4 4;
222             }
223             image.middle: SOLID;
224          }
225          description { state: "visible" 0.0;
226             inherit: "default" 0.0;
227             visible: 1;
228          }
229       }
230       part { name: "elm.swallow.slot.left";
231          type: SWALLOW;
232          clip_to: "leftclip";
233          description { state: "default" 0.0;
234             align: 0.0 0.5;
235             rel1.to: "elm.swallow.slot.middle";
236             rel1.relative: 0.0 0.0;
237             rel1.offset: -1 0;
238             rel2.to: "elm.swallow.slot.middle";
239             rel2.relative: 0.0 1.0;
240             rel2.offset: -1 -1;
241          }
242          description { state: "visible" 0.0;
243             inherit: "default" 0.0;
244             rel1.offset: -7 0;
245             rel2.offset: -7 -1;
246             align: 1.0 0.5;
247          }
248       }
249       part { name: "leftover";
250          clip_to: "leftclip";
251          mouse_events: 0;
252          description { state: "default" 0.0;
253             rel1.to: "left";
254             rel2.to: "left";
255             rel2.relative: 1.0 0.5;
256             image {
257                normal: "bt_dis_hilight.png";
258                border: 4 4 4 0;
259             }
260          }
261       }
262       part { name: "rightclip";
263          type: RECT;
264          description { state: "default" 0.0;
265             rel1.to_x: "pop";
266             rel1.relative: 1.0 0.0;
267             rel1.offset: -2 0;
268          }
269       }
270       part { name: "right";
271          clip_to: "rightclip";
272          description { state: "default" 0.0;
273             visible: 0;
274             rel1.to: "elm.swallow.slot.right";
275             rel1.offset: -5 -5;
276             rel2.to: "elm.swallow.slot.right";
277             rel2.offset: 4 4;
278             image {
279                normal: "bt_dis_base.png";
280                border: 4 4 4 4;
281             }
282             image.middle: SOLID;
283          }
284          description { state: "visible" 0.0;
285             inherit: "default" 0.0;
286             visible: 1;
287          }
288       }
289       part { name: "elm.swallow.slot.right";
290          type: SWALLOW;
291          clip_to: "rightclip";
292          description { state: "default" 0.0;
293             align: 1.0 0.5;
294             rel1.to: "elm.swallow.slot.middle";
295             rel1.relative: 1.0 0.0;
296             rel1.offset: 0 0;
297             rel2.to: "elm.swallow.slot.middle";
298             rel2.relative: 1.0 1.0;
299             rel2.offset: 0 -1;
300          }
301          description { state: "visible" 0.0;
302             inherit: "default" 0.0;
303             rel1.offset: 6 0;
304             rel2.offset: 6 -1;
305             align: 0.0 0.5;
306          }
307       }
308       part { name: "rightover";
309          clip_to: "rightclip";
310          mouse_events: 0;
311          description { state: "default" 0.0;
312             rel1.to: "right";
313             rel2.to: "right";
314             rel2.relative: 1.0 0.5;
315             image {
316                normal: "bt_dis_hilight.png";
317                border: 4 4 4 0;
318             }
319          }
320       }
321       part { name: "topclip";
322          type: RECT;
323          description { state: "default" 0.0;
324             rel2.to_y: "pop";
325             rel2.relative: 1.0 0.0;
326             rel2.offset: -1 1;
327          }
328       }
329       part { name: "top";
330          clip_to: "topclip";
331          description { state: "default" 0.0;
332             visible: 0;
333             rel1.to: "elm.swallow.slot.top";
334             rel1.offset: -5 -5;
335             rel2.to: "elm.swallow.slot.top";
336             rel2.offset: 4 4;
337             image {
338                normal: "bt_dis_base.png";
339                border: 4 4 4 4;
340             }
341             image.middle: SOLID;
342          }
343          description { state: "visible" 0.0;
344             inherit: "default" 0.0;
345             visible: 1;
346          }
347       }
348       part { name: "elm.swallow.slot.top";
349          type: SWALLOW;
350          clip_to: "topclip";
351          description { state: "default" 0.0;
352             visible: 1;
353             align: 0.5 0.0;
354             rel1.to: "elm.swallow.slot.middle";
355             rel1.relative: 0.0 0.0;
356             rel1.offset: 0 -1;
357             rel2.to: "elm.swallow.slot.middle";
358             rel2.relative: 1.0 0.0;
359             rel2.offset: -1 -1;
360          }
361          description { state: "visible" 0.0;
362             inherit: "default" 0.0;
363             rel1.offset: 0 -7;
364             rel2.offset: -1 -7;
365             align: 0.5 1.0;
366          }
367       }
368       part { name: "topover";
369          clip_to: "topclip";
370          mouse_events: 0;
371          description { state: "default" 0.0;
372             rel1.to: "top";
373             rel2.to: "top";
374             rel2.relative: 1.0 0.5;
375             image {
376                normal: "bt_dis_hilight.png";
377                border: 4 4 4 0;
378             }
379          }
380       }
381       part { name: "bottomclip";
382          type: RECT;
383          description { state: "default" 0.0;
384             rel1.to_y: "pop";
385             rel1.relative: 0.0 1.0;
386             rel1.offset: -1 -2;
387          }
388       }
389       part { name: "bottom";
390          clip_to: "bottomclip";
391          description { state: "default" 0.0;
392             visible: 0;
393             rel1.to: "elm.swallow.slot.bottom";
394             rel1.offset: -5 -5;
395             rel2.to: "elm.swallow.slot.bottom";
396             rel2.offset: 4 4;
397             image {
398                normal: "bt_dis_base.png";
399                border: 4 4 4 4;
400             }
401             image.middle: SOLID;
402          }
403          description { state: "visible" 0.0;
404             inherit: "default" 0.0;
405             visible: 1;
406          }
407       }
408       part { name: "elm.swallow.slot.bottom";
409          type: SWALLOW;
410          clip_to: "bottomclip";
411          description { state: "default" 0.0;
412             align: 0.5 1.0;
413             rel1.to: "elm.swallow.slot.middle";
414             rel1.relative: 0.0 1.0;
415             rel1.offset: 0 0;
416             rel2.to: "elm.swallow.slot.middle";
417             rel2.relative: 1.0 1.0;
418             rel2.offset: -1 0;
419          }
420          description { state: "visible" 0.0;
421             inherit: "default" 0.0;
422             rel1.offset: 0 6;
423             rel2.offset: -1 6;
424             align: 0.5 0.0;
425          }
426       }
427       part { name: "bottomover";
428          clip_to: "bottomclip";
429          mouse_events: 0;
430          description { state: "default" 0.0;
431             rel1.to: "bottom";
432             rel2.to: "bottom";
433             rel2.relative: 1.0 0.5;
434             image {
435                normal: "bt_dis_hilight.png";
436                border: 4 4 4 0;
437             }
438          }
439       }
440       part { name: "shad";
441          mouse_events:  0;
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";
447             rel2.offset: 63 63;
448             fill.smooth: 0;
449          }
450       }
451       part { name: "pop";
452          mouse_events: 1;
453          description { state: "default" 0.0;
454             rel1.to: "elm.swallow.slot.middle";
455             rel1.offset: -5 -5;
456             rel2.to: "elm.swallow.slot.middle";
457             rel2.offset: 4 4;
458             image {
459                normal: "bt_dis_base.png";
460                border: 4 4 4 4;
461             }
462             image.middle: SOLID;
463          }
464       }
465       part { name: "elm.swallow.slot.middle";
466          type: SWALLOW;
467          description { state: "default" 0.0;
468             rel1.to: "elm.swallow.size";
469             rel2.to: "elm.swallow.size";
470          }
471       }
472       part { name: "popover";
473          mouse_events: 0;
474          description { state: "default" 0.0;
475             rel1.to: "pop";
476             rel2.to: "pop";
477             rel2.relative: 1.0 0.5;
478             image {
479                normal: "bt_dis_hilight.png";
480                border: 4 4 4 0;
481             }
482          }
483       }
484    }
485    programs {
486       program { name: "end";
487          signal: "mouse,up,1";
488          source: "base";
489          action: SIGNAL_EMIT "elm,action,dismiss" "";
490       }
491
492       program { name: "show";
493          signal: "elm,action,show";
494          source: "elm";
495          action: STATE_SET "visible" 0.0;
496                  //            transition: DECELERATE 0.5;
497          target: "base";
498       }
499       program { name: "hide";
500          signal: "elm,action,hide";
501          source: "elm";
502          action: STATE_SET "default" 0.0;
503                  //            transition: DECELERATE 0.5;
504          target: "base";
505       }
506
507       program { name: "leftshow";
508          signal: "elm,action,slot,left,show";
509          source: "elm";
510          action: STATE_SET "visible" 0.0;
511          transition: DECELERATE 0.5;
512          target: "left";
513          target: "elm.swallow.slot.left";
514       }
515       program { name: "lefthide";
516          signal: "elm,action,slot,left,hide";
517          source: "elm";
518          action: STATE_SET "default" 0.0;
519          transition: DECELERATE 0.5;
520          target: "left";
521          target: "elm.swallow.slot.left";
522       }
523       program { name: "rightshow";
524          signal: "elm,action,slot,right,show";
525          source: "elm";
526          action: STATE_SET "visible" 0.0;
527          transition: DECELERATE 0.5;
528          target: "right";
529          target: "elm.swallow.slot.right";
530       }
531       program { name: "righthide";
532          signal: "elm,action,slot,right,hide";
533          source: "elm";
534          action: STATE_SET "default" 0.0;
535          transition: DECELERATE 0.5;
536          target: "right";
537          target: "elm.swallow.slot.right";
538       }
539       program { name: "topshow";
540          signal: "elm,action,slot,top,show";
541          source: "elm";
542          action: STATE_SET "visible" 0.0;
543          transition: DECELERATE 0.5;
544          target: "top";
545          target: "elm.swallow.slot.top";
546       }
547       program { name: "tophide";
548          signal: "elm,action,slot,top,hide";
549          source: "elm";
550          action: STATE_SET "default" 0.0;
551          transition: DECELERATE 0.5;
552          target: "top";
553          target: "elm.swallow.slot.top";
554       }
555       program { name: "bottomshow";
556          signal: "elm,action,slot,bottom,show";
557          source: "elm";
558          action: STATE_SET "visible" 0.0;
559          transition: DECELERATE 0.5;
560          target: "bottom";
561          target: "elm.swallow.slot.bottom";
562       }
563       program { name: "bottomhide";
564          signal: "elm,action,slot,bottom,hide";
565          source: "elm";
566          action: STATE_SET "default" 0.0;
567          transition: DECELERATE 0.5;
568          target: "bottom";
569          target: "elm.swallow.slot.bottom";
570       }
571    }
572 }
573
574 //In the hover used by the menu only the bottom part is used.
575 group { name: "elm/hover/base/menu";
576    images {
577       image: "shad_circ.png" COMP;
578       image: "bt_dis_base.png" COMP;
579    }
580    parts {
581       part { name: "elm.swallow.offset";
582          type: SWALLOW;
583          description { state: "default" 0.0;
584             align: 0.0 0.0;
585             rel1.relative: 0.0 0.0;
586             rel2.relative: 0.0 0.0;
587          }
588       }
589       part { name: "elm.swallow.size";
590          type: SWALLOW;
591          description { state: "default" 0.0;
592             align: 0.0 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;
597          }
598       }
599       part { name: "base";
600          type: RECT;
601          mouse_events: 1;
602          description { state: "default" 0.0;
603             color: 0 0 0 0;
604          }
605          description { state: "visible" 0.0;
606             inherit: "default" 1.0;
607             color: 0 0 0 64;
608          }
609       }
610       part { name: "elm.swallow.slot.left";
611          type: SWALLOW;
612          description { state: "default" 0.0;
613          }
614       }
615       part { name: "elm.swallow.slot.right";
616          type: SWALLOW;
617          description { state: "default" 0.0;
618          }
619       }
620       part { name: "elm.swallow.slot.top";
621          type: SWALLOW;
622          description { state: "default" 0.0;
623          }
624          description { state: "visible" 0.0;
625             inherit: "default" 0.0;
626          }
627       }
628       part { name: "bottomclip";
629          type: RECT;
630          description { state: "default" 0.0;
631             rel1.to_y: "pop";
632             rel1.relative: 0.0 1.0;
633             rel1.offset: -1 -2;
634          }
635       }
636       part { name: "bottom";
637          clip_to: "bottomclip";
638          description { state: "default" 0.0;
639             visible: 0;
640             rel1.to: "elm.swallow.slot.bottom";
641             rel1.offset: -5 -5;
642             rel2.to: "elm.swallow.slot.bottom";
643             rel2.offset: 4 4;
644             image {
645                normal: "bt_dis_base.png";
646                border: 4 4 4 4;
647             }
648             image.middle: SOLID;
649          }
650          description { state: "visible" 0.0;
651             inherit: "default" 0.0;
652             visible: 1;
653          }
654       }
655       part { name: "elm.swallow.slot.bottom";
656          type: SWALLOW;
657          clip_to: "bottomclip";
658          description { state: "default" 0.0;
659             align: 0.5 1.0;
660             rel1.to: "elm.swallow.slot.middle";
661             rel1.relative: 0.0 1.0;
662             rel1.offset: 0 0;
663             rel2.to: "elm.swallow.slot.middle";
664             rel2.relative: 1.0 1.0;
665             rel2.offset: -1 0;
666          }
667          description { state: "visible" 0.0;
668             inherit: "default" 0.0;
669             rel1.offset: 0 6;
670             rel2.offset: -1 6;
671             align: 0.5 0.0;
672          }
673       }
674       part { name: "pop";
675          mouse_events: 1;
676          repeat_events:1;
677          description { state: "default" 0.0;
678             rel1.to: "elm.swallow.slot.middle";
679             rel1.offset: -5 -5;
680             rel2.to: "elm.swallow.slot.middle";
681             rel2.offset: 4 4;
682             image {
683                normal: "bt_dis_base.png";
684                border: 4 4 4 4;
685             }
686          }
687       }
688       part { name: "elm.swallow.slot.middle";
689          type: SWALLOW;
690          repeat_events:1;
691          description { state: "default" 0.0;
692             rel1.to: "elm.swallow.size";
693             rel2.to: "elm.swallow.size";
694          }
695       }
696    }
697    programs {
698       program { name: "end";
699          signal: "mouse,up,1";
700          source: "base";
701          action: SIGNAL_EMIT "elm,action,dismiss" "";
702       }
703       program { name: "show";
704          signal: "elm,action,show";
705          source: "elm";
706          action: STATE_SET "visible" 0.0;
707                  //            transition: DECELERATE 0.5;
708          target: "base";
709       }
710       program { name: "hide";
711          signal: "elm,action,hide";
712          source: "elm";
713          action: STATE_SET "default" 0.0;
714                  //            transition: DECELERATE 0.5;
715          target: "base";
716       }
717       program { name: "bottomshow";
718          signal: "elm,action,slot,bottom,show";
719          source: "elm";
720          action: STATE_SET "visible" 0.0;
721          transition: DECELERATE 0.3;
722          target: "bottom";
723          target: "elm.swallow.slot.bottom";
724       }
725       program { name: "bottomhide";
726          signal: "elm,action,slot,bottom,hide";
727          source: "elm";
728          action: STATE_SET "default" 0.0;
729          transition: DECELERATE 0.5;
730          target: "bottom";
731          target: "elm.swallow.slot.bottom";
732       }
733    }
734 }
735
736 //In the hover used by the submenu only the bottom part is used
737 //and no part should interact except the bottom area
738 group { name: "elm/hover/base/submenu";
739    images {
740       image: "shad_circ.png" COMP;
741       image: "bt_dis_base.png" COMP;
742    }
743    parts {
744       part { name: "elm.swallow.offset";
745          type: SWALLOW;
746          repeat_events:1;
747          description { state: "default" 0.0;
748             align: 0.0 0.0;
749             rel1.relative: 0.0 0.0;
750             rel2.relative: 0.0 0.0;
751          }
752       }
753       part { name: "elm.swallow.size";
754          type: SWALLOW;
755          description { state: "default" 0.0;
756             align: 0.0 0.0;
757             rel1.to: "elm.swallow.offset";
758             rel1.relative: 1.0 1.0;
759             rel2.to: "elm.swallow.offset";
760             rel2.relative: 1.0 1.0;
761          }
762       }
763       //here we do non catch events like the hover hover does
764       part { name: "base";
765          type: RECT;
766          mouse_events: 1;
767          description { state: "default" 0.0;
768             color: 0 0 0 0;
769             visible: 0;
770          }
771       }
772       part { name: "elm.swallow.slot.left";
773          type: SWALLOW;
774          description { state: "default" 0.0;
775          }
776       }
777       part { name: "elm.swallow.slot.right";
778          type: SWALLOW;
779          description { state: "default" 0.0;
780          }
781       }
782       part { name: "elm.swallow.slot.top";
783          type: SWALLOW;
784          description { state: "default" 0.0;
785          }
786       }
787       part { name: "bottomclip";
788          type: RECT;
789          description { state: "default" 0.0;
790             rel1.to_y: "pop";
791             rel1.relative: 0.0 1.0;
792             rel1.offset: -1 -2;
793          }
794       }
795       part { name: "bottom";
796          clip_to: "bottomclip";
797          description { state: "default" 0.0;
798             visible: 0;
799             rel1.to: "elm.swallow.slot.bottom";
800             rel1.offset: -5 -5;
801             rel2.to: "elm.swallow.slot.bottom";
802             rel2.offset: 4 4;
803             image {
804                normal: "bt_dis_base.png";
805                border: 4 4 4 4;
806             }
807             image.middle: SOLID;
808          }
809          description { state: "visible" 0.0;
810             inherit: "default" 0.0;
811             visible: 1;
812          }
813       }
814       part { name: "elm.swallow.slot.bottom";
815          type: SWALLOW;
816          clip_to: "bottomclip";
817          description { state: "default" 0.0;
818             align: 0.5 1.0;
819             rel1.to: "elm.swallow.slot.middle";
820             rel1.relative: 0.0 1.0;
821             rel1.offset: 0 0;
822             rel2.to: "elm.swallow.slot.middle";
823             rel2.relative: 1.0 1.0;
824             rel2.offset: -1 0;
825          }
826          description { state: "visible" 0.0;
827             inherit: "default" 0.0;
828             rel1.offset: 0 6;
829             rel2.offset: -1 6;
830             align: 0.5 0.0;
831          }
832       }
833       part { name: "pop";
834          mouse_events: 1;
835          repeat_events:1;
836          description { state: "default" 0.0;
837             rel1.to: "elm.swallow.slot.middle";
838             rel1.offset: -5 -5;
839             rel2.to: "elm.swallow.slot.middle";
840             rel2.offset: 4 4;
841             image {
842                normal: "bt_dis_base.png";
843                border: 4 4 4 4;
844             }
845          }
846       }
847       part { name: "elm.swallow.slot.middle";
848          type: SWALLOW;
849          repeat_events:1;
850          description { state: "default" 0.0;
851             rel1.to: "elm.swallow.size";
852             rel2.to: "elm.swallow.size";
853          }
854       }
855    }
856    programs {
857       program { name: "end";
858          signal: "mouse,up,1";
859          source: "base";
860          action: SIGNAL_EMIT "elm,action,dismiss" "";
861       }
862       program { name: "show";
863          signal: "elm,action,show";
864          source: "elm";
865          action: STATE_SET "visible" 0.0;
866                  //            transition: DECELERATE 0.5;
867          target: "base";
868       }
869       program { name: "hide";
870          signal: "elm,action,hide";
871          source: "elm";
872          action: STATE_SET "default" 0.0;
873                  //            transition: DECELERATE 0.5;
874          target: "base";
875       }
876       program { name: "bottomshow";
877          signal: "elm,action,slot,bottom,show";
878          source: "elm";
879          action: STATE_SET "visible" 0.0;
880          transition: DECELERATE 0.3;
881          target: "bottom";
882          target: "elm.swallow.slot.bottom";
883       }
884       program { name: "bottomhide";
885          signal: "elm,action,slot,bottom,hide";
886          source: "elm";
887          action: STATE_SET "default" 0.0;
888          transition: DECELERATE 0.5;
889          target: "bottom";
890          target: "elm.swallow.slot.bottom";
891       }
892    }
893 }
894
895 group { name: "elm/hover/base/hoversel_vertical/default";
896    alias: "elm/hover/base/hoversel_vertical/entry";
897    images {
898         //         image: "shad_circ.png" COMP;
899       image: "bt_base2.png" COMP;
900       image: "bt_hilight.png" COMP;
901       image: "bt_shine.png" COMP;
902       image: "outdent-top.png" COMP;
903       image: "outdent-bottom.png" COMP;
904    }
905    parts {
906       part { name: "elm.swallow.offset";
907          type: SWALLOW;
908          description { state: "default" 0.0;
909             align: 0.0 0.0;
910             rel1.relative: 0.0 0.0;
911             rel2.relative: 0.0 0.0;
912          }
913       }
914       part { name: "elm.swallow.size";
915          type: SWALLOW;
916          description { state: "default" 0.0;
917             align: 0.0 0.0;
918             rel1.to: "elm.swallow.offset";
919             rel1.relative: 1.0 1.0;
920             rel2.to: "elm.swallow.offset";
921             rel2.relative: 1.0 1.0;
922          }
923       }
924       /*
925       part { name: "shad";
926       mouse_events:  0;
927       description { state: "default" 0.0;
928       image.normal: "shad_circ.png";
929       rel1.to: "button_image";
930       rel1.offset: -64 -64;
931       rel2.to: "button_image";
932       rel2.offset: 63 63;
933       fill.smooth: 0;
934       }
935       }
936       */
937 part { name: "button_image";
938    mouse_events: 1;
939    description { state: "default" 0.0;
940       rel1.to_x: "elm.swallow.slot.top";
941       rel1.to_y: "elm.swallow.slot.top";
942       rel1.offset: -2 -6;
943       rel2.to_x: "elm.swallow.slot.top";
944       rel2.to_y: "elm.swallow.slot.bottom";
945       rel2.offset: 1 5;
946       image {
947          normal: "bt_base2.png";
948          border: 7 7 7 7;
949       }
950       image.middle: SOLID;
951    }
952    description { state: "bottom" 0.0;
953       rel1.to_x: "elm.swallow.slot.bottom";
954       rel1.to_y: "elm.swallow.slot.top";
955       rel1.offset: -2 -6;
956       rel2.to_x: "elm.swallow.slot.bottom";
957       rel2.to_y: "elm.swallow.slot.bottom";
958       rel2.offset: 1 5;
959       image {
960          normal: "bt_base2.png";
961          border: 7 7 7 7;
962       }
963       image.middle: SOLID;
964    }
965 }
966
967 part { name: "base";
968    type: RECT;
969    mouse_events: 1;
970    description { state: "default" 0.0;
971       color: 0 0 0 0;
972    }
973    description { state: "visible" 0.0;
974       inherit: "default" 1.0;
975       color: 0 0 0 64;
976    }
977 }
978
979 part { name: "topclip";
980    type: RECT;
981    description { state: "default" 0.0;
982       rel2.to_y: "edge_top";
983       rel2.relative: 1.0 0.0;
984       rel2.offset: -1 7;
985    }
986 }
987 part { name: "elm.swallow.slot.top";
988    type: SWALLOW;
989    clip_to: "topclip";
990    description { state: "default" 0.0;
991       visible: 1;
992       align: 0.5 0.0;
993       rel1.to: "elm.swallow.slot.middle";
994       rel1.relative: 0.0 0.0;
995       rel1.offset: 0 -1;
996       rel2.to: "elm.swallow.slot.middle";
997       rel2.relative: 1.0 0.0;
998       rel2.offset: -1 -1;
999    }
1000    description { state: "visible" 0.0;
1001       inherit: "default" 0.0;
1002       rel1.offset: 0 -7;
1003       rel2.offset: -1 -7;
1004       align: 0.5 1.0;
1005    }
1006 }
1007
1008 part { name: "bottomclip";
1009    type: RECT;
1010    description { state: "default" 0.0;
1011       rel1.to_y: "edge_bottom";
1012       rel1.relative: 0.0 1.0;
1013       rel1.offset: -1 -8;
1014    }
1015 }
1016 part { name: "elm.swallow.slot.bottom";
1017    type: SWALLOW;
1018    clip_to: "bottomclip";
1019    description { state: "default" 0.0;
1020       align: 0.5 1.0;
1021       rel1.to: "elm.swallow.slot.middle";
1022       rel1.relative: 0.0 1.0;
1023       rel1.offset: 0 0;
1024       rel2.to: "elm.swallow.slot.middle";
1025       rel2.relative: 1.0 1.0;
1026       rel2.offset: -1 0;
1027    }
1028    description { state: "visible" 0.0;
1029       inherit: "default" 0.0;
1030       rel1.offset: 0 6;
1031       rel2.offset: -1 6;
1032       align: 0.5 0.0;
1033    }
1034 }
1035
1036 part {          name: "over1";
1037    mouse_events: 0;
1038    description { state: "default" 0.0;
1039       rel1.to: "button_image";
1040       rel2.to: "button_image";
1041       rel2.relative: 1.0 0.5;
1042       image {
1043          normal: "bt_hilight.png";
1044          border: 7 7 7 0;
1045       }
1046    }
1047 }
1048 part { name: "over2";
1049    mouse_events: 1;
1050    repeat_events: 1;
1051    ignore_flags: ON_HOLD;
1052    description { state: "default" 0.0;
1053       rel1.to: "button_image";
1054       rel2.to: "button_image";
1055       image {
1056          normal: "bt_shine.png";
1057          border: 7 7 7 7;
1058       }
1059    }
1060 }
1061 part { name: "edge_top";
1062    mouse_events:  0;
1063    description { state: "default" 0.0;
1064       visible: 0;
1065       rel1 {
1066          to: "elm.swallow.size";
1067          offset: 0 -10;
1068       }
1069       rel2 {
1070          to: "elm.swallow.size";
1071       }
1072       image.normal: "outdent-bottom.png";
1073       image.border: 0 0 13 0;
1074       fill.smooth: 0;
1075    }
1076    description { state: "visible" 0.0;
1077       inherit: "default" 0.0;
1078       visible: 1;
1079    }
1080 }
1081 part { name: "edge_bottom";
1082    mouse_events:  0;
1083    description { state: "default" 0.0;
1084       visible: 0;
1085       rel1 {
1086          to: "elm.swallow.size";
1087       }
1088       rel2 {
1089          to: "elm.swallow.size";
1090          offset: -1 9;
1091       }
1092       image.normal: "outdent-top.png";
1093       image.border: 0 0 0 13;
1094       fill.smooth: 0;
1095    }
1096    description { state: "visible" 0.0;
1097       inherit: "default" 0.0;
1098       visible: 1;
1099    }
1100 }
1101 part { name: "elm.swallow.slot.middle";
1102    type: SWALLOW;
1103    description { state: "default" 0.0;
1104       rel1.to: "elm.swallow.size";
1105       rel2.to: "elm.swallow.size";
1106    }
1107 }
1108 }
1109 programs {
1110    program { name: "end";
1111       signal: "mouse,up,1";
1112       source: "base";
1113       action: SIGNAL_EMIT "elm,action,dismiss" "";
1114    }
1115
1116    program { name: "show";
1117       signal: "elm,action,show";
1118       source: "elm";
1119       action: STATE_SET "visible" 0.0;
1120               //            transition: DECELERATE 0.5;
1121       target: "base";
1122    }
1123    program { name: "hide";
1124       signal: "elm,action,hide";
1125       source: "elm";
1126       action: STATE_SET "default" 0.0;
1127               //            transition: DECELERATE 0.5;
1128       target: "base";
1129    }
1130    program { name: "topshow";
1131       signal: "elm,action,slot,top,show";
1132       source: "elm";
1133       action: STATE_SET "visible" 0.0;
1134       target: "edge_top";
1135       after: "topshow2";
1136    }
1137    program { name: "topshow2";
1138       action: STATE_SET "visible" 0.0;
1139       transition: DECELERATE 0.5;
1140       target: "elm.swallow.slot.top";
1141    }
1142    program { name: "topshow3";
1143       signal: "elm,action,slot,top,show";
1144       source: "elm";
1145       action: STATE_SET "default" 0.0;
1146       target: "button_image";
1147    }
1148    program { name: "tophide";
1149       signal: "elm,action,slot,top,hide";
1150       source: "elm";
1151       action: STATE_SET "default" 0.0;
1152       transition: DECELERATE 0.5;
1153       target: "elm.swallow.slot.top";
1154       after: "tophide2";
1155    }
1156    program { name: "tophide2";
1157       action: STATE_SET "default" 0.0;
1158       target: "edge_top";
1159    }
1160    program { name: "bottomshow";
1161       signal: "elm,action,slot,bottom,show";
1162       source: "elm";
1163       action: STATE_SET "visible" 0.0;
1164       target: "edge_bottom";
1165       after: "bottomshow2";
1166    }
1167    program { name: "bottomshow2";
1168       action: STATE_SET "visible" 0.0;
1169       transition: DECELERATE 0.5;
1170       target: "elm.swallow.slot.bottom";
1171    }
1172    program { name: "bottomshow3";
1173       signal: "elm,action,slot,bottom,show";
1174       source: "elm";
1175       action: STATE_SET "bottom" 0.0;
1176       target: "button_image";
1177    }
1178    program { name: "bottomhide";
1179       signal: "elm,action,slot,bottom,hide";
1180       source: "elm";
1181       action: STATE_SET "default" 0.0;
1182       transition: DECELERATE 0.5;
1183       target: "elm.swallow.slot.bottom";
1184       after: "bottomhide2";
1185    }
1186    program { name: "bottomhide2";
1187       action: STATE_SET "default" 0.0;
1188       target: "edge_bottom";
1189    }
1190 }
1191 }
1192 ///////////////////////////////////////////////////////////////////////////////
1193 group { name: "elm/hover/base/hoversel_horizontal/default";
1194    alias: "elm/hover/base/hoversel_horizontal/entry";
1195    images {
1196       image: "bt_base2.png" COMP;
1197       image: "bt_hilight.png" COMP;
1198       image: "bt_shine.png" COMP;
1199       image: "outdent-top.png" COMP;
1200       image: "outdent-bottom.png" COMP;
1201       //image: "shad_circ.png" COMP;
1202    }
1203    parts {
1204       part { name: "elm.swallow.offset";
1205          type: SWALLOW;
1206          description { state: "default" 0.0;
1207             align: 0.0 0.0;
1208             rel1.relative: 0.0 0.0;
1209             rel2.relative: 0.0 0.0;
1210          }
1211       }
1212       part { name: "elm.swallow.size";
1213          type: SWALLOW;
1214          description { state: "default" 0.0;
1215             align: 0.0 0.0;
1216             rel1.to: "elm.swallow.offset";
1217             rel1.relative: 1.0 1.0;
1218             rel2.to: "elm.swallow.offset";
1219             rel2.relative: 1.0 1.0;
1220          }
1221       }
1222       part { name: "base";
1223          type: RECT;
1224          mouse_events: 1;
1225          description { state: "default" 0.0;
1226             color: 0 0 0 0;
1227          }
1228          description { state: "visible" 0.0;
1229             inherit: "default" 1.0;
1230             color: 0 0 0 64;
1231          }
1232       }
1233      /* part { name: "shad";
1234          mouse_events:  0;
1235          description { state: "default" 0.0;
1236             image.normal: "shad_circ.png";
1237             rel1.to: "elm.swallow.size";
1238             rel1.offset: -32 -32;
1239             rel2.to: "elm.swallow.size";
1240             rel2.offset: 31 31;
1241             fill.smooth: 0;
1242          }
1243       }*/
1244       part { name: "button_image";
1245          mouse_events: 0;
1246          description { state: "default" 0.0;
1247             rel1.to_x: "elm.swallow.slot.left";
1248             rel1.to_y: "elm.swallow.slot.left";
1249             rel1.offset: -2 -6;
1250             rel2.to_x: "elm.swallow.slot.right";
1251             rel2.to_y: "elm.swallow.slot.left";
1252             rel2.offset: 1 5;
1253             image {
1254                normal: "bt_base2.png";
1255                border: 7 7 7 7;
1256             }
1257             image.middle: SOLID;
1258          }
1259          description { state: "right" 0.0;
1260             rel1.to_x: "elm.swallow.slot.left";
1261             rel1.to_y: "elm.swallow.slot.left";
1262             rel1.offset: -2 -6;
1263             rel2.to_x: "elm.swallow.slot.right";
1264             rel2.to_y: "elm.swallow.slot.right";
1265             rel2.offset: 1 5;
1266             image {
1267                normal: "bt_base2.png";
1268                border: 7 7 7 7;
1269             }
1270             image.middle: SOLID;
1271          }
1272       }
1273       part { name: "leftclip";
1274          type: RECT;
1275          description { state: "default" 0.0;
1276             rel2.to_x: "edge_left";
1277             rel2.relative: 0.0 1.0;
1278             rel2.offset: -1 7;
1279          }
1280       }
1281       part { name: "elm.swallow.slot.left";
1282          type: SWALLOW;
1283          clip_to: "leftclip";
1284          description { state: "default" 0.0;
1285             align: 1.0 0.5;
1286             rel1.to: "elm.swallow.slot.middle";
1287             rel1.relative: 0.0 0.0;
1288             rel1.offset: -1 0;
1289             rel2.to: "elm.swallow.slot.middle";
1290             rel2.relative: 0.0 1.0;
1291             rel2.offset: -1 -1;
1292          }
1293       }
1294       part { name: "rightclip";
1295          type: RECT;
1296          description { state: "default" 0.0;
1297             rel1.to_x: "edge_right";
1298             rel1.relative: 1.0 0.0;
1299             rel1.offset: -1 -8;
1300          }
1301       }
1302       part { name: "elm.swallow.slot.right";
1303          type: SWALLOW;
1304          clip_to: "rightclip";
1305          description { state: "default" 0.0;
1306             align: 0.0 0.5;
1307             rel1.to: "elm.swallow.slot.middle";
1308             rel1.relative: 1.0 0.0;
1309             rel1.offset: 0 0;
1310             rel2.to: "elm.swallow.slot.middle";
1311             rel2.relative: 1.0 1.0;
1312             rel2.offset: 0 -1;
1313          }
1314       }
1315       part { name: "over1";
1316          mouse_events: 0;
1317          description { state: "default" 0.0;
1318             rel1.to: "button_image";
1319             rel2.to: "button_image";
1320             rel2.relative: 1.0 0.5;
1321             image {
1322                normal: "bt_hilight.png";
1323                border: 7 7 7 0;
1324             }
1325          }
1326       }
1327       part { name: "over2";
1328          mouse_events: 1;
1329          repeat_events: 1;
1330          ignore_flags: ON_HOLD;
1331          description { state: "default" 0.0;
1332             rel1.to: "button_image";
1333             rel2.to: "button_image";
1334             image {
1335                normal: "bt_shine.png";
1336                border: 7 7 7 7;
1337             }
1338          }
1339       }
1340       part { name: "edge_left";
1341          mouse_events:  0;
1342          description { state: "default" 0.0;
1343             visible: 0;
1344             rel1 {
1345                to: "elm.swallow.size";
1346                offset: 0 -10;
1347             }
1348             rel2 {
1349                to: "elm.swallow.size";
1350             }
1351             image.normal: "outdent-bottom.png";
1352             image.border: 0 0 13 0;
1353             fill.smooth: 0;
1354          }
1355          description { state: "visible" 0.0;
1356             inherit: "default" 0.0;
1357             visible: 1;
1358          }
1359       }
1360       part { name: "edge_right";
1361          mouse_events:  0;
1362          description { state: "default" 0.0;
1363             visible: 0;
1364             rel1 {
1365                to: "elm.swallow.size";
1366             }
1367             rel2 {
1368                to: "elm.swallow.size";
1369                offset: -1 9;
1370             }
1371             image.normal: "outdent-top.png";
1372             image.border: 0 0 0 13;
1373             fill.smooth: 0;
1374          }
1375          description { state: "visible" 0.0;
1376             inherit: "default" 0.0;
1377             visible: 1;
1378          }
1379       }
1380       part { name: "elm.swallow.slot.middle";
1381          type: SWALLOW;
1382          description { state: "default" 0.0;
1383             rel1.to: "elm.swallow.size";
1384             rel2.to: "elm.swallow.size";
1385          }
1386       }
1387    }
1388    programs {
1389       program { name: "end";
1390          signal: "mouse,up,1";
1391          source: "base";
1392          action: SIGNAL_EMIT "elm,action,dismiss" "";
1393       }
1394       program { name: "show";
1395          signal: "elm,action,show";
1396          source: "elm";
1397          action: STATE_SET "visible" 0.0;
1398                              transition: DECELERATE 0.5;
1399          target: "base";
1400       }
1401       program { name: "hide";
1402          signal: "elm,action,hide";
1403          source: "elm";
1404          action: STATE_SET "default" 0.0;
1405                              transition: DECELERATE 0.5;
1406          target: "base";
1407       }
1408
1409       program { name: "leftshow";
1410          signal: "elm,action,slot,left,show";
1411          source: "elm";
1412          action: STATE_SET "visible" 0.0;
1413          transition: DECELERATE 0.5;
1414          target: "edge_left";
1415          after: "leftshow2";
1416       }
1417       program { name: "leftshow2";
1418          action: STATE_SET "visible" 0.0;
1419          transition: DECELERATE 0.5;
1420          target: "elm.swallow.slot.left";
1421       }
1422       program { name: "leftshow3";
1423          signal: "elm,action,slot,left,show";
1424          source: "elm";
1425          action: STATE_SET "default" 0.0;
1426          transition: DECELERATE 0.5;
1427          target: "button_image";
1428       }
1429
1430       program { name: "lefthide";
1431          signal: "elm,action,slot,left,hide";
1432          source: "elm";
1433          action: STATE_SET "default" 0.0;
1434          transition: DECELERATE 0.5;
1435          target: "elm.swallow.slot.left";
1436          after: "lefthide2";
1437       }
1438       program { name: "lefthide2";
1439          action: STATE_SET "default" 0.0;
1440          transition: DECELERATE 0.5;
1441          target: "edge_left";
1442       }
1443       program { name: "rightshow";
1444          signal: "elm,action,slot,right,show";
1445          source: "elm";
1446          action: STATE_SET "visible" 0.0;
1447          transition: DECELERATE 0.5;
1448          target: "edge_right";
1449          after: "rightshow2";
1450       }
1451       program { name: "rightshow2";
1452          action: STATE_SET "visible" 0.0;
1453          transition: DECELERATE 0.5;
1454          target: "elm.swallow.slot.right";
1455       }
1456       program { name: "rightshow3";
1457          signal: "elm,action,slot,right,show";
1458          source: "elm";
1459          action: STATE_SET "right" 0.0;
1460          transition: DECELERATE 0.5;
1461          target: "button_image";
1462       }
1463    
1464       program { name: "righthide";
1465          signal: "elm,action,slot,right,hide";
1466          source: "elm";
1467          action: STATE_SET "default" 0.0;
1468          transition: DECELERATE 0.5;
1469          target: "elm.swallow.slot.right";
1470          after: "righthide2";
1471       }
1472       program { name: "righthide2";
1473          action: STATE_SET "default" 0.0;
1474          target: "edge_right";
1475       }
1476    }
1477 }