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