[Initialize] nBeat theme initialization.
[platform/core/uifw/efl-theme-tizen.git] / themes / groups / genlist / genlist_edit.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 /*         
27  * vim:ts=3
28  */        
29
30    #define EDIT_ICON_WIDTH 42
31    #define EDIT_ICON_HEIGHT 42
32    #define GENLIST_EDIT_SELECT_ICON_WIDTH    EDIT_ICON_WIDTH
33    #define GENLIST_EDIT_SELECT_ICON_HEIGHT   EDIT_ICON_HEIGHT 
34
35    group { name: "elm/genlist/item/edit_control/default";
36       alias: "elm/genlist/item_odd/edit_control/default";
37       alias: "elm/genlist/item_compress/edit_control/default";
38       alias: "elm/genlist/item_compress_odd/edit_control/default";
39
40       data.item: "reorder" "reorder_icon";
41       data.item: "insert" "insert_icon";
42       data.item: "delete" "select_icon";
43       data.item: "del_confirm" "elm.icon.del_confirm";
44       data.item: "icon_width" 60;
45       data.item: "del_button_style" "custom/red";
46       data.item: "icons" "elm.swallow.end";
47       data.item: "rename" "elm.swallow.edit_field_1line elm.swallow.edit_field_2line";
48       
49       images {
50          image: "checkbox_on.png" COMP;
51          image: "checkbox_off.png" COMP;
52          image: "01_list_reorder.png" COMP;
53          image: "01_list_reorder_selected.png" COMP;
54          image: "01_list_minus.png" COMP;
55          image: "01_list_minus_rotated.png" COMP;
56          image: "01_list_minus_on_rotate.png" COMP;
57          image: "01_list_plus.png" COMP;
58          image: "01_list_reorder_bg_above.png" COMP;
59          image: "01_list_reorder_bg_below.png" COMP;
60          image: "00_button_reveal.png" COMP;
61       }
62       parts {
63          part { name: "base";
64             type: RECT; 
65             repeat_events: 1; 
66             scale: 1; 
67             description { state: "default" 0.0; 
68                min: 0 80; 
69                color: 0 0 0 0; 
70             } 
71             description { state: "rename" 0.0;
72                inherit: "default" 0.0;
73                color: 255 255 255 255;
74             }
75             
76          }
77          part { name: "base_line_above";
78             type: RECT;
79             mouse_events: 0;
80             description { state: "default" 0.0;
81                align: 0.0 0.0;
82                min: 0 3;
83                fixed: 1 1;
84                rel1.to: "base";
85                rel2.to: "base";
86                rel2.relative: 1.0 0.0;
87                rel2.offset: -1 -1;
88                color: GENLIST_EDIT_PART_LINE_INC;
89             }
90          }
91          part { name: "base_line_below";
92             type: RECT;
93             mouse_events: 0;
94             description { state: "default" 0.0;
95                align: 1.0 1.0;
96                min: 0 2;
97                fixed: 1 1;
98                rel1.to: "base";
99                rel1.relative: 0.0 1.0;
100                rel2.to: "base";
101                color: GENLIST_EDIT_PART_LINE_INC;
102             }
103          }
104          part { name: "reorder_glow_above";
105             mouse_events: 0;
106             description { state: "default" 0.0;
107                visible: 0;
108                rel1.to:"base";
109                rel1.relative: 0.0 -0.3;
110                rel2.to:"base";
111                rel2.relative: 1.0 0.0;
112                image {
113                   normal: "01_list_reorder_bg_above.png";
114                }
115                fill.smooth: 0;
116             }
117             description { state: "reorder" 0.0;
118                inherit: "default" 0.0;
119                visible: 1;
120             }
121          }
122          part { name: "reorder_glow_below";
123             mouse_events: 0;
124             description { state: "default" 0.0;
125                visible: 0;
126                rel1.to:"base";
127                rel1.relative: 0.0 1.0;
128                rel2.to:"base";
129                rel2.relative: 1.0 1.3;
130                image {
131                   normal: "01_list_reorder_bg_below.png";
132                }
133                fill.smooth: 0;
134             }
135             description { state: "reorder" 0.0;
136                inherit: "default" 0.0;
137                visible: 1;
138             }
139          }
140          part { name: "elm.padding.left";
141             type: RECT;
142             scale: 1;
143             mouse_events: 0;
144             description { state: "default" 0.0;
145                min: 10 0;
146                fixed: 1 0;
147                visible: 0;
148                rel2.relative: 0.0  1.0;
149                align: 0.0 0.0;
150             }
151          }
152          part { name: "elm.padding.top";
153             type: RECT;
154             scale: 1;
155             mouse_events: 0;
156             description { state: "default" 0.0;
157                min: 0 18;
158                fixed: 0 1;
159                visible: 0;
160                rel2.relative: 1.0  0.0;
161                align: 0.0 0.0;
162             }
163          }
164          part { name: "insert_icon";
165             scale: 1;
166             repeat_events: 0;
167             description { state: "default" 0.0;
168                min: 1 0;
169                max: 1 0;
170                fixed: 1 1;
171                align: 0.0 0.0;
172                rel1.to_x: "elm.padding.left";
173                rel1.to_y: "elm.padding.top";
174                rel1.relative: 1.0  1.0;
175                rel2.to_y: "elm.padding.top";
176                image.normal: "01_list_plus.png";
177                fill.smooth: 0;
178                visible:0;
179             }
180             description { state: "enabled" 0.0;
181                inherit: "default" 0.0;
182                min: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
183                max: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
184                visible: 1;
185             }
186          }
187          part { name: "select_icon";
188             scale: 1;
189             repeat_events: 0;
190             description { state: "default" 0.0;
191                min: GENLIST_EDIT_SELECT_ICON_WIDTH GENLIST_EDIT_SELECT_ICON_HEIGHT;
192                fixed: 1 1;
193                visible: 0;
194                align: 0.0 0.0;
195                rel1 {
196                   relative: 1.0 1.0;
197                   to_x: "insert_icon";
198                   to_y: "elm.padding.top";
199                }
200                rel2 {
201                   to_x: "insert_icon";
202                   to_y: "elm.padding.top";
203                }
204                image.normal: "checkbox_off.png";
205             }
206             description { state: "enabled" 0.0;
207                inherit: "default" 0.0;
208                visible: 1;
209             }
210             description { state: "on_transfer" 0.0;
211                inherit: "default" 0.0;
212                visible: 1;
213                image.normal: "checkbox_on.png";
214             }
215             description { state: "del_confirm" 0.0;
216                inherit: "default" 0.0;
217                visible: 1;
218                image.normal: "checkbox_on.png";
219             }
220          }
221          part { name: "select_icon_touch_area";
222             type: RECT;
223             mouse_events: 1;
224             scale: 1;
225             description { state: "default" 0.0;
226                min: (GENLIST_EDIT_SELECT_ICON_WIDTH+10) 0;
227                fixed: 1 0;
228                align: 0 0.5;
229                rel1 { relative: 0 0; to_x: "select_icon"; }
230                rel2 { relative: 0 1; to_x: "select_icon"; }
231                color: 0 0 0 0;
232             }
233          }
234
235                       part { name: "reorder_icon";
236                                scale: 1;
237                                repeat_events: 0;
238                            description { state: "default" 0.0;
239                                  min: 1 0;
240                                 max: 1 0;
241                                fixed: 1 1;
242                                visible: 0;
243                                align: 1.0 0.0;
244                                rel1 {
245                                  to_y: "elm.padding.top";
246                                  relative: 1.0  1.0;
247                                }
248                                rel2 {
249                                  to_y: "elm.padding.top";
250                                  relative: 1.0  1.0;
251                                }
252                                image {
253                                   normal: "01_list_reorder.png";
254                                }
255                                fill.smooth: 0;
256                                visible:0;
257                            }
258                            description { state: "enabled" 0.0;
259                                inherit: "default" 0.0;
260                                 min: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
261                                 max: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
262                                visible: 0;
263                            }
264                            description { state: "selected" 0.0;
265                                inherit: "default" 0.0;
266                                min: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
267                                max: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
268                                image {
269                                   normal: "01_list_reorder_selected.png";
270                                }
271                                visible: 0;
272                            }
273                    }
274                    part { name: "elm.icon.del_confirm";
275                               type: SWALLOW;
276                                scale: 1;
277                                repeat_events: 0;
278                            description { state: "default" 0.0;
279                                  min: 88 50;
280                                max: 88 50;
281                                fixed: 1 1;
282                                align: 1.0 0.0;
283                                rel1 {
284                                  to_y: "elm.padding.top";
285                                  relative: 1.0  1.0;
286                                }
287                                rel2 {
288                                   to_x: "elm.padding.right";
289                                  to_y: "elm.padding.top";
290                                  relative: 0.0  1.0;
291                                }
292                                visible:0;
293                            }
294                            description { state: "enabled" 0.0;
295                                inherit: "default" 0.0;
296                                visible:1;
297                            }
298                            description { state: "del_confirm" 0.0;
299                                inherit: "default" 0.0;
300                                visible:1;
301                            }
302                    }
303
304                    part { name: "del_confirm_wrapper";
305                               type: RECT;
306                                scale: 1;
307                                repeat_events: 1;
308                            description { state: "default" 0.0;
309                                align: 0.0 0.0;
310                                rel1.to: "elm.icon.del_confirm";
311                                rel1.relative: 0.0 0.0;
312                                rel2.to: "elm.icon.del_confirm";
313                                rel2.relative: 1.0  1.0;
314
315                         color: 255 255 255 0;
316                         visible:1;
317                            }
318                            description { state: "enabled" 0.0;
319                                inherit: "default" 0.0;
320                                color: 255 255 255 255;
321                                visible:0;
322                            }
323                            description { state: "on_transfer" 0.0;
324                                inherit: "default" 0.0;
325                                rel2.to: "elm.icon.del_confirm";
326                                rel2.relative: 0.5  1.0;
327                                color: 255 255 255 255;
328                                visible:0;
329                            }
330                            description { state: "del_confirm" 0.0;
331                                inherit: "default" 0.0;
332                                rel2.to: "elm.icon.del_confirm";
333                                rel2.relative: 0.0  1.0;
334                                color: 255 255 255 255;
335                                visible:0;
336                            }
337                    }
338
339                    part { name: "elm.padding.right";
340                            type: RECT;
341                            scale: 1;
342                            repeat_events: 0;
343                        description {  state: "default" 0.0;
344                            min: 15 0;
345                            max: 15 0;
346                            fixed: 1 1;
347                            visible: 0;
348                            align: 1.0 0.0;
349                            rel1 {
350                              to_y: "elm.padding.top";
351                              relative: 1.0  1.0;
352                            }
353                            rel2 {
354                              to_y: "elm.padding.top";
355                              relative: 1.0  1.0;
356                            }
357                    }
358                 }
359
360 /*             part { name: "elm.swallow.edit_field";
361                   type: SWALLOW;
362                   mouse_events: 1;
363                   scale: 1;
364                   description { state: "default" 0.0;
365                      rel1 {
366                         relative: 1.0  0.0;
367                         offset: 0 0;
368                         to_x: "elm.padding.left";
369                      }
370                      rel2 {
371                         to_x: "elm.padding.right";
372                         relative: 0.0  1.0;
373                         offset:   0   0;
374                      }
375                      color: 0 0 0 255;
376                   }
377                }
378 */
379                part { name: "elm.swallow.end";
380                   type: SWALLOW;
381                   scale: 1;
382                   description { state: "default" 0.0;
383                      fixed: 1 0;
384                      align: 1.0 0.5;
385                      visible: 1;
386                      rel1.to_x: "elm.padding.right";
387                      rel2 {
388                         relative: 0.0  1.0;
389                         to_x: "elm.padding.right";
390                      }
391                   }
392                     description { state: "disable" 0.0;
393                        inherit: "default" 0.0;
394                        visible: 0;
395                     }
396                }
397                part { name: "elm.swallow.edit_field_1line";
398                   type: SWALLOW;
399                   mouse_events: 1;
400                   scale: 1;
401                   description { state: "default" 0.0;
402                      rel1 {
403                         relative: 1.0  0.0;
404                         offset: 0 0;
405                         to_x: "elm.padding.left";
406                      }
407                      rel2 {
408                         to_x: "elm.padding.right";
409                         relative: 0.0  0.5;
410                         offset:   0   0;
411                      }
412                      color: 0 0 0 255;
413                   }
414                }
415                part { name: "elm.swallow.edit_field_2line";
416                   type: SWALLOW;
417                   mouse_events: 1;
418                   scale: 1;
419                   description { state: "default" 0.0;
420                      rel1 {
421                         relative: 1.0  0.5;
422                         offset: 0 0;
423                         to_x: "elm.padding.left";
424                      }
425                      rel2 {
426                         to_x: "elm.padding.right";
427                         relative: 0.0  1.0;
428                         offset:   0   0;
429                      }
430                      color: 0 0 0 255;
431                   }
432                }
433       }
434       programs {
435          program {
436             name:    "on_mouse_down";
437             signal:  "mouse,down,1";
438             source:  "base";
439             action:  SIGNAL_EMIT "elm,action,edit,reset" "elm";
440          }
441               program {
442                name:    "on_delete";
443                signal:  "mouse,down,1";
444                source:  "select_icon_touch_area";
445                action:  SIGNAL_EMIT "elm,action,item,delete" "elm";
446              }
447               program {
448                name:    "on_insert";
449                signal:  "mouse,down,1";
450                source:  "insert_icon";
451                action:  SIGNAL_EMIT "elm,action,item,insert" "elm";
452              }
453              program {
454                name:    "on_reorder";
455                signal:  "mouse,down,1";
456                source:  "reorder_icon";
457                action:  SIGNAL_EMIT "elm,click,item,reorder" "elm";
458              }
459              program {
460                   name:    "del_mode";
461                   action:  STATE_SET "enabled" 0.0;
462                   target:  "select_icon";
463                   target:  "elm.icon.del_confirm";
464                   target:  "del_confirm_wrapper";
465                   transition: LINEAR 0.1;
466                   after: "hide_del_confirm";
467                }
468
469                program {
470                   name:    "to_del_mode";
471                   signal:  "elm,state,delete";
472                   source:  "elm";
473                   action:  STATE_SET "on_transfer" 0.0;
474                   target:  "select_icon";
475                   target: "del_confirm_wrapper";
476                   transition: LINEAR 0.1;
477                   after: "del_mode";
478                }
479                program {
480                   name:    "start_del_confirm_mode";
481                   signal:  "elm,state,del_confirm";
482                   source:  "elm";
483                   action:  STATE_SET "enabled" 0.0;
484                   target:  "del_confirm_wrapper";
485                   after:   "animate_to_del_confirm_mode";
486                }
487                program {
488                   name:    "animate_to_del_confirm_mode";
489                   signal:  "elm,state,del_confirm";
490                   source:  "elm";
491                   action:  STATE_SET "on_transfer" 0.0;
492                   target:  "select_icon";
493                   target:  "del_confirm_wrapper";
494                   transition: LINEAR 0.5;
495                   after:   "del_confirm_mode";
496                }
497                program {
498                   name:    "del_confirm_mode";
499                   action:  STATE_SET "del_confirm" 0.0;
500                   target:  "select_icon";
501                   target:  "elm.icon.del_confirm";
502                   target:  "del_confirm_wrapper";
503                   transition: LINEAR 0.5;
504                }
505                 program {
506                   name:    "hide_del_confirm";
507                   action:  SIGNAL_EMIT "elm,action,hide,del_confirm" "elm";
508                   after :  hide_del_confirm_wrapper;
509                }
510                program {
511                   name:    "hide_del_confirm_wrapper";
512                   action:  STATE_SET "default" 0.0;
513                   target: "del_confirm_wrapper";
514                   transition: LINEAR 0.1;
515                }
516               program {
517                  name:    "show_reorder_glow";
518                  signal:  "elm,action,item,reorder_start";
519                source:  "elm";
520                  action:  STATE_SET "reorder" 0.0;
521                  target:  "reorder_glow_above";
522                  target:  "reorder_glow_below";
523                }
524                program {
525                  name:    "hide_reorder_glow";
526                  signal:  "elm,action,item,reorder_end";
527                source:  "elm";
528                  action:  STATE_SET "default" 0.0;
529                  target:  "reorder_glow_above";
530                  target:  "reorder_glow_below";
531                }
532                program {
533                   name:    "enable_delete";
534                   signal:  "elm,state,del,enable";
535                   source:  "elm";
536                   action:  STATE_SET "enabled" 0.0;
537                   target:  "select_icon";
538                }
539                program {
540                   name:    "enable_delete_animated";
541                   signal:  "elm,state,del,animated,enable";
542                   source:  "elm";
543                   action:  STATE_SET "enabled" 0.0;
544                   target:  "select_icon";
545                   transition: LINEAR 0.1;
546                }
547                program {
548                   name:    "disable_delete";
549                   signal:  "elm,state,del,disable";
550                   source:  "elm";
551                   action:  STATE_SET "default" 0.0;
552                   target:  "select_icon";
553                }
554                program {
555                   name:    "disable_delete_animated";
556                   signal:  "elm,state,del,animated,disable";
557                   source:  "elm";
558                   action:  STATE_SET "default" 0.0;
559                   target:  "select_icon";
560                   transition: LINEAR 0.1;
561                }
562                program {
563                   name:    "enable_insert";
564                   signal:  "elm,state,ins,enable";
565                   source:  "elm";
566                   action:  STATE_SET "enabled" 0.0;
567                   target:  "insert_icon";
568                }
569                program {
570                   name:    "enable_insert_animated";
571                   signal:  "elm,state,ins,animated,enable";
572                   source:  "elm";
573                   action:  STATE_SET "enabled" 0.0;
574                   target:  "insert_icon";
575                   transition: LINEAR 0.1;
576                }
577                program {
578                   name:    "disable_insert";
579                   signal:  "elm,state,ins,disable";
580                   source:  "elm";
581                   action:  STATE_SET "default" 0.0;
582                   target:  "insert_icon";
583                }
584                program {
585                   name:    "disable_insert_animated";
586                   signal:  "elm,state,ins,animated,disable";
587                   source:  "elm";
588                   action:  STATE_SET "default" 0.0;
589                   target:  "insert_icon";
590                   transition: LINEAR 0.1;
591                }
592                program {
593                   name:    "enable_reorder";
594                   signal:  "elm,state,reorder,enable";
595                   source:  "elm";
596                   action:  STATE_SET "enabled" 0.0;
597                   target:  "reorder_icon";
598                }
599                program {
600                   name:    "enable_reorder_animated";
601                   signal:  "elm,state,reorder,animated,enable";
602                   source:  "elm";
603                   action:  STATE_SET "enabled" 0.0;
604                   target:  "reorder_icon";
605                   transition: LINEAR 0.1;
606                }
607                program {
608                   name:    "disable_reorder";
609                   signal:  "elm,state,reorder,disable";
610                   source:  "elm";
611                   action:  STATE_SET "default" 0.0;
612                   target:  "reorder_icon";
613                }
614                program {
615                   name:    "disable_reorder_animated";
616                   signal:  "elm,state,reorder,animated,disable";
617                   source:  "elm";
618                   action:  STATE_SET "default" 0.0;
619                   target:  "reorder_icon";
620                   transition: LINEAR 0.1;
621                }
622                program {
623                   name:    "enable_rename";
624                   signal:  "elm,state,rename,enable";
625                   source:  "elm";
626                   action:  STATE_SET "rename" 0.0;
627                   target:  "base";
628                }
629                program {
630                   name:    "disable_rename";
631                   signal:  "elm,state,rename,disable";
632                   source:  "elm";
633                   action:  STATE_SET "default" 0.0;
634                   target:  "base";
635                }
636                program {
637                   name:    "enable_edit_end";
638                   signal:  "elm,state,edit_end,enable";
639                   source:  "elm";
640                   action:  STATE_SET "default" 0.0;
641                   target:  "elm.swallow.end";
642                }
643                program {
644                   name:    "disable_edit_end";
645                   signal:  "elm,state,edit_end,disable";
646                   source:  "elm";
647                   action:  STATE_SET "disable" 0.0;
648                   target:  "elm.swallow.end";
649          }
650       }
651    }
652
653    group { name: "elm/genlist/item/select_all/default";
654       alias: "elm/genlist/item_odd/select_all/default";
655       alias: "elm/genlist/item_compress/select_all/default";
656       alias: "elm/genlist/item_compress_odd/select_all/default";
657
658       data.item: "stacking" "above";
659       data.item: "selectraise" "on";
660       data.item: "labels" "elm.text";
661       data.item: "icons" "elm.swallow.icon elm.swallow.end";
662       images {
663          image: "00_list_bar_press_1x80.png" COMP;
664       }
665       parts {
666          part { name: "base"; 
667             type: RECT; 
668             repeat_events: 0; 
669             scale: 1; 
670             description { state: "default" 0.0;
671                min: 0 80; 
672                color: GENLIST_PART_BG_COLOR_INC; 
673             } 
674          }
675
676          part { name: "bg"; 
677             type: RECT; 
678             clip_to: "disclip"; 
679             repeat_events: 0;
680             mouse_events: 0; 
681             description { state: "default" 0.0; 
682                color: GENLIST_EDIT_BG_COLOR_INC; 
683             } 
684          }
685
686          BEAT_GENLIST_PART_BG_IMAGE
687          BEAT_GENLIST_PART_BOTTOM_LINE
688          BEAT_GENLIST_PART_PADDING_LEFT( 10 )
689          BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
690          part { name: "elm.swallow.end";
691             clip_to: "disclip";
692             type: SWALLOW;
693             scale: 1;
694             description { state: "default" 0.0;
695                fixed: 1 0;
696                align: 1.0 0.5;
697                rel1.to_x: "elm.padding.right";
698                rel2 {
699                   relative: 0.0  1.0;
700                   to_x: "elm.padding.right";
701                }
702             }
703          }
704          part { name: "elm.text";
705             clip_to: "disclip";
706             type: TEXT;
707             mouse_events: 0;
708             scale: 1;
709             description { state: "default" 0.0;
710                rel1 {
711                   relative: 1.0  0.0;
712                   offset: 20 0;
713                   to_x: "elm.swallow.icon";
714                }
715                rel2 {
716                   to_x: "elm.swallow.end";
717                   relative: 0.0  1.0;
718                   offset:   20   0;
719                }
720                color: GENLIST_PART_TEXT_COLOR_INC;
721                text {
722                   font: "SLP:style=Roman";
723                   size: 32;
724                   min: 0 1;
725                   align: 0.0 0.5;
726                   text: "Select All";
727                }
728             }
729             description { state: "selected" 0.0;
730                inherit: "default" 0.0;
731                color: 225 225 225 255;
732             }
733          }
734          part { name: "elm.swallow.icon";
735             clip_to: "disclip";
736             scale: 1;
737             description { state: "default" 0.0;
738             align: 0.0 0.5;   
739                fixed: 1 1;          
740                visible:1;
741                min: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
742                max: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
743                rel1 {
744                   relative: 1.0 0.0;
745                   to_x: "elm.padding.left";
746                }
747                rel2.to_x: "elm.padding.left";
748                image {
749                   normal: "checkbox_off.png";
750                }                
751            }
752            description { state: "selected" 0.0;
753                inherit: "default" 0.0;
754                image {
755                   normal: "checkbox_on.png";
756                }
757             }
758          }
759
760          BEAT_GENLIST_PART_DISCLIP
761       }
762       programs {
763          // signal: elm,state,%s,active
764          //   a "check" item named %s went active
765          // signal: elm,state,%s,passive
766          //   a "check" item named %s went passive
767          // default is passive
768          program { name: "go_disabled";
769             signal: "elm,state,disabled";
770             source: "elm";
771             action: STATE_SET "disabled" 0.0;
772             target: "disclip";
773          }
774          program { name: "go_enabled";
775             signal: "elm,state,enabled";
776             source: "elm";
777             action: STATE_SET "default" 0.0;
778             target: "disclip";
779          }
780         program {
781            name:    "enable_select_check";
782            signal:  "elm,state,del_confirm";
783            source:  "elm";
784            action:  STATE_SET "selected" 0.0;
785            target:  "elm.swallow.icon";
786         }   
787         program {
788            name:    "enable_select_uncheck";
789            signal:  "elm,state,del,animated,enable";
790            source:  "elm";
791            action:  STATE_SET "default" 0.0;
792            target:  "elm.swallow.icon";
793         }           
794          program {
795             name:    "on_mouse_down";
796             signal:  "mouse,down,1";
797             source:  "elm.swallow.icon";
798             action:  SIGNAL_EMIT "elm,action,select,press" "elm";
799          }       
800       }
801    }