f00e3f2162bef23b962b6bbfeebeef285705f51c
[profile/ivi/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    group { name: "elm/genlist/item/edit_default/default";
31       alias: "elm/genlist/item_odd/edit_default/default";
32       alias: "elm/genlist/item_compress/edit_default/default";
33       alias: "elm/genlist/item_compress_odd/edit_default/default";
34
35       data.item: "edit_icons" "elm.edit.icon.1 elm.edit.icon.2";
36
37       images {
38          image: "01_list_reorder_bg_above.png" COMP;
39          image: "01_list_reorder_bg_below.png" COMP;
40       }
41       parts {
42          part { name: "base";
43             type: RECT;
44             repeat_events: 1;
45             scale: 1;
46             description { state: "default" 0.0;
47                color: 0 0 0 0;
48             }
49          }
50          GENLIST_PART_PADDING_TOP( 0 )
51          GENLIST_PART_PADDING_BOTTOM( 0 )
52          GENLIST_PART_PADDING_RIGHT( 10 )
53
54          part { name: "elm.padding.reorder";
55             type: RECT;
56             scale: 1;
57             description { state: "default" 0.0;
58                min: 10 0;
59                fixed: 1 0;
60                visible: 0;
61                rel2.relative: 0.0 1.0;
62                align: 1.0 0.0;
63             }
64             description { state: "reorder" 0.0;
65                inherit: "default" 0.0;
66                align: 0.0 0.0;
67             }
68          }
69          part { name: "elm.edit_bg";
70             type: RECT;
71             scale: 1;
72             description { state: "default" 0.0;
73                rel1 {
74                   relative: 1.0 1.0;
75                   to_x: "elm.padding.reorder";
76                   to_y: "elm.padding.top";
77                }
78                rel2 {
79                   relative: 1.0 0.0;
80                   to_y: "elm.padding.bottom";
81                }
82              color: GENLIST_PART_BG_COLOR_INC;
83            }
84            description { state: "selected" 0.0;
85                inherit: "default" 0.0;
86                visible: 1;
87                color: GENLIST_PART_BG_SELECTED_COLOR_INC;
88            }
89         }
90
91         part { name: "elm.padding.left";
92            type: RECT;
93            scale: 1;
94            description { state: "default" 0.0;
95               min: 10 0;
96               fixed: 1 0;
97               visible: 0;
98               rel1 {
99                  relative: 1.0 0.0;
100                  to_x: "elm.padding.reorder";
101               }
102               rel2.to_x: "elm.padding.reorder";
103               rel2.relative: 0.0  1.0;
104               align: 0.0 0.0;
105            }
106         }
107
108         part { name: "elm.edit.icon.1";
109             clip_to: "disclip";
110             type: SWALLOW;
111             scale: 1;
112             description { state: "default" 0.0;
113                fixed: 1 1;
114                align: 1.0 0.5;
115                rel1 {
116                   relative: 1.0 1.0;
117                   offset: 0 0;
118                   to_x: "elm.padding.left";
119                   to_y: "elm.padding.top";
120                }
121                rel2 {
122                   relative: 1.0 0.0;
123                   offset: 0 0;
124                   to_x: "elm.padding.left";
125                   to_y: "elm.padding.bottom";
126                }
127             }
128           description { state: "enabled" 0.0;
129              inherit: "default" 0.0;
130                align: 0.0 0.5;
131             }
132          }
133
134          part { name: "elm.padding.icon1.right";
135             type: RECT;
136             scale: 1;
137             description { state: "default" 0.0;
138                min: 10 0;
139                fixed: 1 0;
140                visible: 0;
141                rel1 {
142                   relative: 1.0 0.0;
143                   to_x: "elm.edit.icon.1";
144                }
145                rel2.to_x: "elm.edit.icon.1";
146                align: 0.0 0.0;
147             }
148          }
149
150          part { name: "original_edc";
151             clip_to: "disclip";
152             type: SWALLOW;
153             mouse_events: 1;
154             scale: 1;
155             description { state: "default" 0.0;
156                rel1 {
157                   relative: 1.0 1.0;
158                   to_x: "elm.padding.icon1.right";
159                   to_y: "elm.padding.top";
160                }
161                rel2 {
162                   relative: 0.2 0.0;
163                   to_x: "elm.edit.icon.2";
164                   to_y: "elm.padding.bottom";
165                }
166             }
167             description { state: "disabled" 0.0;
168                inherit: "default" 0.0;
169                visible: 0;
170             }
171             description { state: "renamed" 0.0;
172                inherit: "default" 0.0;
173                rel1 {
174                   relative: 0.0 1.0;
175                   to_x: "elm.padding.left";
176                   to_y: "elm.padding.top";
177                }
178                rel2 {
179                   relative: 1.3 0.0;
180                   to_x: "elm.padding.right";
181                   to_y: "elm.padding.bottom";
182                }
183             }
184          }
185          part { name: "elm.padding.icon2.left";
186             type: RECT;
187             scale: 1;
188             description { state: "default" 0.0;
189                min: 10 0;
190                fixed: 1 0;
191                visible: 0;
192                rel1 {
193                   relative: 1.0 0.0;
194                   to_x: "original_edc";
195                }
196                rel2.to_x: "original_edc";
197                align: 0.0 0.0;
198             }
199          }
200
201        part { name: "elm.edit.icon.2";
202             clip_to: "disclip";
203             type: SWALLOW;
204             description { state: "default" 0.0;
205                fixed: 1 0;
206                align: 0.0 0.5;
207                visible: 1;
208                rel1 {
209                   relative: 1.0  0.0;
210                   offset:   -10    4;
211                }
212                rel2 {
213                   relative: 1.0  1.0;
214                   offset:   -10   -5;
215                }
216             }
217           description { state: "disabled" 0.0;
218              inherit: "default" 0.0;
219              visible: 0;
220           }
221           description { state: "enabled" 0.0;
222              inherit: "default" 0.0;
223                align: 1.0 0.5;
224           }
225        }
226
227        part { name: "bottom_line";
228           type: RECT;
229           clip_to: "disclip";
230           mouse_events: 0;
231           description { state: "default" 0.0;
232              min: 0 0;
233              fixed: 0 1;
234              visible: 1;
235              color: GENLIST_PART_BOTTOM_LINE_INC;
236              rel1 {
237                 relative: 0.0 1.0;
238                 to_x: "elm.edit_bg";
239                 offset: 0 -1;
240              }
241           }
242           description {
243               state: "hide" 0.0;
244               inherit: "default" 0.0;
245               visible: 0;
246           }
247           description {
248               state: "enabled" 0.0;
249               inherit: "default" 0.0;
250               min: 0 5;
251               fixed: 0 1;
252           }
253        }
254        part { name: "reorder_glow_above";
255           mouse_events: 0;
256           description { state: "default" 0.0;
257              visible: 0;
258              rel1.relative: 0.0 -0.3;
259              rel2.relative: 1.0 0.0;
260              image {
261                 normal: "01_list_reorder_bg_above.png";
262              }
263              fill.smooth: 0;
264           }
265           description { state: "reorder" 0.0;
266              inherit: "default" 0.0;
267              visible: 1;
268           }
269        }
270        part { name: "reorder_glow_below";
271           mouse_events: 0;
272           description { state: "default" 0.0;
273              visible: 0;
274              rel1.relative: 0.0 1.0;
275              rel2.relative: 1.0 1.3;
276              image {
277                 normal: "01_list_reorder_bg_below.png";
278              }
279              fill.smooth: 0;
280           }
281           description { state: "reorder" 0.0;
282              inherit: "default" 0.0;
283              visible: 1;
284           }
285        }
286        GENLIST_PART_DISCLIP
287       }
288       programs {
289          program { name:    "go_active";
290             signal:  "elm,state,selected";
291             source:  "elm";
292             action: STATE_SET "selected" 0.0;
293             target:  "elm.edit_bg";
294          }
295          program { name:    "go_passive";
296             signal:  "elm,state,unselected";
297             source:  "elm";
298             action: STATE_SET "default" 0.0;
299             transition: LINEAR 0.1;
300             target:  "elm.edit_bg";
301          }
302          program { name: "go_disabled";
303             signal: "elm,state,disabled";
304             source: "elm";
305             action: STATE_SET "disabled" 0.0;
306             target: "disclip";
307          }
308          program { name: "go_enabled";
309             signal: "elm,state,enabled";
310             source: "elm";
311             action: STATE_SET "default" 0.0;
312             target: "disclip";
313          }
314          // edit mode enable signal
315          program { name: "emode_enabled_effect";
316             signal: "elm,state,emode_enabled_effect";
317             source: "elm";
318             action: STATE_SET "enabled" 0.0;
319             transition: DECELERATE 0.7;
320             target: "elm.edit.icon.1";
321             target: "elm.edit.icon.2";
322             target: "bottom_line";
323          }
324          program { name: "emode_disabled_effect";
325             signal: "elm,state,emode_disabled_effect";
326             source: "elm";
327             action: STATE_SET "default" 0.0;
328             transition: DECELERATE 0.7;
329             target: "elm.edit.icon.1";
330             target: "elm.edit.icon.2";
331             target: "bottom_line";
332          }
333          program { name: "emode_enabled";
334             signal: "elm,state,emode_enabled";
335             source: "elm";
336             action: STATE_SET "enabled" 0.0;
337             target: "elm.edit.icon.1";
338             target: "elm.edit.icon.2";
339             target: "bottom_line";
340          }
341          program { name: "emode_disabled";
342             signal: "elm,state,emode_disabled";
343             source: "elm";
344             action: STATE_SET "default" 0.0;
345             target: "elm.edit.icon.1";
346             target: "elm.edit.icon.2";
347             target: "bottom_line";
348          }
349
350          // reorder signal
351          program { name: "reorder_enabled";
352             signal: "elm,state,reorder_enabled";
353             source: "elm";
354             action: STATE_SET "reorder" 0.0;
355             target: "elm.padding.reorder";
356          }
357          program { name: "reorder_disabled";
358             signal: "elm,state,reorder_disabled";
359             source: "elm";
360             action: STATE_SET "default" 0.0;
361             target: "elm.padding.reorder";
362          }
363
364          program { name: "reorder_enabled_effect";
365             signal: "elm,state,reorder_enabled_effect";
366             source: "elm";
367             action: STATE_SET "reorder" 0.0;
368             transition: DECELERATE 0.7;
369             target: "elm.padding.reorder";
370          }
371          program { name: "reorder_disabled_effect";
372             signal: "elm,state,reorder_disabled_effect";
373             source: "elm";
374             action: STATE_SET "default" 0.0;
375             transition: DECELERATE 0.7;
376             target: "elm.padding.reorder";
377          }
378         // reorder glow
379         program {
380             name:    "show_reorder_glow";
381             signal:  "elm,action,item,reorder_start";
382             source:  "elm";
383             action:  STATE_SET "reorder" 0.0;
384             target:  "reorder_glow_above";
385             target:  "reorder_glow_below";
386         }
387         program {
388             name:    "hide_reorder_glow";
389             signal:  "elm,action,item,reorder_end";
390             source:  "elm";
391             action:  STATE_SET "default" 0.0;
392             target:  "reorder_glow_above";
393             target:  "reorder_glow_below";
394         }
395         // rename
396         program {
397             name:    "enable_rename_mode";
398             signal:  "elm,state,rename,enabled";
399             source:  "elm";
400             action:  STATE_SET "disabled" 0.0;
401             target:  "elm.edit.icon.2";
402             after:   "enable_rename_mode_next";
403         }
404         program {
405             name:    "enable_rename_mode_next";
406             action:  STATE_SET "renamed" 0.0;
407             transition: DECELERATE 0.5;
408             target:  "original_edc";
409         }
410         program {
411             name:    "disable_rename_mode";
412             signal:  "elm,state,rename,disabled";
413             source:  "elm";
414             action:  STATE_SET "default" 0.0;
415             transition: DECELERATE 0.5;
416             target:  "original_edc";
417             target:  "elm.edit.icon.2";
418         }
419       }
420    }
421
422    group { name: "elm/genlist/item/edit_default_transparency/default";
423       alias: "elm/genlist/item_odd/edit_default_transparency/default";
424       alias: "elm/genlist/item_compress/edit_default_transparency/default";
425       alias: "elm/genlist/item_compress_odd/edit_default_transparency/default";
426
427       data.item: "edit_icons" "elm.edit.icon.1 elm.edit.icon.2";
428
429       images {
430          image: "01_list_reorder_bg_above.png" COMP;
431          image: "01_list_reorder_bg_below.png" COMP;
432       }
433       parts {
434          part { name: "base";
435             type: RECT;
436             repeat_events: 1;
437             scale: 1;
438             description { state: "default" 0.0;
439                color: 0 0 0 0;
440             }
441          }
442          GENLIST_PART_PADDING_TOP( 0 )
443          GENLIST_PART_PADDING_BOTTOM( 0 )
444          GENLIST_PART_PADDING_RIGHT( 10 )
445
446          part { name: "elm.padding.reorder";
447             type: RECT;
448             scale: 1;
449             description { state: "default" 0.0;
450                min: 10 0;
451                fixed: 1 0;
452                visible: 0;
453                rel2.relative: 0.0 1.0;
454                align: 1.0 0.0;
455             }
456             description { state: "reorder" 0.0;
457                inherit: "default" 0.0;
458                align: 0.0 0.0;
459             }
460          }
461          part { name: "elm.edit_bg";
462             type: RECT;
463             scale: 1;
464             description { state: "default" 0.0;
465                rel1 {
466                   relative: 1.0 1.0;
467                   to_x: "elm.padding.reorder";
468                   to_y: "elm.padding.top";
469                }
470                rel2 {
471                   relative: 1.0 0.0;
472                   to_y: "elm.padding.bottom";
473                }
474              color: 0 0 0 0;
475            }
476         }
477
478         part { name: "elm.padding.left";
479            type: RECT;
480            scale: 1;
481            description { state: "default" 0.0;
482               min: 10 0;
483               fixed: 1 0;
484               visible: 0;
485               rel1 {
486                  relative: 1.0 0.0;
487                  to_x: "elm.padding.reorder";
488               }
489               rel2.to_x: "elm.padding.reorder";
490               rel2.relative: 0.0  1.0;
491               align: 0.0 0.0;
492            }
493         }
494
495         part { name: "elm.edit.icon.1";
496             clip_to: "disclip";
497             type: SWALLOW;
498             scale: 1;
499             description { state: "default" 0.0;
500                fixed: 1 1;
501                align: 1.0 0.5;
502                rel1 {
503                   relative: 1.0 1.0;
504                   offset: 0 0;
505                   to_x: "elm.padding.left";
506                   to_y: "elm.padding.top";
507                }
508                rel2 {
509                   relative: 1.0 0.0;
510                   offset: 0 0;
511                   to_x: "elm.padding.left";
512                   to_y: "elm.padding.bottom";
513                }
514             }
515           description { state: "enabled" 0.0;
516              inherit: "default" 0.0;
517                align: 0.0 0.5;
518             }
519          }
520
521          part { name: "elm.padding.icon1.right";
522             type: RECT;
523             scale: 1;
524             description { state: "default" 0.0;
525                min: 10 0;
526                fixed: 1 0;
527                visible: 0;
528                rel1 {
529                   relative: 1.0 0.0;
530                   to_x: "elm.edit.icon.1";
531                }
532                rel2.to_x: "elm.edit.icon.1";
533                align: 0.0 0.0;
534             }
535          }
536
537          part { name: "original_edc";
538             clip_to: "disclip";
539             type: SWALLOW;
540             mouse_events: 1;
541             scale: 1;
542             description { state: "default" 0.0;
543                rel1 {
544                   relative: 1.0 1.0;
545                   to_x: "elm.padding.icon1.right";
546                   to_y: "elm.padding.top";
547                }
548                rel2 {
549                   relative: 0.2 0.0;
550                   to_x: "elm.edit.icon.2";
551                   to_y: "elm.padding.bottom";
552                }
553             }
554             description { state: "disabled" 0.0;
555                inherit: "default" 0.0;
556                visible: 0;
557             }
558             description { state: "renamed" 0.0;
559                inherit: "default" 0.0;
560                rel1 {
561                   relative: 0.0 1.0;
562                   to_x: "elm.padding.left";
563                   to_y: "elm.padding.top";
564                }
565                rel2 {
566                   relative: 1.3 0.0;
567                   to_x: "elm.padding.right";
568                   to_y: "elm.padding.bottom";
569                }
570             }
571          }
572          part { name: "elm.padding.icon2.left";
573             type: RECT;
574             scale: 1;
575             description { state: "default" 0.0;
576                min: 10 0;
577                fixed: 1 0;
578                visible: 0;
579                rel1 {
580                   relative: 1.0 0.0;
581                   to_x: "original_edc";
582                }
583                rel2.to_x: "original_edc";
584                align: 0.0 0.0;
585             }
586          }
587
588        part { name: "elm.edit.icon.2";
589             clip_to: "disclip";
590             type: SWALLOW;
591             description { state: "default" 0.0;
592                fixed: 1 0;
593                align: 0.0 0.5;
594                visible: 1;
595                rel1 {
596                   relative: 1.0  0.0;
597                   offset:   -10    4;
598                }
599                rel2 {
600                   relative: 1.0  1.0;
601                   offset:   -10   -5;
602                }
603             }
604           description { state: "disabled" 0.0;
605              inherit: "default" 0.0;
606              visible: 0;
607           }
608           description { state: "enabled" 0.0;
609              inherit: "default" 0.0;
610                align: 1.0 0.5;
611           }
612        }
613
614        part { name: "bottom_line";
615           type: RECT;
616           clip_to: "disclip";
617           mouse_events: 0;
618           description { state: "default" 0.0;
619              min: 0 0;
620              fixed: 0 1;
621              visible: 1;
622              color: 82 82 82 255;
623              rel1 {
624                 relative: 0.0 1.0;
625                 to_x: "elm.edit_bg";
626                 offset: 0 -1;
627              }
628           }
629           description {
630               state: "hide" 0.0;
631               inherit: "default" 0.0;
632               visible: 0;
633           }
634           description {
635               state: "enabled" 0.0;
636               inherit: "default" 0.0;
637               min: 0 1;
638               fixed: 0 1;
639           }
640        }
641        part { name: "reorder_glow_above";
642           mouse_events: 0;
643           description { state: "default" 0.0;
644              visible: 0;
645              rel1.relative: 0.0 -0.3;
646              rel2.relative: 1.0 0.0;
647              image {
648                 normal: "01_list_reorder_bg_above.png";
649              }
650              fill.smooth: 0;
651           }
652           description { state: "reorder" 0.0;
653              inherit: "default" 0.0;
654              visible: 1;
655           }
656        }
657        part { name: "reorder_glow_below";
658           mouse_events: 0;
659           description { state: "default" 0.0;
660              visible: 0;
661              rel1.relative: 0.0 1.0;
662              rel2.relative: 1.0 1.3;
663              image {
664                 normal: "01_list_reorder_bg_below.png";
665              }
666              fill.smooth: 0;
667           }
668           description { state: "reorder" 0.0;
669              inherit: "default" 0.0;
670              visible: 1;
671           }
672        }
673        GENLIST_PART_DISCLIP
674       }
675       programs {
676          program { name: "go_disabled";
677             signal: "elm,state,disabled";
678             source: "elm";
679             action: STATE_SET "disabled" 0.0;
680             target: "disclip";
681          }
682          program { name: "go_enabled";
683             signal: "elm,state,enabled";
684             source: "elm";
685             action: STATE_SET "default" 0.0;
686             target: "disclip";
687          }
688
689          // edit mode enable signal
690          program { name: "emode_enabled_effect";
691             signal: "elm,state,emode_enabled_effect";
692             source: "elm";
693             action: STATE_SET "enabled" 0.0;
694             transition: DECELERATE 0.7;
695             target: "elm.edit.icon.1";
696             target: "elm.edit.icon.2";
697             target: "bottom_line";
698          }
699          program { name: "emode_disabled_effect";
700             signal: "elm,state,emode_disabled_effect";
701             source: "elm";
702             action: STATE_SET "default" 0.0;
703             transition: DECELERATE 0.7;
704             target: "elm.edit.icon.1";
705             target: "elm.edit.icon.2";
706             target: "bottom_line";
707          }
708          program { name: "emode_enabled";
709             signal: "elm,state,emode_enabled";
710             source: "elm";
711             action: STATE_SET "enabled" 0.0;
712             target: "elm.edit.icon.1";
713             target: "elm.edit.icon.2";
714             target: "bottom_line";
715          }
716          program { name: "emode_disabled";
717             signal: "elm,state,emode_disabled";
718             source: "elm";
719             action: STATE_SET "default" 0.0;
720             target: "elm.edit.icon.1";
721             target: "elm.edit.icon.2";
722             target: "bottom_line";
723          }
724
725          // reorder signal
726          program { name: "reorder_enabled";
727             signal: "elm,state,reorder_enabled";
728             source: "elm";
729             action: STATE_SET "reorder" 0.0;
730             target: "elm.padding.reorder";
731          }
732          program { name: "reorder_disabled";
733             signal: "elm,state,reorder_disabled";
734             source: "elm";
735             action: STATE_SET "default" 0.0;
736             target: "elm.padding.reorder";
737          }
738
739          program { name: "reorder_enabled_effect";
740             signal: "elm,state,reorder_enabled_effect";
741             source: "elm";
742             action: STATE_SET "reorder" 0.0;
743             transition: DECELERATE 0.7;
744             target: "elm.padding.reorder";
745          }
746          program { name: "reorder_disabled_effect";
747             signal: "elm,state,reorder_disabled_effect";
748             source: "elm";
749             action: STATE_SET "default" 0.0;
750             transition: DECELERATE 0.7;
751             target: "elm.padding.reorder";
752          }
753         // reorder glow
754         program {
755             name:    "show_reorder_glow";
756             signal:  "elm,action,item,reorder_start";
757             source:  "elm";
758             action:  STATE_SET "reorder" 0.0;
759             target:  "reorder_glow_above";
760             target:  "reorder_glow_below";
761         }
762         program {
763             name:    "hide_reorder_glow";
764             signal:  "elm,action,item,reorder_end";
765             source:  "elm";
766             action:  STATE_SET "default" 0.0;
767             target:  "reorder_glow_above";
768             target:  "reorder_glow_below";
769         }
770         // rename
771         program {
772             name:    "enable_rename_mode";
773             signal:  "elm,state,rename,enabled";
774             source:  "elm";
775             action:  STATE_SET "disabled" 0.0;
776             target:  "elm.edit.icon.2";
777             after:   "enable_rename_mode_next";
778         }
779         program {
780             name:    "enable_rename_mode_next";
781             action:  STATE_SET "renamed" 0.0;
782             transition: DECELERATE 0.5;
783             target:  "original_edc";
784         }
785         program {
786             name:    "disable_rename_mode";
787             signal:  "elm,state,rename,disabled";
788             source:  "elm";
789             action:  STATE_SET "default" 0.0;
790             transition: DECELERATE 0.5;
791             target:  "original_edc";
792             target:  "elm.edit.icon.2";
793         }
794       }
795    }
796
797    group { name: "elm/genlist/item/dialogue/edit/default";
798       alias: "elm/genlist/item_odd/edit/default";
799       alias: "elm/genlist/item_compress/edit/default";
800       alias: "elm/genlist/item_compress_odd/edit/default";
801
802       data.item: "edit_icons" "elm.edit.icon.1 elm.edit.icon.2";
803
804       parts {
805          part { name: "base";
806             type: RECT;
807             repeat_events: 1;
808             scale: 1;
809             description { state: "default" 0.0;
810                color: 0 0 0 0;
811             }
812          }
813          GENLIST_PART_PADDING_TOP( 0 )
814          GENLIST_PART_PADDING_BOTTOM( 0 )
815          GENLIST_PART_PADDING_RIGHT( 10 )
816
817          part { name: "elm.edit_bg";
818             type: RECT;
819             scale: 1;
820             description { state: "default" 0.0;
821                rel1 {
822                   relative: 1.0 1.0;
823                   to_x: "elm.rect.dialogue";
824                   to_y: "elm.padding.top";
825                }
826                rel2 {
827                   relative: 1.0 0.0;
828                   to_y: "elm.padding.bottom";
829                }
830              color: GENLIST_PART_BG_COLOR_INC;
831            }
832         }
833
834         part { name: "elm.padding.left";
835            type: RECT;
836            scale: 1;
837            description { state: "default" 0.0;
838               min: 10 0;
839               fixed: 1 0;
840               visible: 0;
841               rel1 {
842                  relative: 1.0 0.0;
843                  to_x: "elm.rect.dialogue";
844               }
845               rel2.to_x: "elm.rect.dialogue";
846               align: 0.0 0.0;
847            }
848         }
849
850         part { name: "elm.edit.icon.1";
851             clip_to: "disclip";
852             type: SWALLOW;
853             scale: 1;
854             description { state: "default" 0.0;
855                align: 1.0 0.5;
856                rel1 {
857                   relative: 1.0 1.0;
858                   to_x: "elm.padding.left";
859                   to_y: "elm.padding.top";
860                }
861                rel2 {
862                   relative: 1.0 0.0;
863                   to_x: "elm.padding.left";
864                   to_y: "elm.padding.bottom";
865                }
866             }
867           description { state: "enabled" 0.0;
868              inherit: "default" 0.0;
869                align: 0.0 0.5;
870             }
871          }
872
873          part { name: "elm.rect.dialogue";
874             type: RECT;
875             scale: 1;
876             description { state: "default" 0.0;
877                min: 10 0;
878                fixed: 1 0;
879                color: GENLIST_PART_DIALOGUE_INDICATOR_BG_COLOR_INC;
880                rel2.relative: 0.0 1.0;
881                align: 0.0 0.0;
882             }
883          }
884          part { name: "original_edc";
885             clip_to: "disclip";
886             type: SWALLOW;
887             mouse_events: 1;
888             scale: 1;
889             description { state: "default" 0.0;
890                rel1 {
891                   relative: 0.0 1.0;
892                   to_x: "elm.padding.icon1.right";
893                   to_y: "elm.padding.top";
894                }
895                rel2 {
896                   relative: 0.0 0.0;
897                   to_x: "elm.padding.icon2.left";
898                   to_y: "elm.padding.bottom";
899                }
900             }
901             description { state: "disabled" 0.0;
902                inherit: "default" 0.0;
903                visible: 0;
904             }
905             description { state: "renamed" 0.0;
906                inherit: "default" 0.0;
907                rel1 {
908                   relative: 0.0 1.0;
909                   to_x: "elm.rect.dialogue";
910                   to_y: "elm.padding.top";
911                }
912                rel2 {
913                   relative: 1.3 0.0;
914                   to_x: "elm.padding.right";
915                   to_y: "elm.padding.bottom";
916                }
917             }
918          }
919          part { name: "elm.padding.icon1.right";
920             type: RECT;
921             scale: 1;
922             description { state: "default" 0.0;
923                min: 10 0;
924                fixed: 1 0;
925                visible: 1;
926                color: GENLIST_PART_BG_COLOR_INC;
927                rel1 {
928                   relative: 1.0 0.0;
929                   to_x: "elm.edit.icon.1";
930                }
931                rel2.to_x: "elm.edit.icon.1";
932                align: 0.0 0.0;
933             }
934             description { state: "disabled" 0.0;
935                inherit: "default" 0.0;
936                visible: 0;
937             }
938          }
939          part { name: "elm.padding.icon2.left";
940             type: RECT;
941             scale: 1;
942             description { state: "default" 0.0;
943                min: 10 0;
944                fixed: 1 0;
945                visible: 0;
946                rel1.to_x: "elm.edit.icon.2";
947                rel2 {
948                   relative: 0.0 1.0;
949                   to_x: "elm.edit.icon.2";
950                }
951                align: 0.0 0.0;
952             }
953          }
954
955        part { name: "elm.edit.icon.2";
956             clip_to: "disclip";
957             type: SWALLOW;
958             description { state: "default" 0.0;
959                fixed: 1 0;
960                align: 0.0 0.5;
961                rel1.to_x: "elm.padding.right";
962                rel2 {
963                   relative: 0.0  1.0;
964                   to_x: "elm.padding.right";
965                }
966             }
967           description { state: "disabled" 0.0;
968              inherit: "default" 0.0;
969              visible: 0;
970           }
971           description { state: "enabled" 0.0;
972              inherit: "default" 0.0;
973                align: 1.0 0.5;
974           }
975        }
976
977        part { name: "bottom_line";
978           type: RECT;
979           clip_to: "disclip";
980           mouse_events: 0;
981           description { state: "default" 0.0;
982              min: 0 0;
983              fixed: 0 1;
984              visible: 1;
985              color: GENLIST_PART_BOTTOM_LINE_INC;
986              rel1 {
987                 relative: 0.0 1.0;
988                 to_x: "elm.edit_bg";
989                 offset: 0 -1;
990              }
991           }
992           description {
993               state: "hide" 0.0;
994               inherit: "default" 0.0;
995               visible: 0;
996           }
997        }
998        GENLIST_PART_DISCLIP
999       }
1000       programs {
1001          program { name: "go_disabled";
1002             signal: "elm,state,disabled";
1003             source: "elm";
1004             action: STATE_SET "disabled" 0.0;
1005             target: "disclip";
1006          }
1007          program { name: "go_enabled";
1008             signal: "elm,state,enabled";
1009             source: "elm";
1010             action: STATE_SET "default" 0.0;
1011             target: "disclip";
1012          }
1013
1014          // edit mode enable signal
1015          program { name: "emode_enabled_effect";
1016             signal: "elm,state,emode_enabled_effect";
1017             source: "elm";
1018             action: STATE_SET "enabled" 0.0;
1019             transition: DECELERATE 0.7;
1020             target: "elm.edit.icon.1";
1021             target: "elm.edit.icon.2";
1022          }
1023          program { name: "emode_disabled_effect";
1024             signal: "elm,state,emode_disabled_effect";
1025             source: "elm";
1026             action: STATE_SET "default" 0.0;
1027             transition: DECELERATE 0.7;
1028             target: "elm.edit.icon.1";
1029             target: "elm.edit.icon.2";
1030          }
1031          program { name: "emode_enabled";
1032             signal: "elm,state,emode_enabled";
1033             source: "elm";
1034             action: STATE_SET "enabled" 0.0;
1035             target: "elm.edit.icon.1";
1036             target: "elm.edit.icon.2";
1037          }
1038          program { name: "emode_disabled";
1039             signal: "elm,state,emode_disabled";
1040             source: "elm";
1041             action: STATE_SET "default" 0.0;
1042             target: "elm.edit.icon.1";
1043             target: "elm.edit.icon.2";
1044          }
1045
1046         // rename
1047         program {
1048             name:    "enable_rename_mode";
1049             signal:  "elm,state,rename,enabled";
1050             source:  "elm";
1051             action:  STATE_SET "disabled" 0.0;
1052             target:  "elm.edit.icon.2";
1053             target: "elm.padding.icon1.right";
1054             after:   "enable_rename_mode_next";
1055         }
1056         program {
1057             name:    "enable_rename_mode_next";
1058             action:  STATE_SET "renamed" 0.0;
1059             //transition: DECELERATE 0.5;
1060             target:  "original_edc";
1061         }
1062         program {
1063             name:    "disable_rename_mode";
1064             signal:  "elm,state,rename,disabled";
1065             source:  "elm";
1066             action:  STATE_SET "default" 0.0;
1067             transition: DECELERATE 0.5;
1068             target:  "original_edc";
1069             target:  "elm.edit.icon.2";
1070         }
1071       }
1072    }
1073
1074    group { name: "elm/genlist/item/dialogue/edit/contact/default";
1075       alias: "elm/genlist/item_odd/dialogue/edit/contact/default";
1076       alias: "elm/genlist/item_compress/dialogue/edit/contact/default";
1077       alias: "elm/genlist/item_compress_odd/dialogue/edit/contact/default";
1078
1079       data.item: "edit_icons" "elm.edit.icon";
1080
1081       parts {
1082          part { name: "base";
1083             type: RECT;
1084             repeat_events: 1;
1085             scale: 1;
1086             description { state: "default" 0.0;
1087                color: 0 0 0 0;
1088             }
1089          }
1090          GENLIST_PART_PADDING_TOP( 0 )
1091          GENLIST_PART_PADDING_BOTTOM( 0 )
1092          GENLIST_PART_PADDING_RIGHT( 10 )
1093
1094          part { name: "elm.edit_bg";
1095             type: RECT;
1096             scale: 1;
1097             description { state: "default" 0.0;
1098                rel1 {
1099                   relative: 0.0 1.0;
1100                   to_y: "elm.padding.top";
1101                }
1102                rel2 {
1103                   relative: 1.0 0.0;
1104                   to_y: "elm.padding.bottom";
1105                }
1106                color: GENLIST_PART_BG_COLOR_INC;
1107            }
1108         }
1109          part { name: "original_edc";
1110             clip_to: "disclip";
1111             type: SWALLOW;
1112             mouse_events: 1;
1113             scale: 1;
1114             description { state: "default" 0.0;
1115                rel1 {
1116                   relative: 0.0 1.0;
1117                   to_y: "elm.padding.top";
1118                }
1119                rel2 {
1120                   relative: 0.0 0.0;
1121                   to_x: "elm.base.icon";
1122                   to_y: "elm.padding.bottom";
1123                }
1124             }
1125             description { state: "disabled" 0.0;
1126                inherit: "default" 0.0;
1127                visible: 0;
1128             }
1129             description { state: "renamed" 0.0;
1130                inherit: "default" 0.0;
1131             }
1132          }
1133        part { name: "vertical_line";
1134           type: RECT;
1135           clip_to: "disclip";
1136           mouse_events: 0;
1137           description { state: "default" 0.0;
1138              min: 1 0;
1139              fixed: 1 0;
1140              color: GENLIST_PART_BOTTOM_LINE_INC;
1141              rel1 {
1142                 relative: 1.0 0.0;
1143                 to_x: "original_edc";
1144                 offset: -1 0;
1145              }
1146              rel2.to_x: "original_edc";
1147           }
1148           description {
1149               state: "hide" 0.0;
1150               inherit: "default" 0.0;
1151               visible: 0;
1152           }
1153        }
1154        part { name: "bottom_line";
1155           type: RECT;
1156           clip_to: "disclip";
1157           mouse_events: 0;
1158           description { state: "default" 0.0;
1159              min: 0 1;
1160              fixed: 0 1;
1161              color: GENLIST_PART_BOTTOM_LINE_INC;
1162              rel1 {
1163                 relative: 0.0 1.0;
1164                 to_x: "elm.edit_bg";
1165                 offset: 0 -1;
1166              }
1167           }
1168           description {
1169               state: "hide" 0.0;
1170               inherit: "default" 0.0;
1171               visible: 0;
1172           }
1173        }
1174        part { name: "elm.base.icon";
1175           type: RECT;
1176           scale: 1;
1177           description { state: "default" 0.0;
1178              min: 56 0;
1179              fixed: 1 0;
1180              color: LAYOUT_GROUP_LIST_BG_COLOR_INC;
1181              rel1 {
1182                 relative: 1.0 0.0;
1183                 offset: 0 -1;
1184              }
1185              align: 0.0 0.5;
1186           }
1187           description { state: "enabled" 0.0;
1188              inherit: "default" 0.0;
1189              align: 1.0 0.5;
1190           }
1191        }
1192        part { name: "elm.padding.icon.bottom";
1193            type: RECT;
1194            scale: 1;
1195            description { state: "default" 0.0;
1196               min: 0 25;
1197               fixed: 0 1;
1198               align: 0.5 1.0;
1199               visible: 0;
1200               rel1 {
1201                  relative: 0.0 1.0;
1202                  to_x: "elm.base.icon";
1203               }
1204               rel2.to_x: "elm.base.icon";
1205            }
1206        }
1207        part { name: "elm.edit.icon";
1208           clip_to: "disclip";
1209           type: SWALLOW;
1210           description { state: "default" 0.0;
1211              align: 0.0 1.0;
1212              rel1 {
1213                 relative: 1.0  0.0;
1214                 to_y: "elm.padding.icon.bottom";
1215              }
1216              rel2 {
1217                 relative: 1.0  0.0;
1218                 to_y: "elm.padding.icon.bottom";
1219              }
1220           }
1221           description { state: "disabled" 0.0;
1222              inherit: "default" 0.0;
1223              visible: 0;
1224           }
1225           description { state: "enabled" 0.0;
1226              inherit: "default" 0.0;
1227                align: 1.0 1.0;
1228           }
1229        }
1230        GENLIST_PART_DISCLIP
1231       }
1232       programs {
1233          program { name: "go_disabled";
1234             signal: "elm,state,disabled";
1235             source: "elm";
1236             action: STATE_SET "disabled" 0.0;
1237             target: "disclip";
1238          }
1239          program { name: "go_enabled";
1240             signal: "elm,state,enabled";
1241             source: "elm";
1242             action: STATE_SET "default" 0.0;
1243             target: "disclip";
1244          }
1245
1246          // edit mode enable signal
1247          program { name: "emode_enabled_effect";
1248             signal: "elm,state,emode_enabled_effect";
1249             source: "elm";
1250             action: STATE_SET "enabled" 0.0;
1251             transition: DECELERATE 0.7;
1252             target: "elm.base.icon";
1253             target: "elm.edit.icon";
1254          }
1255          program { name: "emode_disabled_effect";
1256             signal: "elm,state,emode_disabled_effect";
1257             source: "elm";
1258             action: STATE_SET "default" 0.0;
1259             transition: DECELERATE 0.7;
1260             target: "elm.base.icon";
1261             target: "elm.edit.icon";
1262          }
1263          program { name: "emode_enabled";
1264             signal: "elm,state,emode_enabled";
1265             source: "elm";
1266             action: STATE_SET "enabled" 0.0;
1267             target: "elm.base.icon";
1268             target: "elm.edit.icon";
1269          }
1270          program { name: "emode_disabled";
1271             signal: "elm,state,emode_disabled";
1272             source: "elm";
1273             action: STATE_SET "default" 0.0;
1274             target: "elm.base.icon";
1275             target: "elm.edit.icon";
1276          }
1277         // rename
1278         program {
1279             name:    "enable_rename_mode";
1280             signal:  "elm,state,rename,enabled";
1281             source:  "elm";
1282             after:   "enable_rename_mode_next";
1283         }
1284         program {
1285             name:    "enable_rename_mode_next";
1286             action:  STATE_SET "renamed" 0.0;
1287             transition: DECELERATE 0.5;
1288             target:  "original_edc";
1289         }
1290         program {
1291             name:    "disable_rename_mode";
1292             signal:  "elm,state,rename,disabled";
1293             source:  "elm";
1294             action:  STATE_SET "default" 0.0;
1295             transition: DECELERATE 0.5;
1296             target:  "original_edc";
1297             target:  "elm.edit.icon";
1298         }
1299       }
1300    }
1301
1302    /* this group is only for 2text.1icon.2 */
1303    group { name: "elm/genlist/item/dialogue/edit/contact.2/default";
1304       alias: "elm/genlist/item_odd/dialogue/edit/contact.2/default";
1305       alias: "elm/genlist/item_compress/dialogue/edit/contact.2/default";
1306       alias: "elm/genlist/item_compress_odd/dialogue/edit/contact.2/default";
1307
1308       data.item: "edit_icons" "elm.edit.icon";
1309
1310       parts {
1311          part { name: "base";
1312             type: RECT;
1313             repeat_events: 1;
1314             scale: 1;
1315             description { state: "default" 0.0;
1316                color: 0 0 0 0;
1317             }
1318          }
1319          GENLIST_PART_PADDING_TOP( 0 )
1320          GENLIST_PART_PADDING_BOTTOM( 0 )
1321          GENLIST_PART_PADDING_RIGHT( 10 )
1322
1323          part { name: "elm.edit_bg";
1324             type: RECT;
1325             scale: 1;
1326             description { state: "default" 0.0;
1327                rel1 {
1328                   relative: 0.0 1.0;
1329                   to_y: "elm.padding.top";
1330                }
1331                rel2 {
1332                   relative: 1.0 0.0;
1333                   to_y: "elm.padding.bottom";
1334                }
1335                color: GENLIST_PART_BG_COLOR_INC;
1336            }
1337         }
1338          part { name: "original_edc";
1339             clip_to: "disclip";
1340             type: SWALLOW;
1341             mouse_events: 1;
1342             scale: 1;
1343             description { state: "default" 0.0;
1344                rel1 {
1345                   relative: 0.0 1.0;
1346                   to_y: "elm.padding.top";
1347                }
1348                rel2 {
1349                   relative: 0.0 0.0;
1350                   to_x: "elm.base.icon";
1351                   to_y: "elm.padding.bottom";
1352                }
1353             }
1354             description { state: "disabled" 0.0;
1355                inherit: "default" 0.0;
1356                visible: 0;
1357             }
1358             description { state: "renamed" 0.0;
1359                inherit: "default" 0.0;
1360             }
1361          }
1362        part { name: "vertical_line";
1363           type: RECT;
1364           clip_to: "disclip";
1365           mouse_events: 0;
1366           description { state: "default" 0.0;
1367              min: 1 0;
1368              fixed: 1 0;
1369              align: 0.5 0.5;
1370              color: GENLIST_PART_BOTTOM_LINE_INC;
1371              rel1 {
1372                 relative: 1.0 0.12;
1373                 to_x: "original_edc";
1374                 offset: -1 0;
1375              }
1376              rel2 {
1377                 relative: 1.0 0.89;
1378                 to_x: "original_edc";
1379              }
1380           }
1381           description {
1382               state: "hide" 0.0;
1383               inherit: "default" 0.0;
1384               visible: 0;
1385           }
1386        }
1387        part { name: "bottom_line";
1388           type: RECT;
1389           clip_to: "disclip";
1390           mouse_events: 0;
1391           description { state: "default" 0.0;
1392              min: 0 1;
1393              fixed: 0 1;
1394              color: GENLIST_PART_BOTTOM_LINE_INC;
1395              rel1 {
1396                 relative: 0.0 1.0;
1397                 to_x: "elm.edit_bg";
1398                 offset: 0 -1;
1399              }
1400           }
1401           description {
1402               state: "hide" 0.0;
1403               inherit: "default" 0.0;
1404               visible: 0;
1405           }
1406        }
1407        part { name: "elm.base.icon";
1408           type: RECT;
1409           scale: 1;
1410           description { state: "default" 0.0;
1411              min: 56 0;
1412              fixed: 1 0;
1413              color: LAYOUT_GROUP_LIST_BG_COLOR_INC;
1414              rel1 {
1415                 relative: 1.0 0.0;
1416                 offset: 0 -1;
1417              }
1418              align: 0.0 0.5;
1419           }
1420           description { state: "enabled" 0.0;
1421              inherit: "default" 0.0;
1422              align: 1.0 0.5;
1423           }
1424        }
1425        part { name: "elm.padding.icon.bottom";
1426            type: RECT;
1427            scale: 1;
1428            description { state: "default" 0.0;
1429               min: 0 25;
1430               fixed: 0 1;
1431               align: 0.5 1.0;
1432               visible: 0;
1433               rel1 {
1434                  relative: 0.0 1.0;
1435                  to_x: "elm.base.icon";
1436               }
1437               rel2.to_x: "elm.base.icon";
1438            }
1439        }
1440        part { name: "elm.edit.icon";
1441           clip_to: "disclip";
1442           type: SWALLOW;
1443           description { state: "default" 0.0;
1444              align: 0.0 1.0;
1445              rel1 {
1446                 relative: 1.0  0.0;
1447                 to_y: "elm.padding.icon.bottom";
1448              }
1449              rel2 {
1450                 relative: 1.0  0.0;
1451                 to_y: "elm.padding.icon.bottom";
1452              }
1453           }
1454           description { state: "disabled" 0.0;
1455              inherit: "default" 0.0;
1456              visible: 0;
1457           }
1458           description { state: "enabled" 0.0;
1459              inherit: "default" 0.0;
1460                align: 1.0 1.0;
1461           }
1462        }
1463        GENLIST_PART_DISCLIP
1464       }
1465       programs {
1466          program { name: "go_disabled";
1467             signal: "elm,state,disabled";
1468             source: "elm";
1469             action: STATE_SET "disabled" 0.0;
1470             target: "disclip";
1471          }
1472          program { name: "go_enabled";
1473             signal: "elm,state,enabled";
1474             source: "elm";
1475             action: STATE_SET "default" 0.0;
1476             target: "disclip";
1477          }
1478
1479          // edit mode enable signal
1480          program { name: "emode_enabled_effect";
1481             signal: "elm,state,emode_enabled_effect";
1482             source: "elm";
1483             action: STATE_SET "enabled" 0.0;
1484             transition: DECELERATE 0.7;
1485             target: "elm.base.icon";
1486             target: "elm.edit.icon";
1487          }
1488          program { name: "emode_disabled_effect";
1489             signal: "elm,state,emode_disabled_effect";
1490             source: "elm";
1491             action: STATE_SET "default" 0.0;
1492             transition: DECELERATE 0.7;
1493             target: "elm.base.icon";
1494             target: "elm.edit.icon";
1495          }
1496          program { name: "emode_enabled";
1497             signal: "elm,state,emode_enabled";
1498             source: "elm";
1499             action: STATE_SET "enabled" 0.0;
1500             target: "elm.base.icon";
1501             target: "elm.edit.icon";
1502          }
1503          program { name: "emode_disabled";
1504             signal: "elm,state,emode_disabled";
1505             source: "elm";
1506             action: STATE_SET "default" 0.0;
1507             target: "elm.base.icon";
1508             target: "elm.edit.icon";
1509          }
1510         // rename
1511         program {
1512             name:    "enable_rename_mode";
1513             signal:  "elm,state,rename,enabled";
1514             source:  "elm";
1515             after:   "enable_rename_mode_next";
1516         }
1517         program {
1518             name:    "enable_rename_mode_next";
1519             action:  STATE_SET "renamed" 0.0;
1520             transition: DECELERATE 0.5;
1521             target:  "original_edc";
1522         }
1523         program {
1524             name:    "disable_rename_mode";
1525             signal:  "elm,state,rename,disabled";
1526             source:  "elm";
1527             action:  STATE_SET "default" 0.0;
1528             transition: DECELERATE 0.5;
1529             target:  "original_edc";
1530             target:  "elm.edit.icon";
1531         }
1532       }
1533    }
1534
1535    /* this group is for non-border-line items */
1536    group { name: "elm/genlist/item/dialogue/edit/contact.3/default";
1537       alias: "elm/genlist/item_odd/dialogue/edit/contact.3/default";
1538       alias: "elm/genlist/item_compress/dialogue/edit/contact.3/default";
1539       alias: "elm/genlist/item_compress_odd/dialogue/edit/contact.3/default";
1540
1541       data.item: "edit_icons" "elm.edit.icon";
1542
1543       parts {
1544          part { name: "base";
1545             type: RECT;
1546             repeat_events: 1;
1547             scale: 1;
1548             description { state: "default" 0.0;
1549                color: 0 0 0 0;
1550             }
1551          }
1552          GENLIST_PART_PADDING_TOP( 0 )
1553          GENLIST_PART_PADDING_BOTTOM( 0 )
1554          GENLIST_PART_PADDING_RIGHT( 10 )
1555
1556          part { name: "elm.edit_bg";
1557             type: RECT;
1558             scale: 1;
1559             description { state: "default" 0.0;
1560                rel1 {
1561                   relative: 0.0 1.0;
1562                   to_y: "elm.padding.top";
1563                }
1564                rel2 {
1565                   relative: 1.0 0.0;
1566                   to_y: "elm.padding.bottom";
1567                }
1568                color: GENLIST_PART_BG_COLOR_INC;
1569            }
1570         }
1571          part { name: "original_edc";
1572             clip_to: "disclip";
1573             type: SWALLOW;
1574             mouse_events: 1;
1575             scale: 1;
1576             description { state: "default" 0.0;
1577                rel1 {
1578                   relative: 0.0 1.0;
1579                   to_y: "elm.padding.top";
1580                }
1581                rel2 {
1582                   relative: 0.0 0.0;
1583                   to_x: "elm.base.icon";
1584                   to_y: "elm.padding.bottom";
1585                }
1586             }
1587             description { state: "disabled" 0.0;
1588                inherit: "default" 0.0;
1589                visible: 0;
1590             }
1591             description { state: "renamed" 0.0;
1592                inherit: "default" 0.0;
1593             }
1594          }
1595        part { name: "elm.base.icon";
1596           type: RECT;
1597           scale: 1;
1598           description { state: "default" 0.0;
1599              min: 56 0;
1600              fixed: 1 0;
1601              color: LAYOUT_GROUP_LIST_BG_COLOR_INC;
1602              rel1 {
1603                 relative: 1.0 0.0;
1604                 offset: 0 -1;
1605              }
1606              align: 0.0 0.5;
1607           }
1608           description { state: "enabled" 0.0;
1609              inherit: "default" 0.0;
1610              align: 1.0 0.5;
1611           }
1612        }
1613        part { name: "elm.padding.icon.bottom";
1614            type: RECT;
1615            scale: 1;
1616            description { state: "default" 0.0;
1617               min: 0 25;
1618               fixed: 0 1;
1619               align: 0.5 1.0;
1620               visible: 0;
1621               rel1 {
1622                  relative: 0.0 1.0;
1623                  to_x: "elm.base.icon";
1624               }
1625               rel2.to_x: "elm.base.icon";
1626            }
1627        }
1628        part { name: "elm.edit.icon";
1629           clip_to: "disclip";
1630           type: SWALLOW;
1631           description { state: "default" 0.0;
1632              align: 0.0 1.0;
1633              rel1 {
1634                 relative: 1.0  0.0;
1635                 to_y: "elm.padding.icon.bottom";
1636              }
1637              rel2 {
1638                 relative: 1.0  0.0;
1639                 to_y: "elm.padding.icon.bottom";
1640              }
1641           }
1642           description { state: "disabled" 0.0;
1643              inherit: "default" 0.0;
1644              visible: 0;
1645           }
1646           description { state: "enabled" 0.0;
1647              inherit: "default" 0.0;
1648                align: 1.0 1.0;
1649           }
1650        }
1651        GENLIST_PART_DISCLIP
1652       }
1653       programs {
1654          program { name: "go_disabled";
1655             signal: "elm,state,disabled";
1656             source: "elm";
1657             action: STATE_SET "disabled" 0.0;
1658             target: "disclip";
1659          }
1660          program { name: "go_enabled";
1661             signal: "elm,state,enabled";
1662             source: "elm";
1663             action: STATE_SET "default" 0.0;
1664             target: "disclip";
1665          }
1666
1667          // edit mode enable signal
1668          program { name: "emode_enabled_effect";
1669             signal: "elm,state,emode_enabled_effect";
1670             source: "elm";
1671             action: STATE_SET "enabled" 0.0;
1672             transition: DECELERATE 0.7;
1673             target: "elm.base.icon";
1674             target: "elm.edit.icon";
1675          }
1676          program { name: "emode_disabled_effect";
1677             signal: "elm,state,emode_disabled_effect";
1678             source: "elm";
1679             action: STATE_SET "default" 0.0;
1680             transition: DECELERATE 0.7;
1681             target: "elm.base.icon";
1682             target: "elm.edit.icon";
1683          }
1684          program { name: "emode_enabled";
1685             signal: "elm,state,emode_enabled";
1686             source: "elm";
1687             action: STATE_SET "enabled" 0.0;
1688             target: "elm.base.icon";
1689             target: "elm.edit.icon";
1690          }
1691          program { name: "emode_disabled";
1692             signal: "elm,state,emode_disabled";
1693             source: "elm";
1694             action: STATE_SET "default" 0.0;
1695             target: "elm.base.icon";
1696             target: "elm.edit.icon";
1697          }
1698         // rename
1699         program {
1700             name:    "enable_rename_mode";
1701             signal:  "elm,state,rename,enabled";
1702             source:  "elm";
1703             after:   "enable_rename_mode_next";
1704         }
1705         program {
1706             name:    "enable_rename_mode_next";
1707             action:  STATE_SET "renamed" 0.0;
1708             transition: DECELERATE 0.5;
1709             target:  "original_edc";
1710         }
1711         program {
1712             name:    "disable_rename_mode";
1713             signal:  "elm,state,rename,disabled";
1714             source:  "elm";
1715             action:  STATE_SET "default" 0.0;
1716             transition: DECELERATE 0.5;
1717             target:  "original_edc";
1718             target:  "elm.edit.icon";
1719         }
1720       }
1721    }
1722
1723    /* this group is only for 2text.1icon.3 */
1724    group { name: "elm/genlist/item/dialogue/edit/contact.4/default";
1725       alias: "elm/genlist/item_odd/dialogue/edit/contact.4/default";
1726       alias: "elm/genlist/item_compress/dialogue/edit/contact.4/default";
1727       alias: "elm/genlist/item_compress_odd/dialogue/edit/contact.4/default";
1728
1729       data.item: "edit_icons" "elm.edit.icon";
1730
1731       parts {
1732          part { name: "base";
1733             type: RECT;
1734             repeat_events: 1;
1735             scale: 1;
1736             description { state: "default" 0.0;
1737                color: 0 0 0 0;
1738             }
1739          }
1740          GENLIST_PART_PADDING_TOP( 0 )
1741          GENLIST_PART_PADDING_BOTTOM( 0 )
1742          GENLIST_PART_PADDING_RIGHT( 10 )
1743
1744          part { name: "elm.edit_bg";
1745             type: RECT;
1746             scale: 1;
1747             description { state: "default" 0.0;
1748                rel1 {
1749                   relative: 0.0 1.0;
1750                   to_y: "elm.padding.top";
1751                }
1752                rel2 {
1753                   relative: 1.0 0.0;
1754                   to_y: "elm.padding.bottom";
1755                }
1756                color: GENLIST_PART_BG_COLOR_INC;
1757            }
1758         }
1759          part { name: "original_edc";
1760             clip_to: "disclip";
1761             type: SWALLOW;
1762             mouse_events: 1;
1763             scale: 1;
1764             description { state: "default" 0.0;
1765                rel1 {
1766                   relative: 0.0 1.0;
1767                   to_y: "elm.padding.top";
1768                }
1769                rel2 {
1770                   relative: 0.0 0.0;
1771                   to_x: "elm.base.icon";
1772                   to_y: "elm.padding.bottom";
1773                }
1774             }
1775             description { state: "disabled" 0.0;
1776                inherit: "default" 0.0;
1777                visible: 0;
1778             }
1779             description { state: "renamed" 0.0;
1780                inherit: "default" 0.0;
1781             }
1782          }
1783        part { name: "vertical_line";
1784           type: RECT;
1785           clip_to: "disclip";
1786           mouse_events: 0;
1787           description { state: "default" 0.0;
1788              min: 1 0;
1789              fixed: 1 0;
1790              align: 0.5 0.5;
1791              color: GENLIST_PART_BOTTOM_LINE_INC;
1792              rel1 {
1793                 relative: 1.0 0.13;
1794                 to_x: "original_edc";
1795                 offset: -1 0;
1796              }
1797              rel2 {
1798                 relative: 1.0 1.0;
1799                 to_x: "original_edc";
1800              }
1801           }
1802           description {
1803               state: "hide" 0.0;
1804               inherit: "default" 0.0;
1805               visible: 0;
1806           }
1807        }
1808        part { name: "elm.base.icon";
1809           type: RECT;
1810           scale: 1;
1811           description { state: "default" 0.0;
1812              min: 56 0;
1813              fixed: 1 0;
1814              color: LAYOUT_GROUP_LIST_BG_COLOR_INC;
1815              rel1 {
1816                 relative: 1.0 0.0;
1817                 offset: 0 -1;
1818              }
1819              align: 0.0 0.5;
1820           }
1821           description { state: "enabled" 0.0;
1822              inherit: "default" 0.0;
1823              align: 1.0 0.5;
1824           }
1825        }
1826        part { name: "elm.padding.icon.bottom";
1827            type: RECT;
1828            scale: 1;
1829            description { state: "default" 0.0;
1830               min: 0 25;
1831               fixed: 0 1;
1832               align: 0.5 1.0;
1833               visible: 0;
1834               rel1 {
1835                  relative: 0.0 1.0;
1836                  to_x: "elm.base.icon";
1837               }
1838               rel2.to_x: "elm.base.icon";
1839            }
1840        }
1841        part { name: "elm.edit.icon";
1842           clip_to: "disclip";
1843           type: SWALLOW;
1844           description { state: "default" 0.0;
1845              align: 0.0 1.0;
1846              rel1 {
1847                 relative: 1.0  0.0;
1848                 to_y: "elm.padding.icon.bottom";
1849              }
1850              rel2 {
1851                 relative: 1.0  0.0;
1852                 to_y: "elm.padding.icon.bottom";
1853              }
1854           }
1855           description { state: "disabled" 0.0;
1856              inherit: "default" 0.0;
1857              visible: 0;
1858           }
1859           description { state: "enabled" 0.0;
1860              inherit: "default" 0.0;
1861                align: 1.0 1.0;
1862           }
1863        }
1864        GENLIST_PART_DISCLIP
1865       }
1866       programs {
1867          program { name: "go_disabled";
1868             signal: "elm,state,disabled";
1869             source: "elm";
1870             action: STATE_SET "disabled" 0.0;
1871             target: "disclip";
1872          }
1873          program { name: "go_enabled";
1874             signal: "elm,state,enabled";
1875             source: "elm";
1876             action: STATE_SET "default" 0.0;
1877             target: "disclip";
1878          }
1879
1880          // edit mode enable signal
1881          program { name: "emode_enabled_effect";
1882             signal: "elm,state,emode_enabled_effect";
1883             source: "elm";
1884             action: STATE_SET "enabled" 0.0;
1885             transition: DECELERATE 0.7;
1886             target: "elm.base.icon";
1887             target: "elm.edit.icon";
1888          }
1889          program { name: "emode_disabled_effect";
1890             signal: "elm,state,emode_disabled_effect";
1891             source: "elm";
1892             action: STATE_SET "default" 0.0;
1893             transition: DECELERATE 0.7;
1894             target: "elm.base.icon";
1895             target: "elm.edit.icon";
1896          }
1897          program { name: "emode_enabled";
1898             signal: "elm,state,emode_enabled";
1899             source: "elm";
1900             action: STATE_SET "enabled" 0.0;
1901             target: "elm.base.icon";
1902             target: "elm.edit.icon";
1903          }
1904          program { name: "emode_disabled";
1905             signal: "elm,state,emode_disabled";
1906             source: "elm";
1907             action: STATE_SET "default" 0.0;
1908             target: "elm.base.icon";
1909             target: "elm.edit.icon";
1910          }
1911         // rename
1912         program {
1913             name:    "enable_rename_mode";
1914             signal:  "elm,state,rename,enabled";
1915             source:  "elm";
1916             after:   "enable_rename_mode_next";
1917         }
1918         program {
1919             name:    "enable_rename_mode_next";
1920             action:  STATE_SET "renamed" 0.0;
1921             transition: DECELERATE 0.5;
1922             target:  "original_edc";
1923         }
1924         program {
1925             name:    "disable_rename_mode";
1926             signal:  "elm,state,rename,disabled";
1927             source:  "elm";
1928             action:  STATE_SET "default" 0.0;
1929             transition: DECELERATE 0.5;
1930             target:  "original_edc";
1931             target:  "elm.edit.icon";
1932         }
1933       }
1934    }
1935
1936 /* this item for dialogue/bg/1text */
1937    group { name: "elm/genlist/item/dialogue/edit/contact.5/default";
1938       alias: "elm/genlist/item_odd/dialogue/edit/contact.5/default";
1939       alias: "elm/genlist/item_compress/dialogue/edit/contact.5/default";
1940       alias: "elm/genlist/item_compress_odd/dialogue/edit/contact.5/default";
1941
1942       data.item: "edit_icons" "elm.edit.icon";
1943
1944       parts {
1945          part { name: "base";
1946             type: RECT;
1947             repeat_events: 1;
1948             scale: 1;
1949             description { state: "default" 0.0;
1950                color: 0 0 0 0;
1951             }
1952          }
1953          GENLIST_PART_PADDING_TOP( 0 )
1954          GENLIST_PART_PADDING_BOTTOM( 0 )
1955          GENLIST_PART_PADDING_RIGHT( 10 )
1956
1957          part { name: "elm.edit_bg";
1958             type: RECT;
1959             scale: 1;
1960             description { state: "default" 0.0;
1961                rel1 {
1962                   relative: 0.0 1.0;
1963                   to_y: "elm.padding.top";
1964                }
1965                rel2 {
1966                   relative: 1.0 0.0;
1967                   to_y: "elm.padding.bottom";
1968                }
1969                color: GENLIST_PART_BG_COLOR_INC;
1970            }
1971         }
1972          part { name: "original_edc";
1973             clip_to: "disclip";
1974             type: SWALLOW;
1975             mouse_events: 1;
1976             scale: 1;
1977             description { state: "default" 0.0;
1978                rel1 {
1979                   relative: 0.0 1.0;
1980                   to_y: "elm.padding.top";
1981                }
1982                rel2 {
1983                   relative: 0.0 0.0;
1984                   to_x: "elm.base.icon";
1985                   to_y: "elm.padding.bottom";
1986                }
1987             }
1988             description { state: "disabled" 0.0;
1989                inherit: "default" 0.0;
1990                visible: 0;
1991             }
1992             description { state: "renamed" 0.0;
1993                inherit: "default" 0.0;
1994             }
1995          }
1996        part { name: "vertical_line";
1997           type: RECT;
1998           clip_to: "disclip";
1999           mouse_events: 0;
2000           description { state: "default" 0.0;
2001              min: 1 0;
2002              fixed: 1 0;
2003              color: GENLIST_PART_BOTTOM_LINE_INC;
2004              rel1 {
2005                 relative: 1.0 0.0;
2006                 to_x: "original_edc";
2007                 offset: -1 0;
2008              }
2009              rel2.to_x: "original_edc";
2010           }
2011           description {
2012               state: "hide" 0.0;
2013               inherit: "default" 0.0;
2014               visible: 0;
2015           }
2016        }
2017        part { name: "bottom_line";
2018           type: RECT;
2019           clip_to: "disclip";
2020           mouse_events: 0;
2021           description { state: "default" 0.0;
2022              min: 0 1;
2023              fixed: 0 1;
2024              color: GENLIST_PART_BOTTOM_LINE_INC;
2025              rel1 {
2026                 relative: 0.235 1.0;
2027                 to_x: "elm.edit_bg";
2028                 offset: 0 -1;
2029              }
2030           }
2031           description {
2032               state: "hide" 0.0;
2033               inherit: "default" 0.0;
2034               visible: 0;
2035           }
2036        }
2037        part { name: "elm.base.icon";
2038           type: RECT;
2039           scale: 1;
2040           description { state: "default" 0.0;
2041              min: 56 0;
2042              fixed: 1 0;
2043              color: LAYOUT_GROUP_LIST_BG_COLOR_INC;
2044              rel1 {
2045                 relative: 1.0 0.0;
2046                 offset: 0 -1;
2047              }
2048              align: 0.0 0.5;
2049           }
2050           description { state: "enabled" 0.0;
2051              inherit: "default" 0.0;
2052              align: 1.0 0.5;
2053           }
2054        }
2055        part { name: "elm.padding.icon.bottom";
2056            type: RECT;
2057            scale: 1;
2058            description { state: "default" 0.0;
2059               min: 0 25;
2060               fixed: 0 1;
2061               align: 0.5 1.0;
2062               visible: 0;
2063               rel1 {
2064                  relative: 0.0 1.0;
2065                  to_x: "elm.base.icon";
2066               }
2067               rel2.to_x: "elm.base.icon";
2068            }
2069        }
2070        part { name: "elm.edit.icon";
2071           clip_to: "disclip";
2072           type: SWALLOW;
2073           description { state: "default" 0.0;
2074              align: 0.0 1.0;
2075              rel1 {
2076                 relative: 1.0  0.0;
2077                 to_y: "elm.padding.icon.bottom";
2078              }
2079              rel2 {
2080                 relative: 1.0  0.0;
2081                 to_y: "elm.padding.icon.bottom";
2082              }
2083           }
2084           description { state: "disabled" 0.0;
2085              inherit: "default" 0.0;
2086              visible: 0;
2087           }
2088           description { state: "enabled" 0.0;
2089              inherit: "default" 0.0;
2090                align: 1.0 1.0;
2091           }
2092        }
2093        GENLIST_PART_DISCLIP
2094       }
2095       programs {
2096          program { name: "go_disabled";
2097             signal: "elm,state,disabled";
2098             source: "elm";
2099             action: STATE_SET "disabled" 0.0;
2100             target: "disclip";
2101          }
2102          program { name: "go_enabled";
2103             signal: "elm,state,enabled";
2104             source: "elm";
2105             action: STATE_SET "default" 0.0;
2106             target: "disclip";
2107          }
2108
2109          // edit mode enable signal
2110          program { name: "emode_enabled_effect";
2111             signal: "elm,state,emode_enabled_effect";
2112             source: "elm";
2113             action: STATE_SET "enabled" 0.0;
2114             transition: DECELERATE 0.7;
2115             target: "elm.base.icon";
2116             target: "elm.edit.icon";
2117          }
2118          program { name: "emode_disabled_effect";
2119             signal: "elm,state,emode_disabled_effect";
2120             source: "elm";
2121             action: STATE_SET "default" 0.0;
2122             transition: DECELERATE 0.7;
2123             target: "elm.base.icon";
2124             target: "elm.edit.icon";
2125          }
2126          program { name: "emode_enabled";
2127             signal: "elm,state,emode_enabled";
2128             source: "elm";
2129             action: STATE_SET "enabled" 0.0;
2130             target: "elm.base.icon";
2131             target: "elm.edit.icon";
2132          }
2133          program { name: "emode_disabled";
2134             signal: "elm,state,emode_disabled";
2135             source: "elm";
2136             action: STATE_SET "default" 0.0;
2137             target: "elm.base.icon";
2138             target: "elm.edit.icon";
2139          }
2140         // rename
2141         program {
2142             name:    "enable_rename_mode";
2143             signal:  "elm,state,rename,enabled";
2144             source:  "elm";
2145             after:   "enable_rename_mode_next";
2146         }
2147         program {
2148             name:    "enable_rename_mode_next";
2149             action:  STATE_SET "renamed" 0.0;
2150             transition: DECELERATE 0.5;
2151             target:  "original_edc";
2152         }
2153         program {
2154             name:    "disable_rename_mode";
2155             signal:  "elm,state,rename,disabled";
2156             source:  "elm";
2157             action:  STATE_SET "default" 0.0;
2158             transition: DECELERATE 0.5;
2159             target:  "original_edc";
2160             target:  "elm.edit.icon";
2161         }
2162       }
2163    }
2164
2165   group { name: "elm/genlist/item/select_all/default";
2166       alias: "elm/genlist/item_odd/select_all/default";
2167       alias: "elm/genlist/item_compress/select_all/default";
2168       alias: "elm/genlist/item_compress_odd/select_all/default";
2169
2170       data.item: "stacking" "above";
2171       data.item: "selectraise" "on";
2172       data.item: "labels" "elm.text";
2173       data.item: "icons" "elm.icon";
2174       images {
2175          image: "00_list_bar_press_1x80.png" COMP;
2176       }
2177       parts {
2178          part { name: "base";
2179             type: RECT;
2180             repeat_events: 0;
2181             scale: 1;
2182             description { state: "default" 0.0;
2183                min: 0 70;
2184                color: GENLIST_EDIT_SELECT_ALL_BG_COLOR_INC;
2185             }
2186          }
2187          part { name: "bg";
2188             type: RECT;
2189             clip_to: "disclip";
2190             repeat_events: 0;
2191             mouse_events: 0;
2192             description { state: "default" 0.0;
2193                color: GENLIST_EDIT_SELECT_ALL_BG_COLOR_INC;
2194             }
2195          }
2196          GENLIST_PART_BG_IMAGE
2197          GENLIST_PART_BOTTOM_LINE
2198          GENLIST_PART_PADDING_TOP( 0 )
2199          GENLIST_PART_PADDING_BOTTOM( 0 )
2200          GENLIST_PART_PADDING_LEFT( 10 )
2201          GENLIST_PART_PADDING_RIGHT( 10 )
2202
2203          part { name: "elm.padding.icon.right";
2204             type: RECT;
2205             scale: 1;
2206             description { state: "default" 0.0;
2207                min: 10 0;
2208                fixed: 1 0;
2209                visible: 0;
2210                rel1 {
2211                   relative: 1.0 0.0;
2212                   to_x: "elm.icon";
2213                }
2214                rel2.to_x: "elm.icon";
2215                align: 0.0 0.0;
2216             }
2217          }
2218          part { name: "elm.icon";
2219             clip_to: "disclip";
2220             type: SWALLOW;
2221             scale: 1;
2222             description { state: "default" 0.0;
2223                min: 50 50;
2224                max: 50 50;
2225                fixed: 1 1;
2226                align: 0.0 0.5;
2227                rel1 {
2228                   relative: 1.0 1.0;
2229                   offset: 0 0;
2230                   to_x: "elm.padding.left";
2231                   to_y: "elm.padding.top";
2232                }
2233                rel2 {
2234                   relative: 1.0 0.0;
2235                   offset: 0 0;
2236                   to_x: "elm.padding.left";
2237                   to_y: "elm.padding.bottom";
2238                }
2239             }
2240          }
2241          part { name: "elm.text";
2242             clip_to: "disclip";
2243             type: TEXT;
2244             mouse_events: 0;
2245             scale: 1;
2246             description { state: "default" 0.0;
2247                align: 0.0 0.0;
2248                rel1 {
2249                   relative: 1.0 1.0;
2250                   offset: 0 0;
2251                   to_x: "elm.padding.icon.right";
2252                   to_y: "elm.padding.top";
2253                }
2254                rel2 {
2255                   relative: 0.0 0.0;
2256                   offset: 0 0;
2257                   to_x: "elm.padding.right";
2258                   to_y: "elm.padding.bottom";
2259                }
2260                color: GENLIST_PART_TEXT_COLOR_INC;
2261                text {
2262                   font: "SLP:style=Roman";
2263                   size: 32;
2264                   min: 0 1;
2265                   align: 0.0 0.5;
2266                }
2267             }
2268             description { state: "selected" 0.0;
2269                inherit: "default" 0.0;
2270                color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
2271             }
2272          }
2273        GENLIST_PART_DISCLIP
2274       }
2275       programs {
2276          program { name: "go_active";
2277             signal: "elm,state,selected";
2278             source: "elm";
2279             action: STATE_SET "selected" 0.0;
2280             target: "bg_image";
2281             target: "elm.text";
2282          }
2283          program { name: "go_passive";
2284             signal: "elm,state,unselected";
2285             source: "elm";
2286             action: STATE_SET "default" 0.0;
2287             target: "bg_image";
2288             target: "elm.text";
2289             transition: LINEAR 0.1;
2290          }
2291          program { name: "go_disabled";
2292             signal: "elm,state,disabled";
2293             source: "elm";
2294             action: STATE_SET "disabled" 0.0;
2295             target: "disclip";
2296          }
2297          program { name: "go_enabled";
2298             signal: "elm,state,enabled";
2299             source: "elm";
2300             action: STATE_SET "default" 0.0;
2301             target: "disclip";
2302          }
2303       }
2304    }