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