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