[Progressbar] issue image getting invisible for list progressbar. fixed.
[profile/ivi/efl-theme-tizen.git] / themes / nbeat.edc
1 /*
2  *  nBeat-theme
3  *
4  * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
5  *
6  * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>, 
7  *              Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>, 
8  *              Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
9  * 
10  * This library is free software; you can redistribute it and/or modify it under
11  * the terms of the GNU Lesser General Public License as published by the
12  * Free Software Foundation; either version 2.1 of the License, or (at your option)
13  * any later version.
14  * 
15  * This library is distributed in the hope that it will be useful, but WITHOUT ANY
16  * WARRANTY; without even the implied warranty of MERCHANTABILITY or
17  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
18  * License for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public License
21  * along with this library; if not, write to the Free Software Foundation, Inc., 51
22  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23  *
24  */
25
26 // LICENSE NOTE:
27 // This file (and only this one) is licenses under public-domain. The reason
28 // is that this is meant to serve as a template for making your own themes and
29 // Elementary's LGPL license is not intended to follow. The images used do come
30 // under LGPL, but this file specifically for the structure of your theme is
31 // public-domain. This means you can take, use, re-license and otherwise
32 // have zero restrictions on using this file as a base for your theme.
33
34 // theme configuration file for each theme (nbeat, nbeat-black, ...)
35 #include "inc/tmp-inc.edc"
36
37 #define INDICATOR_H             27
38 #define NAVI_BAR_H              55
39 #define TAB_BAR_H               86
40 #define TOOL_BAR_H              74
41 #define SOFTKEY_H               72
42 #define SEGMENT_H               50
43 #define SEARCHBAR_H             67
44
45 externals {
46    external: "elm";
47 }
48
49 collections {
50 #include "groups/actionslider.edc"
51 #include "groups/animatedicon.edc"
52 #include "groups/badge.edc"
53 #include "groups/bubble.edc"
54 #include "groups/button.edc"
55 #include "groups/calendar.edc"
56 #include "groups/check.edc"
57 #include "groups/colorpalette.edc"
58 #include "groups/colorselector.edc"
59 #include "groups/conformant.edc"
60 #include "groups/controlbar.edc"
61 #include "groups/ctxpopup.edc"
62 #include "groups/datefield.edc"
63 #include "groups/dayselector.edc"
64 #include "groups/dialoguegroup.edc"
65 #include "groups/editfield.edc"
66 #include "groups/entry.edc"
67 #include "groups/gengrid.edc"
68 #include "groups/genlist/genlist.edc"
69 #include "groups/imageslider.edc"
70 #include "groups/index.edc"
71 #include "groups/label.edc"
72 #include "groups/layout.edc"
73 #include "groups/map.edc"
74 #include "groups/multibuttonentry.edc"
75 //#include "groups/multisense_ui.edc"
76 #include "groups/navigationbar.edc"
77 #include "groups/navigationbar_ex.edc"
78 #include "groups/nocontents.edc"
79 #include "groups/pagecontrol.edc"
80 #include "groups/panes.edc"
81 #include "groups/photocam.edc"
82 #include "groups/popup.edc"
83 #include "groups/progressbar.edc"
84 #include "groups/radio.edc"
85 #include "groups/searchbar.edc"
86 #include "groups/segmentedcontrol.edc"
87 #include "groups/selectioninfo.edc"
88 #include "groups/slider.edc"
89 #include "groups/slidingdrawer.edc"
90 #include "groups/stackedicon.edc"
91 #include "groups/tickernoti.edc"
92 #include "groups/toggle.edc"
93 #include "groups/toolbar2.edc"
94 #include "groups/wipercontrol.edc"
95
96 // Theme Change Demo
97 #include "groups/applications/contacts.edc"
98 #include "groups/applications/myfile_genlist.edc"
99 #include "groups/applications/email_mailbox_theme.edc"
100 #include "groups/applications/email_account_theme.edc"
101 #include "groups/applications/email_setting_theme.edc"
102 #include "groups/applications/email_viewer_theme.edc"
103 #include "groups/applications/email_composer_theme.edc"
104 #include "groups/applications/msg_ui_entry.edc"
105 #include "groups/applications/msg_ui_genlist.edc"
106 #include "groups/applications/msg_ui_setting.edc"
107 #include "groups/applications/msg_ui_thread.edc"
108 #include "groups/applications/rss_macro.edc"
109 #include "groups/applications/rss_tree.edc"
110 #include "groups/applications/rss_tree_feed.edc"
111 #include "groups/applications/rss_tree_folder.edc"
112 #include "groups/applications/setting.edc"
113 #include "groups/applications/calllog_theme.edc"
114
115 /*
116 sounds{
117         sound : "drag-start.wav" 0 100;
118         sound :"drag-accept.wav" 0 100;
119         sound :"button-pressed.wav" 0 100;
120         sound :"Waterdrop.wav" 0 100;
121 }
122
123 haptics{ 
124     haptic {
125       name:"1_haptic" ;
126       magnitude: 8000 ;
127       duration: 120 ;
128       attack_level: 123 ;
129       attack_time: 122 ;
130       fade_level: 16 ;
131      fade_time: 12 ;
132      type: MAGSWEEP ;
133      pattern:"01,00,01,00,0A,00,14,00,00,00,20,01,00,00,7F,00,00,E1,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ;
134    }
135    haptic{
136         name: "2_haptic" ;
137         magnitude: 10000 ;
138         duration: 12 ;
139         attack_level: 123 ;
140         attack_time: 120 ;
141         fade_level: 16 ;
142         fade_time: 12 ;
143         type: MAGSWEEP ;
144         pattern: "01,00,03,00,38,00,42,00,00,00,19,00,21,00,F1,E0,01,E2,00,00,F1, E0, 02, E2, 01,1D,F1,E0,01,E2,03,BA,F1,E0,02,E2,04,E0,FF,20,17,00,00,7F,D1,2F,81,30,00,00,F4,01,00,00,00,20,1F,00,00,40,01,96,41,00,00,00,12,00,24,00,54,00,69,00,6D,00,65,00,6C,00,69,00,6E,00,65,00,00,00,50,00,65,00,72,00,69,00,6F,00,64,00,69,00,63,00,00,00,50,00,65,00,72,00,69,00,6F,00,64,00,69,00,63,00,20,00,23,00,31,00,00,00" ;
145    }
146 }
147 */
148
149 ///////////////////////////////////////////////////////////////////////////////
150    group { name: "elm/bg/base/default";
151       parts {
152          part { name: "base";
153             mouse_events:  0;
154             type: RECT;
155             description { state: "default" 0.0;
156                color: 0 0 0 255;
157             }
158          }
159          part { name: "elm.swallow.background";
160             type: SWALLOW;
161             description { state: "default" 0.0;
162             }
163          }
164       }
165    }
166
167    group { name: "elm/bg/base/dialogue_field";
168        images {
169          image: "01_dialog_field_background.png" COMP;
170       }
171       parts {
172          part { name: "base";
173             mouse_events:  0;
174             type: RECT;
175             description { state: "default" 0.0;
176                 color: 0 0 0 255;
177             }
178          }
179          part { name: "elm.swallow.background";
180             type: SWALLOW;
181             description { state: "default" 0.0;
182             }
183          }
184           part { name: "image";
185             mouse_events:  0;
186             type: IMAGE;
187             description { state: "default" 0.0;
188                 image.normal: "01_dialog_field_background.png";
189                 image.border: 5 5 5 5;
190             }
191          }
192       }
193    }
194
195 ///////////////////////////////////////////////////////////////////////////////
196    group { name: "elm/hover/base/default";
197       images {
198          image: "shad_circ.png" COMP;
199       }
200       parts {
201          part { name: "elm.swallow.offset";
202             type: SWALLOW;
203             description { state: "default" 0.0;
204                align: 0.0 0.0;
205                rel1.relative: 0.0 0.0;
206                rel2.relative: 0.0 0.0;
207             }
208          }
209          part { name: "elm.swallow.size";
210             type: SWALLOW;
211             description { state: "default" 0.0;
212                align: 0.0 0.0;
213                rel1.to: "elm.swallow.offset";
214                rel1.relative: 1.0 1.0;
215                rel2.to: "elm.swallow.offset";
216                rel2.relative: 1.0 1.0;
217             }
218          }
219          part { name: "base";
220             type: RECT;
221             mouse_events: 1;
222             description { state: "default" 0.0;
223                color: 0 0 0 64;
224             }
225          }
226          part { name: "shad";
227             mouse_events:  0;
228             description { state: "default" 0.0;
229                image.normal: "shad_circ.png";
230                rel1.to: "elm.swallow.size";
231                rel1.offset: -32 -32;
232                rel2.to: "elm.swallow.size";
233                rel2.offset: 31 31;
234                fill.smooth: 0;
235             }
236          }
237          part { name: "box";
238             type: RECT;
239             mouse_events: 0;
240             description { state: "default" 0.0;
241                color: 0 0 0 0;
242                rel1.to: "elm.swallow.size";
243                rel1.offset: -2 -2;
244                rel2.to: "elm.swallow.size";
245                rel2.offset: 1 1;
246             }
247          }
248          part { name: "elm.swallow.slot.left";
249             type: SWALLOW;
250             description { state: "default" 0.0;
251                align: 1.0 0.5;
252                rel1.to: "elm.swallow.slot.middle";
253                rel1.relative: 0.0 0.0;
254                rel1.offset: -1 0;
255                rel2.to: "elm.swallow.slot.middle";
256                rel2.relative: 0.0 1.0;
257                rel2.offset: -1 -1;
258             }
259          }
260          part { name: "elm.swallow.slot.right";
261             type: SWALLOW;
262             description { state: "default" 0.0;
263                align: 0.0 0.5;
264                rel1.to: "elm.swallow.slot.middle";
265                rel1.relative: 1.0 0.0;
266                rel1.offset: 0 0;
267                rel2.to: "elm.swallow.slot.middle";
268                rel2.relative: 1.0 1.0;
269                rel2.offset: 0 -1;
270             }
271          }
272          part { name: "elm.swallow.slot.top";
273             type: SWALLOW;
274             description { state: "default" 0.0;
275                align: 0.5 1.0;
276                rel1.to: "elm.swallow.slot.middle";
277                rel1.relative: 0.0 0.0;
278                rel1.offset: 0 -1;
279                rel2.to: "elm.swallow.slot.middle";
280                rel2.relative: 1.0 0.0;
281                rel2.offset: -1 -1;
282             }
283          }
284          part { name: "elm.swallow.slot.bottom";
285             type: SWALLOW;
286             description { state: "default" 0.0;
287                align: 0.5 0.0;
288                rel1.to: "elm.swallow.slot.middle";
289                rel1.relative: 0.0 1.0;
290                rel1.offset: 0 0;
291                rel2.to: "elm.swallow.slot.middle";
292                rel2.relative: 1.0 1.0;
293                rel2.offset: -1 0;
294             }
295          }
296          part { name: "elm.swallow.slot.middle";
297             type: SWALLOW;
298             description { state: "default" 0.0;
299                rel1.to: "elm.swallow.size";
300                rel2.to: "elm.swallow.size";
301             }
302          }
303       }
304       programs {
305          program { name: "end";
306             signal: "mouse,up,1";
307             source: "base";
308             action: SIGNAL_EMIT "elm,action,dismiss" "";
309          }
310       }
311    }
312
313    group { name: "elm/hover/base/matchlist";
314       parts {
315          part { name: "elm.swallow.offset";
316             type: SWALLOW;
317             description { state: "default" 0.0;
318                align: 0.0 0.0;
319                rel1.relative: 0.0 0.0;
320                rel2.relative: 0.0 0.0;
321             }
322          }
323          part { name: "elm.swallow.size";
324             type: SWALLOW;
325             description { state: "default" 0.0;
326                align: 0.0 0.0;
327                rel1.to: "elm.swallow.offset";
328                rel1.relative: 1.0 1.0;
329                rel2.to: "elm.swallow.offset";
330                rel2.relative: 1.0 1.0;
331             }
332          }
333          part { name: "base";
334             type: RECT;
335             mouse_events: 1;
336             description { state: "default" 0.0;
337                color: 0 0 0 0;
338             }
339          }
340          part { name: "box";
341             type: RECT;
342             mouse_events: 0;
343             description { state: "default" 0.0;
344                color: 0 0 0 0;
345                rel1.to: "elm.swallow.size";
346                rel1.offset: -2 -2;
347                rel2.to: "elm.swallow.size";
348                rel2.offset: 1 1;
349             }
350          }
351          part { name: "elm.swallow.slot.left";
352             type: SWALLOW;
353             description { state: "default" 0.0;
354                align: 1.0 0.5;
355                rel1.to: "elm.swallow.slot.middle";
356                rel1.relative: 0.0 0.0;
357                rel1.offset: -1 0;
358                rel2.to: "elm.swallow.slot.middle";
359                rel2.relative: 0.0 1.0;
360                rel2.offset: -1 -1;
361             }
362          }
363          part { name: "elm.swallow.slot.right";
364             type: SWALLOW;
365             description { state: "default" 0.0;
366                align: 0.0 0.5;
367                rel1.to: "elm.swallow.slot.middle";
368                rel1.relative: 1.0 0.0;
369                rel1.offset: 0 0;
370                rel2.to: "elm.swallow.slot.middle";
371                rel2.relative: 1.0 1.0;
372                rel2.offset: 0 -1;
373             }
374          }
375          part { name: "elm.swallow.slot.top";
376             type: SWALLOW;
377             description { state: "default" 0.0;
378                align: 0.5 1.0;
379                rel1.to: "elm.swallow.slot.middle";
380                rel1.relative: 0.0 0.0;
381                rel1.offset: 0 -1;
382                rel2.to: "elm.swallow.slot.middle";
383                rel2.relative: 1.0 0.0;
384                rel2.offset: -1 -1;
385             }
386          }
387          part { name: "elm.swallow.slot.bottom";
388             type: SWALLOW;
389             description { state: "default" 0.0;
390                align: 0.5 0.0;
391                rel1.to: "elm.swallow.slot.middle";
392                rel1.relative: 0.0 1.0;
393                rel1.offset: 0 0;
394                rel2.to: "elm.swallow.slot.middle";
395                rel2.relative: 1.0 1.0;
396                rel2.offset: -1 0;
397             }
398          }
399          part { name: "elm.swallow.slot.middle";
400             type: SWALLOW;
401             description { state: "default" 0.0;
402                rel1.to: "elm.swallow.size";
403                rel2.to: "elm.swallow.size";
404             }
405          }
406       }
407       programs {
408          program { name: "end";
409             signal: "mouse,up,1";
410             source: "base";
411             action: SIGNAL_EMIT "elm,action,dismiss" "";
412          }
413       }
414    }
415
416    group { name: "elm/hover/base/popout";
417       images {
418          image: "shad_circ.png" COMP;
419          image: "bt_dis_base.png" COMP;
420          image: "bt_dis_hilight.png" COMP;
421       }
422       parts {
423          part { name: "elm.swallow.offset";
424             type: SWALLOW;
425             description { state: "default" 0.0;
426                align: 0.0 0.0;
427                rel1.relative: 0.0 0.0;
428                rel2.relative: 0.0 0.0;
429             }
430          }
431          part { name: "elm.swallow.size";
432             type: SWALLOW;
433             description { state: "default" 0.0;
434                align: 0.0 0.0;
435                rel1.to: "elm.swallow.offset";
436                rel1.relative: 1.0 1.0;
437                rel2.to: "elm.swallow.offset";
438                rel2.relative: 1.0 1.0;
439             }
440          }
441          part { name: "base";
442             type: RECT;
443             mouse_events: 1;
444             description { state: "default" 0.0;
445                color: 0 0 0 0;
446             }
447             description { state: "visible" 0.0;
448                inherit: "default" 1.0;
449                color: 0 0 0 64;
450             }
451          }
452          part { name: "leftclip";
453             type: RECT;
454             description { state: "default" 0.0;
455                rel2.to_x: "pop";
456                rel2.relative: 0.0 1.0;
457                rel2.offset: 1 -1;
458             }
459          }
460          part { name: "left";
461             clip_to: "leftclip";
462             description { state: "default" 0.0;
463                visible: 0;
464                rel1.to: "elm.swallow.slot.left";
465                rel1.offset: -5 -5;
466                rel2.to: "elm.swallow.slot.left";
467                rel2.offset: 4 4;
468                image {
469                   normal: "bt_dis_base.png";
470                   border: 4 4 4 4;
471                }
472                image.middle: SOLID;
473             }
474             description { state: "visible" 0.0;
475                inherit: "default" 0.0;
476                visible: 1;
477             }
478          }
479          part { name: "elm.swallow.slot.left";
480             type: SWALLOW;
481             clip_to: "leftclip";
482             description { state: "default" 0.0;
483                align: 0.0 0.5;
484                rel1.to: "elm.swallow.slot.middle";
485                rel1.relative: 0.0 0.0;
486                rel1.offset: -1 0;
487                rel2.to: "elm.swallow.slot.middle";
488                rel2.relative: 0.0 1.0;
489                rel2.offset: -1 -1;
490             }
491             description { state: "visible" 0.0;
492                inherit: "default" 0.0;
493                rel1.offset: -7 0;
494                rel2.offset: -7 -1;
495                align: 1.0 0.5;
496             }
497          }
498          part { name: "leftover";
499             clip_to: "leftclip";
500             mouse_events: 0;
501             description { state: "default" 0.0;
502                rel1.to: "left";
503                rel2.to: "left";
504                rel2.relative: 1.0 0.5;
505                color: 0 0 0 0;
506                image {
507                   normal: "bt_dis_hilight.png";
508                   border: 4 4 4 0;
509                }
510             }
511          }
512          part { name: "rightclip";
513             type: RECT;
514             description { state: "default" 0.0;
515                rel1.to_x: "pop";
516                rel1.relative: 1.0 0.0;
517                rel1.offset: -2 0;
518             }
519          }
520          part { name: "right";
521             clip_to: "rightclip";
522             description { state: "default" 0.0;
523                visible: 0;
524                rel1.to: "elm.swallow.slot.right";
525                rel1.offset: -5 -5;
526                rel2.to: "elm.swallow.slot.right";
527                rel2.offset: 4 4;
528                image {
529                   normal: "bt_dis_base.png";
530                   border: 4 4 4 4;
531                }
532                image.middle: SOLID;
533             }
534             description { state: "visible" 0.0;
535                inherit: "default" 0.0;
536                visible: 1;
537             }
538          }
539          part { name: "elm.swallow.slot.right";
540             type: SWALLOW;
541             clip_to: "rightclip";
542             description { state: "default" 0.0;
543                align: 1.0 0.5;
544                rel1.to: "elm.swallow.slot.middle";
545                rel1.relative: 1.0 0.0;
546                rel1.offset: 0 0;
547                rel2.to: "elm.swallow.slot.middle";
548                rel2.relative: 1.0 1.0;
549                rel2.offset: 0 -1;
550             }
551             description { state: "visible" 0.0;
552                inherit: "default" 0.0;
553                rel1.offset: 6 0;
554                rel2.offset: 6 -1;
555                align: 0.0 0.5;
556             }
557          }
558          part { name: "rightover";
559             clip_to: "rightclip";
560             mouse_events: 0;
561             description { state: "default" 0.0;
562                rel1.to: "right";
563                rel2.to: "right";
564                rel2.relative: 1.0 0.5;
565                image {
566                   normal: "bt_dis_hilight.png";
567                   border: 4 4 4 0;
568                }
569             }
570          }
571          part { name: "topclip";
572             type: RECT;
573             description { state: "default" 0.0;
574                rel2.to_y: "pop";
575                rel2.relative: 1.0 0.0;
576                rel2.offset: -1 1;
577             }
578          }
579          part { name: "top";
580             clip_to: "topclip";
581             description { state: "default" 0.0;
582                visible: 0;
583                rel1.to: "elm.swallow.slot.top";
584                rel1.offset: -5 -5;
585                rel2.to: "elm.swallow.slot.top";
586                rel2.offset: 4 4;
587                image {
588                   normal: "bt_dis_base.png";
589                   border: 4 4 4 4;
590                }
591                image.middle: SOLID;
592             }
593             description { state: "visible" 0.0;
594                inherit: "default" 0.0;
595                visible: 1;
596             }
597          }
598          part { name: "elm.swallow.slot.top";
599             type: SWALLOW;
600             clip_to: "topclip";
601             description { state: "default" 0.0;
602                visible: 1;
603                align: 0.5 0.0;
604                rel1.to: "elm.swallow.slot.middle";
605                rel1.relative: 0.0 0.0;
606                rel1.offset: 0 -1;
607                rel2.to: "elm.swallow.slot.middle";
608                rel2.relative: 1.0 0.0;
609                rel2.offset: -1 -1;
610             }
611             description { state: "visible" 0.0;
612                inherit: "default" 0.0;
613                rel1.offset: 0 -7;
614                rel2.offset: -1 -7;
615                align: 0.5 1.0;
616             }
617          }
618          part { name: "topover";
619             clip_to: "topclip";
620             mouse_events: 0;
621             description { state: "default" 0.0;
622                rel1.to: "top";
623                rel2.to: "top";
624                rel2.relative: 1.0 0.5;
625                image {
626                   normal: "bt_dis_hilight.png";
627                   border: 4 4 4 0;
628                }
629             }
630          }
631          part { name: "bottomclip";
632             type: RECT;
633             description { state: "default" 0.0;
634                rel1.to_y: "pop";
635                rel1.relative: 0.0 1.0;
636                rel1.offset: -1 -2;
637             }
638          }
639          part { name: "bottom";
640             clip_to: "bottomclip";
641             description { state: "default" 0.0;
642                visible: 0;
643                rel1.to: "elm.swallow.slot.bottom";
644                rel1.offset: -5 -5;
645                rel2.to: "elm.swallow.slot.bottom";
646                rel2.offset: 4 4;
647                image {
648                   normal: "bt_dis_base.png";
649                   border: 4 4 4 4;
650                }
651                image.middle: SOLID;
652             }
653             description { state: "visible" 0.0;
654                inherit: "default" 0.0;
655                visible: 1;
656             }
657          }
658          part { name: "elm.swallow.slot.bottom";
659             type: SWALLOW;
660             clip_to: "bottomclip";
661             description { state: "default" 0.0;
662                align: 0.5 1.0;
663                rel1.to: "elm.swallow.slot.middle";
664                rel1.relative: 0.0 1.0;
665                rel1.offset: 0 0;
666                rel2.to: "elm.swallow.slot.middle";
667                rel2.relative: 1.0 1.0;
668                rel2.offset: -1 0;
669             }
670             description { state: "visible" 0.0;
671                inherit: "default" 0.0;
672                rel1.offset: 0 6;
673                rel2.offset: -1 6;
674                align: 0.5 0.0;
675             }
676          }
677          part { name: "bottomover";
678             clip_to: "bottomclip";
679             mouse_events: 0;
680             description { state: "default" 0.0;
681                rel1.to: "bottom";
682                rel2.to: "bottom";
683                rel2.relative: 1.0 0.5;
684                image {
685                   normal: "bt_dis_hilight.png";
686                   border: 4 4 4 0;
687                }
688             }
689          }
690          part { name: "shad";
691             mouse_events:  0;
692             description { state: "default" 0.0;
693                image.normal: "shad_circ.png";
694                rel1.to: "elm.swallow.size";
695                rel1.offset: -64 -64;
696                rel2.to: "elm.swallow.size";
697                rel2.offset: 63 63;
698                fill.smooth: 0;
699             }
700          }
701          part { name: "pop";
702             mouse_events: 1;
703             description { state: "default" 0.0;
704                rel1.to: "elm.swallow.slot.middle";
705                rel1.offset: -5 -5;
706                rel2.to: "elm.swallow.slot.middle";
707                rel2.offset: 4 4;
708                image {
709                   normal: "bt_dis_base.png";
710                   border: 4 4 4 4;
711                }
712                image.middle: SOLID;
713             }
714          }
715          part { name: "elm.swallow.slot.middle";
716             type: SWALLOW;
717             description { state: "default" 0.0;
718                rel1.to: "elm.swallow.size";
719                rel2.to: "elm.swallow.size";
720             }
721          }
722          part { name: "popover";
723             mouse_events: 0;
724             description { state: "default" 0.0;
725                rel1.to: "pop";
726                rel2.to: "pop";
727                rel2.relative: 1.0 0.5;
728                image {
729                   normal: "bt_dis_hilight.png";
730                   border: 4 4 4 0;
731                }
732             }
733          }
734       }
735       programs {
736          program { name: "end";
737             signal: "mouse,up,1";
738             source: "base";
739             action: SIGNAL_EMIT "elm,action,dismiss" "";
740          }
741
742          program { name: "show";
743             signal: "elm,action,show";
744             source: "elm";
745             action: STATE_SET "visible" 0.0;
746 //          transition: DECELERATE 0.5;
747             target: "base";
748          }
749          program { name: "hide";
750             signal: "elm,action,hide";
751             source: "elm";
752             action: STATE_SET "default" 0.0;
753 //          transition: DECELERATE 0.5;
754             target: "base";
755          }
756
757          program { name: "leftshow";
758             signal: "elm,action,slot,left,show";
759             source: "elm";
760             action: STATE_SET "visible" 0.0;
761             transition: DECELERATE 0.5;
762             target: "left";
763             target: "elm.swallow.slot.left";
764          }
765          program { name: "lefthide";
766             signal: "elm,action,slot,left,hide";
767             source: "elm";
768             action: STATE_SET "default" 0.0;
769             transition: DECELERATE 0.5;
770             target: "left";
771             target: "elm.swallow.slot.left";
772          }
773          program { name: "rightshow";
774             signal: "elm,action,slot,right,show";
775             source: "elm";
776             action: STATE_SET "visible" 0.0;
777             transition: DECELERATE 0.5;
778             target: "right";
779             target: "elm.swallow.slot.right";
780          }
781          program { name: "righthide";
782             signal: "elm,action,slot,right,hide";
783             source: "elm";
784             action: STATE_SET "default" 0.0;
785             transition: DECELERATE 0.5;
786             target: "right";
787             target: "elm.swallow.slot.right";
788          }
789          program { name: "topshow";
790             signal: "elm,action,slot,top,show";
791             source: "elm";
792             action: STATE_SET "visible" 0.0;
793             transition: DECELERATE 0.5;
794             target: "top";
795             target: "elm.swallow.slot.top";
796          }
797          program { name: "tophide";
798             signal: "elm,action,slot,top,hide";
799             source: "elm";
800             action: STATE_SET "default" 0.0;
801             transition: DECELERATE 0.5;
802             target: "top";
803             target: "elm.swallow.slot.top";
804          }
805          program { name: "bottomshow";
806             signal: "elm,action,slot,bottom,show";
807             source: "elm";
808             action: STATE_SET "visible" 0.0;
809             transition: DECELERATE 0.5;
810             target: "bottom";
811             target: "elm.swallow.slot.bottom";
812          }
813          program { name: "bottomhide";
814             signal: "elm,action,slot,bottom,hide";
815             source: "elm";
816             action: STATE_SET "default" 0.0;
817             transition: DECELERATE 0.5;
818             target: "bottom";
819             target: "elm.swallow.slot.bottom";
820          }
821       }
822    }
823
824    //In the hover used by the menu only the bottom part is used.
825    group { name: "elm/hover/base/menu";
826        images {
827            image: "shad_circ.png" COMP;
828            image: "bt_dis_base.png" COMP;
829        }
830        parts {
831            part { name: "elm.swallow.offset";
832                type: SWALLOW;
833                description { state: "default" 0.0;
834                    align: 0.0 0.0;
835                    rel1.relative: 0.0 0.0;
836                    rel2.relative: 0.0 0.0;
837                }
838            }
839            part { name: "elm.swallow.size";
840                type: SWALLOW;
841                description { state: "default" 0.0;
842                    align: 0.0 0.0;
843                    rel1.to: "elm.swallow.offset";
844                    rel1.relative: 1.0 1.0;
845                    rel2.to: "elm.swallow.offset";
846                    rel2.relative: 1.0 1.0;
847                }
848            }
849            part { name: "base";
850                type: RECT;
851                mouse_events: 1;
852                description { state: "default" 0.0;
853                    color: 0 0 0 0;
854                }
855                description { state: "visible" 0.0;
856                    inherit: "default" 1.0;
857                    color: 0 0 0 64;
858                }
859            }
860            part { name: "elm.swallow.slot.left";
861                type: SWALLOW;
862                description { state: "default" 0.0;
863                }
864            }
865            part { name: "elm.swallow.slot.right";
866                type: SWALLOW;
867                description { state: "default" 0.0;
868                }
869            }
870            part { name: "elm.swallow.slot.top";
871                type: SWALLOW;
872                description { state: "default" 0.0;
873                }
874                description { state: "visible" 0.0;
875                    inherit: "default" 0.0;
876                }
877            }
878            part { name: "bottomclip";
879                type: RECT;
880                description { state: "default" 0.0;
881                    rel1.to_y: "pop";
882                    rel1.relative: 0.0 1.0;
883                    rel1.offset: -1 -2;
884                }
885            }
886            part { name: "bottom";
887                clip_to: "bottomclip";
888                description { state: "default" 0.0;
889                    visible: 0;
890                    rel1.to: "elm.swallow.slot.bottom";
891                    rel1.offset: -5 -5;
892                    rel2.to: "elm.swallow.slot.bottom";
893                    rel2.offset: 4 4;
894                    image {
895                        normal: "bt_dis_base.png";
896                        border: 4 4 4 4;
897                    }
898                    image.middle: SOLID;
899                }
900                description { state: "visible" 0.0;
901                    inherit: "default" 0.0;
902                    visible: 1;
903                }
904            }
905            part { name: "elm.swallow.slot.bottom";
906                type: SWALLOW;
907                clip_to: "bottomclip";
908                description { state: "default" 0.0;
909                    align: 0.5 1.0;
910                    rel1.to: "elm.swallow.slot.middle";
911                    rel1.relative: 0.0 1.0;
912                    rel1.offset: 0 0;
913                    rel2.to: "elm.swallow.slot.middle";
914                    rel2.relative: 1.0 1.0;
915                    rel2.offset: -1 0;
916                }
917                description { state: "visible" 0.0;
918                    inherit: "default" 0.0;
919                    rel1.offset: 0 6;
920                    rel2.offset: -1 6;
921                    align: 0.5 0.0;
922                }
923            }
924            part { name: "pop";
925                mouse_events: 1;
926                repeat_events:1;
927                description { state: "default" 0.0;
928                    rel1.to: "elm.swallow.slot.middle";
929                    rel1.offset: -5 -5;
930                    rel2.to: "elm.swallow.slot.middle";
931                    rel2.offset: 4 4;
932                }
933            }
934            part { name: "elm.swallow.slot.middle";
935                type: SWALLOW;
936                repeat_events:1;
937                description { state: "default" 0.0;
938                    rel1.to: "elm.swallow.size";
939                    rel2.to: "elm.swallow.size";
940                }
941            }
942        }
943        programs {
944            program { name: "end";
945                signal: "mouse,up,1";
946                source: "base";
947                action: SIGNAL_EMIT "elm,action,dismiss" "";
948            }
949            program { name: "show";
950                signal: "elm,action,show";
951                source: "elm";
952                action: STATE_SET "visible" 0.0;
953                        //           transition: DECELERATE 0.5;
954                target: "base";
955            }
956            program { name: "hide";
957                signal: "elm,action,hide";
958                source: "elm";
959                action: STATE_SET "default" 0.0;
960                        //           transition: DECELERATE 0.5;
961                target: "base";
962            }
963            program { name: "bottomshow";
964                signal: "elm,action,slot,bottom,show";
965                source: "elm";
966                action: STATE_SET "visible" 0.0;
967                transition: DECELERATE 0.5;
968                target: "bottom";
969                target: "elm.swallow.slot.bottom";
970            }
971            program { name: "bottomhide";
972                signal: "elm,action,slot,bottom,hide";
973                source: "elm";
974                action: STATE_SET "default" 0.0;
975                transition: DECELERATE 0.5;
976                target: "bottom";
977                target: "elm.swallow.slot.bottom";
978            }
979        }
980    }
981
982    //In the hover used by the submenu only the bottom part is used
983    //and no part should interact except the bottom area
984    group { name: "elm/hover/base/submenu";
985        images {
986            image: "shad_circ.png" COMP;
987            image: "bt_dis_base.png" COMP;
988        }
989        parts {
990            part { name: "elm.swallow.offset";
991                type: SWALLOW;
992                repeat_events:1;
993                description { state: "default" 0.0;
994                    align: 0.0 0.0;
995                    rel1.relative: 0.0 0.0;
996                    rel2.relative: 0.0 0.0;
997                }
998            }
999            part { name: "elm.swallow.size";
1000                type: SWALLOW;
1001                description { state: "default" 0.0;
1002                    align: 0.0 0.0;
1003                    rel1.to: "elm.swallow.offset";
1004                    rel1.relative: 1.0 1.0;
1005                    rel2.to: "elm.swallow.offset";
1006                    rel2.relative: 1.0 1.0;
1007                }
1008            }
1009            //here we do non catch events like the hover hover does
1010            part { name: "base";
1011                type: RECT;
1012                mouse_events: 1;
1013                description { state: "default" 0.0;
1014                    color: 0 0 0 0;
1015                    visible: 0;
1016                }
1017            }
1018            part { name: "elm.swallow.slot.left";
1019                type: SWALLOW;
1020                description { state: "default" 0.0;
1021                }
1022            }
1023            part { name: "elm.swallow.slot.right";
1024                type: SWALLOW;
1025                description { state: "default" 0.0;
1026                }
1027            }
1028            part { name: "elm.swallow.slot.top";
1029                type: SWALLOW;
1030                description { state: "default" 0.0;
1031                }
1032            }
1033            part { name: "bottomclip";
1034                type: RECT;
1035                description { state: "default" 0.0;
1036                    rel1.to_y: "pop";
1037                    rel1.relative: 0.0 1.0;
1038                    rel1.offset: -1 -2;
1039                }
1040            }
1041            part { name: "bottom";
1042                clip_to: "bottomclip";
1043                description { state: "default" 0.0;
1044                    visible: 0;
1045                    rel1.to: "elm.swallow.slot.bottom";
1046                    rel1.offset: -5 -5;
1047                    rel2.to: "elm.swallow.slot.bottom";
1048                    rel2.offset: 4 4;
1049                    image {
1050                        normal: "bt_dis_base.png";
1051                        border: 4 4 4 4;
1052                    }
1053                    image.middle: SOLID;
1054                }
1055                description { state: "visible" 0.0;
1056                    inherit: "default" 0.0;
1057                    visible: 1;
1058                }
1059            }
1060            part { name: "elm.swallow.slot.bottom";
1061                type: SWALLOW;
1062                clip_to: "bottomclip";
1063                description { state: "default" 0.0;
1064                    align: 0.5 1.0;
1065                    rel1.to: "elm.swallow.slot.middle";
1066                    rel1.relative: 0.0 1.0;
1067                    rel1.offset: 0 0;
1068                    rel2.to: "elm.swallow.slot.middle";
1069                    rel2.relative: 1.0 1.0;
1070                    rel2.offset: -1 0;
1071                }
1072                description { state: "visible" 0.0;
1073                    inherit: "default" 0.0;
1074                    rel1.offset: 0 6;
1075                    rel2.offset: -1 6;
1076                    align: 0.5 0.0;
1077                }
1078            }
1079            part { name: "pop";
1080                mouse_events: 1;
1081                repeat_events:1;
1082                description { state: "default" 0.0;
1083                    rel1.to: "elm.swallow.slot.middle";
1084                    rel1.offset: -5 -5;
1085                    rel2.to: "elm.swallow.slot.middle";
1086                    rel2.offset: 4 4;
1087                }
1088            }
1089            part { name: "elm.swallow.slot.middle";
1090                type: SWALLOW;
1091                repeat_events:1;
1092                description { state: "default" 0.0;
1093                    rel1.to: "elm.swallow.size";
1094                    rel2.to: "elm.swallow.size";
1095                }
1096            }
1097        }
1098        programs {
1099            program { name: "end";
1100                signal: "mouse,up,1";
1101                source: "base";
1102                action: SIGNAL_EMIT "elm,action,dismiss" "";
1103            }
1104            program { name: "show";
1105                signal: "elm,action,show";
1106                source: "elm";
1107                action: STATE_SET "visible" 0.0;
1108                        //           transition: DECELERATE 0.5;
1109                target: "base";
1110            }
1111            program { name: "hide";
1112                signal: "elm,action,hide";
1113                source: "elm";
1114                action: STATE_SET "default" 0.0;
1115                        //           transition: DECELERATE 0.5;
1116                target: "base";
1117            }
1118            program { name: "bottomshow";
1119                signal: "elm,action,slot,bottom,show";
1120                source: "elm";
1121                action: STATE_SET "visible" 0.0;
1122                transition: DECELERATE 0.5;
1123                target: "bottom";
1124                target: "elm.swallow.slot.bottom";
1125            }
1126            program { name: "bottomhide";
1127                signal: "elm,action,slot,bottom,hide";
1128                source: "elm";
1129                action: STATE_SET "default" 0.0;
1130                transition: DECELERATE 0.5;
1131                target: "bottom";
1132                target: "elm.swallow.slot.bottom";
1133            }
1134        }
1135    }
1136
1137    group { name: "elm/hover/base/hoversel_vertical/default";
1138       alias: "elm/hover/base/hoversel_vertical/entry";
1139       images {
1140 //       image: "shad_circ.png" COMP;
1141          image: "bt_base2.png" COMP;
1142          image: "bt_hilight.png" COMP;
1143          image: "bt_shine.png" COMP;
1144          image: "outdent-top.png" COMP;
1145          image: "outdent-bottom.png" COMP;
1146       }
1147       parts {
1148          part { name: "elm.swallow.offset";
1149             type: SWALLOW;
1150             description { state: "default" 0.0;
1151                align: 0.0 0.0;
1152                rel1.relative: 0.0 0.0;
1153                rel2.relative: 0.0 0.0;
1154             }
1155          }
1156          part { name: "elm.swallow.size";
1157             type: SWALLOW;
1158             description { state: "default" 0.0;
1159                align: 0.0 0.0;
1160                rel1.to: "elm.swallow.offset";
1161                rel1.relative: 1.0 1.0;
1162                rel2.to: "elm.swallow.offset";
1163                rel2.relative: 1.0 1.0;
1164             }
1165          }
1166 /*
1167         part { name: "shad";
1168             mouse_events:  0;
1169             description { state: "default" 0.0;
1170                image.normal: "shad_circ.png";
1171                rel1.to: "button_image";
1172                rel1.offset: -64 -64;
1173                rel2.to: "button_image";
1174                rel2.offset: 63 63;
1175                fill.smooth: 0;
1176             }
1177          }
1178  */
1179          part { name: "button_image";
1180             mouse_events: 1;
1181             description { state: "default" 0.0;
1182                rel1.to_x: "elm.swallow.slot.top";
1183                rel1.to_y: "elm.swallow.slot.top";
1184                rel1.offset: -2 -6;
1185                rel2.to_x: "elm.swallow.slot.top";
1186                rel2.to_y: "elm.swallow.slot.bottom";
1187                rel2.offset: 1 5;
1188                image {
1189                   normal: "bt_base2.png";
1190                   border: 7 7 7 7;
1191                }
1192                image.middle: SOLID;
1193             }
1194
1195             description { state: "bottom" 0.0;
1196                rel1.to_x: "elm.swallow.slot.bottom";
1197                rel1.to_y: "elm.swallow.slot.top";
1198                rel1.offset: -2 -6;
1199                rel2.to_x: "elm.swallow.slot.bottom";
1200                rel2.to_y: "elm.swallow.slot.bottom";
1201                rel2.offset: 1 5;
1202                image {
1203                   normal: "bt_base2.png";
1204                   border: 7 7 7 7;
1205                }
1206                image.middle: SOLID;
1207             }
1208
1209          }
1210
1211          part { name: "base";
1212             type: RECT;
1213             mouse_events: 1;
1214             description { state: "default" 0.0;
1215                color: 0 0 0 0;
1216             }
1217             description { state: "visible" 0.0;
1218                inherit: "default" 1.0;
1219                color: 0 0 0 0;
1220             }
1221          }
1222
1223          part { name: "topclip";
1224             type: RECT;
1225             description { state: "default" 0.0;
1226                rel2.to_y: "edge_top";
1227                rel2.relative: 1.0 0.0;
1228                rel2.offset: -1 7;
1229             }
1230          }
1231          part { name: "elm.swallow.slot.top";
1232             type: SWALLOW;
1233             clip_to: "topclip";
1234             description { state: "default" 0.0;
1235                visible: 1;
1236                align: 0.5 0.0;
1237                rel1.to: "elm.swallow.slot.middle";
1238                rel1.relative: 0.0 0.0;
1239                rel1.offset: 0 -1;
1240                rel2.to: "elm.swallow.slot.middle";
1241                rel2.relative: 1.0 0.0;
1242                rel2.offset: -1 -1;
1243             }
1244             description { state: "visible" 0.0;
1245                inherit: "default" 0.0;
1246                rel1.offset: 0 -7;
1247                rel2.offset: -1 -7;
1248                align: 0.5 1.0;
1249             }
1250          }
1251
1252          part { name: "bottomclip";
1253             type: RECT;
1254             description { state: "default" 0.0;
1255                rel1.to_y: "edge_bottom";
1256                rel1.relative: 0.0 1.0;
1257                rel1.offset: -1 -8;
1258             }
1259          }
1260          part { name: "elm.swallow.slot.bottom";
1261             type: SWALLOW;
1262             clip_to: "bottomclip";
1263             description { state: "default" 0.0;
1264                align: 0.5 1.0;
1265                rel1.to: "elm.swallow.slot.middle";
1266                rel1.relative: 0.0 1.0;
1267                rel1.offset: 0 0;
1268                rel2.to: "elm.swallow.slot.middle";
1269                rel2.relative: 1.0 1.0;
1270                rel2.offset: -1 0;
1271             }
1272             description { state: "visible" 0.0;
1273                inherit: "default" 0.0;
1274                rel1.offset: 0 6;
1275                rel2.offset: -1 6;
1276                align: 0.5 0.0;
1277             }
1278          }
1279
1280          part {   name: "over1";
1281             mouse_events: 0;
1282             description { state: "default" 0.0;
1283                rel1.to: "button_image";
1284                rel2.to: "button_image";
1285                rel2.relative: 1.0 0.5;
1286                image {
1287                   normal: "bt_hilight.png";
1288                   border: 7 7 7 0;
1289                }
1290             }
1291          }
1292          part { name: "over2";
1293             mouse_events: 1;
1294             repeat_events: 1;
1295             ignore_flags: ON_HOLD;
1296             description { state: "default" 0.0;
1297                rel1.to: "button_image";
1298                rel2.to: "button_image";
1299                image {
1300                   normal: "bt_shine.png";
1301                   border: 7 7 7 7;
1302                }
1303             }
1304          }
1305          part { name: "edge_top";
1306             mouse_events:  0;
1307             description { state: "default" 0.0;
1308                visible: 0;
1309                rel1 {
1310                   to: "elm.swallow.size";
1311                   offset: 0 -10;
1312                }
1313                rel2 {
1314                   to: "elm.swallow.size";
1315                }
1316                image.normal: "outdent-bottom.png";
1317                image.border: 0 0 13 0;
1318                fill.smooth: 0;
1319             }
1320             description { state: "visible" 0.0;
1321                inherit: "default" 0.0;
1322                visible: 0;
1323             }
1324          }
1325          part { name: "edge_bottom";
1326             mouse_events:  0;
1327             description { state: "default" 0.0;
1328                visible: 0;
1329                rel1 {
1330                   to: "elm.swallow.size";
1331                }
1332                rel2 {
1333                   to: "elm.swallow.size";
1334                   offset: -1 9;
1335                }
1336                image.normal: "outdent-top.png";
1337                image.border: 0 0 0 13;
1338                fill.smooth: 0;
1339             }
1340             description { state: "visible" 0.0;
1341                inherit: "default" 0.0;
1342                visible: 0;
1343             }
1344          }
1345          part { name: "elm.swallow.slot.middle";
1346             type: SWALLOW;
1347             description { state: "default" 0.0;
1348                rel1.to: "elm.swallow.size";
1349                rel2.to: "elm.swallow.size";
1350             }
1351          }
1352       }
1353       programs {
1354          program { name: "end";
1355             signal: "mouse,up,1";
1356             source: "base";
1357             action: SIGNAL_EMIT "elm,action,dismiss" "";
1358          }
1359
1360          program { name: "show";
1361             signal: "elm,action,show";
1362             source: "elm";
1363             action: STATE_SET "visible" 0.0;
1364 //          transition: DECELERATE 0.5;
1365             target: "base";
1366          }
1367          program { name: "hide";
1368             signal: "elm,action,hide";
1369             source: "elm";
1370             action: STATE_SET "default" 0.0;
1371 //          transition: DECELERATE 0.5;
1372             target: "base";
1373          }
1374          program { name: "topshow";
1375             signal: "elm,action,slot,top,show";
1376             source: "elm";
1377             action: STATE_SET "visible" 0.0;
1378             target: "edge_top";
1379             after: "topshow2";
1380          }
1381          program { name: "topshow2";
1382             action: STATE_SET "visible" 0.0;
1383             transition: DECELERATE 0.5;
1384             target: "elm.swallow.slot.top";
1385          }
1386          program { name: "topshow3";
1387             signal: "elm,action,slot,top,show";
1388             source: "elm";
1389             action: STATE_SET "default" 0.0;
1390             target: "button_image";
1391          }
1392          program { name: "tophide";
1393             signal: "elm,action,slot,top,hide";
1394             source: "elm";
1395             action: STATE_SET "default" 0.0;
1396             transition: DECELERATE 0.5;
1397             target: "elm.swallow.slot.top";
1398             after: "tophide2";
1399          }
1400          program { name: "tophide2";
1401             action: STATE_SET "default" 0.0;
1402             target: "edge_top";
1403          }
1404          program { name: "bottomshow";
1405             signal: "elm,action,slot,bottom,show";
1406             source: "elm";
1407             action: STATE_SET "visible" 0.0;
1408             target: "edge_bottom";
1409             after: "bottomshow2";
1410          }
1411          program { name: "bottomshow2";
1412             action: STATE_SET "visible" 0.0;
1413             transition: DECELERATE 0.5;
1414             target: "elm.swallow.slot.bottom";
1415          }
1416          program { name: "bottomshow3";
1417             signal: "elm,action,slot,bottom,show";
1418             source: "elm";
1419             action: STATE_SET "bottom" 0.0;
1420             target: "button_image";
1421          }
1422          program { name: "bottomhide";
1423             signal: "elm,action,slot,bottom,hide";
1424             source: "elm";
1425             action: STATE_SET "default" 0.0;
1426             transition: DECELERATE 0.5;
1427             target: "elm.swallow.slot.bottom";
1428             after: "bottomhide2";
1429          }
1430          program { name: "bottomhide2";
1431             action: STATE_SET "default" 0.0;
1432             target: "edge_bottom";
1433          }
1434       }
1435    }
1436
1437
1438         group { name: "elm/hover/base/hoversel_horizontal/entry";
1439                 images {
1440                         image: "10_cont_popup_copypaste_bg01.png" COMP;
1441                 }
1442
1443                 parts {
1444                         part { name: "elm.swallow.offset";
1445                                 type: SWALLOW;
1446                                 scale: 1;
1447                                 description { state: "default" 0.0;
1448                                         align: 0.0 0.0;
1449                                         rel1.relative: 0.0 0.0;
1450                                         rel2.relative: 0.0 0.0;
1451                                 }
1452                         }
1453                         part { name: "elm.swallow.size";
1454                                 type: SWALLOW;
1455                                 scale: 1;
1456                                 description { state: "default" 0.0;
1457                                         align: 0.0 0.0;
1458                                         rel1.to: "elm.swallow.offset";
1459                                         rel1.relative: 1.0 1.0;
1460                                         rel2.to: "elm.swallow.offset";
1461                                         rel2.relative: 1.0 1.0;
1462                                 }
1463                         }
1464                         part { name: "elm.swallow.slot.middle";
1465                                 type: SWALLOW;
1466                                 scale: 1;
1467                                 description { state: "default" 0.0;
1468                                         rel1.to: "elm.swallow.size";
1469                                         rel2.to: "elm.swallow.size";
1470                                 }
1471                         }
1472
1473                         part { name: "base";
1474                                 type: RECT;
1475                                 mouse_events: 1;
1476                                 description { state: "default" 0.0;
1477                                         color: 0 0 0 0;
1478                                         align: 0.0 0.0;
1479                                         rel1.relative: 0.0 0.0;
1480                                         rel2.relative: 1.0 1.0;
1481                                 }
1482                                 description { state: "visible" 0.0;
1483                                         inherit: "default" 1.0;
1484                                         color: 0 0 0 64;
1485                                 }
1486                         }
1487
1488                         part { name: "edge_top";
1489                                 mouse_events:  0;
1490                                 scale: 1;
1491                                 description { state: "default" 0.0;
1492                                         visible: 0;
1493                                 }
1494                                 description { state: "visible" 0.0;
1495                                         inherit: "default" 0.0;
1496                                         visible: 0;
1497                                 }
1498                         }
1499                         part { name: "edge_bottom";
1500                                 mouse_events:  0;
1501                                 scale: 1;
1502                                 description { state: "default" 0.0;
1503                                         visible: 0;
1504                                 }
1505                                 description { state: "visible" 0.0;
1506                                         inherit: "default" 0.0;
1507                                         visible: 0;
1508                                 }
1509                         }
1510
1511
1512                         part { name: "button_image_right";
1513                                 mouse_events: 0;
1514                                 scale: 1;
1515                                 description { state: "default" 0.0;
1516                                         color: 255 255 255 255;
1517                                         image.normal: "10_cont_popup_copypaste_bg01.png";
1518                                         image.border: 4 4 4 4;
1519                                         fill.smooth: 0;
1520                                         align: 0.5 0.5;
1521                                         rel1 {
1522                                                 to: "elm.swallow.slot.right";
1523                                                 relative: 0.0 0.0;
1524                                                 offset: 2 2;
1525                                         }
1526                                         rel2 {
1527                                                 to: "elm.swallow.slot.right";
1528                                                 relative: 1.0 1.0;
1529                                                 offset: -2 -2;
1530                                         }
1531                                 }
1532                         }
1533                         part { name: "button_image_left";
1534                                 mouse_events: 0;
1535                                 scale: 1;
1536                                 description { state: "default" 0.0;
1537                                         color: 255 255 255 255;
1538                                         image.normal: "10_cont_popup_copypaste_bg01.png";
1539                                         image.border: 4 4 4 4;
1540                                         fill.smooth: 0;
1541                                         align: 0.5 0.5;
1542                                         rel1 {
1543                                                 to: "elm.swallow.slot.left";
1544                                                 relative: 0.0 0.0;
1545                                                 offset: 2 2;
1546                                         }
1547                                         rel2 {
1548                                                 to: "elm.swallow.slot.left";
1549                                                 relative: 1.0 1.0;
1550                                                 offset: -2 -2;
1551                                         }
1552                                 }
1553                         }
1554
1555                         part { name: "elm.swallow.slot.top";
1556                                 type: SWALLOW;
1557                                 scale: 1;
1558                                 description { state: "default" 0.0;
1559                                         visible: 1;
1560                                         fixed: 0 1;
1561                                         min: 460 60;
1562                                         max: 460 60;
1563                                         align: 0.5 1.0;
1564                                         rel1.relative: 0.0 0.0;
1565                                         rel1.to: "elm.swallow.slot.middle";
1566                                         rel2.relative: 1.0 0.0;
1567                                         rel2.to: "elm.swallow.slot.middle";
1568                                 }
1569                                 description { state: "visible" 0.0;
1570                                    inherit: "default" 0.0;
1571                                 }
1572                         }
1573                         part { name: "elm.swallow.slot.bottom";
1574                                 type: SWALLOW;
1575                                 scale: 1;
1576                                 description { state: "default" 0.0;
1577                                         visible: 1;
1578                                         fixed: 0 1;
1579                                         min: 460 60;
1580                                         max: 460 60;
1581                                         align: 0.5 0.0;
1582                                         rel1.relative: 0.0 1.0;
1583                                         rel1.to: "elm.swallow.slot.middle";
1584                                         rel2.relative: 1.0 1.0;
1585                                         rel2.to: "elm.swallow.slot.middle";
1586                                 }
1587                                 description { state: "visible" 0.0;
1588                                    inherit: "default" 0.0;
1589                                 }
1590                         }
1591
1592                         part { name: "elm.swallow.slot.right";
1593                                 type: SWALLOW;
1594                                 scale: 1;
1595                                 description { state: "default" 0.0;
1596                                         visible: 1;
1597                                         align: 0.5 0.5;
1598                                         rel1.relative: 0.5 0.0;
1599                                         rel1.to_y: "elm.swallow.slot.middle";
1600                                         rel2.relative: 0.5 1.0;
1601                                         rel2.to_y: "elm.swallow.slot.middle";
1602                                 }
1603                                 description { state: "visible" 0.0;
1604                                    inherit: "default" 0.0;
1605                                 }
1606                         }
1607                         part { name: "elm.swallow.slot.left";
1608                                 type: SWALLOW;
1609                                 scale: 1;
1610                                 description { state: "default" 0.0;
1611                                         visible: 1;
1612                                         align: 0.5 0.5;
1613                                         rel1.relative: 0.5 0.0;
1614                                         rel1.to_y: "elm.swallow.slot.middle";
1615                                         rel2.relative: 0.5 1.0;
1616                                         rel2.to_y: "elm.swallow.slot.middle";
1617                                 }
1618                                 description { state: "visible" 0.0;
1619                                    inherit: "default" 0.0;
1620                                 }
1621                         }
1622                 }
1623
1624                 programs {
1625                         program { name: "end";
1626                                 signal: "mouse,up,1";
1627                                 source: "base";
1628                                 action: SIGNAL_EMIT "elm,action,dismiss" "";
1629                         }
1630                         program { name: "show";
1631                                 signal: "elm,action,show";
1632                                 source: "elm";
1633                                 action: STATE_SET "visible" 0.0;
1634                                 target: "base";
1635                         }
1636                         program { name: "hide";
1637                                 signal: "elm,action,hide";
1638                                 source: "elm";
1639                                 action: STATE_SET "default" 0.0;
1640                                 target: "base";
1641                         }
1642                         program { name: "topshow";
1643                                 signal: "elm,action,slot,top,show";
1644                                 source: "elm";
1645                                 action: STATE_SET "visible" 0.0;
1646                                 target: "edge_top";
1647                                 after: "topshow2";
1648                         }
1649                         program { name: "topshow2";
1650                                 action: STATE_SET "visible" 0.0;
1651                                 transition: DECELERATE 0.5;
1652                                 target: "elm.swallow.slot.top";
1653                         }
1654                         program { name: "tophide";
1655                                 signal: "elm,action,slot,top,hide";
1656                                 source: "elm";
1657                                 action: STATE_SET "default" 0.0;
1658                                 transition: DECELERATE 0.5;
1659                                 target: "elm.swallow.slot.top";
1660                                 after: "tophide2";
1661                         }
1662                         program { name: "tophide2";
1663                                 action: STATE_SET "default" 0.0;
1664                                 target: "edge_top";
1665                         }
1666                         program { name: "bottomshow";
1667                                 signal: "elm,action,slot,bottom,show";
1668                                 source: "elm";
1669                                 action: STATE_SET "visible" 0.0;
1670                                 target: "edge_bottom";
1671                                 after: "bottomshow2";
1672                         }
1673                         program { name: "bottomshow2";
1674                                 action: STATE_SET "visible" 0.0;
1675                                 transition: DECELERATE 0.5;
1676                                 target: "elm.swallow.slot.bottom";
1677                         }
1678                         program { name: "bottomhide";
1679                                 signal: "elm,action,slot,bottom,hide";
1680                                 source: "elm";
1681                                 action: STATE_SET "default" 0.0;
1682                                 transition: DECELERATE 0.5;
1683                                 target: "elm.swallow.slot.bottom";
1684                                 after: "bottomhide2";
1685                         }
1686                         program { name: "bottomhide2";
1687                                 action: STATE_SET "default" 0.0;
1688                                 target: "edge_bottom";
1689                         }
1690                 }
1691         }
1692 ///////////////////////////////////////////////////////////////////////////////
1693    group { name: "elm/notify/block_events/default";
1694        parts {
1695            part { name: "block_events";
1696                                                                 type: RECT;
1697                                                                 mouse_events:  1;
1698                                                                 repeat_events: 0;
1699                                                                 description { state: "default" 0.0;
1700                                                                         color: 0 0 0 180;
1701                                                                 }
1702            }
1703        }
1704            programs {
1705                    program {
1706                                 name: "block_clicked";
1707                                 signal: "mouse,clicked,1";
1708                                 source: "block_events";
1709                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
1710                    }
1711            }
1712    }
1713    group { name: "elm/notify/top/default";
1714        //this group is a design similar to the inwin group
1715        images {
1716       //     image: "shad_circ.png" COMP;
1717       //     image: "bt_dis_base.png" COMP;
1718       //     image: "bt_dis_hilight.png" COMP;
1719        }
1720        parts {
1721            part { name: "base";
1722                type: RECT;
1723                mouse_events: 0;
1724                repeat_events: 1;
1725                description { state: "default" 0.0;
1726                    color: 0 0 0 0;
1727                    rel1.offset: 10 10;
1728                    rel2.offset: -10 -10;
1729                    rel1.relative: 0.0 -1.0;
1730                    rel2.relative: 1.0 0.0;
1731                }
1732                description { state: "visible" 0.0;
1733                    inherit: "default" 0.0;
1734                    color: 0 0 0 64;
1735                    rel1.relative: 0.0 0.0;
1736                    rel2.relative: 1.0 1.0;
1737                }
1738            }
1739            part { name: "shad";
1740                mouse_events:  0;
1741                description { state: "default" 0.0;
1742         //           image.normal: "shad_circ.png";
1743                    rel1.to: "elm.swallow.content";
1744                    rel1.offset: -64 -64;
1745                    rel2.to: "elm.swallow.content";
1746                    rel2.offset: 63 63;
1747                    fill.smooth: 0;
1748                }
1749            }
1750            part { name: "pop";
1751                mouse_events: 1;
1752                description { state: "default" 0.0;
1753                    rel1.to: "elm.swallow.content";
1754                    rel1.offset: -5 -5;
1755                    rel2.to: "elm.swallow.content";
1756                    rel2.offset: 4 4;
1757                    image {
1758              //          normal: "bt_dis_base.png";
1759             //           border: 4 4 4 4;
1760                    }
1761                //    image.middle: SOLID;
1762                }
1763            }
1764            part { name: "popover";
1765                mouse_events: 0;
1766                description { state: "default" 0.0;
1767                    rel1.to: "pop";
1768                    rel2.to: "pop";
1769                    rel2.relative: 1.0 0.5;
1770                    image {
1771            //            normal: "bt_dis_hilight.png";
1772              //          border: 4 4 4 0;
1773                    }
1774                }
1775            }
1776            part { name: "elm.swallow.content";
1777                type: SWALLOW;
1778                description { state: "default" 0.0;
1779                    rel1.to: "base";
1780                    rel2.to: "base";
1781                }
1782            }
1783        }
1784        programs {
1785            program { name: "show";
1786                signal: "elm,action,show";
1787                source: "elm";
1788                action: STATE_SET "visible" 0.0;
1789                target: "base";
1790            }
1791            program { name: "show_2";
1792                 signal: "show";
1793                 action: STATE_SET "default" 0.0;
1794                 target: "base";
1795                 after: "show_3";
1796            }
1797            program { name: "show_3";
1798                 signal: "show";
1799                 action: STATE_SET "visible" 0.0;
1800                 target: "base";
1801                 transition: LINEAR 0.5;
1802            }
1803            program { name: "hide";
1804                signal: "elm,action,hide";
1805                source: "elm";
1806                action: STATE_SET "default" 0.0;
1807                target: "base";
1808            }
1809        }
1810    }
1811    group { name: "elm/notify/center/default";
1812        //this group is a design similar to the inwin group
1813        images {
1814           //            image: "00_popup_bg.png" COMP;
1815        }
1816        parts {
1817            part { name: "base";
1818                type: RECT;
1819                scale : 1;
1820                mouse_events: 0;
1821                repeat_events: 1;
1822                description { state: "default" 0.0;
1823                    color: 0 0 0 0;
1824                    rel1.relative: 0.0 0.0;
1825                    rel2.relative: 1.0 1.0;
1826                }
1827            }
1828           part { name: "persp";          
1829             type: RECT;
1830             description { state: "default" 0.0;
1831                min: 32 32;
1832                max: 32 32;
1833                align: 0.5 0.5;  
1834                color: 0 0 0 0;
1835                visible: 1;
1836                perspective {
1837                   zplane: -200;
1838                   focal: 1000;
1839                }
1840             }
1841          }
1842          part { name: "persp1";          
1843             type: RECT;
1844             description { state: "default" 0.0;
1845                min: 32 32;
1846                max: 32 32;
1847                align: 0.5 0.5;
1848                visible: 1;
1849                color: 0 0 0 0;
1850                perspective {
1851                   zplane: 0;
1852                   focal: 1000;
1853                }
1854             }
1855          }
1856            part { name: "pop";
1857                scale : 1;
1858                mouse_events: 1;
1859                description { state: "default" 0.0;
1860                    rel1.to: "elm.swallow.content";
1861                    rel2.to: "elm.swallow.content";
1862                    image {
1863                                 //                      normal: "00_popup_bg.png";
1864                                 //                      border: 16 16 15 29;
1865                                                         middle: DEFAULT;
1866                                                         border_scale: 0;
1867                    }
1868                }
1869            }
1870            part { name: "elm.swallow.content";
1871                type: SWALLOW;
1872                scale : 1;
1873                description { state: "default" 0.0;
1874                    rel1.to: "base";
1875                    rel2.to: "base";
1876                         map {
1877                           on: 1;
1878                           backface_cull: 1;
1879                           perspective: "persp";
1880                        }
1881                }
1882                description { state: "visible" 0.0;
1883                    rel1.to: "base";
1884                    rel2.to: "base";
1885                         map {
1886                           on: 1;
1887                           backface_cull: 1;
1888                           perspective: "persp1";
1889                        }
1890                }
1891                description { state: "end" 0.0;
1892                    rel1.to: "base";
1893                    rel2.to: "base";
1894                         map {
1895                           on: 0;
1896                        }
1897                }
1898            }
1899        }
1900        programs {
1901            program { name: "show";
1902                signal: "elm,action,show";
1903                source: "elm";
1904                action: STATE_SET "default" 0.0;
1905                target: "elm.swallow.content";
1906            }
1907            program { name: "show_2";
1908                 signal: "show";
1909                 action: STATE_SET "visible" 0.0;
1910                 target: "elm.swallow.content";
1911                 transition: LINEAR 0.2;
1912                 after: "end";
1913            }
1914            program { name: "end";
1915                  action: STATE_SET "end" 0.0;
1916                  target: "elm.swallow.content";
1917            }
1918            program { name: "hide";
1919                signal: "elm,action,hide";
1920                source: "elm";
1921                action: STATE_SET "default" 0.0;
1922                target: "elm.swallow.content";
1923            }
1924        }
1925    }
1926
1927    group { name: "elm/notify/bottom/default";
1928        //this group is a design similar to the inwin group
1929        /*images {
1930            image: "shad_circ.png" COMP;
1931            image: "bt_dis_base.png" COMP;
1932            image: "bt_dis_hilight.png" COMP;
1933        }*/
1934        parts {
1935            part { name: "base";
1936                type: RECT;
1937                mouse_events: 0;
1938                repeat_events: 1;
1939                description { state: "default" 0.0;
1940                    color: 0 0 0 0;
1941                    //rel1.offset: 10 10;
1942                    //rel2.offset: -10 -10;
1943                    rel1.relative: 0.0 1.0;
1944                    rel2.relative: 1.0 2.0;
1945                }
1946                description { state: "visible" 0.0;
1947                    inherit: "default" 0.0;
1948                    color: 0 0 0 64;
1949                    rel1.relative: 0.0 0.0;
1950                    rel2.relative: 1.0 1.0;
1951                }
1952            }
1953            /*part { name: "shad";
1954                mouse_events:  0;
1955                description { state: "default" 0.0;
1956                    image.normal: "shad_circ.png";
1957                    rel1.to: "elm.swallow.content";
1958                    rel1.offset: -64 -64;
1959                    rel2.to: "elm.swallow.content";
1960                    rel2.offset: 63 63;
1961                    fill.smooth: 0;
1962                }
1963            }
1964            part { name: "pop";
1965                mouse_events: 1;
1966                description { state: "default" 0.0;
1967                    rel1.to: "elm.swallow.content";
1968                    rel1.offset: -5 -5;
1969                    rel2.to: "elm.swallow.content";
1970                    rel2.offset: 4 4;
1971                    image {
1972                        normal: "bt_dis_base.png";
1973                        border: 4 4 4 4;
1974                    }
1975                    image.middle: SOLID;
1976                }
1977            }
1978            part { name: "popover";
1979                mouse_events: 0;
1980                description { state: "default" 0.0;
1981                    rel1.to: "pop";
1982                    rel2.to: "pop";
1983                    rel2.relative: 1.0 0.5;
1984                    image {
1985                        normal: "bt_dis_hilight.png";
1986                        border: 4 4 4 0;
1987                    }
1988                }
1989            }*/
1990            part { name: "elm.swallow.content";
1991                type: SWALLOW;
1992                description { state: "default" 0.0;
1993                    rel1.to: "base";
1994                    rel2.to: "base";
1995                }
1996            }
1997        }
1998        programs {
1999            program { name: "show";
2000                signal: "elm,action,show";
2001                source: "elm";
2002                action: STATE_SET "visible" 0.0;
2003                target: "base";
2004            }
2005            program { name: "show_2";
2006                 signal: "show";
2007                 action: STATE_SET "default" 0.0;
2008                 target: "base";
2009                 after: "show_3";
2010            }
2011            program { name: "show_3";
2012                 signal: "show";
2013                 action: STATE_SET "visible" 0.0;
2014                 target: "base";
2015                 transition: LINEAR 0.5;
2016            }
2017            program { name: "hide";
2018                signal: "elm,action,hide";
2019                source: "elm";
2020                action: STATE_SET "default" 0.0;
2021                target: "base";
2022            }
2023        }
2024    }
2025    group { name: "elm/notify/left/default";
2026        //this group is a design similar to the inwin group
2027        images {
2028            image: "shad_circ.png" COMP;
2029            image: "bt_dis_base.png" COMP;
2030            image: "bt_dis_hilight.png" COMP;
2031        }
2032        parts {
2033            part { name: "base";
2034                type: RECT;
2035                mouse_events: 0;
2036                repeat_events: 1;
2037                description { state: "default" 0.0;
2038                    color: 0 0 0 0;
2039                    rel1.offset: 10 10;
2040                    rel2.offset: -10 -10;
2041                    rel1.relative: -1.0 0.0;
2042                    rel2.relative: 0.0 1.0;
2043                }
2044                description { state: "visible" 0.0;
2045                    inherit: "default" 0.0;
2046                    color: 0 0 0 64;
2047                    rel1.relative: 0.0 0.0;
2048                    rel2.relative: 1.0 1.0;
2049                }
2050            }
2051            part { name: "shad";
2052                mouse_events:  0;
2053                description { state: "default" 0.0;
2054                    image.normal: "shad_circ.png";
2055                    rel1.to: "elm.swallow.content";
2056                    rel1.offset: -64 -64;
2057                    rel2.to: "elm.swallow.content";
2058                    rel2.offset: 63 63;
2059                    fill.smooth: 0;
2060                }
2061            }
2062            part { name: "pop";
2063                mouse_events: 1;
2064                description { state: "default" 0.0;
2065                    rel1.to: "elm.swallow.content";
2066                    rel1.offset: -5 -5;
2067                    rel2.to: "elm.swallow.content";
2068                    rel2.offset: 4 4;
2069                    image {
2070                        normal: "bt_dis_base.png";
2071                        border: 4 4 4 4;
2072                    }
2073                    image.middle: SOLID;
2074                }
2075            }
2076            part { name: "popover";
2077                mouse_events: 0;
2078                description { state: "default" 0.0;
2079                    rel1.to: "pop";
2080                    rel2.to: "pop";
2081                    rel2.relative: 1.0 0.5;
2082                    image {
2083                        normal: "bt_dis_hilight.png";
2084                        border: 4 4 4 0;
2085                    }
2086                }
2087            }
2088            part { name: "elm.swallow.content";
2089                type: SWALLOW;
2090                description { state: "default" 0.0;
2091                    rel1.to: "base";
2092                    rel2.to: "base";
2093                }
2094            }
2095        }
2096        programs {
2097            program { name: "show";
2098                signal: "elm,action,show";
2099                source: "elm";
2100                action: STATE_SET "visible" 0.0;
2101                target: "base";
2102            }
2103            program { name: "show_2";
2104                signal: "show";
2105                action: STATE_SET "default" 0.0;
2106                target: "base";
2107                after: "show_3";
2108            }
2109            program { name: "show_3";
2110                signal: "show";
2111                action: STATE_SET "visible" 0.0;
2112                target: "base";
2113                transition: LINEAR 0.5;
2114            }
2115            program { name: "hide";
2116                signal: "elm,action,hide";
2117                source: "elm";
2118                action: STATE_SET "default" 0.0;
2119                target: "base";
2120            }
2121        }
2122    }
2123    group { name: "elm/notify/right/default";
2124        //this group is a design similar to the inwin group
2125        images {
2126            image: "shad_circ.png" COMP;
2127            image: "bt_dis_base.png" COMP;
2128            image: "bt_dis_hilight.png" COMP;
2129        }
2130        parts {
2131            part { name: "base";
2132                type: RECT;
2133                mouse_events: 0;
2134                repeat_events: 1;
2135                 description { state: "default" 0.0;
2136                    color: 0 0 0 0;
2137                    rel1.offset: 10 10;
2138                    rel2.offset: -10 -10;
2139                    rel1.relative: 1.0 0.0;
2140                    rel2.relative: 2.0 1.0;
2141                }
2142                description { state: "visible" 0.0;
2143                    inherit: "default" 0.0;
2144                    color: 0 0 0 64;
2145                    rel1.relative: 0.0 0.0;
2146                    rel2.relative: 1.0 1.0;
2147                }
2148            }
2149            part { name: "shad";
2150                mouse_events:  0;
2151                description { state: "default" 0.0;
2152                    image.normal: "shad_circ.png";
2153                    rel1.to: "elm.swallow.content";
2154                    rel1.offset: -64 -64;
2155                    rel2.to: "elm.swallow.content";
2156                    rel2.offset: 63 63;
2157                    fill.smooth: 0;
2158                }
2159            }
2160            part { name: "pop";
2161                mouse_events: 1;
2162                description { state: "default" 0.0;
2163                    rel1.to: "elm.swallow.content";
2164                    rel1.offset: -5 -5;
2165                    rel2.to: "elm.swallow.content";
2166                    rel2.offset: 4 4;
2167                    image {
2168                        normal: "bt_dis_base.png";
2169                        border: 4 4 4 4;
2170                    }
2171                    image.middle: SOLID;
2172                }
2173            }
2174            part { name: "popover";
2175                mouse_events: 0;
2176                description { state: "default" 0.0;
2177                    rel1.to: "pop";
2178                    rel2.to: "pop";
2179                    rel2.relative: 1.0 0.5;
2180                    image {
2181                        normal: "bt_dis_hilight.png";
2182                        border: 4 4 4 0;
2183                    }
2184                }
2185            }
2186            part { name: "elm.swallow.content";
2187                type: SWALLOW;
2188                description { state: "default" 0.0;
2189                    rel1.to: "base";
2190                    rel2.to: "base";
2191                }
2192            }
2193        }
2194        programs {
2195            program { name: "show";
2196                signal: "elm,action,show";
2197                source: "elm";
2198                action: STATE_SET "visible" 0.0;
2199                target: "base";
2200            }
2201            program { name: "show_2";
2202                signal: "show";
2203                action: STATE_SET "default" 0.0;
2204                target: "base";
2205                after: "show_3";
2206            }
2207            program { name: "show_3";
2208                signal: "show";
2209                action: STATE_SET "visible" 0.0;
2210                target: "base";
2211                transition: LINEAR 0.5;
2212            }
2213            program { name: "hide";
2214                signal: "elm,action,hide";
2215                source: "elm";
2216                action: STATE_SET "default" 0.0;
2217                target: "base";
2218            }
2219        }
2220    }
2221    group { name: "elm/notify/top_left/default";
2222        //this group is a design similar to the inwin group
2223        images {
2224            image: "shad_circ.png" COMP;
2225            image: "bt_dis_base.png" COMP;
2226            image: "bt_dis_hilight.png" COMP;
2227        }
2228        parts {
2229            part { name: "base";
2230                type: RECT;
2231                mouse_events: 0;
2232                repeat_events: 1;
2233                 description { state: "default" 0.0;
2234                    color: 0 0 0 0;
2235                    rel1.offset: 10 10;
2236                    rel2.offset: -10 -10;
2237                    rel1.relative: 0.0 -1.0;
2238                    rel2.relative: 1.0 0.0;
2239                }
2240                description { state: "visible" 0.0;
2241                    inherit: "default" 0.0;
2242                    color: 0 0 0 64;
2243                    rel1.relative: 0.0 0.0;
2244                    rel2.relative: 1.0 1.0;
2245                }
2246            }
2247            part { name: "shad";
2248                mouse_events:  0;
2249                description { state: "default" 0.0;
2250                    image.normal: "shad_circ.png";
2251                    rel1.to: "elm.swallow.content";
2252                    rel1.offset: -64 -64;
2253                    rel2.to: "elm.swallow.content";
2254                    rel2.offset: 63 63;
2255                    fill.smooth: 0;
2256                }
2257            }
2258            part { name: "pop";
2259                mouse_events: 1;
2260                description { state: "default" 0.0;
2261                    rel1.to: "elm.swallow.content";
2262                    rel1.offset: -5 -5;
2263                    rel2.to: "elm.swallow.content";
2264                    rel2.offset: 4 4;
2265                    image {
2266                        normal: "bt_dis_base.png";
2267                        border: 4 4 4 4;
2268                    }
2269                    image.middle: SOLID;
2270                }
2271            }
2272            part { name: "popover";
2273                mouse_events: 0;
2274                description { state: "default" 0.0;
2275                    rel1.to: "pop";
2276                    rel2.to: "pop";
2277                    rel2.relative: 1.0 0.5;
2278                    image {
2279                        normal: "bt_dis_hilight.png";
2280                        border: 4 4 4 0;
2281                    }
2282                }
2283            }
2284            part { name: "elm.swallow.content";
2285                type: SWALLOW;
2286                description { state: "default" 0.0;
2287                    rel1.to: "base";
2288                    rel2.to: "base";
2289                }
2290            }
2291        }
2292        programs {
2293            program { name: "show";
2294                signal: "elm,action,show";
2295                source: "elm";
2296                action: STATE_SET "visible" 0.0;
2297                target: "base";
2298            }
2299            program { name: "show_2";
2300                signal: "show";
2301                action: STATE_SET "default" 0.0;
2302                target: "base";
2303                after: "show_3";
2304            }
2305            program { name: "show_3";
2306                signal: "show";
2307                action: STATE_SET "visible" 0.0;
2308                target: "base";
2309                transition: LINEAR 0.5;
2310            }
2311            program { name: "hide";
2312                signal: "elm,action,hide";
2313                source: "elm";
2314                action: STATE_SET "default" 0.0;
2315                target: "base";
2316            }
2317        }
2318    }
2319    group { name: "elm/notify/top_right/default";
2320        //this group is a design similar to the inwin group
2321        images {
2322            image: "shad_circ.png" COMP;
2323            image: "bt_dis_base.png" COMP;
2324            image: "bt_dis_hilight.png" COMP;
2325        }
2326        parts {
2327            part { name: "base";
2328                type: RECT;
2329                mouse_events: 0;
2330                repeat_events: 1;
2331                description { state: "default" 0.0;
2332                    color: 0 0 0 0;
2333                    rel1.offset: 10 10;
2334                    rel2.offset: -10 -10;
2335                    rel1.relative: 0.0 -1.0;
2336                    rel2.relative: 1.0 0.0;
2337                }
2338                description { state: "visible" 0.0;
2339                    inherit: "default" 0.0;
2340                    color: 0 0 0 64;
2341                    rel1.relative: 0.0 0.0;
2342                    rel2.relative: 1.0 1.0;
2343                }
2344            }
2345            part { name: "shad";
2346                mouse_events:  0;
2347                description { state: "default" 0.0;
2348                    image.normal: "shad_circ.png";
2349                    rel1.to: "elm.swallow.content";
2350                    rel1.offset: -64 -64;
2351                    rel2.to: "elm.swallow.content";
2352                    rel2.offset: 63 63;
2353                    fill.smooth: 0;
2354                }
2355            }
2356            part { name: "pop";
2357                mouse_events: 1;
2358                description { state: "default" 0.0;
2359                    rel1.to: "elm.swallow.content";
2360                    rel1.offset: -5 -5;
2361                    rel2.to: "elm.swallow.content";
2362                    rel2.offset: 4 4;
2363                    image {
2364                        normal: "bt_dis_base.png";
2365                        border: 4 4 4 4;
2366                    }
2367                    image.middle: SOLID;
2368                }
2369            }
2370            part { name: "popover";
2371                mouse_events: 0;
2372                description { state: "default" 0.0;
2373                    rel1.to: "pop";
2374                    rel2.to: "pop";
2375                    rel2.relative: 1.0 0.5;
2376                    image {
2377                        normal: "bt_dis_hilight.png";
2378                        border: 4 4 4 0;
2379                    }
2380                }
2381            }
2382            part { name: "elm.swallow.content";
2383                type: SWALLOW;
2384                description { state: "default" 0.0;
2385                    rel1.to: "base";
2386                    rel2.to: "base";
2387                }
2388            }
2389        }
2390        programs {
2391            program { name: "show";
2392                signal: "elm,action,show";
2393                source: "elm";
2394                action: STATE_SET "visible" 0.0;
2395                target: "base";
2396            }
2397            program { name: "show_2";
2398                signal: "show";
2399                action: STATE_SET "default" 0.0;
2400                target: "base";
2401                after: "show_3";
2402            }
2403            program { name: "show_3";
2404                signal: "show";
2405                action: STATE_SET "visible" 0.0;
2406                target: "base";
2407                transition: LINEAR 0.5;
2408            }
2409            program { name: "hide";
2410                signal: "elm,action,hide";
2411                source: "elm";
2412                action: STATE_SET "default" 0.0;
2413                target: "base";
2414            }
2415        }
2416    }
2417    group { name: "elm/notify/bottom_left/default";
2418        //this group is a design similar to the inwin group
2419        images {
2420            image: "shad_circ.png" COMP;
2421            image: "bt_dis_base.png" COMP;
2422            image: "bt_dis_hilight.png" COMP;
2423        }
2424        parts {
2425            part { name: "base";
2426                type: RECT;
2427                mouse_events: 0;
2428                repeat_events: 1;
2429                description { state: "default" 0.0;
2430                    color: 0 0 0 0;
2431                    rel1.offset: 10 10;
2432                    rel2.offset: -10 -10;
2433                    rel1.relative: 0.0 1.0;
2434                    rel2.relative: 1.0 2.0;
2435                }
2436                description { state: "visible" 0.0;
2437                    inherit: "default" 0.0;
2438                    color: 0 0 0 64;
2439                    rel1.relative: 0.0 0.0;
2440                    rel2.relative: 1.0 1.0;
2441                }
2442            }
2443            part { name: "shad";
2444                mouse_events:  0;
2445                description { state: "default" 0.0;
2446                    image.normal: "shad_circ.png";
2447                    rel1.to: "elm.swallow.content";
2448                    rel1.offset: -64 -64;
2449                    rel2.to: "elm.swallow.content";
2450                    rel2.offset: 63 63;
2451                    fill.smooth: 0;
2452                }
2453            }
2454            part { name: "pop";
2455                mouse_events: 1;
2456                description { state: "default" 0.0;
2457                    rel1.to: "elm.swallow.content";
2458                    rel1.offset: -5 -5;
2459                    rel2.to: "elm.swallow.content";
2460                    rel2.offset: 4 4;
2461                    image {
2462                        normal: "bt_dis_base.png";
2463                        border: 4 4 4 4;
2464                    }
2465                    image.middle: SOLID;
2466                }
2467            }
2468            part { name: "popover";
2469                mouse_events: 0;
2470                description { state: "default" 0.0;
2471                    rel1.to: "pop";
2472                    rel2.to: "pop";
2473                    rel2.relative: 1.0 0.5;
2474                    image {
2475                        normal: "bt_dis_hilight.png";
2476                        border: 4 4 4 0;
2477                    }
2478                }
2479            }
2480            part { name: "elm.swallow.content";
2481                type: SWALLOW;
2482                description { state: "default" 0.0;
2483                    rel1.to: "base";
2484                    rel2.to: "base";
2485                }
2486            }
2487        }
2488        programs {
2489            program { name: "show";
2490                signal: "elm,action,show";
2491                source: "elm";
2492                action: STATE_SET "visible" 0.0;
2493                target: "base";
2494            }
2495            program { name: "show_2";
2496                signal: "show";
2497                action: STATE_SET "default" 0.0;
2498                target: "base";
2499                after: "show_3";
2500            }
2501            program { name: "show_3";
2502                signal: "show";
2503                action: STATE_SET "visible" 0.0;
2504                target: "base";
2505                transition: LINEAR 0.5;
2506            }
2507            program { name: "hide";
2508                signal: "elm,action,hide";
2509                source: "elm";
2510                action: STATE_SET "default" 0.0;
2511                target: "base";
2512            }
2513        }
2514    }
2515    group { name: "elm/notify/bottom_right/default";
2516        //this group is a design similar to the inwin group
2517        images {
2518            image: "shad_circ.png" COMP;
2519            image: "bt_dis_base.png" COMP;
2520            image: "bt_dis_hilight.png" COMP;
2521        }
2522        parts {
2523            part { name: "base";
2524                type: RECT;
2525                mouse_events: 0;
2526                repeat_events: 1;
2527               description { state: "default" 0.0;
2528                    color: 0 0 0 0;
2529                    rel1.offset: 10 10;
2530                    rel2.offset: -10 -10;
2531                    rel1.relative: 0.0 1.0;
2532                    rel2.relative: 1.0 2.0;
2533                }
2534                description { state: "visible" 0.0;
2535                    inherit: "default" 0.0;
2536                    color: 0 0 0 64;
2537                    rel1.relative: 0.0 0.0;
2538                    rel2.relative: 1.0 1.0;
2539                }
2540            }
2541            part { name: "shad";
2542                mouse_events:  0;
2543                description { state: "default" 0.0;
2544                    image.normal: "shad_circ.png";
2545                    rel1.to: "elm.swallow.content";
2546                    rel1.offset: -64 -64;
2547                    rel2.to: "elm.swallow.content";
2548                    rel2.offset: 63 63;
2549                    fill.smooth: 0;
2550                }
2551            }
2552            part { name: "pop";
2553                mouse_events: 1;
2554                description { state: "default" 0.0;
2555                    rel1.to: "elm.swallow.content";
2556                    rel1.offset: -5 -5;
2557                    rel2.to: "elm.swallow.content";
2558                    rel2.offset: 4 4;
2559                    image {
2560                        normal: "bt_dis_base.png";
2561                        border: 4 4 4 4;
2562                    }
2563                    image.middle: SOLID;
2564                }
2565            }
2566            part { name: "popover";
2567                mouse_events: 0;
2568                description { state: "default" 0.0;
2569                    rel1.to: "pop";
2570                    rel2.to: "pop";
2571                    rel2.relative: 1.0 0.5;
2572                    image {
2573                        normal: "bt_dis_hilight.png";
2574                        border: 4 4 4 0;
2575                    }
2576                }
2577            }
2578            part { name: "elm.swallow.content";
2579                type: SWALLOW;
2580                description { state: "default" 0.0;
2581                    rel1.to: "base";
2582                    rel2.to: "base";
2583                }
2584            }
2585        }
2586        programs {
2587            program { name: "show";
2588                signal: "elm,action,show";
2589                source: "elm";
2590                action: STATE_SET "visible" 0.0;
2591                target: "base";
2592            }
2593            program { name: "show_2";
2594                signal: "show";
2595                action: STATE_SET "default" 0.0;
2596                target: "base";
2597                after: "show_3";
2598            }
2599            program { name: "show_3";
2600                signal: "show";
2601                action: STATE_SET "visible" 0.0;
2602                target: "base";
2603                transition: LINEAR 0.5;
2604            }
2605            program { name: "hide";
2606                signal: "elm,action,hide";
2607                source: "elm";
2608                action: STATE_SET "default" 0.0;
2609                target: "base";
2610            }
2611        }
2612    }
2613
2614 ///////////////////////////////////////////////////////////////////////////////
2615    group { name: "elm/win/inwin/default";
2616       images {
2617          image: "shad_circ.png" COMP;
2618          image: "bt_dis_base.png" COMP;
2619          image: "bt_dis_hilight.png" COMP;
2620       }
2621       parts {
2622          part { name: "base";
2623             type: RECT;
2624             mouse_events: 1;
2625             description { state: "default" 0.0;
2626                color: 0 0 0 0;
2627             }
2628             description { state: "visible" 0.0;
2629                inherit: "default" 1.0;
2630                color: 0 0 0 64;
2631             }
2632          }
2633          part { name: "shad";
2634             mouse_events:  0;
2635             description { state: "default" 0.0;
2636                image.normal: "shad_circ.png";
2637                rel1.to: "elm.swallow.content";
2638                rel1.offset: -64 -64;
2639                rel2.to: "elm.swallow.content";
2640                rel2.offset: 63 63;
2641                fill.smooth: 0;
2642             }
2643          }
2644          part { name: "pop";
2645             mouse_events: 1;
2646             description { state: "default" 0.0;
2647                rel1.to: "elm.swallow.content";
2648                rel1.offset: -5 -5;
2649                rel2.to: "elm.swallow.content";
2650                rel2.offset: 4 4;
2651                image {
2652                   normal: "bt_dis_base.png";
2653                   border: 4 4 4 4;
2654                }
2655                image.middle: SOLID;
2656             }
2657          }
2658          part { name: "popover";
2659             mouse_events: 0;
2660             description { state: "default" 0.0;
2661                rel1.to: "pop";
2662                rel2.to: "pop";
2663                rel2.relative: 1.0 0.5;
2664                image {
2665                   normal: "bt_dis_hilight.png";
2666                   border: 4 4 4 0;
2667                }
2668             }
2669          }
2670          part { name: "elm.swallow.content";
2671             type: SWALLOW;
2672             description { state: "default" 0.0;
2673                rel1.relative: 0.1 0.1;
2674                rel2.relative: 0.9 0.9;
2675             }
2676          }
2677       }
2678       programs {
2679          program { name: "show";
2680             signal: "elm,action,show";
2681             source: "elm";
2682             action: STATE_SET "visible" 0.0;
2683 //          transition: DECELERATE 0.5;
2684             target: "base";
2685          }
2686          program { name: "hide";
2687             signal: "elm,action,hide";
2688             source: "elm";
2689             action: STATE_SET "default" 0.0;
2690 //          transition: DECELERATE 0.5;
2691             target: "base";
2692          }
2693       }
2694    }
2695
2696    group { name: "elm/win/inwin/minimal";
2697       images {
2698          image: "shad_circ.png" COMP;
2699          image: "bt_dis_base.png" COMP;
2700          image: "bt_dis_hilight.png" COMP;
2701       }
2702       parts {
2703          part { name: "base";
2704             type: RECT;
2705             mouse_events: 1;
2706             description { state: "default" 0.0;
2707                color: 0 0 0 0;
2708             }
2709             description { state: "visible" 0.0;
2710                inherit: "default" 1.0;
2711                color: 0 0 0 64;
2712             }
2713          }
2714          part { name: "shad";
2715             mouse_events:  0;
2716             description { state: "default" 0.0;
2717                image.normal: "shad_circ.png";
2718                rel1.to: "elm.swallow.content";
2719                rel1.offset: -64 -64;
2720                rel2.to: "elm.swallow.content";
2721                rel2.offset: 63 63;
2722                fill.smooth: 0;
2723             }
2724          }
2725          part { name: "pop";
2726             mouse_events: 1;
2727             description { state: "default" 0.0;
2728                rel1.to: "elm.swallow.content";
2729                rel1.offset: -5 -5;
2730                rel2.to: "elm.swallow.content";
2731                rel2.offset: 4 4;
2732                image {
2733                   normal: "bt_dis_base.png";
2734                   border: 4 4 4 4;
2735                }
2736                image.middle: SOLID;
2737             }
2738          }
2739          part { name: "popover";
2740             mouse_events: 0;
2741             description { state: "default" 0.0;
2742                rel1.to: "pop";
2743                rel2.to: "pop";
2744                rel2.relative: 1.0 0.5;
2745                image {
2746                   normal: "bt_dis_hilight.png";
2747                   border: 4 4 4 0;
2748                }
2749             }
2750          }
2751          part { name: "elm.swallow.content";
2752             type: SWALLOW;
2753             description { state: "default" 0.0;
2754                fixed: 1 1;
2755                rel1.relative: 0.5 0.5;
2756                rel2.relative: 0.5 0.5;
2757             }
2758          }
2759       }
2760       programs {
2761          program { name: "show";
2762             signal: "elm,action,show";
2763             source: "elm";
2764             action: STATE_SET "visible" 0.0;
2765 //          transition: DECELERATE 0.5;
2766             target: "base";
2767          }
2768          program { name: "hide";
2769             signal: "elm,action,hide";
2770             source: "elm";
2771             action: STATE_SET "default" 0.0;
2772 //          transition: DECELERATE 0.5;
2773             target: "base";
2774          }
2775       }
2776    }
2777
2778    group { name: "elm/win/inwin/minimal_vertical";
2779       images {
2780          image: "shad_circ.png" COMP;
2781          image: "bt_dis_base.png" COMP;
2782          image: "bt_dis_hilight.png" COMP;
2783       }
2784       parts {
2785          part { name: "base";
2786             type: RECT;
2787             mouse_events: 1;
2788             description { state: "default" 0.0;
2789                color: 0 0 0 0;
2790             }
2791             description { state: "visible" 0.0;
2792                inherit: "default" 1.0;
2793                color: 0 0 0 64;
2794             }
2795          }
2796          part { name: "shad";
2797             mouse_events:  0;
2798             description { state: "default" 0.0;
2799                image.normal: "shad_circ.png";
2800                rel1.to: "elm.swallow.content";
2801                rel1.offset: -64 -64;
2802                rel2.to: "elm.swallow.content";
2803                rel2.offset: 63 63;
2804                fill.smooth: 0;
2805             }
2806          }
2807          part { name: "pop";
2808             mouse_events: 1;
2809             description { state: "default" 0.0;
2810                rel1.to: "elm.swallow.content";
2811                rel1.offset: -5 -5;
2812                rel2.to: "elm.swallow.content";
2813                rel2.offset: 4 4;
2814                image {
2815                   normal: "bt_dis_base.png";
2816                   border: 4 4 4 4;
2817                }
2818                image.middle: SOLID;
2819             }
2820          }
2821          part { name: "popover";
2822             mouse_events: 0;
2823             description { state: "default" 0.0;
2824                rel1.to: "pop";
2825                rel2.to: "pop";
2826                rel2.relative: 1.0 0.5;
2827                image {
2828                   normal: "bt_dis_hilight.png";
2829                   border: 4 4 4 0;
2830                }
2831             }
2832          }
2833          part { name: "elm.swallow.content";
2834             type: SWALLOW;
2835             description { state: "default" 0.0;
2836                fixed: 1 1;
2837                rel1.relative: 0.1 0.5;
2838                rel2.relative: 0.9 0.5;
2839             }
2840          }
2841       }
2842       programs {
2843          program { name: "show";
2844             signal: "elm,action,show";
2845             source: "elm";
2846             action: STATE_SET "visible" 0.0;
2847 //          transition: DECELERATE 0.5;
2848             target: "base";
2849          }
2850          program { name: "hide";
2851             signal: "elm,action,hide";
2852             source: "elm";
2853             action: STATE_SET "default" 0.0;
2854 //          transition: DECELERATE 0.5;
2855             target: "base";
2856          }
2857       }
2858    }
2859
2860 ///////////////////////////////////////////////////////////////////////////////
2861    group { name: "elm/pager/base/default";
2862       data.item: "onshow" "raise";
2863 // other options
2864 //      data.item: "onhide" "lower";
2865 //      data.item: "onshow" "lower";
2866       /*images {
2867          image: "frame_1.png" COMP;
2868          image: "frame_2.png" COMP;
2869          image: "dia_grad.png" COMP;
2870       }*/
2871       parts {
2872          part { name: "clip";
2873             type: RECT;
2874             mouse_events: 0;
2875             description { state: "default" 0.0;
2876                rel1 {
2877                   to: "base";
2878                   offset: -9999 -9999;
2879                }
2880                rel2 {
2881                   to: "base";
2882                   offset: 9999 9999;
2883                }
2884                color: 255 255 255 255;
2885             }
2886             description { state: "visible" 0.0;
2887                inherit: "default" 0.0;
2888             }
2889             description { state: "hidden" 0.0;
2890                inherit: "default" 0.0;
2891                color: 255 255 255 0;
2892                visible: 0;
2893             }
2894          }
2895          part { name: "base0";
2896             mouse_events:  0;
2897             clip_to: "clip";
2898             description { state: "default" 0.0;
2899                //image.normal: "dia_grad.png";
2900                rel1.to: "over";
2901                rel2.to: "over";
2902                /*fill {
2903                   smooth: 0;
2904                   size {
2905                      relative: 0.0 1.0;
2906                      offset: 64 0;
2907                   }
2908                }*/
2909             }
2910          }
2911          part { name: "base";
2912             mouse_events:  0;
2913             clip_to: "clip";
2914             description { state: "default" 0.0;
2915                /*image {
2916                   normal: "frame_2.png";
2917                   border: 5 5 32 26;
2918                   middle: 0;
2919                }
2920                fill.smooth : 0;*/
2921             }
2922             description { state: "hidden" 0.0;
2923                inherit: "default" 0.0;
2924                rel1.relative: -1.0 0.0;
2925                rel2.relative: 0.0 1.0;
2926             }
2927             description { state: "visible" 0.0;
2928                inherit: "default" 0.0;
2929                rel1.relative: 0.0 0.0;
2930                rel2.relative: 1.0 1.0;
2931             }
2932          }
2933          part { name: "over";
2934             mouse_events:  0;
2935             clip_to: "clip";
2936             description { state:    "default" 0.0;
2937                rel1 {
2938                   to: "base";
2939                   offset: 4 4;
2940                }
2941                rel2 {
2942                   to: "base";
2943                   offset: -5 -5;
2944                }
2945                /*image {
2946                   normal: "frame_1.png";
2947                   border: 2 2 28 22;
2948                   middle: 0;
2949                }
2950                fill.smooth : 0;*/
2951             }
2952          }
2953          part { name: "elm.swallow.content";
2954             type: SWALLOW;
2955             clip_to: "clip";
2956             description { state: "default" 0.0;
2957                rel1 {
2958                   to: "base";
2959                   //offset: 8 8;
2960                }
2961                rel2 {
2962                   to: "base";
2963                   //offset: -9 -9;
2964                }
2965             }
2966          }
2967       }
2968       programs {
2969  program { name: "push_start";
2970             signal: "elm,action,push";
2971             source: "elm";
2972             action:  STATE_SET "hidden" 0.0;
2973             target: "base";
2974             target: "clip";
2975             after: "show_start2";
2976          }
2977
2978          program { name: "show_start";
2979             signal: "elm,action,show";
2980             source: "elm";
2981             action:  STATE_SET "hidden" 0.0;
2982             target: "base";
2983             target: "clip";
2984             after: "show_start2";
2985          }
2986          program { name: "show_start2";
2987             action:  STATE_SET "visible" 0.0;
2988             transition: DECELERATE 0.5;
2989             target: "base";
2990             target: "clip";
2991             after: "show_end";
2992          }
2993          program { name: "show_end";
2994             action: SIGNAL_EMIT "elm,action,show,finished" "";
2995          }
2996  program { name: "pop_start";
2997             signal: "elm,action,pop";
2998             source: "elm";
2999             action:  STATE_SET "visible" 0.0;
3000             target: "base";
3001             target: "clip";
3002             after: "hide_start2";
3003          }
3004
3005          program { name: "hide_start";
3006             signal: "elm,action,hide";
3007             source: "elm";
3008             action:  STATE_SET "visible" 0.0;
3009             target: "base";
3010             target: "clip";
3011             after: "hide_start2";
3012          }
3013          program { name: "hide_start2";
3014             action:  STATE_SET "hidden" 0.0;
3015             transition: DECELERATE 0.5;
3016             target: "base";
3017             target: "clip";
3018             after: "hide_end";
3019          }
3020          program { name: "hide_end";
3021             action: SIGNAL_EMIT "elm,action,hide,finished" "";
3022          }
3023          program { name: "reset";
3024             signal: "elm,action,reset";
3025             source: "elm";
3026             action:  STATE_SET "default" 0.0;
3027             target: "base";
3028             target: "clip";
3029          }
3030       }
3031    }
3032
3033    group { name: "elm/pager/base/fade";
3034        data.item: "onshow" "raise";
3035        // other options
3036        //      data.item: "onhide" "lower";
3037        //      data.item: "onshow" "lower";
3038        images {
3039            image: "frame_1.png" COMP;
3040            image: "frame_2.png" COMP;
3041            image: "dia_grad.png" COMP;
3042        }
3043        parts {
3044            part { name: "clip_base";
3045                type: RECT;
3046                mouse_events: 0;
3047                description { state: "default" 0.0;
3048                    rel1 {
3049                        to: "base";
3050                        offset: -9999 -9999;
3051                    }
3052                    rel2 {
3053                        to: "base";
3054                        offset: 9999 9999;
3055                    }
3056                    color: 255 255 255 120;
3057                }
3058                description { state: "visible" 0.0;
3059                    inherit: "default" 0.0;
3060                }
3061                description { state: "hidden" 0.0;
3062                    inherit: "default" 0.0;
3063                    color: 255 255 255 0;
3064                    visible: 0;
3065                }
3066            }
3067            part { name: "clip";
3068                type: RECT;
3069                mouse_events: 0;
3070                description { state: "default" 0.0;
3071                    rel1 {
3072                        to: "base";
3073                        offset: -9999 -9999;
3074                    }
3075                    rel2 {
3076                        to: "base";
3077                        offset: 9999 9999;
3078                    }
3079                    color: 255 255 255 255;
3080                }
3081                description { state: "visible" 0.0;
3082                    inherit: "default" 0.0;
3083                }
3084                description { state: "hidden" 0.0;
3085                    inherit: "default" 0.0;
3086                    color: 255 255 255 0;
3087                    visible: 0;
3088                }
3089            }
3090            part { name: "base0";
3091                mouse_events:  0;
3092                clip_to: "clip_base";
3093                description { state: "default" 0.0;
3094                    image.normal: "dia_grad.png";
3095                    rel1.to: "over";
3096                    rel2.to: "over";
3097                    fill {
3098                        smooth: 0;
3099                        size {
3100                            relative: 0.0 1.0;
3101                            offset: 64 0;
3102                        }
3103                    }
3104                }
3105            }
3106            part { name: "base";
3107                mouse_events:  0;
3108                clip_to: "clip_base";
3109                description { state: "default" 0.0;
3110                    image {
3111                        normal: "frame_2.png";
3112                        border: 5 5 32 26;
3113                        middle: 0;
3114                    }
3115                    fill.smooth : 0;
3116                }
3117            }
3118            part { name: "over";
3119                mouse_events:  0;
3120                clip_to: "clip";
3121                description { state:    "default" 0.0;
3122                    rel1 {
3123                        to: "base";
3124                        offset: 4 4;
3125                    }
3126                    rel2 {
3127                        to: "base";
3128                        offset: -5 -5;
3129                    }
3130                    image {
3131                        normal: "frame_1.png";
3132                        border: 2 2 28 22;
3133                        middle: 0;
3134                    }
3135                    fill.smooth : 0;
3136                }
3137            }
3138            part { name: "elm.swallow.content";
3139                type: SWALLOW;
3140                clip_to: "clip";
3141                description { state: "default" 0.0;
3142                    rel1 {
3143                        to: "base";
3144                        offset: 8 8;
3145                    }
3146                    rel2 {
3147                        to: "base";
3148                        offset: -9 -9;
3149                    }
3150                }
3151            }
3152        }
3153        programs {
3154          program { name: "push_start";
3155             signal: "elm,action,push";
3156             source: "elm";
3157             action:  STATE_SET "hidden" 0.0;
3158             target: "base";
3159             target: "clip";
3160             after: "show_start2";
3161          }
3162            program { name: "show_start";
3163                signal: "elm,action,show";
3164                source: "elm";
3165                action:  STATE_SET "hidden" 0.0;
3166                target: "clip";
3167                target: "clip_base";
3168                after: "show_start2";
3169            }
3170            program { name: "show_start2";
3171                action:  STATE_SET "visible" 0.0;
3172                transition: DECELERATE 0.5;
3173                target: "clip";
3174                target: "clip_base";
3175                after: "show_end";
3176            }
3177            program { name: "show_end";
3178                action: SIGNAL_EMIT "elm,action,show,finished" "";
3179            }
3180            program { name: "pop_start";
3181             signal: "elm,action,pop";
3182             source: "elm";
3183             action:  STATE_SET "visible" 0.0;
3184             target: "base";
3185             target: "clip";
3186             after: "hide_start2";
3187          }
3188            program { name: "hide_start";
3189                signal: "elm,action,hide";
3190                source: "elm";
3191                action:  STATE_SET "visible" 0.0;
3192                target: "clip";
3193                target: "clip_base";
3194                after: "hide_start2";
3195            }
3196            program { name: "hide_start2";
3197                action:  STATE_SET "hidden" 0.0;
3198                transition: DECELERATE 0.5;
3199                target: "clip";
3200                target: "clip_base";
3201                after: "hide_end";
3202            }
3203            program { name: "hide_end";
3204                action: SIGNAL_EMIT "elm,action,hide,finished" "";
3205            }
3206            program { name: "reset";
3207                signal: "elm,action,reset";
3208                source: "elm";
3209                action:  STATE_SET "default" 0.0;
3210                target: "clip_base";
3211                target: "clip";
3212            }
3213        }
3214    }
3215    group { name: "elm/pager/base/fade_translucide";
3216        data.item: "onshow" "raise";
3217        // other options
3218        //      data.item: "onhide" "lower";
3219        //      data.item: "onshow" "lower";
3220        images {
3221            image: "frame_1.png" COMP;
3222            image: "frame_2.png" COMP;
3223            image: "dia_grad.png" COMP;
3224        }
3225        parts {
3226            part { name: "clip_base";
3227                type: RECT;
3228                mouse_events: 0;
3229                description { state: "default" 0.0;
3230                    rel1 {
3231                        to: "base";
3232                        offset: -9999 -9999;
3233                    }
3234                    rel2 {
3235                        to: "base";
3236                        offset: 9999 9999;
3237                    }
3238                    color: 255 255 255 120;
3239                }
3240                description { state: "visible" 0.0;
3241                    inherit: "default" 0.0;
3242                }
3243                description { state: "hidden" 0.0;
3244                    inherit: "default" 0.0;
3245                    color: 255 255 255 0;
3246                    visible: 0;
3247                }
3248            }
3249            part { name: "clip";
3250                type: RECT;
3251                mouse_events: 0;
3252                description { state: "default" 0.0;
3253                    rel1 {
3254                        to: "base";
3255                        offset: -9999 -9999;
3256                    }
3257                    rel2 {
3258                        to: "base";
3259                        offset: 9999 9999;
3260                    }
3261                    color: 255 255 255 255;
3262                }
3263                description { state: "visible" 0.0;
3264                    inherit: "default" 0.0;
3265                }
3266                description { state: "hidden" 0.0;
3267                    inherit: "default" 0.0;
3268                    color: 255 255 255 0;
3269                    visible: 0;
3270                }
3271            }
3272            part { name: "base0";
3273                mouse_events:  0;
3274                clip_to: "clip_base";
3275                description { state: "default" 0.0;
3276                    image.normal: "dia_grad.png";
3277                    rel1.to: "over";
3278                    rel2.to: "over";
3279                    fill {
3280                        smooth: 0;
3281                        size {
3282                            relative: 0.0 1.0;
3283                            offset: 64 0;
3284                        }
3285                    }
3286                }
3287            }
3288            part { name: "base";
3289                mouse_events:  0;
3290                clip_to: "clip_base";
3291                description { state: "default" 0.0;
3292                    image {
3293                        normal: "frame_2.png";
3294                        border: 5 5 32 26;
3295                        middle: 0;
3296                    }
3297                    fill.smooth : 0;
3298                }
3299            }
3300            part { name: "over";
3301                mouse_events:  0;
3302                clip_to: "clip";
3303                description { state:    "default" 0.0;
3304                    rel1 {
3305                        to: "base";
3306                        offset: 4 4;
3307                    }
3308                    rel2 {
3309                        to: "base";
3310                        offset: -5 -5;
3311                    }
3312                    image {
3313                        normal: "frame_1.png";
3314                        border: 2 2 28 22;
3315                        middle: 0;
3316                    }
3317                    fill.smooth : 0;
3318                }
3319            }
3320            part { name: "elm.swallow.content";
3321                type: SWALLOW;
3322                clip_to: "clip";
3323                description { state: "default" 0.0;
3324                    rel1 {
3325                        to: "base";
3326                        offset: 8 8;
3327                    }
3328                    rel2 {
3329                        to: "base";
3330                        offset: -9 -9;
3331                    }
3332                }
3333            }
3334        }
3335        programs {
3336         program { name: "push_start";
3337             signal: "elm,action,push";
3338             source: "elm";
3339             action:  STATE_SET "hidden" 0.0;
3340             target: "base";
3341             target: "clip";
3342             after: "show_start2";
3343          }
3344            program { name: "show_start";
3345                signal: "elm,action,show";
3346                source: "elm";
3347                action:  STATE_SET "hidden" 0.0;
3348                target: "clip";
3349                target: "clip_base";
3350                after: "show_start2";
3351            }
3352            program { name: "show_start2";
3353                action:  STATE_SET "visible" 0.0;
3354                transition: DECELERATE 0.5;
3355                target: "clip";
3356                target: "clip_base";
3357                after: "show_end";
3358            }
3359            program { name: "show_end";
3360                action: SIGNAL_EMIT "elm,action,show,finished" "";
3361            }
3362            program { name: "pop_start";
3363             signal: "elm,action,pop";
3364             source: "elm";
3365             action:  STATE_SET "visible" 0.0;
3366             target: "base";
3367             target: "clip";
3368             after: "hide_start2";
3369          }
3370            program { name: "hide_start";
3371                signal: "elm,action,hide";
3372                source: "elm";
3373                action:  STATE_SET "visible" 0.0;
3374                target: "clip";
3375                target: "clip_base";
3376                after: "hide_start2";
3377            }
3378            program { name: "hide_start2";
3379                action:  STATE_SET "hidden" 0.0;
3380                transition: DECELERATE 0.5;
3381                target: "clip";
3382                target: "clip_base";
3383                after: "hide_end";
3384            }
3385            program { name: "hide_end";
3386                action: SIGNAL_EMIT "elm,action,hide,finished" "";
3387            }
3388            program { name: "reset";
3389                signal: "elm,action,reset";
3390                source: "elm";
3391                action:  STATE_SET "default" 0.0;
3392                target: "clip_base";
3393                target: "clip";
3394            }
3395        }
3396    }
3397
3398
3399 #if 0
3400 ///////////////////////////////////////////////////////////////////////////////
3401    group { name: "elm/separator/horizontal/default";
3402        images {
3403            image: "separator_h.png" COMP;
3404        }
3405        parts {
3406            part { name: "separator"; // separator group
3407                description { state: "default" 0.0;
3408                    min: 2 2;
3409                    rel1.offset: 4 4;
3410                    rel2.offset: -5 -5;
3411                    image {
3412                        normal: "separator_h.png";
3413                    }
3414                    fill {
3415                        smooth: 0;
3416                    }
3417                }
3418            }
3419        }
3420    }
3421
3422    ///////////////////////////////////////////////////////////////////////////////
3423    group { name: "elm/separator/vertical/default";
3424        images {
3425            image: "separator_v.png" COMP;
3426        }
3427        parts {
3428            part { name: "separator"; // separator group
3429                description { state: "default" 0.0;
3430                    min: 2 2;
3431                    rel1.offset: 4 4;
3432                    rel2.offset: -5 -5;
3433                    image {
3434                        normal: "separator_v.png";
3435                    }
3436                    fill {
3437                        smooth: 0;
3438                    }
3439                }
3440            }
3441        }
3442    }
3443 #endif
3444
3445         group { name: "elm/separator/horizontal/dialoguefield_top";
3446                 parts {
3447                         part { name: "separator"; // separator group
3448                                 type: RECT;
3449                                 scale: 1;
3450                                 description {
3451                                 state: "default" 0.0;
3452                                 min: 0 15;
3453                                 align: 0 0;
3454                                 color: 0 0 0 0;
3455                }
3456            }
3457        }
3458    }
3459
3460         group { name: "elm/separator/horizontal/dialoguefield_middle";
3461                 parts {
3462                         part {
3463                                 name: "separator"; // separator group
3464                                 type: RECT;
3465                                 scale: 1;
3466                                 description {
3467                                         state: "default" 0.0;
3468                                         min: 0 10;
3469                                         align: 0 0;
3470                                         color: 0 0 0 0;
3471                                 }
3472                         }
3473                 }
3474         }
3475         group { name: "elm/separator/horizontal/dialoguefield_bottom";
3476                 parts {
3477                         part {
3478                                 name: "separator"; // separator group
3479                                 type: RECT;
3480                                 scale: 1;
3481                                 description {
3482                                         state: "default" 0.0;
3483                                         min: 0 10;
3484                                         align: 0 0;
3485                                         color: 0 0 0 0;
3486                                 }
3487                         }
3488                 }
3489         }
3490
3491 ///////////////////////////////////////////////////////////////////////////////
3492    group { name: "elm/spinner/base/default";
3493        images {
3494            image: "shelf_inset.png" COMP;
3495            image: "bt_base1.png" COMP;
3496            image: "bt_hilight.png" COMP;
3497            image: "bt_shine.png" COMP;
3498            image: "bt_glow.png" COMP;
3499            image: "bt_dis_base.png" COMP;
3500            image: "bt_dis_hilight.png" COMP;
3501            image: "sp_bt_l.png" COMP;
3502            image: "sp_bt_r.png" COMP;
3503        }
3504        parts {
3505            part { name: "bg";
3506                type: RECT;
3507                description { state: "default" 0.0;
3508                    max: 99999 30;
3509                    min: 0 30;
3510                    rel1.offset: 1 1;
3511                    rel2.offset: -2 -2;
3512                    color: 255 255 255 0;
3513                }
3514            }
3515            part { name: "conf_over";
3516                mouse_events:  0;
3517                description { state: "default" 0.0;
3518                    rel1.to: "bg";
3519                    rel2.to: "bg";
3520                    image {
3521                        normal: "shelf_inset.png";
3522                        border: 7 7 7 7;
3523                        middle: 0;
3524                    }
3525                    fill.smooth : 0;
3526                }
3527            }
3528            part { name: "left_bt";
3529                mouse_events:  1;
3530                description { state: "default" 0.0;
3531                    rel1 { to: "bg";
3532                        offset: 2 2;
3533                    }
3534                    rel2 { to: "bg";
3535                        offset: -3 -3;
3536                    }
3537                    align: 0.0 0.5;
3538                    min: 24 24;
3539                    max: 24 24;
3540                    image {
3541                        normal: "bt_base1.png";
3542                        border: 6 6 6 6;
3543                    }
3544                    fill.smooth : 0;
3545                }
3546                description { state: "clicked" 0.0;
3547                    inherit: "default" 0.0;
3548                    image.normal: "bt_base1.png";
3549                    image.middle: SOLID;
3550                }
3551                description { state: "disabled" 0.0;
3552                    inherit:  "default" 0.0;
3553                    image {
3554                        normal: "bt_dis_base.png";
3555                        border: 4 4 4 4;
3556                    }
3557                }
3558            }
3559            part {         name: "left_over1";
3560                mouse_events: 0;
3561                description { state: "default" 0.0;
3562                    rel1.to: "left_bt";
3563                    rel2 { to: "left_bt";
3564                        relative: 1.0 0.5;
3565                    }
3566                    image {
3567                        normal: "bt_hilight.png";
3568                        border: 7 7 7 0;
3569                    }
3570                }
3571                description { state: "disabled" 0.0;
3572                    inherit:  "default" 0.0;
3573                    image {
3574                        normal: "bt_dis_hilight.png";
3575                        border: 4 4 4 0;
3576                    }
3577                }
3578            }
3579            part { name: "left_over2";
3580                mouse_events: 1;
3581                repeat_events: 1;
3582                ignore_flags: ON_HOLD;
3583                description { state: "default" 0.0;
3584                    rel1.to: "left_bt";
3585                    rel2.to: "left_bt";
3586                    image {
3587                        normal: "bt_shine.png";
3588                        border: 7 7 7 7;
3589                    }
3590                }
3591                description { state: "disabled" 0.0;
3592                    inherit:  "default" 0.0;
3593                    visible: 0;
3594                }
3595            }
3596            part { name: "left_over3";
3597                mouse_events: 1;
3598                repeat_events: 1;
3599                description { state: "default" 0.0;
3600                    color: 255 255 255 0;
3601                    rel1.to: "left_bt";
3602                    rel2.to: "left_bt";
3603                    image {
3604                        normal: "bt_glow.png";
3605                        border: 12 12 12 12;
3606                    }
3607                    fill.smooth : 0;
3608                }
3609                description { state: "clicked" 0.0;
3610                    inherit:  "default" 0.0;
3611                    visible: 1;
3612                    color: 255 255 255 255;
3613                }
3614            }
3615            part { name: "right_bt";
3616                mouse_events:  1;
3617                description { state: "default" 0.0;
3618                    rel1 { to: "bg";
3619                        offset: -27 3;
3620                    }
3621                    rel2 { to: "bg";
3622                        offset: -3 -3;
3623                    }
3624                    align: 1.0 0.5;
3625                    min: 24 24;
3626                    max: 24 24;
3627                    image {
3628                        normal: "bt_base1.png";
3629                        border: 5 5 4 12;
3630                    }
3631                    fill.smooth : 0;
3632                }
3633                description { state: "clicked" 0.0;
3634                    inherit: "default" 0.0;
3635                    image.normal: "bt_base1.png";
3636                    image.middle: SOLID;
3637                }
3638                description { state: "disabled" 0.0;
3639                    inherit:  "default" 0.0;
3640                    image {
3641                        normal: "bt_dis_base.png";
3642                        border: 4 4 4 4;
3643                    }
3644                }
3645            }
3646            part { name: "right_over1";
3647                mouse_events: 0;
3648                description { state: "default" 0.0;
3649                    rel1.to: "right_bt";
3650                    rel2 { to: "right_bt";
3651                        relative: 1.0 0.5;
3652                    }
3653                    image {
3654                        normal: "bt_hilight.png";
3655                        border: 7 7 7 0;
3656                    }
3657                }
3658                description { state: "disabled" 0.0;
3659                    inherit:  "default" 0.0;
3660                    image {
3661                        normal: "bt_dis_hilight.png";
3662                        border: 4 4 4 0;
3663                    }
3664                }
3665            }
3666            part { name: "right_over2";
3667                mouse_events: 1;
3668                repeat_events: 1;
3669                ignore_flags: ON_HOLD;
3670                description { state: "default" 0.0;
3671                    rel1.to: "right_bt";
3672                    rel2.to: "right_bt";
3673                    image {
3674                        normal: "bt_shine.png";
3675                        border: 7 7 7 7;
3676                    }
3677                }
3678                description { state: "disabled" 0.0;
3679                    inherit:  "default" 0.0;
3680                    visible: 0;
3681                }
3682            }
3683            part { name: "right_over3";
3684                mouse_events: 1;
3685                repeat_events: 1;
3686                description { state: "default" 0.0;
3687                    color: 255 255 255 0;
3688                    rel1.to: "right_bt";
3689                    rel2.to: "right_bt";
3690                    image {
3691                        normal: "bt_glow.png";
3692                        border: 12 12 12 12;
3693                    }
3694                    fill.smooth : 0;
3695                }
3696                description { state: "clicked" 0.0;
3697                    inherit:  "default" 0.0;
3698                    visible: 1;
3699                    color: 255 255 255 255;
3700                }
3701            }
3702            part { name: "left_bt_icon";
3703                repeat_events: 1;
3704                description { state: "default" 0.0;
3705                    rel1.to: "left_bt";
3706                    rel2.to: "left_bt";
3707                    align: 0.5 0.5;
3708                    min: 16 16;
3709                    max: 16 16;
3710                    image.normal: "sp_bt_l.png";
3711                }
3712            }
3713            part { name: "right_bt_icon";
3714                repeat_events: 1;
3715                description { state: "default" 0.0;
3716                    rel1.to: "right_bt";
3717                    rel2.to: "right_bt";
3718                    align: 0.5 0.5;
3719                    min: 16 16;
3720                    max: 16 16;
3721                    image.normal: "sp_bt_r.png";
3722                }
3723            }
3724            part { name: "elm.text";
3725                type: TEXT;
3726                mouse_events: 0;
3727                scale: 1;
3728                description { state: "default" 0.0;
3729                    visible: 1;
3730                    align: 0.0 0.5;
3731                    rel1 { relative: 1.0 0.0;
3732                        offset: 3 2;
3733                        to_x: "left_bt";
3734                        to_y: "bg";
3735                    }
3736                    rel2 { relative: 0.0 1.0;
3737                        offset: -3 -2;
3738                        to_x: "right_bt";
3739                        to_y: "bg";
3740                    }
3741                    color: 0 0 0 255;
3742                    text {
3743                        font: "SLP:style=Roman";
3744                        size: 10;
3745                        min: 1 1;
3746                        align: 0.5 0.5;
3747                    }
3748                }
3749                description { state: "active" 0.0;
3750                    inherit: "default" 0.0;
3751                    visible: 0;
3752                }
3753                description { state: "disabled_active" 0.0;
3754                    inherit: "default" 0.0;
3755                    color: 0 0 0 128;
3756                    color3: 0 0 0 0;
3757                }
3758                description { state: "disabled" 0.0;
3759                    inherit: "default" 0.0;
3760                    color: 0 0 0 128;
3761                    color3: 0 0 0 0;
3762                }
3763            }
3764            part { name: "elm.dragable.slider";
3765                type: RECT;
3766                mouse_events: 0;
3767                scale: 1;
3768                dragable {
3769                    x: 1 1 0;
3770                    y: 0 0 0;
3771                }
3772                description { state: "default" 0.0;
3773                    rel1.to: "bg";
3774                    rel2.to: "bg";
3775                    fixed: 1 1;
3776                    color: 0 0 0 0;
3777                }
3778            }
3779            part { name: "button_events";
3780                type: RECT;
3781                dragable {
3782                    events: "elm.dragable.slider";
3783                }
3784                mouse_events: 1;
3785                description { state: "default" 0.0;
3786                    rel1.to: "elm.text";
3787                    rel2.to: "elm.text";
3788                    color: 0 0 0 0;
3789                }
3790            }
3791            part { name: "elm.swallow.entry";
3792                type: SWALLOW;
3793                description { state: "default" 0.0;
3794                    visible: 0;
3795                    align: 0.5 0.5;
3796                    rel1 { relative: 1.0 0.5;
3797                        offset: 3 2;
3798                        to_x: "left_bt";
3799                        to_y: "bg";
3800                    }
3801                    rel2 { relative: 0.0 0.5;
3802                        offset: -3 -2;
3803                        to_x: "right_bt";
3804                        to_y: "bg";
3805                    }
3806                    fixed: 1 1;
3807                    color: 0 0 0 0;
3808                }
3809                description { state: "active" 0.0;
3810                    inherit: "default" 0.0;
3811                    visible: 1;
3812                    color: 255 255 255 255;
3813                }
3814                description { state: "disabled_active" 0.0;
3815                    inherit: "default" 0.0;
3816                    visible: 0;
3817                }
3818                description { state: "disabled" 0.0;
3819                    inherit: "default" 0.0;
3820                    visible: 0;
3821                }
3822            }
3823            part { name: "disabler";
3824                type: RECT;
3825                description { state: "default" 0.0;
3826                    color: 0 0 0 0;
3827                    visible: 0;
3828                }
3829                description { state: "disabled" 0.0;
3830                    inherit: "default" 0.0;
3831                    visible: 1;
3832                }
3833            }
3834        }
3835        programs {
3836            program { name: "text_show";
3837                signal: "elm,state,text,visible";
3838                source: "elm";
3839                action:  STATE_SET "visible" 0.0;
3840                target: "elm.text";
3841            }
3842            program { name: "text_hide";
3843                signal: "elm,state,text,hidden";
3844                source: "elm";
3845                action:  STATE_SET "default" 0.0;
3846                target: "elm.text";
3847            }
3848            program { name: "dec";
3849                signal: "mouse,down,1";
3850                source: "left_bt";
3851                action: SIGNAL_EMIT "elm,action,decrement,start" "";
3852            }
3853            program { name: "dec2";
3854                signal: "mouse,up,1";
3855                source: "left_bt";
3856                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
3857            }
3858            program { name: "inc";
3859                signal: "mouse,down,1";
3860                source: "right_bt";
3861                action: SIGNAL_EMIT "elm,action,increment,start" "";
3862            }
3863            program { name: "inc2";
3864                signal: "mouse,up,1";
3865                source: "right_bt";
3866                action: SIGNAL_EMIT "elm,action,increment,stop" "";
3867            }
3868            program {
3869                name:   "left_bt_click";
3870                signal: "mouse,down,1";
3871                source: "left_over2";
3872                action: STATE_SET "clicked" 0.0;
3873                target: "left_bt";
3874            }
3875            program {
3876                name:   "left_bt_unclick";
3877                signal: "mouse,up,1";
3878                source: "left_over2";
3879                action: STATE_SET "default" 0.0;
3880                target: "left_bt";
3881            }
3882            program {
3883                name:   "left_bt_click2";
3884                signal: "mouse,down,1";
3885                source: "left_over3";
3886                action: STATE_SET "clicked" 0.0;
3887                target: "left_over3";
3888            }
3889            program {
3890                name:   "left_bt_unclick2";
3891                signal: "mouse,up,1";
3892                source: "left_over3";
3893                action: STATE_SET "default" 0.0;
3894                transition: DECELERATE 0.5;
3895                target: "left_over3";
3896            }
3897            program {
3898                name:   "left_bt_unclick3";
3899                signal: "mouse,up,1";
3900                source: "left_over2";
3901                action: SIGNAL_EMIT "elm,action,click" "";
3902            }
3903
3904            program {
3905                name:   "right_bt_click";
3906                signal: "mouse,down,1";
3907                source: "right_over2";
3908                action: STATE_SET "clicked" 0.0;
3909                target: "right_bt";
3910            }
3911            program {
3912                name:   "right_bt_unclick";
3913                signal: "mouse,up,1";
3914                source: "right_over2";
3915                action: STATE_SET "default" 0.0;
3916                target: "right_bt";
3917            }
3918            program {
3919                name:   "right_bt_click2";
3920                signal: "mouse,down,1";
3921                source: "right_over3";
3922                action: STATE_SET "clicked" 0.0;
3923                target: "right_over3";
3924            }
3925            program {
3926                name:   "right_bt_unclick2";
3927                signal: "mouse,up,1";
3928                source: "right_over3";
3929                action: STATE_SET "default" 0.0;
3930                transition: DECELERATE 0.5;
3931                target: "right_over3";
3932            }
3933            program {
3934                name:   "right_bt_unclick3";
3935                signal: "mouse,up,1";
3936                source: "right_over2";
3937                action: SIGNAL_EMIT "elm,action,click" "";
3938            }
3939            program { name: "disable";
3940                signal: "elm,state,disabled";
3941                source: "elm";
3942                action: STATE_SET "disabled" 0.0;
3943                target: "left_bt";
3944                target: "left_over1";
3945                target: "left_over2";
3946                target: "right_bt";
3947                target: "right_over1";
3948                target: "right_over2";
3949                target: "disabler";
3950                after: "disable_text";
3951            }
3952            program { name: "disable_text";
3953                script {
3954                    new st[31];
3955                    new Float:vl;
3956                    get_state(PART:"elm.text", st, 30, vl);
3957                    if (!strcmp(st, "active"))
3958                    set_state(PART:"elm.text", "disabled_active", 0.0);
3959                    else
3960                    set_state(PART:"elm.text", "disabled", 0.0);
3961
3962                    get_state(PART:"elm.swallow.entry", st, 30, vl);
3963                    if (!strcmp(st, "active"))
3964                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
3965                    else
3966                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
3967                }
3968            }
3969            program { name: "enable";
3970                signal: "elm,state,enabled";
3971                source: "elm";
3972                action: STATE_SET "default" 0.0;
3973                target: "left_bt";
3974                target: "left_over1";
3975                target: "left_over2";
3976                target: "right_bt";
3977                target: "right_over1";
3978                target: "right_over2";
3979                target: "disabler";
3980                after: "enable_text";
3981            }
3982            program { name: "enable_text";
3983                script {
3984                    new st[31];
3985                    new Float:vl;
3986                    get_state(PART:"elm.text", st, 30, vl);
3987                    if (!strcmp(st, "disabled_active"))
3988                    set_state(PART:"elm.text", "active", 0.0);
3989                    else
3990                    set_state(PART:"elm.text", "default", 0.0);
3991
3992                    get_state(PART:"elm.swallow.entry", st, 30, vl);
3993                    if (!strcmp(st, "disabled_active"))
3994                    set_state(PART:"elm.swallow.entry", "active", 0.0);
3995                    else
3996                    set_state(PART:"elm.swallow.entry", "default", 0.0);
3997                }
3998            }
3999            program { name: "active";
4000                signal: "elm,state,active";
4001                source: "elm";
4002                action: STATE_SET "active" 0.0;
4003                target: "elm.text";
4004                target: "elm.swallow.entry";
4005            }
4006            program { name: "inactive";
4007                signal: "elm,state,inactive";
4008                source: "elm";
4009                action: STATE_SET "default" 0.0;
4010                target: "elm.text";
4011                target: "elm.swallow.entry";
4012            }
4013            program { name: "toggle_text";
4014                signal: "mouse,up,1";
4015                source: "button_events";
4016                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
4017            }
4018        }
4019    }
4020
4021 ///////////////////////////////////////////////////////////////////////////////
4022    group { name: "elm/spinner/base/vertical";
4023        images {
4024            image: "shelf_inset.png" COMP;
4025            image: "bt_hilight.png" COMP;
4026            image: "bt_shine.png" COMP;
4027            image: "bt_glow.png" COMP;
4028            image: "bt_dis_base.png" COMP;
4029            image: "bt_dis_hilight.png" COMP;
4030            image: "up.png" COMP;
4031            image: "down.png" COMP;
4032            image: "bt_spinner_up.png" COMP;
4033            image: "bt_spinner_down.png" COMP;
4034            image: "bt_spinner_hilight.png" COMP;
4035        }
4036        parts {
4037            part { name: "bg";
4038                type: RECT;
4039                description { state: "default" 0.0;
4040                    max: 99999 30;
4041                    min: 0 30;
4042                    rel1.offset: 1 1;
4043                    rel2.offset: -2 -2;
4044                    color: 255 255 255 0;
4045                }
4046            }
4047            part { name: "conf_over";
4048                mouse_events:  0;
4049                description { state: "default" 0.0;
4050                    rel1 {
4051                      to: "bg";
4052                      relative: 0.0 0.0;
4053                    }
4054                    rel2 {
4055                       to_x: "down_bt";
4056                       offset: -22 -1;
4057                    }
4058                    rel2 {
4059                       to_y: "bg";
4060                    }
4061                    image {
4062                        normal: "shelf_inset.png";
4063                        border: 7 7 7 7;
4064                        middle: 0;
4065                    }
4066                    fill.smooth : 0;
4067                }
4068            }
4069            part { name: "down_bt";
4070                mouse_events:  1;
4071                description { state: "default" 0.0;
4072                    rel1 {
4073                        to_x: "bg";
4074                        to_y: "up_bt";
4075                        relative: 1 1;
4076                        offset: 0 1;
4077                    }
4078                    rel2 { to: "bg";
4079                        relative: 1 1;
4080                        offset: -1 -1;
4081                    }
4082                    align: 1.0 0.5;
4083                    min: 24 16;
4084                    max: 24 16;
4085                    image {
4086                        normal: "bt_spinner_down.png";
4087                        border: 6 6 6 6;
4088                    }
4089                    fill.smooth : 0;
4090                }
4091                description { state: "clicked" 0.0;
4092                    inherit: "default" 0.0;
4093                    image.normal: "bt_spinner_down.png";
4094                    image.middle: SOLID;
4095                }
4096                description { state: "disabled" 0.0;
4097                    inherit:  "default" 0.0;
4098                    image {
4099                        normal: "bt_dis_base.png";
4100                        border: 4 4 4 4;
4101                    }
4102                }
4103            }
4104            part { name: "down_over3";
4105                mouse_events: 1;
4106                repeat_events: 1;
4107                description { state: "default" 0.0;
4108                    color: 255 255 255 0;
4109                    rel1.to: "down_bt";
4110                    rel2.to: "down_bt";
4111                    image {
4112                        normal: "bt_glow.png";
4113                        border: 12 12 12 12;
4114                    }
4115                    fill.smooth : 0;
4116                }
4117                description { state: "clicked" 0.0;
4118                    inherit:  "default" 0.0;
4119                    visible: 1;
4120                    color: 255 255 255 255;
4121                }
4122            }
4123            part { name: "up_bt";
4124                mouse_events:  1;
4125                description { state: "default" 0.0;
4126                    rel1 { to: "bg";
4127                        relative: 0 0;
4128                        offset: 0 0;
4129                    }
4130                    rel2 { to: "bg";
4131                        relative: 1 0.5;
4132                        offset: -1 -1;
4133                    }
4134                    align: 1.0 0.5;
4135                    min: 24 16;
4136                    max: 24 16;
4137                    image {
4138                        normal: "bt_spinner_up.png";
4139                        border: 6 6 6 6;
4140                    }
4141                    fill.smooth : 0;
4142                }
4143                description { state: "clicked" 0.0;
4144                    inherit: "default" 0.0;
4145                    image.normal: "bt_spinner_up.png";
4146                    image.middle: SOLID;
4147                }
4148                description { state: "disabled" 0.0;
4149                    inherit:  "default" 0.0;
4150                    image {
4151                        normal: "bt_dis_base.png";
4152                        border: 4 4 4 4;
4153                    }
4154                }
4155            }
4156            part { name: "up_over1";
4157                mouse_events: 0;
4158                description { state: "default" 0.0;
4159                    rel1.to: "up_bt";
4160                    rel2 { to: "up_bt";
4161                        relative: 1.0 0.5;
4162                    }
4163                    image {
4164                        normal: "bt_spinner_hilight.png";
4165                        border: 7 7 7 0;
4166                    }
4167                }
4168                description { state: "disabled" 0.0;
4169                    inherit:  "default" 0.0;
4170                    image {
4171                        normal: "bt_dis_hilight.png";
4172                        border: 4 4 4 0;
4173                    }
4174                }
4175            }
4176            part { name: "up_over3";
4177                mouse_events: 1;
4178                repeat_events: 1;
4179                description { state: "default" 0.0;
4180                    color: 255 255 255 0;
4181                    rel1.to: "up_bt";
4182                    rel2.to: "up_bt";
4183                    image {
4184                        normal: "bt_glow.png";
4185                        border: 12 12 12 12;
4186                    }
4187                    fill.smooth : 0;
4188                }
4189                description { state: "clicked" 0.0;
4190                    inherit:  "default" 0.0;
4191                    visible: 1;
4192                    color: 255 255 255 255;
4193                }
4194            }
4195            part { name: "down_bt_icon";
4196                repeat_events: 1;
4197                description { state: "default" 0.0;
4198                    rel1.to: "down_bt";
4199                    rel2.to: "down_bt";
4200                    align: 0.5 0.5;
4201                    min: 14 12;
4202                    max: 14 12;
4203                    image.normal: "down.png";
4204                }
4205            }
4206            part { name: "up_bt_icon";
4207                repeat_events: 1;
4208                description { state: "default" 0.0;
4209                    rel1.to: "up_bt";
4210                    rel2.to: "up_bt";
4211                    align: 0.5 0.5;
4212                    min: 14 12;
4213                    max: 14 12;
4214                    image.normal: "up.png";
4215                }
4216            }
4217            part { name: "elm.text";
4218                type: TEXT;
4219                mouse_events: 0;
4220                scale: 1;
4221                description { state: "default" 0.0;
4222                    visible: 1;
4223                    align: 0.0 0.5;
4224                    rel1 { relative: 0.0 0.0;
4225                        offset: 3 2;
4226                        to_x: "bg";
4227                        to_y: "bg";
4228                    }
4229                    rel2 { relative: 0.0 1.0;
4230                        offset: -3 -2;
4231                        to_x: "bg";
4232                        to_y: "bg";
4233                    }
4234                    color: 0 0 0 255;
4235                    text {
4236                        font: "SLP:style=Roman";
4237                        size: 10;
4238                        min: 1 1;
4239                        align: 0.5 0.5;
4240                    }
4241                }
4242                description { state: "active" 0.0;
4243                    inherit: "default" 0.0;
4244                    visible: 0;
4245                }
4246                description { state: "disabled_active" 0.0;
4247                    inherit: "default" 0.0;
4248                    color: 0 0 0 128;
4249                    color3: 0 0 0 0;
4250                }
4251                description { state: "disabled" 0.0;
4252                    inherit: "default" 0.0;
4253                    color: 0 0 0 128;
4254                    color3: 0 0 0 0;
4255                }
4256            }
4257            part { name: "elm.dragable.slider";
4258                type: RECT;
4259                mouse_events: 0;
4260                scale: 1;
4261                dragable {
4262                    x: 1 1 0;
4263                    y: 0 0 0;
4264                }
4265                description { state: "default" 0.0;
4266                    rel1.to: "bg";
4267                    rel2.to: "bg";
4268                    fixed: 1 1;
4269                    color: 0 0 0 0;
4270                }
4271            }
4272            part { name: "button_events";
4273                type: RECT;
4274                dragable {
4275                    events: "elm.dragable.slider";
4276                }
4277                mouse_events: 1;
4278                description { state: "default" 0.0;
4279                    rel1.to: "elm.text";
4280                    rel2.to: "elm.text";
4281                    color: 0 0 0 0;
4282                }
4283            }
4284            part { name: "elm.swallow.entry";
4285                type: SWALLOW;
4286                description { state: "default" 0.0;
4287                    visible: 0;
4288                    align: 0.5 0.5;
4289                    rel1 { relative: 0.0 0.5;
4290                        offset: 3 2;
4291                        to: "bg";
4292                    }
4293                    rel2 { relative: 1.0 0.5;
4294                        offset: -3 -2;
4295                        to: "bg";
4296                    }
4297                    fixed: 1 1;
4298                    color: 0 0 0 0;
4299                }
4300                description { state: "active" 0.0;
4301                    inherit: "default" 0.0;
4302                    visible: 1;
4303                    color: 255 255 255 255;
4304                }
4305                description { state: "disabled_active" 0.0;
4306                    inherit: "default" 0.0;
4307                    visible: 0;
4308                }
4309                description { state: "disabled" 0.0;
4310                    inherit: "default" 0.0;
4311                    visible: 0;
4312                }
4313            }
4314            part { name: "disabler";
4315                type: RECT;
4316                description { state: "default" 0.0;
4317                    color: 0 0 0 0;
4318                    visible: 0;
4319                }
4320                description { state: "disabled" 0.0;
4321                    inherit: "default" 0.0;
4322                    visible: 1;
4323                }
4324            }
4325        }
4326        programs {
4327            program { name: "text_show";
4328                signal: "elm,state,text,visible";
4329                source: "elm";
4330                action:  STATE_SET "visible" 0.0;
4331                target: "elm.text";
4332            }
4333            program { name: "text_hide";
4334                signal: "elm,state,text,hidden";
4335                source: "elm";
4336                action:  STATE_SET "default" 0.0;
4337                target: "elm.text";
4338            }
4339            program { name: "dec";
4340                signal: "mouse,down,1";
4341                source: "down_bt";
4342                action: SIGNAL_EMIT "elm,action,decrement,start" "";
4343            }
4344            program { name: "dec2";
4345                signal: "mouse,up,1";
4346                source: "down_bt";
4347                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
4348            }
4349            program { name: "inc";
4350                signal: "mouse,down,1";
4351                source: "up_bt";
4352                action: SIGNAL_EMIT "elm,action,increment,start" "";
4353            }
4354            program { name: "inc2";
4355                signal: "mouse,up,1";
4356                source: "up_bt";
4357                action: SIGNAL_EMIT "elm,action,increment,stop" "";
4358            }
4359            program {
4360                name:   "down_bt_click2";
4361                signal: "mouse,down,1";
4362                source: "down_over3";
4363                action: STATE_SET "clicked" 0.0;
4364                target: "down_over3";
4365            }
4366            program {
4367                name:   "down_bt_unclick2";
4368                signal: "mouse,up,1";
4369                source: "down_over3";
4370                action: STATE_SET "default" 0.0;
4371                transition: DECELERATE 0.5;
4372                target: "down_over3";
4373            }
4374            program {
4375                name:   "up_bt_click2";
4376                signal: "mouse,down,1";
4377                source: "up_over3";
4378                action: STATE_SET "clicked" 0.0;
4379                target: "up_over3";
4380            }
4381            program {
4382                name:   "up_bt_unclick2";
4383                signal: "mouse,up,1";
4384                source: "up_over3";
4385                action: STATE_SET "default" 0.0;
4386                transition: DECELERATE 0.5;
4387                target: "up_over3";
4388            }
4389            program { name: "disable";
4390                signal: "elm,state,disabled";
4391                source: "elm";
4392                action: STATE_SET "disabled" 0.0;
4393                target: "down_bt";
4394                target: "up_bt";
4395                target: "disabler";
4396                after: "disable_text";
4397            }
4398            program { name: "disable_text";
4399                script {
4400                    new st[31];
4401                    new Float:vl;
4402                    get_state(PART:"elm.text", st, 30, vl);
4403                    if (!strcmp(st, "active"))
4404                    set_state(PART:"elm.text", "disabled_active", 0.0);
4405                    else
4406                    set_state(PART:"elm.text", "disabled", 0.0);
4407
4408                    get_state(PART:"elm.swallow.entry", st, 30, vl);
4409                    if (!strcmp(st, "active"))
4410                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
4411                    else
4412                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
4413                }
4414            }
4415            program { name: "enable";
4416                signal: "elm,state,enabled";
4417                source: "elm";
4418                action: STATE_SET "default" 0.0;
4419                target: "down_bt";
4420                target: "up_bt";
4421                target: "disabler";
4422                after: "enable_text";
4423            }
4424            program { name: "enable_text";
4425                script {
4426                    new st[31];
4427                    new Float:vl;
4428                    get_state(PART:"elm.text", st, 30, vl);
4429                    if (!strcmp(st, "disabled_active"))
4430                    set_state(PART:"elm.text", "active", 0.0);
4431                    else
4432                    set_state(PART:"elm.text", "default", 0.0);
4433
4434                    get_state(PART:"elm.swallow.entry", st, 30, vl);
4435                    if (!strcmp(st, "disabled_active"))
4436                    set_state(PART:"elm.swallow.entry", "active", 0.0);
4437                    else
4438                    set_state(PART:"elm.swallow.entry", "default", 0.0);
4439                }
4440            }
4441            program { name: "active";
4442                signal: "elm,state,active";
4443                source: "elm";
4444                action: STATE_SET "active" 0.0;
4445                target: "elm.text";
4446                target: "elm.swallow.entry";
4447            }
4448            program { name: "inactive";
4449                signal: "elm,state,inactive";
4450                source: "elm";
4451                action: STATE_SET "default" 0.0;
4452                target: "elm.text";
4453                target: "elm.swallow.entry";
4454            }
4455            program { name: "toggle_text";
4456                signal: "mouse,up,1";
4457                source: "button_events";
4458                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
4459            }
4460        }
4461    }
4462
4463 ///////////////////////////////////////////////////////////////////////////////
4464         group { name: "elm/picker/base/default";
4465                 images {
4466                         image: "01_picker_spinner_panel_bg_top.png" COMP;
4467                         image: "01_picker_spinner_panel_bg_bottom.png" COMP;
4468                         image: "01_picker_spinner_plus.png" COMP;
4469                         image: "01_picker_spinner_minus.png" COMP;
4470                         image: "01_picker_spinner_new_ani_01.png" COMP;
4471                         image: "01_picker_spinner_new_ani_02.png" COMP;
4472                         image: "01_picker_spinner_new_ani_03.png" COMP;
4473                         image: "01_picker_spinner_new_ani_04.png" COMP;
4474                         image: "01_picker_spinner_new_ani_05.png" COMP;
4475                         image: "01_picker_spinner_new_ani_06.png" COMP;
4476                 }
4477
4478                 #define ELM_PICKER_ANIM_MAX 7
4479                 #define ELM_PICKER_ANIM_HALF 4
4480                 script {
4481                         public ani_state; // 0: up, 1: down
4482                         public ani_lock;
4483                         public animator(val) {
4484                                 new s[8], next;
4485                                 if (get_int(ani_lock) == 0)
4486                                         return 0;
4487
4488                                 if (val == ELM_PICKER_ANIM_MAX) {
4489                                         set_state(PART:"elm.img.ani", "default", 0.0);
4490                                         if (get_int(ani_state) == 0)
4491                                                 emit("pressed", "up");
4492                                         else
4493                                                 emit("pressed", "down");
4494                                         set_int(ani_lock, 0);
4495                                         return 0;
4496                                 }
4497
4498                                 if (get_int(ani_state) == 1)
4499                                         next = val;
4500                                 else
4501                                         next = ELM_PICKER_ANIM_MAX-val;
4502
4503                                 snprintf(s, 8, "ani%d", next);
4504                                 set_state(PART:"elm.img.ani", s, 0.0);
4505
4506                                 if (val == ELM_PICKER_ANIM_HALF) {
4507                                         if (get_int(ani_state) == 0)
4508                                                 emit("half", "up");
4509                                         else
4510                                                 emit("half", "down");
4511                                 }
4512                                 return 0;
4513                         }
4514                         public message(Msg_Type:type, id, ...) {
4515                                 if ((type == MSG_FLOAT) && (id == 1)) {
4516                                         new Float:v;
4517                                         new Float:t = 0;
4518                                         new i;
4519
4520                                         if (get_int(ani_lock) == 1)
4521                                                 return;
4522                                         set_int(ani_lock, 1);
4523
4524                                         v = getfarg(2)/ELM_PICKER_ANIM_MAX;
4525                                         if (v < 0)
4526                                                 set_int(ani_state, 1);
4527                                         else
4528                                                 set_int(ani_state, 0);
4529                                         v = abs(v);
4530
4531                                         for (i = 0; i <= ELM_PICKER_ANIM_MAX; i++) {
4532                                                 t += v;
4533                                                 timer(t, "animator", i);
4534                                         }
4535                                 }
4536                         }
4537                 }
4538
4539                 parts {
4540                         part {
4541                                 name: "elm.base";
4542                                 type: RECT;
4543                                 description {
4544                                         state: "default" 0.0;
4545                                         color: 0 0 0 0;
4546                                 }
4547                         }
4548
4549                         part {
4550                                 name: "elm.rect.pad.middle";
4551                                 mouse_events: 0;
4552                                 scale: 1;
4553                                 description {
4554                                         min: 0 3;
4555                                         fixed: 0 1;
4556                                         rel1.to: "elm.base";
4557                                         rel1.relative: 0.0 0.5;
4558                                         rel2.to: "elm.base";
4559                                         rel2.relative: 1.0 0.5;
4560                                 }
4561                         }
4562
4563                         part {
4564                                 name: "elm.bg.top";
4565                                 mouse_events: 1;
4566                                 description {
4567                                         state: "default" 0.0;
4568                                         rel1.to: "elm.base";
4569                                         rel1.offset: 0 0;
4570                                         rel2.to: "elm.rect.pad.middle";
4571                                         rel2.relative: 1.0 0.0;
4572                                         image.normal: "01_picker_spinner_panel_bg_top.png";
4573                                         image.border: 4 4 1 1;
4574                                 }
4575                         }
4576                         part {
4577                                 name: "elm.bg.bottom";
4578                                 mouse_events: 1;
4579                                 description {
4580                                         state: "default" 0.0;
4581                                         rel1.to: "elm.rect.pad.middle";
4582                                         rel1.relative: 0.0 1.0;
4583                                         rel2.to: "elm.base";
4584                                         image.normal: "01_picker_spinner_panel_bg_bottom.png";
4585                                         image.border: 4 4 1 1;
4586                                 }
4587                         }
4588
4589                         part {
4590                                 type: RECT;
4591                                 name: "elm.clip.top";
4592                                 description {
4593                                         state: "default" 0.0;
4594                                         rel1.to: "elm.bg.top";
4595                                         rel2.to: "elm.bg.top";
4596                                         color: 255 255 255 255;
4597                                 }
4598                         }
4599
4600                         part {
4601                                 type: RECT;
4602                                 name: "elm.clip.bottom";
4603                                 description {
4604                                         state: "default" 0.0;
4605                                         rel1.to: "elm.bg.bottom";
4606                                         rel2.to: "elm.bg.bottom";
4607                                         color: 255 255 255 255;
4608                                 }
4609                         }
4610
4611                         part {
4612                                 name: "elm.text.top";
4613                                 type: TEXT;
4614                                 mouse_events:  0;
4615                                 clip_to: "elm.clip.top";
4616                                 scale: 1;
4617                                 description {
4618                                         state: "default" 0.0;
4619                                         visible: 0;
4620                                         rel1.to: "elm.bg.top";
4621                                         rel1.relative: 0.0 0.0;
4622                                         rel1.offset: 13 12;
4623                                         rel2.to: "elm.bg.bottom";
4624                                         rel2.relative: 1.0 1.0;
4625                                         rel2.offset: -12 -11;
4626                                         color: 0 0 0 255;
4627                                         color2: 0 0 0 255;
4628                                         fixed: 1 1;
4629                                         text {
4630                                                 font: "SLP:style=Roman";
4631                                                 size: 80;
4632                                                 min: 1 1;
4633                                                 align: 0.5 0.5;
4634                                         }
4635                                 }
4636                                 description {
4637                                         state: "visible" 0.0;
4638                                         inherit: "default" 0.0;
4639                                         visible: 1;
4640                                 }
4641                         }
4642
4643                         part {
4644                                 name: "elm.text.bottom";
4645                                 type: TEXT;
4646                                 mouse_events:  0;
4647                                 clip_to: "elm.clip.bottom";
4648                                 scale: 1;
4649                                 description {
4650                                         state: "default" 0.0;
4651                                         visible: 0;
4652                                         rel1.to: "elm.text.top";
4653                                         rel2.to: "elm.text.top";
4654                                         color: 0 0 0 255;
4655                                         color2: 0 0 0 255;
4656                                         fixed: 1 1;
4657                                         text {
4658                                                 font: "SLP:style=Roman";
4659                                                 size: 80;
4660                                                 min: 1 1;
4661                                                 align: 0.5 0.5;
4662                                         }
4663                                 }
4664                                 description {
4665                                         state: "visible" 0.0;
4666                                         inherit: "default" 0.0;
4667                                         visible: 1;
4668                                 }
4669                         }
4670                         part {
4671                                 name: "elm.rect.flick";
4672                                 type: RECT;
4673                                 mouse_events: 1;
4674                                 description {
4675                                         state: "default" 0.0;
4676                                         rel1.to: "elm.bg.top";
4677                                         rel1.relative: 0.0 0.0;
4678                                         rel2.to: "elm.bg.bottom";
4679                                         rel2.relative: 1.0 1.0;
4680                                         color: 0 0 0 0;
4681                                 }
4682                         }
4683
4684                         part {
4685                                 name: "elm.img.button.up";
4686                                 mouse_events:  0;
4687                                 scale: 1;
4688                                 description {
4689                                         state: "default" 0.0;
4690                                         visible: 0;
4691                                         min: 20 20;
4692                                         fixed: 1 1;
4693                                         rel1.to: "elm.bg.top";
4694                                         rel1.relative: 0.5 (16/142);
4695                                         rel2.to: "elm.bg.top";
4696                                         rel2.relative: 0.5 (36/142);
4697                                         image.normal: "01_picker_spinner_plus.png";
4698                                         align: 0.5 0.0;
4699                                 }
4700                                 description {
4701                                         state: "visible" 0.0;
4702                                         inherit: "default" 0.0;
4703                                         visible: 1;
4704                                 }
4705                         }
4706
4707                         part {
4708                                 name: "elm.rect.button.up";
4709                                 type: RECT;
4710                                 mouse_events: 1;
4711                                 repeat_events: 1;
4712                                 description {
4713                                         state: "default" 0.0;
4714                                         visible: 0;
4715                                         rel1.to: "elm.bg.top";
4716                                         rel2.to: "elm.bg.top";
4717                                         rel2.relative: 1.0 0.8;
4718                                         color: 0 0 0 0;
4719                                 }
4720                                 description {
4721                                         state: "visible" 0.0;
4722                                         inherit: "default" 0.0;
4723                                         visible: 1;
4724                                 }
4725                         }
4726
4727                         part {
4728                                 name: "elm.img.button.down";
4729                                 mouse_events:  0;
4730                                 scale: 1;
4731                                 description {
4732                                         state: "default" 0.0;
4733                                         visible: 0;
4734                                         min: 20 20;
4735                                         fixed: 1 1;
4736                                         rel1.to: "elm.bg.bottom";
4737                                         rel1.relative: 0.5 (107/143);
4738                                         rel2.to: "elm.bg.bottom";
4739                                         rel2.relative: 0.5 (127/143);
4740                                         image.normal: "01_picker_spinner_minus.png";
4741                                         align: 0.5 1.0;
4742                                 }
4743                                 description {
4744                                         state: "visible" 0.0;
4745                                         inherit: "default" 0.0;
4746                                         visible: 1;
4747                                 }
4748                         }
4749
4750                         part {
4751                                 name: "elm.rect.button.down";
4752                                 type: RECT;
4753                                 mouse_events: 1;
4754                                 repeat_events: 1;
4755                                 description {
4756                                         state: "default" 0.0;
4757                                         visible: 0;
4758                                         rel1.to: "elm.bg.bottom";
4759                                         rel1.relative: 0.0 0.2;
4760                                         rel2.to: "elm.bg.bottom";
4761                                         color: 0 0 0 0;
4762                                 }
4763                                 description {
4764                                         state: "visible" 0.0;
4765                                         inherit: "default" 0.0;
4766                                         visible: 1;
4767                                 }
4768                         }
4769
4770                         part {
4771                                 name: "elm.img.ani";
4772                                 mouse_events: 0;
4773                                 description {
4774                                         state: "default" 0.0;
4775                                         visible: 0;
4776                                         rel1.to: "elm.bg.top";
4777                                         rel1.offset: -8 0;
4778                                         rel2.to_y: "elm.bg.top";
4779                                         rel2.offset: 7 -1;
4780                                         visible: 0;
4781                                 }
4782                                 description {
4783                                         state: "ani1" 0.0;
4784                                         inherit: "default" 0.0;
4785                                         visible: 1;
4786                                         rel1.relative: 0.0 0.063;
4787                                         image.normal: "01_picker_spinner_new_ani_01.png";
4788                                         image.border: 8 8 1 1;
4789                                 }
4790                                 description {
4791                                         state: "ani2" 0.0;
4792                                         inherit: "default" 0.0;
4793                                         visible: 1;
4794                                         rel1.relative: 0.0 0.246;
4795                                         image.normal: "01_picker_spinner_new_ani_02.png";
4796                                         image.border: 8 8 1 1;
4797                                 }
4798                                 description {
4799                                         state: "ani3" 0.0;
4800                                         inherit: "default" 0.0;
4801                                         visible: 1;
4802                                         rel1.relative: 0.0 0.521;
4803                                         image.normal: "01_picker_spinner_new_ani_03.png";
4804                                         image.border: 8 8 1 1;
4805                                 }
4806                                 description {
4807                                         state: "ani4" 0.0;
4808                                         inherit: "default" 0.0;
4809                                         visible: 1;
4810                                         rel1.to: "elm.bg.bottom";
4811                                         rel1.relative: 0.0 0.0;
4812                                         rel2.to_y: "elm.bg.bottom";
4813                                         rel2.relative: 1.0 0.479;
4814                                         image.normal: "01_picker_spinner_new_ani_04.png";
4815                                         image.border: 8 8 1 1;
4816                                 }
4817                                 description {
4818                                         state: "ani5" 0.0;
4819                                         inherit: "default" 0.0;
4820                                         visible: 1;
4821                                         rel1.to: "elm.bg.bottom";
4822                                         rel1.relative: 0.0 0.0;
4823                                         rel2.to_y: "elm.bg.bottom";
4824                                         rel2.relative: 1.0 0.754;
4825                                         image.normal: "01_picker_spinner_new_ani_05.png";
4826                                         image.border: 8 8 1 1;
4827                                 }
4828                                 description {
4829                                         state: "ani6" 0.0;
4830                                         inherit: "default" 0.0;
4831                                         visible: 1;
4832                                         rel1.to: "elm.bg.bottom";
4833                                         rel1.relative: 0.0 0.0;
4834                                         rel2.to_y: "elm.bg.bottom";
4835                                         rel2.relative: 1.0 0.937;
4836                                         image.normal: "01_picker_spinner_new_ani_06.png";
4837                                         image.border: 8 8 1 1;
4838                                 }
4839                         }
4840                 }
4841                 programs {
4842                         program {
4843                                 name: "button_show";
4844                                 signal: "elm,state,button,visible";
4845                                 source: "elm";
4846                                 action: STATE_SET "visible" 0.0;
4847                                 target: "elm.img.button.up";
4848                                 target: "elm.rect.button.up";
4849                                 target: "elm.img.button.down";
4850                                 target: "elm.rect.button.down";
4851                         }
4852
4853                         program {
4854                                 name: "button_hide";
4855                                 signal: "elm,state,button,hidden";
4856                                 source: "elm";
4857                                 action: STATE_SET "default" 0.0;
4858                                 target: "elm.img.button.up";
4859                                 target: "elm.rect.button.up";
4860                                 target: "elm.img.button.down";
4861                                 target: "elm.rect.button.down";
4862                         }
4863
4864                         program {
4865                                 name: "text_show";
4866                                 signal: "elm,state,text,visible";
4867                                 source: "elm";
4868                                 action: STATE_SET "visible" 0.0;
4869                                 target: "elm.text.top";
4870                                 target: "elm.text.bottom";
4871                         }
4872                         program {
4873                                 name: "text_hide";
4874                                 signal: "elm,state,text,hidden";
4875                                 source: "elm";
4876                                 action: STATE_SET "default" 0.0;
4877                                 target: "elm.text.top";
4878                                 target: "elm.text.bottom";
4879                         }
4880                 }
4881         }
4882
4883         group { name: "elm/picker/base/no_button";
4884                 images {
4885                         image: "01_picker_spinner_panel_bg_top.png" COMP;
4886                         image: "01_picker_spinner_panel_bg_bottom.png" COMP;
4887                         image: "01_picker_spinner_new_ani_01.png" COMP;
4888                         image: "01_picker_spinner_new_ani_02.png" COMP;
4889                         image: "01_picker_spinner_new_ani_03.png" COMP;
4890                         image: "01_picker_spinner_new_ani_04.png" COMP;
4891                         image: "01_picker_spinner_new_ani_05.png" COMP;
4892                         image: "01_picker_spinner_new_ani_06.png" COMP;
4893                 }
4894                 script {
4895                         public ani_state; // 0: up, 1: down
4896                         public ani_lock;
4897                         public animator(val) {
4898                                 new s[8], next;
4899                                 if (get_int(ani_lock) == 0)
4900                                         return 0;
4901
4902                                 if (val == ELM_PICKER_ANIM_MAX) {
4903                                         set_state(PART:"elm.img.ani", "default", 0.0);
4904                                         if (get_int(ani_state) == 0)
4905                                                 emit("pressed", "up");
4906                                         else
4907                                                 emit("pressed", "down");
4908                                         set_int(ani_lock, 0);
4909                                         return 0;
4910                                 }
4911
4912                                 if (get_int(ani_state) == 1)
4913                                         next = val;
4914                                 else
4915                                         next = ELM_PICKER_ANIM_MAX-val;
4916
4917                                 snprintf(s, 8, "ani%d", next);
4918                                 set_state(PART:"elm.img.ani", s, 0.0);
4919
4920                                 if (val == ELM_PICKER_ANIM_HALF) {
4921                                         if (get_int(ani_state) == 0)
4922                                                 emit("half", "up");
4923                                         else
4924                                                 emit("half", "down");
4925                                 }
4926                                 return 0;
4927                         }
4928                         public message(Msg_Type:type, id, ...) {
4929                                 if ((type == MSG_FLOAT) && (id == 1)) {
4930                                         new Float:v;
4931                                         new Float:t = 0;
4932                                         new i;
4933
4934                                         if (get_int(ani_lock) == 1)
4935                                                 return;
4936                                         set_int(ani_lock, 1);
4937
4938                                         v = getfarg(2)/ELM_PICKER_ANIM_MAX;
4939                                         if (v < 0)
4940                                                 set_int(ani_state, 1);
4941                                         else
4942                                                 set_int(ani_state, 0);
4943                                         v = abs(v);
4944
4945                                         for (i = 0; i <= ELM_PICKER_ANIM_MAX; i++) {
4946                                                 t += v;
4947                                                 timer(t, "animator", i);
4948                                         }
4949                                 }
4950                         }
4951                 }
4952
4953                 parts {
4954                         part {
4955                                 name: "elm.base";
4956                                 type: RECT;
4957                                 description {
4958                                         state: "default" 0.0;
4959                                         color: 0 0 0 0;
4960                                 }
4961                         }
4962
4963                         part {
4964                                 name: "elm.rect.pad.middle";
4965                                 mouse_events: 0;
4966                                 scale: 1;
4967                                 description {
4968                                         min: 0 3;
4969                                         fixed: 0 1;
4970                                         rel1.to: "elm.base";
4971                                         rel1.relative: 0.0 0.5;
4972                                         rel2.to: "elm.base";
4973                                         rel2.relative: 1.0 0.5;
4974                                 }
4975                         }
4976
4977                         part {
4978                                 name: "elm.bg.top";
4979                                 mouse_events: 1;
4980                                 description {
4981                                         state: "default" 0.0;
4982                                         rel1.to: "elm.base";
4983                                         rel1.offset: 0 0;
4984                                         rel2.to: "elm.rect.pad.middle";
4985                                         rel2.relative: 1.0 0.0;
4986                                         image.normal: "01_picker_spinner_panel_bg_top.png";
4987                                         image.border: 4 4 1 1;
4988                                 }
4989                         }
4990                         part {
4991                                 name: "elm.bg.bottom";
4992                                 mouse_events: 1;
4993                                 description {
4994                                         state: "default" 0.0;
4995                                         rel1.to: "elm.rect.pad.middle";
4996                                         rel1.relative: 0.0 1.0;
4997                                         rel2.to: "elm.base";
4998                                         image.normal: "01_picker_spinner_panel_bg_bottom.png";
4999                                         image.border: 4 4 1 1;
5000                                 }
5001                         }
5002
5003                         part {
5004                                 type: RECT;
5005                                 name: "elm.clip.top";
5006                                 description {
5007                                         state: "default" 0.0;
5008                                         rel1.to: "elm.bg.top";
5009                                         rel2.to: "elm.bg.top";
5010                                         color: 255 255 255 255;
5011                                 }
5012                         }
5013
5014                         part {
5015                                 type: RECT;
5016                                 name: "elm.clip.bottom";
5017                                 description {
5018                                         state: "default" 0.0;
5019                                         rel1.to: "elm.bg.bottom";
5020                                         rel2.to: "elm.bg.bottom";
5021                                         color: 255 255 255 255;
5022                                 }
5023                         }
5024
5025                         part {
5026                                 name: "elm.text.top";
5027                                 type: TEXT;
5028                                 mouse_events:  0;
5029                                 clip_to: "elm.clip.top";
5030                                 scale: 1;
5031                                 description {
5032                                         state: "default" 0.0;
5033                                         visible: 0;
5034                                         rel1.to: "elm.bg.top";
5035                                         rel1.relative: 0.0 0.0;
5036                                         rel1.offset: 13 12;
5037                                         rel2.to: "elm.bg.bottom";
5038                                         rel2.relative: 1.0 1.0;
5039                                         rel2.offset: -12 -11;
5040                                         color: 0 0 0 255;
5041                                         color2: 0 0 0 255;
5042                                         fixed: 1 1;
5043                                         text {
5044                                                 font: "SLP:style=Roman";
5045                                                 size: 80;
5046                                                 min: 1 1;
5047                                                 align: 0.5 0.5;
5048                                         }
5049                                 }
5050                                 description {
5051                                         state: "visible" 0.0;
5052                                         inherit: "default" 0.0;
5053                                         visible: 1;
5054                                 }
5055                         }
5056
5057                         part {
5058                                 name: "elm.text.bottom";
5059                                 type: TEXT;
5060                                 mouse_events:  0;
5061                                 clip_to: "elm.clip.bottom";
5062                                 scale: 1;
5063                                 description {
5064                                         state: "default" 0.0;
5065                                         visible: 0;
5066                                         rel1.to: "elm.text.top";
5067                                         rel2.to: "elm.text.top";
5068                                         color: 0 0 0 255;
5069                                         color2: 0 0 0 255;
5070                                         fixed: 1 1;
5071                                         text {
5072                                                 font: "SLP:style=Roman";
5073                                                 size: 80;
5074                                                 min: 1 1;
5075                                                 align: 0.5 0.5;
5076                                         }
5077                                 }
5078                                 description {
5079                                         state: "visible" 0.0;
5080                                         inherit: "default" 0.0;
5081                                         visible: 1;
5082                                 }
5083                         }
5084                         part {
5085                                 name: "elm.rect.flick";
5086                                 type: RECT;
5087                                 mouse_events: 1;
5088                                 description {
5089                                         state: "default" 0.0;
5090                                         rel1.to: "elm.bg.top";
5091                                         rel1.relative: 0.0 0.0;
5092                                         rel2.to: "elm.bg.bottom";
5093                                         rel2.relative: 1.0 1.0;
5094                                         color: 0 0 0 0;
5095                                 }
5096                         }
5097
5098                         part {
5099                                 name: "elm.img.ani";
5100                                 mouse_events: 0;
5101                                 description {
5102                                         state: "default" 0.0;
5103                                         visible: 0;
5104                                         rel1.to: "elm.bg.top";
5105                                         rel1.offset: -8 0;
5106                                         rel2.to_y: "elm.bg.top";
5107                                         rel2.offset: 7 -1;
5108                                         visible: 0;
5109                                 }
5110                                 description {
5111                                         state: "ani1" 0.0;
5112                                         inherit: "default" 0.0;
5113                                         visible: 1;
5114                                         rel1.relative: 0.0 0.063;
5115                                         image.normal: "01_picker_spinner_new_ani_01.png";
5116                                         image.border: 8 8 1 1;
5117                                 }
5118                                 description {
5119                                         state: "ani2" 0.0;
5120                                         inherit: "default" 0.0;
5121                                         visible: 1;
5122                                         rel1.relative: 0.0 0.246;
5123                                         image.normal: "01_picker_spinner_new_ani_02.png";
5124                                         image.border: 8 8 1 1;
5125                                 }
5126                                 description {
5127                                         state: "ani3" 0.0;
5128                                         inherit: "default" 0.0;
5129                                         visible: 1;
5130                                         rel1.relative: 0.0 0.521;
5131                                         image.normal: "01_picker_spinner_new_ani_03.png";
5132                                         image.border: 8 8 1 1;
5133                                 }
5134                                 description {
5135                                         state: "ani4" 0.0;
5136                                         inherit: "default" 0.0;
5137                                         visible: 1;
5138                                         rel1.to: "elm.bg.bottom";
5139                                         rel1.relative: 0.0 0.0;
5140                                         rel2.to_y: "elm.bg.bottom";
5141                                         rel2.relative: 1.0 0.479;
5142                                         image.normal: "01_picker_spinner_new_ani_04.png";
5143                                         image.border: 8 8 1 1;
5144                                 }
5145                                 description {
5146                                         state: "ani5" 0.0;
5147                                         inherit: "default" 0.0;
5148                                         visible: 1;
5149                                         rel1.to: "elm.bg.bottom";
5150                                         rel1.relative: 0.0 0.0;
5151                                         rel2.to_y: "elm.bg.bottom";
5152                                         rel2.relative: 1.0 0.754;
5153                                         image.normal: "01_picker_spinner_new_ani_05.png";
5154                                         image.border: 8 8 1 1;
5155                                 }
5156                                 description {
5157                                         state: "ani6" 0.0;
5158                                         inherit: "default" 0.0;
5159                                         visible: 1;
5160                                         rel1.to: "elm.bg.bottom";
5161                                         rel1.relative: 0.0 0.0;
5162                                         rel2.to_y: "elm.bg.bottom";
5163                                         rel2.relative: 1.0 0.937;
5164                                         image.normal: "01_picker_spinner_new_ani_06.png";
5165                                         image.border: 8 8 1 1;
5166                                 }
5167                         }
5168                 }
5169                 programs {
5170                         program {
5171                                 name: "text_show";
5172                                 signal: "elm,state,text,visible";
5173                                 source: "elm";
5174                                 action: STATE_SET "visible" 0.0;
5175                                 target: "elm.text.top";
5176                                 target: "elm.text.bottom";
5177                         }
5178                         program {
5179                                 name: "text_hide";
5180                                 signal: "elm,state,text,hidden";
5181                                 source: "elm";
5182                                 action: STATE_SET "default" 0.0;
5183                                 target: "elm.text.top";
5184                                 target: "elm.text.bottom";
5185                         }
5186                 }
5187         }
5188         group { name: "elm/picker/base/timepicker/ampm";
5189                 images {
5190                         image: "01_picker_spinner_panel_bg_top.png" COMP;
5191                         image: "01_picker_spinner_panel_bg_bottom.png" COMP;
5192                         image: "01_picker_spinner_new_ani_01.png" COMP;
5193                         image: "01_picker_spinner_new_ani_02.png" COMP;
5194                         image: "01_picker_spinner_new_ani_03.png" COMP;
5195                         image: "01_picker_spinner_new_ani_04.png" COMP;
5196                         image: "01_picker_spinner_new_ani_05.png" COMP;
5197                         image: "01_picker_spinner_new_ani_06.png" COMP;
5198                 }
5199                 script {
5200                         public ani_state; // 0: up, 1: down
5201                         public ani_lock;
5202                         public animator(val) {
5203                                 new s[8], next;
5204                                 if (get_int(ani_lock) == 0)
5205                                         return 0;
5206
5207                                 if (val == ELM_PICKER_ANIM_MAX) {
5208                                         set_state(PART:"elm.img.ani", "default", 0.0);
5209                                         if (get_int(ani_state) == 0)
5210                                                 emit("pressed", "up");
5211                                         else
5212                                                 emit("pressed", "down");
5213                                         set_int(ani_lock, 0);
5214                                         return 0;
5215                                 }
5216
5217                                 if (get_int(ani_state) == 1)
5218                                         next = val;
5219                                 else
5220                                         next = ELM_PICKER_ANIM_MAX-val;
5221
5222                                 snprintf(s, 8, "ani%d", next);
5223                                 set_state(PART:"elm.img.ani", s, 0.0);
5224
5225                                 if (val == ELM_PICKER_ANIM_HALF) {
5226                                         if (get_int(ani_state) == 0)
5227                                                 emit("half", "up");
5228                                         else
5229                                                 emit("half", "down");
5230                                 }
5231                                 return 0;
5232                         }
5233                         public message(Msg_Type:type, id, ...) {
5234                                 if ((type == MSG_FLOAT) && (id == 1)) {
5235                                         new Float:v;
5236                                         new Float:t = 0;
5237                                         new i;
5238
5239                                         if (get_int(ani_lock) == 1)
5240                                                 return;
5241                                         set_int(ani_lock, 1);
5242
5243                                         v = getfarg(2)/ELM_PICKER_ANIM_MAX;
5244                                         if (v < 0)
5245                                                 set_int(ani_state, 1);
5246                                         else
5247                                                 set_int(ani_state, 0);
5248                                         v = abs(v);
5249
5250                                         for (i = 0; i <= ELM_PICKER_ANIM_MAX; i++) {
5251                                                 t += v;
5252                                                 timer(t, "animator", i);
5253                                         }
5254                                 }
5255                         }
5256                 }
5257
5258                 parts {
5259                         part {
5260                                 name: "elm.base";
5261                                 type: RECT;
5262                                 description {
5263                                         state: "default" 0.0;
5264                                         color: 0 0 0 0;
5265                                 }
5266                         }
5267
5268                         part {
5269                                 name: "elm.rect.pad.middle";
5270                                 mouse_events: 0;
5271                                 scale: 1;
5272                                 description {
5273                                         min: 0 3;
5274                                         fixed: 0 1;
5275                                         rel1.to: "elm.base";
5276                                         rel1.relative: 0.0 0.5;
5277                                         rel2.to: "elm.base";
5278                                         rel2.relative: 1.0 0.5;
5279                                 }
5280                         }
5281
5282                         part {
5283                                 name: "elm.bg.top";
5284                                 mouse_events: 1;
5285                                 description {
5286                                         state: "default" 0.0;
5287                                         rel1.to: "elm.base";
5288                                         rel1.offset: 0 0;
5289                                         rel2.to: "elm.rect.pad.middle";
5290                                         rel2.relative: 1.0 0.0;
5291                                         image.normal: "01_picker_spinner_panel_bg_top.png";
5292                                         image.border: 4 4 1 1;
5293                                 }
5294                         }
5295                         part {
5296                                 name: "elm.bg.bottom";
5297                                 mouse_events: 1;
5298                                 description {
5299                                         state: "default" 0.0;
5300                                         rel1.to: "elm.rect.pad.middle";
5301                                         rel1.relative: 0.0 1.0;
5302                                         rel2.to: "elm.base";
5303                                         image.normal: "01_picker_spinner_panel_bg_bottom.png";
5304                                         image.border: 4 4 1 1;
5305                                 }
5306                         }
5307
5308                         part {
5309                                 type: RECT;
5310                                 name: "elm.clip.top";
5311                                 description {
5312                                         state: "default" 0.0;
5313                                         rel1.to: "elm.bg.top";
5314                                         rel2.to: "elm.bg.top";
5315                                         color: 255 255 255 255;
5316                                 }
5317                         }
5318
5319                         part {
5320                                 type: RECT;
5321                                 name: "elm.clip.bottom";
5322                                 description {
5323                                         state: "default" 0.0;
5324                                         rel1.to: "elm.bg.bottom";
5325                                         rel2.to: "elm.bg.bottom";
5326                                         color: 255 255 255 255;
5327                                 }
5328                         }
5329
5330                         part {
5331                                 name: "elm.text.top";
5332                                 type: TEXT;
5333                                 mouse_events:  0;
5334                                 clip_to: "elm.clip.top";
5335                                 scale: 1;
5336                                 description {
5337                                         state: "default" 0.0;
5338                                         visible: 0;
5339                                         rel1.to: "elm.bg.top";
5340                                         rel1.relative: 0.0 0.0;
5341                                         rel1.offset: 13 9;
5342                                         rel2.to: "elm.bg.bottom";
5343                                         rel2.relative: 1.0 1.0;
5344                                         rel2.offset: -12 -10;
5345                                         color: 0 0 0 255;
5346                                         color2: 0 0 0 255;
5347                                         fixed: 1 1;
5348                                         text {
5349                                                 font: "SLP:style=Roman";
5350                                                 size: 48;
5351                                                 min: 1 1;
5352                                                 align: 0.5 0.5;
5353                                         }
5354                                 }
5355                                 description {
5356                                         state: "visible" 0.0;
5357                                         inherit: "default" 0.0;
5358                                         visible: 1;
5359                                 }
5360                         }
5361
5362                         part {
5363                                 name: "elm.text.bottom";
5364                                 type: TEXT;
5365                                 mouse_events:  0;
5366                                 clip_to: "elm.clip.bottom";
5367                                 scale: 1;
5368                                 description {
5369                                         state: "default" 0.0;
5370                                         visible: 0;
5371                                         rel1.to: "elm.text.top";
5372                                         rel2.to: "elm.text.top";
5373                                         color: 0 0 0 255;
5374                                         color2: 0 0 0 255;
5375                                         fixed: 1 1;
5376                                         text {
5377                                                 font: "SLP:style=Roman";
5378                                                 size: 48;
5379                                                 min: 1 1;
5380                                                 align: 0.5 0.5;
5381                                         }
5382                                 }
5383                                 description {
5384                                         state: "visible" 0.0;
5385                                         inherit: "default" 0.0;
5386                                         visible: 1;
5387                                 }
5388                         }
5389                         part {
5390                                 name: "elm.rect.flick";
5391                                 type: RECT;
5392                                 mouse_events: 1;
5393                                 description {
5394                                         state: "default" 0.0;
5395                                         rel1.to: "elm.bg.top";
5396                                         rel1.relative: 0.0 0.0;
5397                                         rel2.to: "elm.bg.bottom";
5398                                         rel2.relative: 1.0 1.0;
5399                                         color: 0 0 0 0;
5400                                 }
5401                         }
5402
5403                         part {
5404                                 name: "elm.rect.button.up";
5405                                 type: RECT;
5406                                 mouse_events: 1;
5407                                 repeat_events: 1;
5408                                 description {
5409                                         state: "default" 0.0;
5410                                         visible: 0;
5411                                         rel1.to: "elm.bg.top";
5412                                         rel2.to: "elm.bg.top";
5413                                         rel2.relative: 1.0 0.8;
5414                                         color: 0 0 0 0;
5415                                 }
5416                                 description {
5417                                         state: "visible" 0.0;
5418                                         inherit: "default" 0.0;
5419                                         visible: 1;
5420                                 }
5421                         }
5422
5423                         part {
5424                                 name: "elm.rect.button.down";
5425                                 type: RECT;
5426                                 mouse_events: 1;
5427                                 repeat_events: 1;
5428                                 description {
5429                                         state: "default" 0.0;
5430                                         visible: 0;
5431                                         rel1.to: "elm.bg.bottom";
5432                                         rel1.relative: 0.0 0.2;
5433                                         rel2.to: "elm.bg.bottom";
5434                                         color: 0 0 0 0;
5435                                 }
5436                                 description {
5437                                         state: "visible" 0.0;
5438                                         inherit: "default" 0.0;
5439                                         visible: 1;
5440                                 }
5441                         }
5442
5443                         part {
5444                                 name: "elm.img.ani";
5445                                 mouse_events: 0;
5446                                 description {
5447                                         state: "default" 0.0;
5448                                         visible: 0;
5449                                         rel1.to: "elm.bg.top";
5450                                         rel1.offset: -8 0;
5451                                         rel2.to_y: "elm.bg.top";
5452                                         rel2.offset: 7 -1;
5453                                         visible: 0;
5454                                 }
5455                                 description {
5456                                         state: "ani1" 0.0;
5457                                         inherit: "default" 0.0;
5458                                         visible: 1;
5459                                         rel1.relative: 0.0 0.063;
5460                                         image.normal: "01_picker_spinner_new_ani_01.png";
5461                                         image.border: 8 8 1 1;
5462                                 }
5463                                 description {
5464                                         state: "ani2" 0.0;
5465                                         inherit: "default" 0.0;
5466                                         visible: 1;
5467                                         rel1.relative: 0.0 0.246;
5468                                         image.normal: "01_picker_spinner_new_ani_02.png";
5469                                         image.border: 8 8 1 1;
5470                                 }
5471                                 description {
5472                                         state: "ani3" 0.0;
5473                                         inherit: "default" 0.0;
5474                                         visible: 1;
5475                                         rel1.relative: 0.0 0.521;
5476                                         image.normal: "01_picker_spinner_new_ani_03.png";
5477                                         image.border: 8 8 1 1;
5478                                 }
5479                                 description {
5480                                         state: "ani4" 0.0;
5481                                         inherit: "default" 0.0;
5482                                         visible: 1;
5483                                         rel1.to: "elm.bg.bottom";
5484                                         rel1.relative: 0.0 0.0;
5485                                         rel2.to_y: "elm.bg.bottom";
5486                                         rel2.relative: 1.0 0.479;
5487                                         image.normal: "01_picker_spinner_new_ani_04.png";
5488                                         image.border: 8 8 1 1;
5489                                 }
5490                                 description {
5491                                         state: "ani5" 0.0;
5492                                         inherit: "default" 0.0;
5493                                         visible: 1;
5494                                         rel1.to: "elm.bg.bottom";
5495                                         rel1.relative: 0.0 0.0;
5496                                         rel2.to_y: "elm.bg.bottom";
5497                                         rel2.relative: 1.0 0.754;
5498                                         image.normal: "01_picker_spinner_new_ani_05.png";
5499                                         image.border: 8 8 1 1;
5500                                 }
5501                                 description {
5502                                         state: "ani6" 0.0;
5503                                         inherit: "default" 0.0;
5504                                         visible: 1;
5505                                         rel1.to: "elm.bg.bottom";
5506                                         rel1.relative: 0.0 0.0;
5507                                         rel2.to_y: "elm.bg.bottom";
5508                                         rel2.relative: 1.0 0.937;
5509                                         image.normal: "01_picker_spinner_new_ani_06.png";
5510                                         image.border: 8 8 1 1;
5511                                 }
5512                         }
5513                 }
5514                 programs {
5515                         program {
5516                                 name: "button_show";
5517                                 signal: "elm,state,button,visible";
5518                                 source: "elm";
5519                                 action: STATE_SET "visible" 0.0;
5520                                 target: "elm.rect.button.up";
5521                                 target: "elm.rect.button.down";
5522                         }
5523
5524                         program {
5525                                 name: "button_hide";
5526                                 signal: "elm,state,button,hidden";
5527                                 source: "elm";
5528                                 action: STATE_SET "default" 0.0;
5529                                 target: "elm.rect.button.up";
5530                                 target: "elm.rect.button.down";
5531                         }
5532                         program {
5533                                 name: "text_show";
5534                                 signal: "elm,state,text,visible";
5535                                 source: "elm";
5536                                 action: STATE_SET "visible" 0.0;
5537                                 target: "elm.text.top";
5538                                 target: "elm.text.bottom";
5539                         }
5540                         program {
5541                                 name: "text_hide";
5542                                 signal: "elm,state,text,hidden";
5543                                 source: "elm";
5544                                 action: STATE_SET "default" 0.0;
5545                                 target: "elm.text.top";
5546                                 target: "elm.text.bottom";
5547                         }
5548                 }
5549         }
5550
5551 ///////////////////////////////////////////////////////////////////////////////
5552         group { name: "elm/timepicker/base/default";
5553                 images {
5554                         image: "01_hybrid_spinner_num_time_colon.png" COMP;
5555                 }
5556
5557                 parts {
5558                         part {
5559                                 name: "elm.rect.bg";
5560                                 type: RECT;
5561                                 description {
5562                                         state: "default" 0.0;
5563                                         color: 0 0 0 0;
5564                                 }
5565                         }
5566                         part {
5567                                 name: "elm.rect.bg.time";
5568                                 type: RECT;
5569                                 description {
5570                                         state: "default" 0.0;
5571                                         color: 0 0 0 0;
5572                                         rel2.to_x: "elm.swallow.ampm";
5573                                         rel2.relative: (-12/90) 1.0;
5574                                         color: 0 0 0 0;
5575                                 }
5576                         }
5577
5578                         part {
5579                                 name: "elm.img.colon.1";
5580                                 description {
5581                                         state: "default" 0.0;
5582                                         rel1.to: "elm.swallow.hour";
5583                                         rel1.relative: 1.0 0.246;
5584                                         rel2.to: "elm.swallow.min";
5585                                         rel2.relative: 0.0 0.754;
5586                                         image.normal: "01_hybrid_spinner_num_time_colon.png";
5587                                         aspect: 0.34 1.0;
5588                                         aspect_preference: HORIZONTAL;
5589                                 }
5590                         }
5591                         part {
5592                                 name: "elm.img.colon.2";
5593                                 description {
5594                                         state: "default" 0.0;
5595                                         rel1.to: "elm.swallow.min";
5596                                         rel1.relative: 1.0 0.246;
5597                                         rel2.to: "elm.swallow.sub";
5598                                         rel2.relative: 0.0 0.754;
5599                                         image.normal: "01_hybrid_spinner_num_time_colon.png";
5600                                         aspect: 0.34 1.0;
5601                                         aspect_preference: HORIZONTAL;
5602                                         visible: 0;
5603                                 }
5604                                 description {
5605                                         state: "with_sec" 0.0;
5606                                         inherit: "default" 0.0;
5607                                         visible: 1;
5608                                 }
5609                         }
5610
5611                         part {
5612                                 name: "elm.text.hour";
5613                                 type: TEXT;
5614                                 mouse_events:  0;
5615                                 scale: 1;
5616                                 description {
5617                                         state: "default" 0.0;
5618                                         visible: 1;
5619                                         rel1.to_x: "elm.swallow.hour";
5620                                         rel1.to_y: "elm.rect.bg.time";
5621                                         rel2.to_x: "elm.swallow.hour";
5622                                         rel2.to_y: "elm.rect.bg.time";
5623                                         rel2.relative: 1.0 (24/317);
5624                                         color: 255 255 255 255;
5625                                         color2: 0 0 0 255;
5626                                         fixed: 1 1;
5627                                         text {
5628                                                 font: "SLP:style=Roman";
5629                                                 text: "Hour";
5630                                                 size: 24;
5631                                                 min: 1 1;
5632                                                 align: 0.5 0.5;
5633                                         }
5634                                 }
5635                         }
5636
5637                         part {
5638                                 name: "elm.swallow.hour";
5639                                 type: SWALLOW;
5640                                 mouse_events: 1;
5641                                 description {
5642                                         state: "default" 0.0;
5643                                         rel1.to_x: "elm.rect.bg.time";
5644                                         rel1.to_y: "elm.text.hour";
5645                                         rel1.relative: 0.0 (32/24);
5646                                         rel2.to: "elm.rect.bg.time";
5647                                         rel2.relative: 0.380 1.0;
5648                                 }
5649                                 description {
5650                                         state: "with_sec" 0.0;
5651                                         inherit: "default" 0.0;
5652                                         rel2.relative: 0.283 1.0;
5653                                 }
5654                         }
5655
5656                         part {
5657                                 name: "elm.text.min";
5658                                 type: TEXT;
5659                                 mouse_events:  0;
5660                                 scale: 1;
5661                                 description {
5662                                         state: "default" 0.0;
5663                                         visible: 1;
5664                                         rel1.to_x: "elm.swallow.min";
5665                                         rel1.to_y: "elm.rect.bg.time";
5666                                         rel2.to_x: "elm.swallow.sub";
5667                                         rel2.to_y: "elm.rect.bg.time";
5668                                         rel2.relative: 1.0 (24/317);
5669                                         color: 255 255 255 255;
5670                                         color2: 0 0 0 255;
5671                                         fixed: 1 1;
5672                                         text {
5673                                                 font: "SLP:style=Roman";
5674                                                 text: "Minute";
5675                                                 size: 24;
5676                                                 min: 1 1;
5677                                                 align: 0.5 0.5;
5678                                         }
5679                                 }
5680                                 description {
5681                                         state: "with_sec" 0.0;
5682                                         inherit: "default" 0.0;
5683                                         rel2.to_x: "elm.swallow.min";
5684                                 }
5685                         }
5686
5687                         part {
5688                                 name: "elm.swallow.min";
5689                                 type: SWALLOW;
5690                                 mouse_events: 1;
5691                                 description {
5692                                         state: "default" 0.0;
5693                                         rel1.to_x: "elm.rect.bg.time";
5694                                         rel1.to_y: "elm.swallow.hour";
5695                                         rel1.relative: 0.482 0.0;
5696                                         rel2.to: "elm.rect.bg.time";
5697                                         rel2.relative: 0.729 1.0;
5698                                 }
5699                                 description {
5700                                         state: "with_sec" 0.0;
5701                                         inherit: "default" 0.0;
5702                                         rel1.relative: 0.358 0.0;
5703                                         rel2.relative: 0.641 1.0;
5704                                 }
5705                         }
5706
5707                         part {
5708                                 name: "elm.text.sec";
5709                                 type: TEXT;
5710                                 mouse_events:  0;
5711                                 scale: 1;
5712                                 description {
5713                                         state: "default" 0.0;
5714                                         visible: 0;
5715                                         rel1.to_x: "elm.swallow.sub";
5716                                         rel1.to_y: "elm.rect.bg.time";
5717                                         rel2.to_x: "elm.swallow.sub";
5718                                         rel2.to_y: "elm.rect.bg.time";
5719                                         rel2.relative: 1.0 (24/317);
5720                                         color: 255 255 255 255;
5721                                         color2: 0 0 0 255;
5722                                         fixed: 1 1;
5723                                         text {
5724                                                 font: "SLP:style=Roman";
5725                                                 text: "Sec";
5726                                                 size: 24;
5727                                                 min: 1 1;
5728                                                 align: 0.5 0.5;
5729                                         }
5730                                 }
5731                                 description {
5732                                         state: "with_sec" 0.0;
5733                                         inherit: "default" 0.0;
5734                                         visible: 1;
5735                                 }
5736                         }
5737
5738                         part {
5739                                 name: "elm.swallow.sub";
5740                                 type: SWALLOW;
5741                                 mouse_events: 1;
5742                                 description {
5743                                         state: "default" 0.0;
5744                                         rel1.to_x: "elm.rect.bg.time";
5745                                         rel1.to_y: "elm.swallow.hour";
5746                                         rel1.relative: 0.753 0.0;
5747                                         rel2.to: "elm.rect.bg.time";
5748                                 }
5749                                 description {
5750                                         state: "with_sec" 0.0;
5751                                         inherit: "default" 0.0;
5752                                         rel1.relative: 0.717 0.0;
5753                                 }
5754                         }
5755
5756                         part {
5757                                 name: "elm.swallow.ampm";
5758                                 type: SWALLOW;
5759                                 mouse_events: 1;
5760                                 description {
5761                                         state: "default" 0.0;
5762                                         rel1.to_x: "elm.rect.bg";
5763                                         rel1.to_y: "elm.swallow.hour";
5764                                         rel1.relative: (492/480) 0.0;
5765                                         rel2.to: "elm.rect.bg";
5766                                         rel2.relative: 1.232 1.0;
5767                                         visible: 0;
5768                                 }
5769                                 description {
5770                                         state: "visible" 0.0;
5771                                         rel1.to_x: "elm.rect.bg";
5772                                         rel1.to_y: "elm.swallow.hour";
5773                                         rel1.relative: 0.793 0.0;
5774                                         rel2.to: "elm.rect.bg";
5775                                         rel2.relative: 1.0 1.0;
5776                                         visible: 1;
5777                                 }
5778                         }
5779                 }
5780
5781                 programs {
5782                         program {
5783                                 name: "sec_hide";
5784                                 signal: "elm,state,sec,hidden";
5785                                 source: "elm";
5786                                 action: STATE_SET "default" 0.0;
5787                                 target: "elm.swallow.hour";
5788                                 target: "elm.swallow.min";
5789                                 target: "elm.swallow.sub";
5790                                 target: "elm.img.colon.2";
5791                                 target: "elm.text.min";
5792                                 target: "elm.text.sec";
5793                         }
5794                         program {
5795                                 name: "sec_show";
5796                                 signal: "elm,state,sec,visible";
5797                                 source: "elm";
5798                                 action: STATE_SET "with_sec" 0.0;
5799                                 target: "elm.swallow.hour";
5800                                 target: "elm.swallow.min";
5801                                 target: "elm.swallow.sub";
5802                                 target: "elm.img.colon.2";
5803                                 target: "elm.text.min";
5804                                 target: "elm.text.sec";
5805                         }
5806                         program {
5807                                 name: "ampm_hide";
5808                                 signal: "elm,state,ampm,hidden";
5809                                 source: "elm";
5810                                 action: STATE_SET "default" 0.0;
5811                                 target: "elm.swallow.ampm";
5812                         }
5813                         program {
5814                                 name: "ampm_show";
5815                                 signal: "elm,state,ampm,visible";
5816                                 source: "elm";
5817                                 action: STATE_SET "visible" 0.0;
5818                                 target: "elm.swallow.ampm";
5819                         }
5820                 }
5821         }
5822
5823 ///////////////////////////////////////////////////////////////////////////////
5824         group { name: "elm/datepicker/base/default";
5825
5826                 parts {
5827                         part {
5828                                 name: "elm.rect.bg";
5829                                 type: RECT;
5830                                 description {
5831                                         state: "default" 0.0;
5832                                         color: 0 0 0 0;
5833                                 }
5834                         }
5835
5836                         part {
5837                                 name: "elm.text.year";
5838                                 type: TEXT;
5839                                 mouse_events:  0;
5840                                 scale: 1;
5841                                 description {
5842                                         state: "default" 0.0;
5843                                         visible: 1;
5844                                         rel1.to_x: "elm.swallow.year";
5845                                         rel1.to_y: "elm.rect.bg";
5846                                         rel2.to_x: "elm.swallow.year";
5847                                         rel2.to_y: "elm.rect.bg";
5848                                         rel2.relative: 1.0 (24/317);
5849                                         color: 255 255 255 255;
5850                                         color2: 0 0 0 255;
5851                                         fixed: 1 1;
5852                                         text {
5853                                                 font: "SLP:style=Roman";
5854                                                 text: "Year";
5855                                                 size: 24;
5856                                                 min: 1 1;
5857                                                 align: 0.5 0.5;
5858                                         }
5859                                 }
5860                         }
5861
5862                         part {
5863                                 name: "elm.swallow.year";
5864                                 type: SWALLOW;
5865                                 mouse_events: 1;
5866                                 description {
5867                                         state: "default" 0.0;
5868                                         rel1.to_x: "elm.rect.bg";
5869                                         rel1.to_y: "elm.text.year";
5870                                         rel1.relative: 0.549 (32/24);
5871                                         rel2.to: "elm.rect.bg";
5872                                         visible: 0;
5873                                 }
5874                                 description {
5875                                         state: "ddmmyy" 0.0;
5876                                         inherit: "default" 0.0;
5877                                         visible: 1;
5878                                 }
5879                                 description {
5880                                         state: "mmddyy" 0.0;
5881                                         inherit: "default" 0.0;
5882                                         visible: 1;
5883                                 }
5884                                 description {
5885                                         state: "mmyydd" 0.0;
5886                                         inherit: "default" 0.0;
5887                                         visible: 1;
5888                                         rel1.relative: 0.274 (32/24);
5889                                         rel2.relative: 0.725 1.0;
5890                                 }
5891                                 description {
5892                                         state: "ddyymm" 0.0;
5893                                         inherit: "default" 0.0;
5894                                         visible: 1;
5895                                         rel1.relative: 0.274 (32/24);
5896                                         rel2.relative: 0.725 1.0;
5897                                 }
5898                                 description {
5899                                         state: "yyddmm" 0.0;
5900                                         inherit: "default" 0.0;
5901                                         visible: 1;
5902                                         rel1.relative: 0.0 (32/24);
5903                                         rel2.relative: 0.451 1.0;
5904                                 }
5905                                 description {
5906                                         state: "yymmdd" 0.0;
5907                                         inherit: "default" 0.0;
5908                                         visible: 1;
5909                                         rel1.relative: 0.0 (32/24);
5910                                         rel2.relative: 0.451 1.0;
5911                                 }
5912                         }
5913
5914                         part {
5915                                 name: "elm.text.mon";
5916                                 type: TEXT;
5917                                 mouse_events:  0;
5918                                 scale: 1;
5919                                 description {
5920                                         state: "default" 0.0;
5921                                         visible: 1;
5922                                         rel1.to_x: "elm.swallow.mon";
5923                                         rel1.to_y: "elm.rect.bg";
5924                                         rel2.to_x: "elm.swallow.mon";
5925                                         rel2.to_y: "elm.rect.bg";
5926                                         rel2.relative: 1.0 (24/317);
5927                                         color: 255 255 255 255;
5928                                         color2: 0 0 0 255;
5929                                         fixed: 1 1;
5930                                         text {
5931                                                 font: "SLP:style=Roman";
5932                                                 text: "Month";
5933                                                 size: 24;
5934                                                 min: 1 1;
5935                                                 align: 0.5 0.5;
5936                                         }
5937                                 }
5938                         }
5939
5940                         part {
5941                                 name: "elm.swallow.mon";
5942                                 type: SWALLOW;
5943                                 mouse_events: 1;
5944                                 description {
5945                                         state: "default" 0.0;
5946                                         rel1.to_x: "elm.rect.bg";
5947                                         rel1.to_y: "elm.text.mon";
5948                                         rel1.relative: 0.270 (32/24);
5949                                         rel2.to: "elm.rect.bg";
5950                                         rel2.relative: 0.503 1.0;
5951                                         visible: 0;
5952                                 }
5953                                 description {
5954                                         state: "ddmmyy" 0.0;
5955                                         inherit: "default" 0.0;
5956                                         visible: 1;
5957                                 }
5958                                 description {
5959                                         state: "mmddyy" 0.0;
5960                                         inherit: "default" 0.0;
5961                                         rel1.relative: 0.0 (32/24);
5962                                         rel2.relative: 0.233 1.0;
5963                                         visible: 1;
5964                                 }
5965                                 description {
5966                                         state: "mmyydd" 0.0;
5967                                         inherit: "default" 0.0;
5968                                         visible: 1;
5969                                         rel1.relative: 0.0 (32/24);
5970                                         rel2.relative: 0.233 1.0;
5971                                 }
5972                                 description {
5973                                         state: "ddyymm" 0.0;
5974                                         inherit: "default" 0.0;
5975                                         visible: 1;
5976                                         rel1.relative: 0.767 (32/24);
5977                                         rel2.relative: 1.0 1.0;
5978                                 }
5979                                 description {
5980                                         state: "yyddmm" 0.0;
5981                                         inherit: "default" 0.0;
5982                                         visible: 1;
5983                                         rel1.relative: 0.767 (32/24);
5984                                         rel2.relative: 1.0 1.0;
5985                                 }
5986                                 description {
5987                                         state: "yymmdd" 0.0;
5988                                         inherit: "default" 0.0;
5989                                         visible: 1;
5990                                         rel1.relative: 0.497 (32/24);
5991                                         rel2.relative: 0.730 1.0;
5992                                 }
5993                         }
5994
5995                         part {
5996                                 name: "elm.text.day";
5997                                 type: TEXT;
5998                                 mouse_events:  0;
5999                                 scale: 1;
6000                                 description {
6001                                         state: "default" 0.0;
6002                                         visible: 1;
6003                                         rel1.to_x: "elm.swallow.day";
6004                                         rel1.to_y: "elm.rect.bg";
6005                                         rel2.to_x: "elm.swallow.day";
6006                                         rel2.to_y: "elm.rect.bg";
6007                                         rel2.relative: 1.0 (24/317);
6008                                         color: 255 255 255 255;
6009                                         color2: 0 0 0 255;
6010                                         fixed: 1 1;
6011                                         text {
6012                                                 font: "SLP:style=Roman";
6013                                                 text: "Day";
6014                                                 size: 24;
6015                                                 min: 1 1;
6016                                                 align: 0.5 0.5;
6017                                         }
6018                                 }
6019                         }
6020
6021                         part {
6022                                 name: "elm.swallow.day";
6023                                 type: SWALLOW;
6024                                 mouse_events: 1;
6025                                 description {
6026                                         state: "default" 0.0;
6027                                         rel1.to_x: "elm.rect.bg";
6028                                         rel1.to_y: "elm.text.day";
6029                                         rel1.relative: 0.0 (32/24);
6030                                         rel2.to: "elm.rect.bg";
6031                                         rel2.relative: 0.233 1.0;
6032                                         visible: 0;
6033                                 }
6034                                 description {
6035                                         state: "ddmmyy" 0.0;
6036                                         inherit: "default" 0.0;
6037                                         visible: 1;
6038                                 }
6039                                 description {
6040                                         state: "mmddyy" 0.0;
6041                                         inherit: "default" 0.0;
6042                                         rel1.relative: 0.270 (32/24);
6043                                         rel2.relative: 0.503 1.0;
6044                                         visible: 1;
6045                                 }
6046                                 description {
6047                                         state: "mmyydd" 0.0;
6048                                         inherit: "default" 0.0;
6049                                         rel1.relative: 0.767 (32/24);
6050                                         rel2.relative: 1.0 1.0;
6051                                         visible: 1;
6052                                 }
6053                                 description {
6054                                         state: "ddyymm" 0.0;
6055                                         inherit: "default" 0.0;
6056                                         visible: 1;
6057                                         rel1.relative: 0.0 (32/24);
6058                                         rel2.relative: 0.233 1.0;
6059                                 }
6060                                 description {
6061                                         state: "yyddmm" 0.0;
6062                                         inherit: "default" 0.0;
6063                                         visible: 1;
6064                                         rel1.relative: 0.497 (32/24);
6065                                         rel2.relative: 0.730 1.0;
6066                                 }
6067                                 description {
6068                                         state: "yymmdd" 0.0;
6069                                         inherit: "default" 0.0;
6070                                         visible: 1;
6071                                         rel1.relative: 0.767 (32/24);
6072                                         rel2.relative: 1.0 1.0;
6073                                 }
6074                         }
6075
6076                 }
6077
6078                 programs {
6079                         program {
6080                                 name: "yymmdd";
6081                                 signal: "elm,state,yymmdd";
6082                                 source: "elm";
6083                                 action: STATE_SET "yymmdd" 0.0;
6084                                 target: "elm.swallow.year";
6085                                 target: "elm.swallow.mon";
6086                                 target: "elm.swallow.day";
6087                         }
6088                         program {
6089                                 name: "yyddmm";
6090                                 signal: "elm,state,yyddmm";
6091                                 source: "elm";
6092                                 action: STATE_SET "yyddmm" 0.0;
6093                                 target: "elm.swallow.year";
6094                                 target: "elm.swallow.mon";
6095                                 target: "elm.swallow.day";
6096                         }
6097                         program {
6098                                 name: "mmyydd";
6099                                 signal: "elm,state,mmyydd";
6100                                 source: "elm";
6101                                 action: STATE_SET "mmyydd" 0.0;
6102                                 target: "elm.swallow.year";
6103                                 target: "elm.swallow.mon";
6104                                 target: "elm.swallow.day";
6105                         }
6106                         program {
6107                                 name: "mmddyy";
6108                                 signal: "elm,state,mmddyy";
6109                                 source: "elm";
6110                                 action: STATE_SET "mmddyy" 0.0;
6111                                 target: "elm.swallow.year";
6112                                 target: "elm.swallow.mon";
6113                                 target: "elm.swallow.day";
6114                         }
6115                         program {
6116                                 name: "ddyymm";
6117                                 signal: "elm,state,ddyymm";
6118                                 source: "elm";
6119                                 action: STATE_SET "ddyymm" 0.0;
6120                                 target: "elm.swallow.year";
6121                                 target: "elm.swallow.mon";
6122                                 target: "elm.swallow.day";
6123                         }
6124                         program {
6125                                 name: "ddmmyy";
6126                                 signal: "elm,state,ddmmyy";
6127                                 source: "elm";
6128                                 action: STATE_SET "ddmmyy" 0.0;
6129                                 target: "elm.swallow.year";
6130                                 target: "elm.swallow.mon";
6131                                 target: "elm.swallow.day";
6132                         }
6133                 }
6134         }
6135
6136 ///////////////////////////////////////////////////////////////////////////////
6137         group { name: "elm/datepicker2/base/default";
6138                 images {
6139                         image: "DatePicker_frame_up_bg.9.png" COMP;
6140                 }
6141
6142                 parts {
6143                         part {
6144                                 name: "elm.rect.bg";
6145                                 description {
6146                                         state: "default" 0.0;
6147                                         image.normal: "DatePicker_frame_up_bg.9.png";
6148                                 }
6149                         }
6150
6151                         part {
6152                                 name: "elm.swallow.year";
6153                                 type: SWALLOW;
6154                                 mouse_events: 1;
6155                                 description {
6156                                         state: "default" 0.0;
6157                                         rel1.relative: 0.715 0.03;
6158                                         rel2.relative: 0.96 0.97;
6159                                         visible: 0;
6160                                 }
6161                                 description {
6162                                         state: "ddmmyy" 0.0;
6163                                         inherit: "default" 0.0;
6164                                         visible: 1;
6165                                 }
6166                                 description {
6167                                         state: "mmddyy" 0.0;
6168                                         inherit: "default" 0.0;
6169                                         visible: 1;
6170                                 }
6171                                 description {
6172                                         state: "mmyydd" 0.0;
6173                                         inherit: "default" 0.0;
6174                                         visible: 1;
6175                                         rel1.relative: 0.57 0.03;
6176                                         rel2.relative: 0.815 0.97;
6177                                 }
6178                                 description {
6179                                         state: "ddyymm" 0.0;
6180                                         inherit: "default" 0.0;
6181                                         visible: 1;
6182                                         rel1.relative: 0.185 0.03;
6183                                         rel2.relative: 0.43 0.97;
6184                                 }
6185                                 description {
6186                                         state: "yyddmm" 0.0;
6187                                         inherit: "default" 0.0;
6188                                         visible: 1;
6189                                         rel1.relative: 0.04 0.03;
6190                                         rel2.relative: 0.285 0.97;
6191                                 }
6192                                 description {
6193                                         state: "yymmdd" 0.0;
6194                                         inherit: "default" 0.0;
6195                                         visible: 1;
6196                                         rel1.relative: 0.04 0.03;
6197                                         rel2.relative: 0.285 0.97;
6198                                 }
6199                         }
6200
6201                         part {
6202                                 name: "elm.swallow.mon";
6203                                 type: SWALLOW;
6204                                 mouse_events: 1;
6205                                 description {
6206                                         state: "default" 0.0;
6207                                         rel1.relative: 0.185 0.03;
6208                                         rel2.relative: 0.715 0.97;
6209                                         visible: 0;
6210                                 }
6211                                 description {
6212                                         state: "ddmmyy" 0.0;
6213                                         inherit: "default" 0.0;
6214                                         visible: 1;
6215                                 }
6216                                 description {
6217                                         state: "mmddyy" 0.0;
6218                                         inherit: "default" 0.0;
6219                                         rel1.relative: 0.04 0.03;
6220                                         rel2.relative: 0.57 0.97;
6221                                         visible: 1;
6222                                 }
6223                                 description {
6224                                         state: "mmyydd" 0.0;
6225                                         inherit: "default" 0.0;
6226                                         visible: 1;
6227                                         rel1.relative: 0.04 0.03;
6228                                         rel2.relative: 0.57 0.97;
6229                                 }
6230                                 description {
6231                                         state: "ddyymm" 0.0;
6232                                         inherit: "default" 0.0;
6233                                         visible: 1;
6234                                         rel1.relative: 0.43 0.03;
6235                                         rel2.relative: 0.96 0.97;
6236                                 }
6237                                 description {
6238                                         state: "yyddmm" 0.0;
6239                                         inherit: "default" 0.0;
6240                                         visible: 1;
6241                                         rel1.relative: 0.43 0.03;
6242                                         rel2.relative: 0.96 0.97;
6243                                 }
6244                                 description {
6245                                         state: "yymmdd" 0.0;
6246                                         inherit: "default" 0.0;
6247                                         visible: 1;
6248                                         rel1.relative: 0.285 0.03;
6249                                         rel2.relative: 0.815 0.97;
6250                                 }
6251                         }
6252
6253                         part {
6254                                 name: "elm.swallow.day";
6255                                 type: SWALLOW;
6256                                 mouse_events: 1;
6257                                 description {
6258                                         state: "default" 0.0;
6259                                         rel1.relative: 0.04 0.03;
6260                                         rel2.relative: 0.185 0.97;
6261                                         visible: 0;
6262                                 }
6263                                 description {
6264                                         state: "ddmmyy" 0.0;
6265                                         inherit: "default" 0.0;
6266                                         visible: 1;
6267                                 }
6268                                 description {
6269                                         state: "mmddyy" 0.0;
6270                                         inherit: "default" 0.0;
6271                                         rel1.relative: 0.57 0.03;
6272                                         rel2.relative: 0.715 0.97;
6273                                         visible: 1;
6274                                 }
6275                                 description {
6276                                         state: "mmyydd" 0.0;
6277                                         inherit: "default" 0.0;
6278                                         rel1.relative: 0.815 0.03;
6279                                         rel2.relative: 0.96 0.97;
6280                                         visible: 1;
6281                                 }
6282                                 description {
6283                                         state: "ddyymm" 0.0;
6284                                         inherit: "default" 0.0;
6285                                         visible: 1;
6286                                         rel1.relative: 0.04 0.03;
6287                                         rel2.relative: 0.185 0.97;
6288                                 }
6289                                 description {
6290                                         state: "yyddmm" 0.0;
6291                                         inherit: "default" 0.0;
6292                                         visible: 1;
6293                                         rel1.relative: 0.285 0.03;
6294                                         rel2.relative: 0.43 0.97;
6295                                 }
6296                                 description {
6297                                         state: "yymmdd" 0.0;
6298                                         inherit: "default" 0.0;
6299                                         visible: 1;
6300                                         rel1.relative: 0.815 0.03;
6301                                         rel2.relative: 0.96 0.97;
6302                                 }
6303                         }
6304
6305                 }
6306
6307                 programs {
6308                         program {
6309                                 name: "yymmdd";
6310                                 signal: "elm,state,yymmdd";
6311                                 source: "elm";
6312                                 action: STATE_SET "yymmdd" 0.0;
6313                                 target: "elm.swallow.year";
6314                                 target: "elm.swallow.mon";
6315                                 target: "elm.swallow.day";
6316                         }
6317                         program {
6318                                 name: "yyddmm";
6319                                 signal: "elm,state,yyddmm";
6320                                 source: "elm";
6321                                 action: STATE_SET "yyddmm" 0.0;
6322                                 target: "elm.swallow.year";
6323                                 target: "elm.swallow.mon";
6324                                 target: "elm.swallow.day";
6325                         }
6326                         program {
6327                                 name: "mmyydd";
6328                                 signal: "elm,state,mmyydd";
6329                                 source: "elm";
6330                                 action: STATE_SET "mmyydd" 0.0;
6331                                 target: "elm.swallow.year";
6332                                 target: "elm.swallow.mon";
6333                                 target: "elm.swallow.day";
6334                         }
6335                         program {
6336                                 name: "mmddyy";
6337                                 signal: "elm,state,mmddyy";
6338                                 source: "elm";
6339                                 action: STATE_SET "mmddyy" 0.0;
6340                                 target: "elm.swallow.year";
6341                                 target: "elm.swallow.mon";
6342                                 target: "elm.swallow.day";
6343                         }
6344                         program {
6345                                 name: "ddyymm";
6346                                 signal: "elm,state,ddyymm";
6347                                 source: "elm";
6348                                 action: STATE_SET "ddyymm" 0.0;
6349                                 target: "elm.swallow.year";
6350                                 target: "elm.swallow.mon";
6351                                 target: "elm.swallow.day";
6352                         }
6353                         program {
6354                                 name: "ddmmyy";
6355                                 signal: "elm,state,ddmmyy";
6356                                 source: "elm";
6357                                 action: STATE_SET "ddmmyy" 0.0;
6358                                 target: "elm.swallow.year";
6359                                 target: "elm.swallow.mon";
6360                                 target: "elm.swallow.day";
6361                         }
6362                 }
6363         }
6364 ///////////////////////////////////////////////////////////////////////////////
6365         group { name: "elm/discpicker/base/default";
6366                 images {
6367                         image: "DatePicker_frame_up.9.png" COMP;
6368                 }
6369
6370                 parts {
6371                         part {
6372                                 name: "elm.base";
6373                                 type: RECT;
6374                                 description {
6375                                         state: "default" 0.0;
6376                                         color: 0 0 0 0;
6377                                 }
6378                         }
6379
6380                         part {
6381                                 name: "elm.bg";
6382                                 mouse_events: 1;
6383                                 description {
6384                                         state: "default" 0.0;
6385                                         rel1.to: "elm.base";
6386                                         rel2.to: "elm.base";
6387                                         image.normal: "DatePicker_frame_up.9.png";
6388                                         image.border: 4 4 4 4;
6389                                 }
6390                         }
6391                 }
6392         }
6393
6394         group { name: "elm/discpicker/item/base/default";
6395                 parts {
6396                         part { name: "elm.label";
6397                                 type: TEXT;
6398                                 mouse_events: 0;
6399                                 scale: 1;
6400                                 description { state: "default" 0.0;
6401                                         align: 0.5 0.5;
6402                                         color: 0 0 0 255;
6403                                         text {
6404                                                 font: "SLP:style=Bold";
6405                                                 size: 35;
6406                                                 align: 0.5 0.5;
6407                                                 min: 1 1;
6408                                         }
6409                                 }
6410                                 description { state: "selected" 0.0;
6411                                         inherit: "default" 0.0;
6412                                         color:  0 0 139 255;
6413                                 }
6414                                 description { state: "disabled" 0.0;
6415                                         inherit: "default" 0.0;
6416                                         color:  170 170 170 255;
6417                                 }
6418                         }
6419                 }
6420
6421                 programs {
6422                         program {
6423                                 name: "unselect";
6424                                 signal: "elm,item,unselected";
6425                                 source: "elm";
6426                                 action: STATE_SET "default" 0.0;
6427                                 target: "elm.label";
6428                         }
6429                         program {
6430                                 name: "select";
6431                                 signal: "elm,item,selected";
6432                                 source: "elm";
6433                                 action: STATE_SET "selected" 0.0;
6434                                 target: "elm.label";
6435                         }
6436
6437                         program {
6438                                 name: "disable";
6439                                 signal: "elm,item,disabled";
6440                                 source: "elm";
6441                                 action: STATE_SET "disabled" 0.0;
6442                                 target: "elm.label";
6443                         }
6444                         // FIXME: plz check item is selected or not
6445                         program {
6446                                 name: "enable";
6447                                 signal: "elm,item,enabled";
6448                                 source: "elm";
6449                                 action: STATE_SET "default" 0.0;
6450                                 target: "elm.label";
6451                         }
6452                 }
6453         }
6454
6455         group { name: "elm/discpicker/indicator/base/default";
6456                 images {
6457                         image: "DatePicker_frame_center.9.png" COMP;
6458                 }
6459
6460                 parts {
6461                         part { name: "elm.label";
6462                                 description {
6463                                         state: "default" 0.0;
6464                                         image.normal: "DatePicker_frame_center.9.png";
6465                                         image.border: 3 3 10 20;
6466                                 }
6467                         }
6468                 }
6469         }
6470
6471 ////////////////////////////////////////////////////////////////////////////////////////
6472 //
6473 // check default textblock style
6474 //
6475 ///////////////////////////////////////////////////////////////////////////////////////
6476         styles {
6477                 style { name: "check_label_textblock_style";
6478                         base: "font=SLP:style=Roman font_size=32 color=#000000 wrap=char";
6479                         tag: "br" "\n";
6480                         tag: "ps" "ps";
6481                         tag: "hilight" "+ font=SLP:style=Bold";
6482                         tag: "b" "+ font=SLP:style=Bold";
6483                         tag: "whitecolor" "+ color=#ffffff";
6484                         tag: "tab" "\t";
6485                 }
6486         }
6487
6488 ////////////////////////////////////////////////////////////////////////////////////////
6489 //
6490 // check default with small touch area style
6491 //
6492 ///////////////////////////////////////////////////////////////////////////////////////
6493
6494         group {
6495                 name: "elm/check/base/default-small-touch";
6496
6497                 images {
6498                         image: "01_check_bg.png" COMP;
6499                         image: "01_check_select_icon.png" COMP;
6500                 }
6501
6502                 parts {
6503                         part {
6504                                 name: "back_bg";
6505                                 mouse_events: 0;
6506                                 type: RECT;
6507                                 scale: 1;
6508                                 description {
6509                                         state: "default" 0.0;
6510                                         rel1 { relative: 0.0 0.0; offset: 1 1; }
6511                                         rel2 { relative: 0.0 1.0; offset: 1 -2; }
6512                                         align: 0 0.5;
6513                                         min: 50 50;
6514                                         fixed: 1 1;
6515                                         aspect: 1.0 1.0;
6516                                         aspect_preference: VERTICAL;
6517                                         color: 0 0 0 0;
6518                                 }
6519                         }
6520                         part {
6521                                 name: "bg";
6522                                 mouse_events: 0;
6523                                 scale: 1;
6524                                 description {
6525                                         state: "default" 0.0;
6526                                         rel1 { relative: 0 0; offset: 1 1; to: "back_bg"; }
6527                                         rel2 { relative: 1 1; offset: 1 -2; to: "back_bg"; }
6528                                         align: 0.5 0.5;
6529                                         min: 50 50;
6530                                         max: 50 50;
6531                                         aspect: 1.0 1.0;
6532                                         aspect_preference: VERTICAL;
6533                                         image {
6534                                                 normal: "01_check_bg.png";
6535                                                 border: 1 1 1 1;
6536                                                 middle: 1;
6537                                         }
6538                                         fill.smooth : 0;
6539                                 }
6540                         }
6541                         part {
6542                                 name: "check";
6543                                 mouse_events: 0;
6544                                 scale: 1;
6545                                 description {
6546                                         state: "default" 0.0;
6547                                         rel1 { offset: 0 0; to: "bg"; }
6548                                         rel2 { offset: -2 -2; to: "bg"; }
6549                                         visible: 0;
6550                                         image.normal: "01_check_select_icon.png";
6551                                 }
6552                                 description {
6553                                         state: "visible" 0.0;
6554                                         inherit: "default" 0.0;
6555                                         visible: 1;
6556                                 }
6557                                 description {
6558                                         state: "disabled" 0.0;
6559                                         inherit: "default" 0.0;
6560                                         visible: 0;
6561                                         color: 128 128 128 128;
6562                                 }
6563                                 description {
6564                                         state: "disabled_visible" 0.0;
6565                                         inherit: "default" 0.0;
6566                                         color: 128 128 128 128;
6567                                         visible: 1;
6568                                 }
6569                         }
6570                         part {
6571                                 name: "elm.swallow.content";
6572                                 type: SWALLOW;
6573                                 description {
6574                                         state: "default" 0.0;
6575                                         fixed: 1 0;
6576                                         visible: 0;
6577                                         color: 255 255 255 255;
6578                                         align: 0.0 0.5;
6579                                         rel1 { relative: 1.0 0.0; offset: 1 1; to_x: "bg"; }
6580                                         rel2 { relative: 1.0 1.0; offset: 2 -2; to_x: "bg"; }
6581                                 }
6582                                 description {
6583                                         state: "visible" 0.0;
6584                                         inherit: "default" 0.0;
6585                                         fixed: 1 1;
6586                                         visible: 1;
6587                                         aspect: 1.0 1.0;
6588                                         aspect_preference: VERTICAL;
6589                                 }
6590                                 description {
6591                                         state: "disabled" 0.0;
6592                                         inherit: "default" 0.0;
6593                                         color: 128 128 128 128;
6594                                 }
6595                                 description {
6596                                         state: "disabled_visible" 0.0;
6597                                         inherit: "default" 0.0;
6598                                         color: 128 128 128 128;
6599                                         fixed: 1 1;
6600                                         visible: 1;
6601                                         aspect: 1.0 1.0;
6602                                 }
6603                         }
6604                         part {
6605                                 name: "elm.text";
6606                                 type: TEXTBLOCK;
6607                                 mouse_events: 0;
6608                                 scale: 1;
6609                                 description {
6610                                         state: "default" 0.0;
6611                                         visible: 0;
6612                                         fixed: 0 1;
6613                                         rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; }
6614                                         rel2 { relative: 1.0 0.5; offset: -2 -2; }
6615                                         color: 255 255 255 255;
6616                                         align: 0.0 0.5;
6617                                         text {
6618                                                 style: "check_label_textblock_style";
6619                                                 min: 0 0;
6620                                         }
6621                                 }
6622                                 description {
6623                                         state: "visible" 0.0;
6624                                         inherit: "default" 0.0;
6625                                         text.min: 1 1;
6626                                         visible: 1;
6627                                 }
6628                                 description {
6629                                         state: "disabled" 0.0;
6630                                         inherit: "default" 0.0;
6631                                         color: 0 0 0 128;
6632                                         color3: 0 0 0 0;
6633                                 }
6634                                 description {
6635                                         state: "disabled_visible" 0.0;
6636                                         inherit: "default" 0.0;
6637                                         color: 0 0 0 128;
6638                                         color3: 0 0 0 0;
6639                                         visible: 1;
6640                                         text.min: 1 1;
6641                                 }
6642                         }
6643                         part {
6644                                 name: "events";
6645                                 type: RECT;
6646                                 ignore_flags: ON_HOLD;
6647                                 description {
6648                                         state: "default" 0.0;
6649                                         rel1 { to: "back_bg"; }
6650                                         rel2 { to: "back_bg"; }
6651                                         color: 0 0 0 0;
6652                                 }
6653                         }
6654                         part {
6655                                 name: "disabler";
6656                                 type: RECT;
6657                                 description {
6658                                         state: "default" 0.0;
6659                                         color: 0 0 0 0;
6660                                         visible: 0;
6661                                 }
6662                                 description {
6663                                         state: "disabled" 0.0;
6664                                 inherit: "default" 0.0;
6665                                 visible: 1;
6666                                 }
6667                         }
6668                 }
6669                 programs {
6670                         program {
6671                                 name: "click";
6672                                 signal: "mouse,up,1";
6673                                 source: "events";
6674                                 action: SIGNAL_EMIT "elm,action,check,toggle" "";
6675                         }
6676                         program {
6677                                 name: "check_on";
6678                                 signal: "elm,state,check,on";
6679                                 source: "elm";
6680                                 action: STATE_SET "visible" 0.0;
6681                                 target: "check";
6682                         }
6683                         program {
6684                                 name: "check_off";
6685                                 signal: "elm,state,check,off";
6686                                 source: "elm";
6687                                 action: STATE_SET "default" 0.0;
6688                                 target: "check";
6689                         }
6690                         program {
6691                                 name: "text_show";
6692                                 signal: "elm,state,text,visible";
6693                                 source: "elm";
6694                                 action: STATE_SET "visible" 0.0;
6695                                 target: "elm.text";
6696                         }
6697                         program {
6698                                 name: "text_hide";
6699                                 signal: "elm,state,text,hidden";
6700                                 source: "elm";
6701                                 action: STATE_SET "default" 0.0;
6702                                 target: "elm.text";
6703                         }
6704                         program {
6705                                 name: "icon_show";
6706                                 signal: "elm,state,icon,visible";
6707                                 source: "elm";
6708                                 action: STATE_SET "visible" 0.0;
6709                                 target: "elm.swallow.content";
6710                         }
6711                         program {
6712                                 name: "icon_hide";
6713                                 signal: "elm,state,icon,hidden";
6714                                 source: "elm";
6715                                 action: STATE_SET "default" 0.0;
6716                                 target: "elm.swallow.content";
6717                         }
6718                         program {
6719                                 name: "disable";
6720                                 signal: "elm,state,disabled";
6721                                 source: "elm";
6722                                 action: STATE_SET "disabled" 0.0;
6723                                 target: "disabler";
6724                                 after: "disable_text";
6725                         }
6726                         program {
6727                                 name: "disable_text";
6728                                 script {
6729                                         new st[31];
6730                                         new Float:vl;
6731                                         get_state(PART:"elm.text", st, 30, vl);
6732                                         if (!strcmp(st, "visible"))
6733                                                 set_state(PART:"elm.text", "disabled_visible", 0.0);
6734                                         else
6735                                                 set_state(PART:"elm.text", "disabled", 0.0);
6736
6737                                         get_state(PART:"elm.swallow.content", st, 30, vl);
6738                                         if (!strcmp(st, "visible"))
6739                                                 set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
6740                                         else
6741                                                 set_state(PART:"elm.swallow.content", "disabled", 0.0);
6742
6743                                         get_state(PART:"check", st, 30, vl);
6744                                         if (!strcmp(st, "visible"))
6745                                                 set_state(PART:"check", "disabled_visible", 0.0);
6746                                         else
6747                                                 set_state(PART:"check", "disabled", 0.0);
6748                                 }
6749                         }
6750                         program {
6751                                 name: "enable";
6752                                 signal: "elm,state,enabled";
6753                                 source: "elm";
6754                                 action: STATE_SET "default" 0.0;
6755                                 target: "disabler";
6756                                 after: "enable_text";
6757                         }
6758                         program {
6759                                 name: "enable_text";
6760                                 script {
6761                                         new st[31];
6762                                         new Float:vl;
6763                                         get_state(PART:"elm.text", st, 30, vl);
6764                                         if (!strcmp(st, "disabled_visible"))
6765                                                 set_state(PART:"elm.text", "visible", 0.0);
6766                                         else
6767                                                 set_state(PART:"elm.text", "default", 0.0);
6768
6769                                         get_state(PART:"elm.swallow.content", st, 30, vl);
6770                                         if (!strcmp(st, "visible"))
6771                                                 set_state(PART:"elm.swallow.content", "visible", 0.0);
6772                                         else
6773                                                 set_state(PART:"elm.swallow.content", "default", 0.0);
6774
6775                                         get_state(PART:"check", st, 30, vl);
6776                                         if (!strcmp(st, "visible"))
6777                                                 set_state(PART:"check", "visible", 0.0);
6778                                         else
6779                                                 set_state(PART:"check", "default", 0.0);
6780                                 }
6781                         }
6782                 }
6783         }
6784
6785
6786 ////////////////////////////////////////////////////////////////////////////////////////
6787 //
6788 // check default-divided style
6789 //
6790 ///////////////////////////////////////////////////////////////////////////////////////
6791         group {
6792                 name: "elm/check/base/default-divided";
6793
6794                 images {
6795                         image: "01_button_on_lighting.png" COMP;
6796                         image: "01_check_bg.png" COMP;
6797                         image: "01_check_select_icon.png" COMP;
6798                 }
6799
6800                 parts {
6801                         part {
6802                                 name: "back_bg";
6803                                 mouse_events: 0;
6804                                 scale: 1;
6805                                 description {
6806                                         state: "default" 0.0;
6807                                         rel1 { relative: 0.0 0.0; offset: 1 1; }
6808                                         rel2 { relative: 0.0 1.0; offset: 1 -2; }
6809                                         align: 0 0.5;
6810                                         min: 93 92;
6811                                         fixed: 1 1;
6812                                         aspect: 1.0 1.0;
6813                                         aspect_preference: VERTICAL;
6814                                         image {
6815                                                 normal: "01_button_on_lighting.png";
6816                                                 border: 0 0 0 0;
6817                                                 middle: 1;
6818                                         }
6819                                         fill.smooth : 0;
6820                                 }
6821                         }
6822                         part {
6823                                 name: "bg";
6824                                 mouse_events: 0;
6825                                 scale: 1;
6826                                 description {
6827                                         state: "default" 0.0;
6828                                         rel1 { relative: 0 0; offset: 1 1; to: "back_bg"; }
6829                                         rel2 { relative: 1 1; offset: 1 -2; to: "back_bg"; }
6830                                         align: 0.5 0.5;
6831                                         min: 50 50;
6832                                         max: 50 50;
6833                                         aspect: 1.0 1.0;
6834                                         aspect_preference: VERTICAL;
6835                                         image {
6836                                                 normal: "01_check_bg.png";
6837                                                 border: 5 5 5 5;
6838                                                 middle: 1;
6839                                         }
6840                                         fill.smooth : 0;
6841                                 }
6842                         }
6843                         part {
6844                                 name: "check";
6845                                 mouse_events: 0;
6846                                 scale: 1;
6847                                 description {
6848                                         state: "default" 0.0;
6849                                         rel1 { offset: 0 0; to: "bg"; }
6850                                         rel2 { offset: -2 -2; to: "bg"; }
6851                                         visible: 0;
6852                                         image.normal: "01_check_select_icon.png";
6853                                 }
6854                                 description {
6855                                         state: "visible" 0.0;
6856                                         inherit: "default" 0.0;
6857                                         visible: 1;
6858                                 }
6859                                 description {
6860                                         state: "disabled" 0.0;
6861                                         inherit: "default" 0.0;
6862                                         visible: 0;
6863                                         color: 128 128 128 128;
6864                                 }
6865                                 description {
6866                                         state: "disabled_visible" 0.0;
6867                                         inherit: "default" 0.0;
6868                                         color: 128 128 128 128;
6869                                         visible: 1;
6870                                 }
6871                         }
6872                         part {
6873                                 name: "elm.swallow.content";
6874                                 type: SWALLOW;
6875                                 description {
6876                                         state: "default" 0.0;
6877                                         fixed: 1 0;
6878                                         visible: 0;
6879                                         color: 255 255 255 255;
6880                                         align: 0.0 0.5;
6881                                         rel1 { relative: 1.0 0.0; offset: 1 1; to_x: "bg"; }
6882                                         rel2 { relative: 1.0 1.0; offset: 2 -2; to_x: "bg"; }
6883                                 }
6884                                 description {
6885                                         state: "visible" 0.0;
6886                                         inherit: "default" 0.0;
6887                                         fixed: 1 1;
6888                                         visible: 1;
6889                                         aspect: 1.0 1.0;
6890                                         aspect_preference: VERTICAL;
6891                                 }
6892                                 description {
6893                                         state: "disabled" 0.0;
6894                                         inherit: "default" 0.0;
6895                                         color: 128 128 128 128;
6896                                 }
6897                                 description {
6898                                         state: "disabled_visible" 0.0;
6899                                         inherit: "default" 0.0;
6900                                         color: 128 128 128 128;
6901                                         fixed: 1 1;
6902                                         visible: 1;
6903                                         aspect: 1.0 1.0;
6904                                 }
6905                         }
6906                         part {
6907                                 name: "elm.text";
6908                                 type: TEXTBLOCK;
6909                                 mouse_events: 0;
6910                                 scale: 1;
6911                                 description {
6912                                         state: "default" 0.0;
6913                                         visible: 0;
6914                                         fixed: 0 1;
6915                                         rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; }
6916                                         rel2 { relative: 1.0 0.5; offset: -2 -2; }
6917                                         color: 255 255 255 255;
6918                                         align: 0.0 0.5;
6919                                         text {
6920                                                 style: "check_label_textblock_style";
6921                                                 min: 0 0;
6922                                         }
6923                                 }
6924                                 description {
6925                                         state: "visible" 0.0;
6926                                         inherit: "default" 0.0;
6927                                         text.min: 1 1;
6928                                         visible: 1;
6929                                 }
6930                                 description {
6931                                         state: "disabled" 0.0;
6932                                         inherit: "default" 0.0;
6933                                         color: 0 0 0 128;
6934                                         color3: 0 0 0 0;
6935                                 }
6936                                 description {
6937                                         state: "disabled_visible" 0.0;
6938                                         inherit: "default" 0.0;
6939                                         color: 0 0 0 128;
6940                                         color3: 0 0 0 0;
6941                                         visible: 1;
6942                                         text.min: 1 1;
6943                                 }
6944                         }
6945                         part {
6946                                 name: "events";
6947                                 type: RECT;
6948                                 ignore_flags: ON_HOLD;
6949                                 description {
6950                                         state: "default" 0.0;
6951                                         rel1 { to: "back_bg"; }
6952                                         rel2 { to: "back_bg"; }
6953                                         color: 0 0 0 0;
6954                                 }
6955                         }
6956                         part {
6957                                 name: "disabler";
6958                                 type: RECT;
6959                                 description {
6960                                         state: "default" 0.0;
6961                                         color: 0 0 0 0;
6962                                         visible: 0;
6963                                 }
6964                                 description {
6965                                         state: "disabled" 0.0;
6966                                 inherit: "default" 0.0;
6967                                 visible: 1;
6968                                 }
6969                         }
6970                 }
6971                 programs {
6972                         program {
6973                                 name: "click";
6974                                 signal: "mouse,up,1";
6975                                 source: "events";
6976                                 action: SIGNAL_EMIT "elm,action,check,toggle" "";
6977                         }
6978                         program {
6979                                 name: "check_on";
6980                                 signal: "elm,state,check,on";
6981                                 source: "elm";
6982                                 action: STATE_SET "visible" 0.0;
6983                                 target: "check";
6984                         }
6985                         program {
6986                                 name: "check_off";
6987                                 signal: "elm,state,check,off";
6988                                 source: "elm";
6989                                 action: STATE_SET "default" 0.0;
6990                                 target: "check";
6991                         }
6992                         program {
6993                                 name: "text_show";
6994                                 signal: "elm,state,text,visible";
6995                                 source: "elm";
6996                                 action: STATE_SET "visible" 0.0;
6997                                 target: "elm.text";
6998                         }
6999                         program {
7000                                 name: "text_hide";
7001                                 signal: "elm,state,text,hidden";
7002                                 source: "elm";
7003                                 action: STATE_SET "default" 0.0;
7004                                 target: "elm.text";
7005                         }
7006                         program {
7007                                 name: "icon_show";
7008                                 signal: "elm,state,icon,visible";
7009                                 source: "elm";
7010                                 action: STATE_SET "visible" 0.0;
7011                                 target: "elm.swallow.content";
7012                         }
7013                         program {
7014                                 name: "icon_hide";
7015                                 signal: "elm,state,icon,hidden";
7016                                 source: "elm";
7017                                 action: STATE_SET "default" 0.0;
7018                                 target: "elm.swallow.content";
7019                         }
7020                         program {
7021                                 name: "disable";
7022                                 signal: "elm,state,disabled";
7023                                 source: "elm";
7024                                 action: STATE_SET "disabled" 0.0;
7025                                 target: "disabler";
7026                                 after: "disable_text";
7027                         }
7028                         program {
7029                                 name: "disable_text";
7030                                 script {
7031                                         new st[31];
7032                                         new Float:vl;
7033                                         get_state(PART:"elm.text", st, 30, vl);
7034                                         if (!strcmp(st, "visible"))
7035                                                 set_state(PART:"elm.text", "disabled_visible", 0.0);
7036                                         else
7037                                                 set_state(PART:"elm.text", "disabled", 0.0);
7038
7039                                         get_state(PART:"elm.swallow.content", st, 30, vl);
7040                                         if (!strcmp(st, "visible"))
7041                                                 set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
7042                                         else
7043                                                 set_state(PART:"elm.swallow.content", "disabled", 0.0);
7044
7045                                         get_state(PART:"check", st, 30, vl);
7046                                         if (!strcmp(st, "visible"))
7047                                                 set_state(PART:"check", "disabled_visible", 0.0);
7048                                         else
7049                                                 set_state(PART:"check", "disabled", 0.0);
7050                                 }
7051                         }
7052                         program {
7053                                 name: "enable";
7054                                 signal: "elm,state,enabled";
7055                                 source: "elm";
7056                                 action: STATE_SET "default" 0.0;
7057                                 target: "disabler";
7058                                 after: "enable_text";
7059                         }
7060                         program {
7061                                 name: "enable_text";
7062                                 script {
7063                                         new st[31];
7064                                         new Float:vl;
7065                                         get_state(PART:"elm.text", st, 30, vl);
7066                                         if (!strcmp(st, "disabled_visible"))
7067                                                 set_state(PART:"elm.text", "visible", 0.0);
7068                                         else
7069                                                 set_state(PART:"elm.text", "default", 0.0);
7070
7071                                         get_state(PART:"elm.swallow.content", st, 30, vl);
7072                                         if (!strcmp(st, "visible"))
7073                                                 set_state(PART:"elm.swallow.content", "visible", 0.0);
7074                                         else
7075                                                 set_state(PART:"elm.swallow.content", "default", 0.0);
7076
7077                                         get_state(PART:"check", st, 30, vl);
7078                                         if (!strcmp(st, "visible"))
7079                                                 set_state(PART:"check", "visible", 0.0);
7080                                         else
7081                                                 set_state(PART:"check", "default", 0.0);
7082                                 }
7083                         }
7084                 }
7085         }
7086
7087 ////////////////////////////////////////////////////////////////////////////////////////
7088 //
7089 // check onoff style
7090 //
7091 ///////////////////////////////////////////////////////////////////////////////////////
7092         group {
7093                 name: "elm/check/base/onoff";
7094
7095                 images {
7096                         image: "01_on_off_button.png" COMP;
7097                         image: "01_on_off_button_on.png" COMP;
7098                         image: "01_check_bg.png" COMP;
7099                         image: "01_check_select_icon.png" COMP;
7100                 }
7101
7102                 parts {
7103                         part {
7104                                 name: "back_bg";
7105                                 mouse_events: 0;
7106                                 type: RECT;
7107                                 scale: 1;
7108                                 description {
7109                                         state: "default" 0.0;
7110                                         rel1 { relative: 0.0 0.0; offset: 1 1; }
7111                                         rel2 { relative: 0.0 1.0; offset: 1 -2; }
7112                                         align: 0 0.5;
7113                                         min: 93 92;
7114                                         fixed: 1 1;
7115                                         aspect: 1.0 1.0;
7116                                         aspect_preference: VERTICAL;
7117                                         color: 0 0 0 0;
7118                                 }
7119                         }
7120                         part {
7121                                 name: "check";
7122                                 mouse_events: 0;
7123                                 scale: 1;
7124                                 description {
7125                                         state: "default" 0.0;
7126                                         rel1 { relative: 0 0; offset: 1 1; to: "back_bg"; }
7127                                         rel2 { relative: 1 1; offset: 1 -2; to: "back_bg"; }
7128                                         align: 0.5 0.5;
7129                                         min: 50 50;
7130                                         max: 50 50;
7131                                         aspect: 1.0 1.0;
7132                                         aspect_preference: VERTICAL;
7133                                         image.normal: "01_on_off_button.png";
7134                                 }
7135                                 description {
7136                                         state: "visible" 0.0;
7137                                         inherit: "default" 0.0;
7138                                         image.normal: "01_on_off_button_on.png";
7139                                         visible: 1;
7140                                 }
7141                                 description {
7142                                         state: "disabled" 0.0;
7143                                         inherit: "default" 0.0;
7144                                         visible: 0;
7145                                         color: 128 128 128 128;
7146                                 }
7147                                 description {
7148                                         state: "disabled_visible" 0.0;
7149                                         inherit: "default" 0.0;
7150                                         color: 128 128 128 128;
7151                                         visible: 1;
7152                                 }
7153                         }
7154                         part {
7155                                 name: "elm.swallow.content";
7156                                 type: SWALLOW;
7157                                 description {
7158                                         state: "default" 0.0;
7159                                         fixed: 1 0;
7160                                         visible: 0;
7161                                         color: 255 255 255 255;
7162                                         align: 0.0 0.5;
7163                                         rel1 { relative: 1.0 0.0; offset: 1 1; to_x: "check"; }
7164                                         rel2 { relative: 1.0 1.0; offset: 2 -2; to_x: "check"; }
7165                                 }
7166                                 description {
7167                                         state: "visible" 0.0;
7168                                         inherit: "default" 0.0;
7169                                         fixed: 1 1;
7170                                         visible: 1;
7171                                         aspect: 1.0 1.0;
7172                                         aspect_preference: VERTICAL;
7173                                 }
7174                                 description {
7175                                         state: "disabled" 0.0;
7176                                         inherit: "default" 0.0;
7177                                         color: 128 128 128 128;
7178                                 }
7179                                 description {
7180                                         state: "disabled_visible" 0.0;
7181                                         inherit: "default" 0.0;
7182                                         color: 128 128 128 128;
7183                                         fixed: 1 1;
7184                                         visible: 1;
7185                                         aspect: 1.0 1.0;
7186                                 }
7187                         }
7188                         part {
7189                                 name: "elm.text";
7190                                 type: TEXTBLOCK;
7191                                 mouse_events: 0;
7192                                 scale: 1;
7193                                 description {
7194                                         state: "default" 0.0;
7195                                         visible: 0;
7196                                         fixed: 0 1;
7197                                         rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; }
7198                                         rel2 { relative: 1.0 0.5; offset: -2 -2; }
7199                                         color: 255 255 255 255;
7200                                         align: 0.0 0.5;
7201                                         text {
7202                                                 style: "check_label_textblock_style";
7203                                                 min: 0 0;
7204                                         }
7205                                 }
7206                                 description {
7207                                         state: "visible" 0.0;
7208                                         inherit: "default" 0.0;
7209                                         text.min: 1 1;
7210                                         visible: 1;
7211                                 }
7212                                 description {
7213                                         state: "disabled" 0.0;
7214                                         inherit: "default" 0.0;
7215                                         color: 0 0 0 128;
7216                                         color3: 0 0 0 0;
7217                                 }
7218                                 description {
7219                                         state: "disabled_visible" 0.0;
7220                                         inherit: "default" 0.0;
7221                                         color: 0 0 0 128;
7222                                         color3: 0 0 0 0;
7223                                         visible: 1;
7224                                         text.min: 1 1;
7225                                 }
7226                         }
7227                         part {
7228                                 name: "events";
7229                                 type: RECT;
7230                                 ignore_flags: ON_HOLD;
7231                                 description {
7232                                         state: "default" 0.0;
7233                                         rel1 { to: "back_bg"; }
7234                                         rel2 { to: "back_bg"; }
7235                                         color: 0 0 0 0;
7236                                 }
7237                         }
7238                         part {
7239                                 name: "disabler";
7240                                 type: RECT;
7241                                 description {
7242                                         state: "default" 0.0;
7243                                         color: 0 0 0 0;
7244                                         visible: 0;
7245                                 }
7246                                 description {
7247                                         state: "disabled" 0.0;
7248                                 inherit: "default" 0.0;
7249                                 visible: 1;
7250                                 }
7251                         }
7252                 }
7253                 programs {
7254                         program {
7255                                 name: "click";
7256                                 signal: "mouse,up,1";
7257                                 source: "events";
7258                                 action: SIGNAL_EMIT "elm,action,check,toggle" "";
7259                         }
7260                         program {
7261                                 name: "check_on";
7262                                 signal: "elm,state,check,on";
7263                                 source: "elm";
7264                                 action: STATE_SET "visible" 0.0;
7265                                 target: "check";
7266                         }
7267                         program {
7268                                 name: "check_off";
7269                                 signal: "elm,state,check,off";
7270                                 source: "elm";
7271                                 action: STATE_SET "default" 0.0;
7272                                 target: "check";
7273                         }
7274                         program {
7275                                 name: "text_show";
7276                                 signal: "elm,state,text,visible";
7277                                 source: "elm";
7278                                 action: STATE_SET "visible" 0.0;
7279                                 target: "elm.text";
7280                         }
7281                         program {
7282                                 name: "text_hide";
7283                                 signal: "elm,state,text,hidden";
7284                                 source: "elm";
7285                                 action: STATE_SET "default" 0.0;
7286                                 target: "elm.text";
7287                         }
7288                         program {
7289                                 name: "icon_show";
7290                                 signal: "elm,state,icon,visible";
7291                                 source: "elm";
7292                                 action: STATE_SET "visible" 0.0;
7293                                 target: "elm.swallow.content";
7294                         }
7295                         program {
7296                                 name: "icon_hide";
7297                                 signal: "elm,state,icon,hidden";
7298                                 source: "elm";
7299                                 action: STATE_SET "default" 0.0;
7300                                 target: "elm.swallow.content";
7301                         }
7302                         program {
7303                                 name: "disable";
7304                                 signal: "elm,state,disabled";
7305                                 source: "elm";
7306                                 action: STATE_SET "disabled" 0.0;
7307                                 target: "disabler";
7308                                 after: "disable_text";
7309                         }
7310                         program {
7311                                 name: "disable_text";
7312                                 script {
7313                                         new st[31];
7314                                         new Float:vl;
7315                                         get_state(PART:"elm.text", st, 30, vl);
7316                                         if (!strcmp(st, "visible"))
7317                                                 set_state(PART:"elm.text", "disabled_visible", 0.0);
7318                                         else
7319                                                 set_state(PART:"elm.text", "disabled", 0.0);
7320
7321                                         get_state(PART:"elm.swallow.content", st, 30, vl);
7322                                         if (!strcmp(st, "visible"))
7323                                                 set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
7324                                         else
7325                                                 set_state(PART:"elm.swallow.content", "disabled", 0.0);
7326
7327                                         get_state(PART:"check", st, 30, vl);
7328                                         if (!strcmp(st, "visible"))
7329                                                 set_state(PART:"check", "disabled_visible", 0.0);
7330                                         else
7331                                                 set_state(PART:"check", "disabled", 0.0);
7332                                 }
7333                         }
7334                         program {
7335                                 name: "enable";
7336                                 signal: "elm,state,enabled";
7337                                 source: "elm";
7338                                 action: STATE_SET "default" 0.0;
7339                                 target: "disabler";
7340                                 after: "enable_text";
7341                         }
7342                         program {
7343                                 name: "enable_text";
7344                                 script {
7345                                         new st[31];
7346                                         new Float:vl;
7347                                         get_state(PART:"elm.text", st, 30, vl);
7348                                         if (!strcmp(st, "disabled_visible"))
7349                                                 set_state(PART:"elm.text", "visible", 0.0);
7350                                         else
7351                                                 set_state(PART:"elm.text", "default", 0.0);
7352
7353                                         get_state(PART:"elm.swallow.content", st, 30, vl);
7354                                         if (!strcmp(st, "visible"))
7355                                                 set_state(PART:"elm.swallow.content", "visible", 0.0);
7356                                         else
7357                                                 set_state(PART:"elm.swallow.content", "default", 0.0);
7358
7359                                         get_state(PART:"check", st, 30, vl);
7360                                         if (!strcmp(st, "visible"))
7361                                                 set_state(PART:"check", "visible", 0.0);
7362                                         else
7363                                                 set_state(PART:"check", "default", 0.0);
7364                                 }
7365                         }
7366                 }
7367         }
7368
7369 ////////////////////////////////////////////////////////////////////////////////////////
7370 //
7371 // check onoff with small touch area style
7372 //
7373 ///////////////////////////////////////////////////////////////////////////////////////
7374         group {
7375                 name: "elm/check/base/onoff-small-touch";
7376
7377                 images {
7378                         image: "01_on_off_button.png" COMP;
7379                         image: "01_on_off_button_on.png" COMP;
7380                         image: "01_check_bg.png" COMP;
7381                         image: "01_check_select_icon.png" COMP;
7382                 }
7383
7384                 parts {
7385                         part {
7386                                 name: "back_bg";
7387                                 mouse_events: 0;
7388                                 type: RECT;
7389                                 scale: 1;
7390                                 description {
7391                                         state: "default" 0.0;
7392                                         rel1 { relative: 0.0 0.0; offset: 1 1; }
7393                                         rel2 { relative: 0.0 1.0; offset: 1 -2; }
7394                                         align: 0 0.5;
7395                                         min: 50 50;
7396                                         fixed: 1 1;
7397                                         aspect: 1.0 1.0;
7398                                         aspect_preference: VERTICAL;
7399                                         color: 0 0 0 0;
7400                                 }
7401                         }
7402                         part {
7403                                 name: "check";
7404                                 mouse_events: 0;
7405                                 scale: 1;
7406                                 description {
7407                                         state: "default" 0.0;
7408                                         rel1 { relative: 0 0; offset: 1 1; to: "back_bg"; }
7409                                         rel2 { relative: 1 1; offset: 1 -2; to: "back_bg"; }
7410                                         align: 0.5 0.5;
7411                                         min: 50 50;
7412                                         max: 50 50;
7413                                         aspect: 1.0 1.0;
7414                                         aspect_preference: VERTICAL;
7415                                         image.normal: "01_on_off_button.png";
7416                                 }
7417                                 description {
7418                                         state: "visible" 0.0;
7419                                         inherit: "default" 0.0;
7420                                         image.normal: "01_on_off_button_on.png";
7421                                         visible: 1;
7422                                 }
7423                                 description {
7424                                         state: "disabled" 0.0;
7425                                         inherit: "default" 0.0;
7426                                         visible: 0;
7427                                         color: 128 128 128 128;
7428                                 }
7429                                 description {
7430                                         state: "disabled_visible" 0.0;
7431                                         inherit: "default" 0.0;
7432                                         color: 128 128 128 128;
7433                                         visible: 1;
7434                                 }
7435                         }
7436                         part {
7437                                 name: "elm.swallow.content";
7438                                 type: SWALLOW;
7439                                 description {
7440                                         state: "default" 0.0;
7441                                         fixed: 1 0;
7442                                         visible: 0;
7443                                         color: 255 255 255 255;
7444                                         align: 0.0 0.5;
7445                                         rel1 { relative: 1.0 0.0; offset: 1 1; to_x: "check"; }
7446                                         rel2 { relative: 1.0 1.0; offset: 2 -2; to_x: "check"; }
7447                                 }
7448                                 description {
7449                                         state: "visible" 0.0;
7450                                         inherit: "default" 0.0;
7451                                         fixed: 1 1;
7452                                         visible: 1;
7453                                         aspect: 1.0 1.0;
7454                                         aspect_preference: VERTICAL;
7455                                 }
7456                                 description {
7457                                         state: "disabled" 0.0;
7458                                         inherit: "default" 0.0;
7459                                         color: 128 128 128 128;
7460                                 }
7461                                 description {
7462                                         state: "disabled_visible" 0.0;
7463                                         inherit: "default" 0.0;
7464                                         color: 128 128 128 128;
7465                                         fixed: 1 1;
7466                                         visible: 1;
7467                                         aspect: 1.0 1.0;
7468                                 }
7469                         }
7470                         part {
7471                                 name: "elm.text";
7472                                 type: TEXTBLOCK;
7473                                 mouse_events: 0;
7474                                 scale: 1;
7475                                 description {
7476                                         state: "default" 0.0;
7477                                         visible: 0;
7478                                         fixed: 0 1;
7479                                         rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; }
7480                                         rel2 { relative: 1.0 0.5; offset: -2 -2; }
7481                                         color: 255 255 255 255;
7482                                         align: 0.0 0.5;
7483                                         text {
7484                                                 style: "check_label_textblock_style";
7485                                                 min: 0 0;
7486                                         }
7487                                 }
7488                                 description {
7489                                         state: "visible" 0.0;
7490                                         inherit: "default" 0.0;
7491                                         text.min: 1 1;
7492                                         visible: 1;
7493                                 }
7494                                 description {
7495                                         state: "disabled" 0.0;
7496                                         inherit: "default" 0.0;
7497                                         color: 0 0 0 128;
7498                                         color3: 0 0 0 0;
7499                                 }
7500                                 description {
7501                                         state: "disabled_visible" 0.0;
7502                                         inherit: "default" 0.0;
7503                                         color: 0 0 0 128;
7504                                         color3: 0 0 0 0;
7505                                         visible: 1;
7506                                         text.min: 1 1;
7507                                 }
7508                         }
7509                         part {
7510                                 name: "events";
7511                                 type: RECT;
7512                                 ignore_flags: ON_HOLD;
7513                                 description {
7514                                         state: "default" 0.0;
7515                                         rel1 { to: "back_bg"; }
7516                                         rel2 { to: "back_bg"; }
7517                                         color: 0 0 0 0;
7518                                 }
7519                         }
7520                         part {
7521                                 name: "disabler";
7522                                 type: RECT;
7523                                 description {
7524                                         state: "default" 0.0;
7525                                         color: 0 0 0 0;
7526                                         visible: 0;
7527                                 }
7528                                 description {
7529                                         state: "disabled" 0.0;
7530                                 inherit: "default" 0.0;
7531                                 visible: 1;
7532                                 }
7533                         }
7534                 }
7535                 programs {
7536                         program {
7537                                 name: "click";
7538                                 signal: "mouse,up,1";
7539                                 source: "events";
7540                                 action: SIGNAL_EMIT "elm,action,check,toggle" "";
7541                         }
7542                         program {
7543                                 name: "check_on";
7544                                 signal: "elm,state,check,on";
7545                                 source: "elm";
7546                                 action: STATE_SET "visible" 0.0;
7547                                 target: "check";
7548                         }
7549                         program {
7550                                 name: "check_off";
7551                                 signal: "elm,state,check,off";
7552                                 source: "elm";
7553                                 action: STATE_SET "default" 0.0;
7554                                 target: "check";
7555                         }
7556                         program {
7557                                 name: "text_show";
7558                                 signal: "elm,state,text,visible";
7559                                 source: "elm";
7560                                 action: STATE_SET "visible" 0.0;
7561                                 target: "elm.text";
7562                         }
7563                         program {
7564                                 name: "text_hide";
7565                                 signal: "elm,state,text,hidden";
7566                                 source: "elm";
7567                                 action: STATE_SET "default" 0.0;
7568                                 target: "elm.text";
7569                         }
7570                         program {
7571                                 name: "icon_show";
7572                                 signal: "elm,state,icon,visible";
7573                                 source: "elm";
7574                                 action: STATE_SET "visible" 0.0;
7575                                 target: "elm.swallow.content";
7576                         }
7577                         program {
7578                                 name: "icon_hide";
7579                                 signal: "elm,state,icon,hidden";
7580                                 source: "elm";
7581                                 action: STATE_SET "default" 0.0;
7582                                 target: "elm.swallow.content";
7583                         }
7584                         program {
7585                                 name: "disable";
7586                                 signal: "elm,state,disabled";
7587                                 source: "elm";
7588                                 action: STATE_SET "disabled" 0.0;
7589                                 target: "disabler";
7590                                 after: "disable_text";
7591                         }
7592                         program {
7593                                 name: "disable_text";
7594                                 script {
7595                                         new st[31];
7596                                         new Float:vl;
7597                                         get_state(PART:"elm.text", st, 30, vl);
7598                                         if (!strcmp(st, "visible"))
7599                                                 set_state(PART:"elm.text", "disabled_visible", 0.0);
7600                                         else
7601                                                 set_state(PART:"elm.text", "disabled", 0.0);
7602
7603                                         get_state(PART:"elm.swallow.content", st, 30, vl);
7604                                         if (!strcmp(st, "visible"))
7605                                                 set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
7606                                         else
7607                                                 set_state(PART:"elm.swallow.content", "disabled", 0.0);
7608
7609                                         get_state(PART:"check", st, 30, vl);
7610                                         if (!strcmp(st, "visible"))
7611                                                 set_state(PART:"check", "disabled_visible", 0.0);
7612                                         else
7613                                                 set_state(PART:"check", "disabled", 0.0);
7614                                 }
7615                         }
7616                         program {
7617                                 name: "enable";
7618                                 signal: "elm,state,enabled";
7619                                 source: "elm";
7620                                 action: STATE_SET "default" 0.0;
7621                                 target: "disabler";
7622                                 after: "enable_text";
7623                         }
7624                         program {
7625                                 name: "enable_text";
7626                                 script {
7627                                         new st[31];
7628                                         new Float:vl;
7629                                         get_state(PART:"elm.text", st, 30, vl);
7630                                         if (!strcmp(st, "disabled_visible"))
7631                                                 set_state(PART:"elm.text", "visible", 0.0);
7632                                         else
7633                                                 set_state(PART:"elm.text", "default", 0.0);
7634
7635                                         get_state(PART:"elm.swallow.content", st, 30, vl);
7636                                         if (!strcmp(st, "visible"))
7637                                                 set_state(PART:"elm.swallow.content", "visible", 0.0);
7638                                         else
7639                                                 set_state(PART:"elm.swallow.content", "default", 0.0);
7640
7641                                         get_state(PART:"check", st, 30, vl);
7642                                         if (!strcmp(st, "visible"))
7643                                                 set_state(PART:"check", "visible", 0.0);
7644                                         else
7645                                                 set_state(PART:"check", "default", 0.0);
7646                                 }
7647                         }
7648                 }
7649         }
7650
7651
7652 ////////////////////////////////////////////////////////////////////////////////////////
7653 //
7654 // check onoff-divided style
7655 //
7656 ///////////////////////////////////////////////////////////////////////////////////////
7657         group {
7658                 name: "elm/check/base/onoff-divided";
7659
7660                 images {
7661                         image: "01_button_on_lighting.png" COMP;
7662                         image: "01_on_off_button.png" COMP;
7663                         image: "01_on_off_button_on.png" COMP;
7664                 }
7665
7666                 parts {
7667                         part {
7668                                 name: "back_bg";
7669                                 mouse_events: 0;
7670                                 scale: 1;
7671                                 description {
7672                                         state: "default" 0.0;
7673                                         rel1 { relative: 0.0 0.0; offset: 1 1; }
7674                                         rel2 { relative: 0.0 1.0; offset: 1 -2; }
7675                                         align: 0 0.5;
7676                                         min: 93 92;
7677                                         fixed: 1 1;
7678                                         aspect: 1.0 1.0;
7679                                         aspect_preference: VERTICAL;
7680                                         image {
7681                                                 normal: "01_button_on_lighting.png";
7682                                                 border: 0 0 0 0;
7683                                                 middle: 1;
7684                                         }
7685                                         fill.smooth : 0;
7686                                 }
7687                         }
7688                         part {
7689                                 name: "check";
7690                                 mouse_events: 0;
7691                                 scale: 1;
7692                                 description {
7693                                         state: "default" 0.0;
7694                                         rel1 { relative: 0 0; offset: 1 1; to: "back_bg"; }
7695                                         rel2 { relative: 1 1; offset: 1 -2; to: "back_bg"; }
7696                                         align: 0.5 0.5;
7697                                         min: 50 50;
7698                                         max: 50 50;
7699                                         aspect: 1.0 1.0;
7700                                         aspect_preference: VERTICAL;
7701                                         image.normal: "01_on_off_button.png";
7702                                 }
7703                                 description { state: "visible" 0.0;
7704                                         inherit: "default" 0.0;
7705                                         image.normal: "01_on_off_button_on.png";
7706                                 }
7707                                 description { state: "disabled" 0.0;
7708                                         inherit: "default" 0.0;
7709                                         visible: 0;
7710                                         color: 128 128 128 128;
7711                                 }
7712                                 description { state: "disabled_visible" 0.0;
7713                                         inherit: "default" 0.0;
7714                                         color: 128 128 128 128;
7715                                         visible: 1;
7716                                 }
7717                         }
7718                         part {
7719                                 name: "elm.swallow.content";
7720                                 type: SWALLOW;
7721                                 description {
7722                                         state: "default" 0.0;
7723                                         fixed: 1 0;
7724                                         visible: 0;
7725                                         color: 255 255 255 255;
7726                                         align: 0.0 0.5;
7727                                         rel1 { relative: 1.0 0.0; offset: 1 1; to_x: "check"; }
7728                                         rel2 { relative: 1.0 1.0; offset: 2 -2; to_x: "check"; }
7729                                 }
7730                                 description {
7731                                         state: "visible" 0.0;
7732                                         inherit: "default" 0.0;
7733                                         fixed: 1 1;
7734                                         visible: 1;
7735                                         aspect: 1.0 1.0;
7736                                         aspect_preference: VERTICAL;
7737                                 }
7738                                 description {
7739                                         state: "disabled" 0.0;
7740                                         inherit: "default" 0.0;
7741                                         color: 128 128 128 128;
7742                                 }
7743                                 description {
7744                                         state: "disabled_visible" 0.0;
7745                                         inherit: "default" 0.0;
7746                                         color: 128 128 128 128;
7747                                         fixed: 1 1;
7748                                         visible: 1;
7749                                         aspect: 1.0 1.0;
7750                                 }
7751                         }
7752                         part {
7753                                 name: "elm.text";
7754                                 type: TEXTBLOCK;
7755                                 mouse_events: 0;
7756                                 scale: 1;
7757                                 description {
7758                                         state: "default" 0.0;
7759                                         visible: 0;
7760                                         fixed: 0 1;
7761                                         rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; }
7762                                         rel2 { relative: 1.0 0.5; offset: -2 -2; }
7763                                         color: 255 255 255 255;
7764                                         align: 0.0 0.5;
7765                                         text {
7766                                                 style: "check_label_textblock_style";
7767                                                 min: 0 0;
7768                                         }
7769                                 }
7770                                 description {
7771                                         state: "visible" 0.0;
7772                                         inherit: "default" 0.0;
7773                                         text.min: 1 1;
7774                                         visible: 1;
7775                                 }
7776                                 description {
7777                                         state: "disabled" 0.0;
7778                                         inherit: "default" 0.0;
7779                                         color: 0 0 0 128;
7780                                         color3: 0 0 0 0;
7781                                 }
7782                                 description {
7783                                         state: "disabled_visible" 0.0;
7784                                         inherit: "default" 0.0;
7785                                         color: 0 0 0 128;
7786                                         color3: 0 0 0 0;
7787                                         visible: 1;
7788                                         text.min: 1 1;
7789                                 }
7790                         }
7791                         part {
7792                                 name: "events";
7793                                 type: RECT;
7794                                 ignore_flags: ON_HOLD;
7795                                 description {
7796                                         state: "default" 0.0;
7797                                         rel1 { to: "back_bg"; }
7798                                         rel2 { to: "back_bg"; }
7799                                         color: 0 0 0 0;
7800                                 }
7801                         }
7802                         part {
7803                                 name: "disabler";
7804                                 type: RECT;
7805                                 description {
7806                                         state: "default" 0.0;
7807                                         color: 0 0 0 0;
7808                                         visible: 0;
7809                                 }
7810                                 description {
7811                                         state: "disabled" 0.0;
7812                                 inherit: "default" 0.0;
7813                                 visible: 1;
7814                                 }
7815                         }
7816                 }
7817                 programs {
7818                         program {
7819                                 name: "click";
7820                                 signal: "mouse,up,1";
7821                                 source: "events";
7822                                 action: SIGNAL_EMIT "elm,action,check,toggle" "";
7823                         }
7824                         program {
7825                                 name: "check_on";
7826                                 signal: "elm,state,check,on";
7827                                 source: "elm";
7828                                 action: STATE_SET "visible" 0.0;
7829                                 target: "check";
7830                         }
7831                         program {
7832                                 name: "check_off";
7833                                 signal: "elm,state,check,off";
7834                                 source: "elm";
7835                                 action: STATE_SET "default" 0.0;
7836                                 target: "check";
7837                         }
7838                         program {
7839                                 name: "text_show";
7840                                 signal: "elm,state,text,visible";
7841                                 source: "elm";
7842                                 action: STATE_SET "visible" 0.0;
7843                                 target: "elm.text";
7844                         }
7845                         program {
7846                                 name: "text_hide";
7847                                 signal: "elm,state,text,hidden";
7848                                 source: "elm";
7849                                 action: STATE_SET "default" 0.0;
7850                                 target: "elm.text";
7851                         }
7852                         program {
7853                                 name: "icon_show";
7854                                 signal: "elm,state,icon,visible";
7855                                 source: "elm";
7856                                 action: STATE_SET "visible" 0.0;
7857                                 target: "elm.swallow.content";
7858                         }
7859                         program {
7860                                 name: "icon_hide";
7861                                 signal: "elm,state,icon,hidden";
7862                                 source: "elm";
7863                                 action: STATE_SET "default" 0.0;
7864                                 target: "elm.swallow.content";
7865                         }
7866                         program {
7867                                 name: "disable";
7868                                 signal: "elm,state,disabled";
7869                                 source: "elm";
7870                                 action: STATE_SET "disabled" 0.0;
7871                                 target: "disabler";
7872                                 after: "disable_text";
7873                         }
7874                         program {
7875                                 name: "disable_text";
7876                                 script {
7877                                         new st[31];
7878                                         new Float:vl;
7879                                         get_state(PART:"elm.text", st, 30, vl);
7880                                         if (!strcmp(st, "visible"))
7881                                                 set_state(PART:"elm.text", "disabled_visible", 0.0);
7882                                         else
7883                                                 set_state(PART:"elm.text", "disabled", 0.0);
7884
7885                                         get_state(PART:"elm.swallow.content", st, 30, vl);
7886                                         if (!strcmp(st, "visible"))
7887                                                 set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
7888                                         else
7889                                                 set_state(PART:"elm.swallow.content", "disabled", 0.0);
7890
7891                                         get_state(PART:"check", st, 30, vl);
7892                                         if (!strcmp(st, "visible"))
7893                                                 set_state(PART:"check", "disabled_visible", 0.0);
7894                                         else
7895                                                 set_state(PART:"check", "disabled", 0.0);
7896                                 }
7897                         }
7898                         program {
7899                                 name: "enable";
7900                                 signal: "elm,state,enabled";
7901                                 source: "elm";
7902                                 action: STATE_SET "default" 0.0;
7903                                 target: "disabler";
7904                                 after: "enable_text";
7905                         }
7906                         program {
7907                                 name: "enable_text";
7908                                 script {
7909                                         new st[31];
7910                                         new Float:vl;
7911                                         get_state(PART:"elm.text", st, 30, vl);
7912                                         if (!strcmp(st, "disabled_visible"))
7913                                                 set_state(PART:"elm.text", "visible", 0.0);
7914                                         else
7915                                                 set_state(PART:"elm.text", "default", 0.0);
7916
7917                                         get_state(PART:"elm.swallow.content", st, 30, vl);
7918                                         if (!strcmp(st, "visible"))
7919                                                 set_state(PART:"elm.swallow.content", "visible", 0.0);
7920                                         else
7921                                                 set_state(PART:"elm.swallow.content", "default", 0.0);
7922
7923                                         get_state(PART:"check", st, 30, vl);
7924                                         if (!strcmp(st, "visible"))
7925                                                 set_state(PART:"check", "visible", 0.0);
7926                                         else
7927                                                 set_state(PART:"check", "default", 0.0);
7928                                 }
7929                         }
7930                 }
7931         }
7932
7933 ////////////////////////////////////////////////////////////////////////////////////////
7934 //
7935 // check favorite style
7936 //
7937 ///////////////////////////////////////////////////////////////////////////////////////
7938 /*
7939         group {
7940                 name: "elm/check/base/favorite";
7941
7942                 images {
7943                         image: "01_rate_icon_default.png" COMP;
7944                         image: "01_rate_small_fill.png" COMP;
7945                 }
7946
7947                 parts {
7948                         part {
7949                                 name: "back_bg";
7950                                 mouse_events: 0;
7951                                 type: RECT;
7952                                 scale: 1;
7953                                 description {
7954                                         state: "default" 0.0;
7955                                         rel1 { relative: 0.0 0.0; offset: 1 1; }
7956                                         rel2 { relative: 0.0 1.0; offset: 1 -2; }
7957                                         align: 0 0.5;
7958                                         min: 93 92;
7959                                         fixed: 1 1;
7960                                         aspect: 1.0 1.0;
7961                                         aspect_preference: VERTICAL;
7962                                         color: 0 0 0 0;
7963                                 }
7964                         }
7965                         part {
7966                                 name: "check";
7967                                 mouse_events: 0;
7968                                 scale: 1;
7969                                 description {
7970                                         state: "default" 0.0;
7971                                         rel1 { relative: 0 0; offset: 1 1; to: "back_bg"; }
7972                                         rel2 { relative: 1 1; offset: 1 -2; to: "back_bg"; }
7973                                         align: 0.5 0.5;
7974                                         min: 50 50;
7975                                         max: 50 50;
7976                                         aspect: 1.0 1.0;
7977                                         aspect_preference: VERTICAL;
7978                                         image.normal: "01_rate_icon_default.png";
7979                                 }
7980                                 description {
7981                                         state: "visible" 0.0;
7982                                         inherit: "default" 0.0;
7983                                         image.normal: "01_rate_small_fill.png";
7984                                         visible: 1;
7985                                 }
7986                                 description {
7987                                         state: "disabled" 0.0;
7988                                         inherit: "default" 0.0;
7989                                         visible: 0;
7990                                         color: 128 128 128 128;
7991                                 }
7992                                 description {
7993                                         state: "disabled_visible" 0.0;
7994                                         inherit: "default" 0.0;
7995                                         color: 128 128 128 128;
7996                                         visible: 1;
7997                                 }
7998                         }
7999                         part {
8000                                 name: "elm.swallow.content";
8001                                 type: SWALLOW;
8002                                 description {
8003                                         state: "default" 0.0;
8004                                         fixed: 1 0;
8005                                         visible: 0;
8006                                         color: 255 255 255 255;
8007                                         align: 0.0 0.5;
8008                                         rel1 { relative: 1.0 0.0; offset: 1 1; to_x: "check"; }
8009                                         rel2 { relative: 1.0 1.0; offset: 2 -2; to_x: "check"; }
8010                                 }
8011                                 description {
8012                                         state: "visible" 0.0;
8013                                         inherit: "default" 0.0;
8014                                         fixed: 1 1;
8015                                         visible: 1;
8016                                         aspect: 1.0 1.0;
8017                                         aspect_preference: VERTICAL;
8018                                 }
8019                                 description {
8020                                         state: "disabled" 0.0;
8021                                         inherit: "default" 0.0;
8022                                         color: 128 128 128 128;
8023                                 }
8024                                 description {
8025                                         state: "disabled_visible" 0.0;
8026                                         inherit: "default" 0.0;
8027                                         color: 128 128 128 128;
8028                                         fixed: 1 1;
8029                                         visible: 1;
8030                                         aspect: 1.0 1.0;
8031                                 }
8032                         }
8033                         part {
8034                                 name: "elm.text";
8035                                 type: TEXTBLOCK;
8036                                 mouse_events: 0;
8037                                 scale: 1;
8038                                 description {
8039                                         state: "default" 0.0;
8040                                         visible: 0;
8041                                         fixed: 0 1;
8042                                         rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; }
8043                                         rel2 { relative: 1.0 0.5; offset: -2 -2; }
8044                                         color: 255 255 255 255;
8045                                         align: 0.0 0.5;
8046                                         text {
8047                                                 style: "check_label_textblock_style";
8048                                                 min: 0 0;
8049                                         }
8050                                 }
8051                                 description {
8052                                         state: "visible" 0.0;
8053                                         inherit: "default" 0.0;
8054                                         text.min: 1 1;
8055                                         visible: 1;
8056                                 }
8057                                 description {
8058                                         state: "disabled" 0.0;
8059                                         inherit: "default" 0.0;
8060                                         color: 0 0 0 128;
8061                                         color3: 0 0 0 0;
8062                                 }
8063                                 description {
8064                                         state: "disabled_visible" 0.0;
8065                                         inherit: "default" 0.0;
8066                                         color: 0 0 0 128;
8067                                         color3: 0 0 0 0;
8068                                         visible: 1;
8069                                         text.min: 1 1;
8070                                 }
8071                         }
8072                         part {
8073                                 name: "events";
8074                                 type: RECT;
8075                                 ignore_flags: ON_HOLD;
8076                                 description {
8077                                         state: "default" 0.0;
8078                                         rel1 { to: "back_bg"; }
8079                                         rel2 { to: "back_bg"; }
8080                                         color: 0 0 0 0;
8081                                 }
8082                         }
8083                         part {
8084                                 name: "disabler";
8085                                 type: RECT;
8086                                 description {
8087                                         state: "default" 0.0;
8088                                         color: 0 0 0 0;
8089                                         visible: 0;
8090                                 }
8091                                 description {
8092                                         state: "disabled" 0.0;
8093                                 inherit: "default" 0.0;
8094                                 visible: 1;
8095                                 }
8096                         }
8097                 }
8098                 programs {
8099                         program {
8100                                 name: "click";
8101                                 signal: "mouse,up,1";
8102                                 source: "events";
8103                                 action: SIGNAL_EMIT "elm,action,check,toggle" "";
8104                         }
8105                         program {
8106                                 name: "check_on";
8107                                 signal: "elm,state,check,on";
8108                                 source: "elm";
8109                                 action: STATE_SET "visible" 0.0;
8110                                 target: "check";
8111                         }
8112                         program {
8113                                 name: "check_off";
8114                                 signal: "elm,state,check,off";
8115                                 source: "elm";
8116                                 action: STATE_SET "default" 0.0;
8117                                 target: "check";
8118                         }
8119                         program {
8120                                 name: "text_show";
8121                                 signal: "elm,state,text,visible";
8122                                 source: "elm";
8123                                 action: STATE_SET "visible" 0.0;
8124                                 target: "elm.text";
8125                         }
8126                         program {
8127                                 name: "text_hide";
8128                                 signal: "elm,state,text,hidden";
8129                                 source: "elm";
8130                                 action: STATE_SET "default" 0.0;
8131                                 target: "elm.text";
8132                         }
8133                         program {
8134                                 name: "icon_show";
8135                                 signal: "elm,state,icon,visible";
8136                                 source: "elm";
8137                                 action: STATE_SET "visible" 0.0;
8138                                 target: "elm.swallow.content";
8139                         }
8140                         program {
8141                                 name: "icon_hide";
8142                                 signal: "elm,state,icon,hidden";
8143                                 source: "elm";
8144                                 action: STATE_SET "default" 0.0;
8145                                 target: "elm.swallow.content";
8146                         }
8147                         program {
8148                                 name: "disable";
8149                                 signal: "elm,state,disabled";
8150                                 source: "elm";
8151                                 action: STATE_SET "disabled" 0.0;
8152                                 target: "disabler";
8153                                 after: "disable_text";
8154                         }
8155                         program {
8156                                 name: "disable_text";
8157                                 script {
8158                                         new st[31];
8159                                         new Float:vl;
8160                                         get_state(PART:"elm.text", st, 30, vl);
8161                                         if (!strcmp(st, "visible"))
8162                                                 set_state(PART:"elm.text", "disabled_visible", 0.0);
8163                                         else
8164                                                 set_state(PART:"elm.text", "disabled", 0.0);
8165
8166                                         get_state(PART:"elm.swallow.content", st, 30, vl);
8167                                         if (!strcmp(st, "visible"))
8168                                                 set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
8169                                         else
8170                                                 set_state(PART:"elm.swallow.content", "disabled", 0.0);
8171
8172                                         get_state(PART:"check", st, 30, vl);
8173                                         if (!strcmp(st, "visible"))
8174                                                 set_state(PART:"check", "disabled_visible", 0.0);
8175                                         else
8176                                                 set_state(PART:"check", "disabled", 0.0);
8177                                 }
8178                         }
8179                         program {
8180                                 name: "enable";
8181                                 signal: "elm,state,enabled";
8182                                 source: "elm";
8183                                 action: STATE_SET "default" 0.0;
8184                                 target: "disabler";
8185                                 after: "enable_text";
8186                         }
8187                         program {
8188                                 name: "enable_text";
8189                                 script {
8190                                         new st[31];
8191                                         new Float:vl;
8192                                         get_state(PART:"elm.text", st, 30, vl);
8193                                         if (!strcmp(st, "disabled_visible"))
8194                                                 set_state(PART:"elm.text", "visible", 0.0);
8195                                         else
8196                                                 set_state(PART:"elm.text", "default", 0.0);
8197
8198                                         get_state(PART:"elm.swallow.content", st, 30, vl);
8199                                         if (!strcmp(st, "visible"))
8200                                                 set_state(PART:"elm.swallow.content", "visible", 0.0);
8201                                         else
8202                                                 set_state(PART:"elm.swallow.content", "default", 0.0);
8203
8204                                         get_state(PART:"check", st, 30, vl);
8205                                         if (!strcmp(st, "visible"))
8206                                                 set_state(PART:"check", "visible", 0.0);
8207                                         else
8208                                                 set_state(PART:"check", "default", 0.0);
8209                                 }
8210                         }
8211                 }
8212         }
8213 */
8214 ////////////////////////////////////////////////////////////////////////////////////////
8215 //
8216 // check favorite-divided style
8217 //
8218 ///////////////////////////////////////////////////////////////////////////////////////
8219         group {
8220                 name: "elm/check/base/favorite-divided";
8221
8222                 images {
8223                         image: "01_button_on_lighting.png" COMP;
8224                         image: "01_rate_icon_default.png" COMP;
8225                         image: "01_rate_small_fill.png" COMP;
8226                 }
8227
8228                 parts {
8229                         part {
8230                                 name: "back_bg";
8231                                 mouse_events: 0;
8232                                 scale: 1;
8233                                 description {
8234                                         state: "default" 0.0;
8235                                         rel1 { relative: 0.0 0.0; offset: 1 1; }
8236                                         rel2 { relative: 0.0 1.0; offset: 1 -2; }
8237                                         align: 0 0.5;
8238                                         min: 93 92;
8239                                         fixed: 1 1;
8240                                         aspect: 1.0 1.0;
8241                                         aspect_preference: VERTICAL;
8242                                         image {
8243                                                 normal: "01_button_on_lighting.png";
8244                                                 border: 0 0 0 0;
8245                                                 middle: 1;
8246                                         }
8247                                         fill.smooth : 0;
8248                                 }
8249                         }
8250                         part {
8251                                 name: "check";
8252                                 mouse_events: 0;
8253                                 scale: 1;
8254                                 description {
8255                                         state: "default" 0.0;
8256                                         rel1 { relative: 0 0; offset: 1 1; to: "back_bg"; }
8257                                         rel2 { relative: 1 1; offset: 1 -2; to: "back_bg"; }
8258                                         align: 0.5 0.5;
8259                                         min: 50 50;
8260                                         max: 50 50;
8261                                         aspect: 1.0 1.0;
8262                                         aspect_preference: VERTICAL;
8263                                         image.normal: "01_rate_icon_default.png";
8264                                 }
8265                                 description { state: "visible" 0.0;
8266                                         inherit: "default" 0.0;
8267                                         image.normal: "01_rate_small_fill.png";
8268                                 }
8269                                 description { state: "disabled" 0.0;
8270                                         inherit: "default" 0.0;
8271                                         visible: 0;
8272                                         color: 128 128 128 128;
8273                                 }
8274                                 description { state: "disabled_visible" 0.0;
8275                                         inherit: "default" 0.0;
8276                                         color: 128 128 128 128;
8277                                         visible: 1;
8278                                 }
8279                         }
8280                         part {
8281                                 name: "elm.swallow.content";
8282                                 type: SWALLOW;
8283                                 description {
8284                                         state: "default" 0.0;
8285                                         fixed: 1 0;
8286                                         visible: 0;
8287                                         color: 255 255 255 255;
8288                                         align: 0.0 0.5;
8289                                         rel1 { relative: 1.0 0.0; offset: 1 1; to_x: "check"; }
8290                                         rel2 { relative: 1.0 1.0; offset: 2 -2; to_x: "check"; }
8291                                 }
8292                                 description {
8293                                         state: "visible" 0.0;
8294                                         inherit: "default" 0.0;
8295                                         fixed: 1 1;
8296                                         visible: 1;
8297                                         aspect: 1.0 1.0;
8298                                         aspect_preference: VERTICAL;
8299                                 }
8300                                 description {
8301                                         state: "disabled" 0.0;
8302                                         inherit: "default" 0.0;
8303                                         color: 128 128 128 128;
8304                                 }
8305                                 description {
8306                                         state: "disabled_visible" 0.0;
8307                                         inherit: "default" 0.0;
8308                                         color: 128 128 128 128;
8309                                         fixed: 1 1;
8310                                         visible: 1;
8311                                         aspect: 1.0 1.0;
8312                                 }
8313                         }
8314                         part {
8315                                 name: "elm.text";
8316                                 type: TEXTBLOCK;
8317                                 mouse_events: 0;
8318                                 scale: 1;
8319                                 description {
8320                                         state: "default" 0.0;
8321                                         visible: 0;
8322                                         fixed: 0 1;
8323                                         rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; }
8324                                         rel2 { relative: 1.0 0.5; offset: -2 -2; }
8325                                         color: 255 255 255 255;
8326                                         align: 0.0 0.5;
8327                                         text {
8328                                                 style: "check_label_textblock_style";
8329                                                 min: 0 0;
8330                                         }
8331                                 }
8332                                 description {
8333                                         state: "visible" 0.0;
8334                                         inherit: "default" 0.0;
8335                                         text.min: 1 1;
8336                                         visible: 1;
8337                                 }
8338                                 description {
8339                                         state: "disabled" 0.0;
8340                                         inherit: "default" 0.0;
8341                                         color: 0 0 0 128;
8342                                         color3: 0 0 0 0;
8343                                 }
8344                                 description {
8345                                         state: "disabled_visible" 0.0;
8346                                         inherit: "default" 0.0;
8347                                         color: 0 0 0 128;
8348                                         color3: 0 0 0 0;
8349                                         visible: 1;
8350                                         text.min: 1 1;
8351                                 }
8352                         }
8353                         part {
8354                                 name: "events";
8355                                 type: RECT;
8356                                 ignore_flags: ON_HOLD;
8357                                 description {
8358                                         state: "default" 0.0;
8359                                         rel1 { to: "back_bg"; }
8360                                         rel2 { to: "back_bg"; }
8361                                         color: 0 0 0 0;
8362                                 }
8363                         }
8364                         part {
8365                                 name: "disabler";
8366                                 type: RECT;
8367                                 description {
8368                                         state: "default" 0.0;
8369                                         color: 0 0 0 0;
8370                                         visible: 0;
8371                                 }
8372                                 description {
8373                                         state: "disabled" 0.0;
8374                                 inherit: "default" 0.0;
8375                                 visible: 1;
8376                                 }
8377                         }
8378                 }
8379                 programs {
8380                         program {
8381                                 name: "click";
8382                                 signal: "mouse,up,1";
8383                                 source: "events";
8384                                 action: SIGNAL_EMIT "elm,action,check,toggle" "";
8385                         }
8386                         program {
8387                                 name: "check_on";
8388                                 signal: "elm,state,check,on";
8389                                 source: "elm";
8390                                 action: STATE_SET "visible" 0.0;
8391                                 target: "check";
8392                         }
8393                         program {
8394                                 name: "check_off";
8395                                 signal: "elm,state,check,off";
8396                                 source: "elm";
8397                                 action: STATE_SET "default" 0.0;
8398                                 target: "check";
8399                         }
8400                         program {
8401                                 name: "text_show";
8402                                 signal: "elm,state,text,visible";
8403                                 source: "elm";
8404                                 action: STATE_SET "visible" 0.0;
8405                                 target: "elm.text";
8406                         }
8407                         program {
8408                                 name: "text_hide";
8409                                 signal: "elm,state,text,hidden";
8410                                 source: "elm";
8411                                 action: STATE_SET "default" 0.0;
8412                                 target: "elm.text";
8413                         }
8414                         program {
8415                                 name: "icon_show";
8416                                 signal: "elm,state,icon,visible";
8417                                 source: "elm";
8418                                 action: STATE_SET "visible" 0.0;
8419                                 target: "elm.swallow.content";
8420                         }
8421                         program {
8422                                 name: "icon_hide";
8423                                 signal: "elm,state,icon,hidden";
8424                                 source: "elm";
8425                                 action: STATE_SET "default" 0.0;
8426                                 target: "elm.swallow.content";
8427                         }
8428                         program {
8429                                 name: "disable";
8430                                 signal: "elm,state,disabled";
8431                                 source: "elm";
8432                                 action: STATE_SET "disabled" 0.0;
8433                                 target: "disabler";
8434                                 after: "disable_text";
8435                         }
8436                         program {
8437                                 name: "disable_text";
8438                                 script {
8439                                         new st[31];
8440                                         new Float:vl;
8441                                         get_state(PART:"elm.text", st, 30, vl);
8442                                         if (!strcmp(st, "visible"))
8443                                                 set_state(PART:"elm.text", "disabled_visible", 0.0);
8444                                         else
8445                                                 set_state(PART:"elm.text", "disabled", 0.0);
8446
8447                                         get_state(PART:"elm.swallow.content", st, 30, vl);
8448                                         if (!strcmp(st, "visible"))
8449                                                 set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
8450                                         else
8451                                                 set_state(PART:"elm.swallow.content", "disabled", 0.0);
8452
8453                                         get_state(PART:"check", st, 30, vl);
8454                                         if (!strcmp(st, "visible"))
8455                                                 set_state(PART:"check", "disabled_visible", 0.0);
8456                                         else
8457                                                 set_state(PART:"check", "disabled", 0.0);
8458                                 }
8459                         }
8460                         program {
8461                                 name: "enable";
8462                                 signal: "elm,state,enabled";
8463                                 source: "elm";
8464                                 action: STATE_SET "default" 0.0;
8465                                 target: "disabler";
8466                                 after: "enable_text";
8467                         }
8468                         program {
8469                                 name: "enable_text";
8470                                 script {
8471                                         new st[31];
8472                                         new Float:vl;
8473                                         get_state(PART:"elm.text", st, 30, vl);
8474                                         if (!strcmp(st, "disabled_visible"))
8475                                                 set_state(PART:"elm.text", "visible", 0.0);
8476                                         else
8477                                                 set_state(PART:"elm.text", "default", 0.0);
8478
8479                                         get_state(PART:"elm.swallow.content", st, 30, vl);
8480                                         if (!strcmp(st, "visible"))
8481                                                 set_state(PART:"elm.swallow.content", "visible", 0.0);
8482                                         else
8483                                                 set_state(PART:"elm.swallow.content", "default", 0.0);
8484
8485                                         get_state(PART:"check", st, 30, vl);
8486                                         if (!strcmp(st, "visible"))
8487                                                 set_state(PART:"check", "visible", 0.0);
8488                                         else
8489                                                 set_state(PART:"check", "default", 0.0);
8490                                 }
8491                         }
8492                 }
8493         }
8494         group{
8495                 name:"elm/fileindexer/base";
8496                 parts{
8497                         part{
8498                                 name: "base";
8499                                 type: RECT;
8500                                 scale: 1;
8501
8502                                 description{
8503                                         state: "default" 0.0;
8504                                         rel1{
8505                                                 relative: 0.0 0.0;
8506                                         }
8507                                         rel2{
8508                                                 relative: 1.0 1.0;
8509                                         }
8510                                         align: 0.0 0.0;
8511                                         color: 0 0 0 0;
8512                                 }
8513                         }
8514                 }
8515         }
8516 ///////////////////////////////////////////////////////////////////////////////
8517         group { name: "elm/cabinet/base/default";
8518                 parts {
8519                         part {
8520                                 name: "elm.rect";
8521                                 type: RECT;
8522                                 repeat_events: 1;
8523                                 description {
8524                                         state: "default" 0.0;
8525                                         color: 0 0 0 0;
8526                                 }
8527                         }
8528                 }
8529         }
8530
8531         group { name: "elm/cabinet/item/base/default";
8532                 images {
8533                         image: "cross_mark_black.png" COMP;
8534                         image: "cross_mark_black_pressed.png" COMP;
8535                 }
8536                 parts {
8537                         part { name: "shadow";
8538                                 type: RECT;
8539                                 description {
8540                                         state: "default" 0.0;
8541                                         color: 120 120 120 100;
8542                                         rel1.offset: 0 -3;
8543                                 }
8544                         }
8545                         part { name: "elm.bg";
8546                                 type: RECT;
8547                                 mouse_events: 1;
8548                                 ignore_flags: ON_HOLD;
8549                                 description {
8550                                         state: "default" 0.0;
8551                                         color: 243 238 219 255;
8552                                 }
8553                         }
8554
8555                         part { name: "elm.pad.l";
8556                                 type: RECT;
8557                                 scale: 1;
8558                                 mouse_events: 0;
8559                                 description {
8560                                         state: "default" 0.0;
8561                                         min: 20 0;
8562                                         fixed: 1 0;
8563                                         rel2.relative: 0.0 1.0;
8564                                         align: 0.0 0.5;
8565                                         visible: 0;
8566                                 }
8567                         }
8568
8569                         part { name: "elm.label";
8570                                 type: TEXT;
8571                                 mouse_events: 0;
8572                                 scale: 1;
8573                                 description {
8574                                         state: "default" 0.0;
8575                                         rel1 {
8576                                                 relative: 1.0 0.0;
8577                                                 to_x: "elm.pad.l";
8578                                         }
8579                                         rel2 {
8580                                                 relative: 0.0 1.0;
8581                                                 to_x: "elm.info_label";
8582                                         }
8583
8584                                         text {
8585                                                 font: "SLP:style=Bold";
8586                                                 size: 32;
8587                                                 align: 0.0 0.5;
8588                                                 min: 0 1;
8589                                         }
8590                                         color: 0 0 0 255;
8591                                 }
8592                         }
8593
8594                         part { name: "elm.info_label";
8595                                 type: TEXT;
8596                                 mouse_events: 0;
8597                                 scale: 1;
8598                                 description {
8599                                         state: "default" 0.0;
8600                                         rel1.to_x: "elm.pad.c";
8601                                         rel2 {
8602                                                 relative: 0.0 1.0;
8603                                                 to_x: "elm.pad.c";
8604                                         }
8605
8606                                         text {
8607                                                 font: "SLP:style=Bold";
8608                                                 size: 26;
8609                                                 align: 1.0 0.5;
8610                                                 min: 1 1;
8611                                         }
8612                                         color: 209 74 0 255;
8613                                         align: 1.0 0.0;
8614                                 }
8615                                 description {
8616                                         state: "disabled" 0.0;
8617                                         inherit: "default" 0.0;
8618                                         visible: 0;
8619                                 }
8620                         }
8621
8622                         part { name: "elm.pad.c";
8623                                 type: RECT;
8624                                 mouse_events: 0;
8625                                 scale: 1;
8626                                 description {
8627                                         state: "default" 0.0;
8628                                         min: 15 0;
8629                                         fixed: 1 0;
8630                                         rel1.to_x: "elm.img.btn";
8631                                         rel2.to_x: "elm.img.btn";
8632                                         rel2.relative: 0.0 1.0;
8633                                         align: 1.0 0.5;
8634                                         visible: 0;
8635                                 }
8636                         }
8637
8638                         part { name: "elm.img.btn";
8639                                 scale: 1;
8640                                 ignore_flags: ON_HOLD;
8641                                 description {
8642                                         state: "default" 0.0;
8643                                         min: 65 0;
8644                                         fixed: 1 0;
8645                                         rel1.relative: 1.0 0.0;
8646                                         align: 1.0 0.5;
8647                                         image.normal: "cross_mark_black.png";
8648                                 }
8649                                 description { state: "pressed" 0.0;
8650                                         inherit: "default" 0.0;
8651                                         image.normal: "cross_mark_black_pressed.png";
8652                                 }
8653                                 description {
8654                                         state: "disabled" 0.0;
8655                                         inherit: "default" 0.0;
8656                                         visible: 0;
8657                                 }
8658                         }
8659
8660                         part { name: "btn_over";
8661                                 type: RECT;
8662                                 repeat_events: 1;
8663                                 description {
8664                                         state: "default" 0.0;
8665                                         rel1.to: "elm.img.btn";
8666                                         rel2.to: "elm.img.btn";
8667                                         color: 0 0 0 0;
8668                                 }
8669                                 description {
8670                                         state: "disabled" 0.0;
8671                                         inherit: "default" 0.0;
8672                                         visible: 0;
8673                                 }
8674                         }
8675
8676                         part { name: "elm.border.bottom";
8677                                 type: RECT;
8678                                 scale: 1;
8679                                 description {
8680                                         state: "default" 0.0;
8681                                         rel1 {
8682                                                 relative: 0.0 1.0;
8683                                                 offset: 0 -1;
8684                                         }
8685                                         align: 0.0 0.5;
8686                                         color: 188 184 168 255;
8687                                 }
8688                         }
8689
8690                         part { name: "elm.border.middle";
8691                                 type: RECT;
8692                                 scale: 1;
8693                                 description {
8694                                         state: "default" 0.0;
8695                                         rel1.to: "elm.img.btn";
8696                                         rel2 {
8697                                                 relative: 0.0 1.0;
8698                                                 to: "elm.img.btn";
8699                                                 offset: 0 -1;
8700                                         }
8701                                         align: 0.0 0.5;
8702                                         color: 188 184 168 255;
8703                                 }
8704                                 description {
8705                                         state: "disabled" 0.0;
8706                                         inherit: "default" 0.0;
8707                                         visible: 0;
8708                                 }
8709                         }
8710                 }
8711                 programs {
8712                         program {
8713                                 name: "btn_clicked";
8714                                 signal: "mouse,clicked,1";
8715                                 source: "elm.img.btn";
8716                                 action: SIGNAL_EMIT "elm,action,del" "";
8717                         }
8718                         program {
8719                                 name: "btn_pressed";
8720                                 signal: "mouse,down,1";
8721                                 source: "btn_over";
8722                                 action: STATE_SET "pressed" 0.0;
8723                                 target: "elm.img.btn";
8724                         }
8725                         program {
8726                                 name: "btn_released";
8727                                 signal: "mouse,up,1";
8728                                 source: "btn_over";
8729                                 action: STATE_SET "default" 0.0;
8730                                 target: "elm.img.btn";
8731                         }
8732
8733                         program {
8734                                 name: "item_clicked";
8735                                 signal: "mouse,clicked,1";
8736                                 source: "elm.bg";
8737                                 action: SIGNAL_EMIT "elm,action,clicked" "";
8738                         }
8739
8740                         program {
8741                                 name: "btn_disable";
8742                                 signal: "btn_disable";
8743                                 source: "elm";
8744                                 action: STATE_SET "disabled" 0.0;
8745                                 target: "elm.img.btn";
8746                                 target: "elm.border.middle";
8747                                 target: "btn_over";
8748                         }
8749
8750                         program {
8751                                 name: "btn_enable";
8752                                 signal: "btn_enable";
8753                                 source: "elm";
8754                                 action: STATE_SET "default" 0.0;
8755                                 target: "elm.img.btn";
8756                                 target: "elm.border.middle";
8757                                 target: "btn_over";
8758                         }
8759
8760                         program {
8761                                 name: "info_lbl_hide";
8762                                 signal: "info_disable";
8763                                 source: "elm";
8764                                 action: STATE_SET "disabled" 0.0;
8765                                 target: "elm.info_label";
8766                         }
8767
8768                         program {
8769                                 name: "info_lbl_show";
8770                                 signal: "info_enable";
8771                                 source: "elm";
8772                                 action: STATE_SET "default" 0.0;
8773                                 target: "elm.info_label";
8774                         }
8775                 }
8776         }
8777
8778 }
8779