[Genlist] remove not use image and add new images
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / genlist / genlist_expandable.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.5.1.1
25    group { GENLIST_NAME("dialogue/2text/expandable/default")
26       GENLIST_PROLOG_DIALOGUE
27       data.item: "texts" "elm.text.1 elm.text.2";
28
29       GENLIST_IMAGES_EXPANDABLE_BTN
30       parts {
31          GENLIST_PART_BG_DIALOGUE
32          GENLIST_PART_BASE
33          GENLIST_PART_PADDING_TOP_2LINE
34          GENLIST_PART_PADDING_BOTTOM_2LINE
35          GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT)
36          GENLIST_PART_PADDING_RIGHT_EDIT
37
38          GENLIST_PART_LISTITEM("elm.text.1",
39             GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.arrow.left",
40                "elm.padding.top", "elm.text.2",
41                min: 0 GENLIST_HEIGHT_2LINE_MAIN;
42                GENLIST_PARAM_LISTITEM
43             )
44          )
45          GENLIST_PART_SUBITEM("elm.text.2",
46             GENLIST_DESCRIPTION_LRB("elm.padding.left", "elm.padding.arrow.left", "elm.padding.bottom",
47                fixed: 0 1;
48                min: 0 GENLIST_HEIGHT_2LINE_SUB;
49                GENLIST_PARAM_SUBITEM_DEFAULT
50             )
51          )
52          GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow")
53          GENLIST_PART_EXPANDABLE_ARROW
54          GENLIST_PART_FLIP
55          GENLIST_PART_FOCUS
56       }
57       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "arrow_clip"; )
58       programs {
59          GENLIST_PROGRAM_SELECT_ARROW
60          GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
61       }
62    }
63
64 // 2.5.1.2
65    group { GENLIST_NAME("dialogue/2text.2/expandable/default")
66       GENLIST_PROLOG_DIALOGUE
67       data.item: "texts" "elm.text.1 elm.text.2";
68
69       GENLIST_IMAGES_EXPANDABLE_BTN
70       parts {
71          GENLIST_PART_BG_DIALOGUE
72          GENLIST_PART_BASE
73          GENLIST_PART_PADDING_TOP_2LINE
74          GENLIST_PART_PADDING_BOTTOM_2LINE
75          GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT)
76          GENLIST_PART_PADDING_RIGHT_EDIT
77
78          GENLIST_PART_SUBITEM("elm.text.2",
79             GENLIST_DESCRIPTION_LRT("elm.padding.left", "elm.padding.arrow.left",
80                "elm.padding.top",
81                fixed: 1 1;
82                min: 0 GENLIST_HEIGHT_2LINE_SUB;
83                GENLIST_PARAM_SUBITEM_DEFAULT
84             )
85          )
86          GENLIST_PART_LISTITEM("elm.text.1",
87             GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.arrow.left",
88                "elm.text.2", "elm.padding.bottom",
89                min: 0 GENLIST_HEIGHT_2LINE_MAIN;
90                GENLIST_PARAM_LISTITEM
91             )
92          )
93          GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow")
94          GENLIST_PART_EXPANDABLE_ARROW
95          GENLIST_PART_FLIP
96          GENLIST_PART_FOCUS
97       }
98       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";  target: "arrow_clip"; )
99       programs {
100          GENLIST_PROGRAM_SELECT_ARROW
101          GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
102       }
103    }
104
105 // 2.5.1.3
106    group { GENLIST_NAME("dialogue/2text.3/expandable/default")
107       GENLIST_PROLOG_DIALOGUE
108       data.item: "texts" "elm.text.1 elm.text.2";
109
110       GENLIST_IMAGES_EXPANDABLE_BTN
111       parts {
112          GENLIST_PART_BG_DIALOGUE
113          GENLIST_PART_BASE
114          GENLIST_PART_PADDING_TOP_2LINE
115          GENLIST_PART_PADDING_BOTTOM_2LINE
116          GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT)
117          GENLIST_PART_PADDING_RIGHT_EDIT
118
119          GENLIST_PART_LISTITEM("elm.text.1",
120             GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.arrow.left",
121                "elm.padding.top", "elm.text.2",
122                min: 0 GENLIST_HEIGHT_2LINE_MAIN;
123                GENLIST_PARAM_LISTITEM
124             )
125          )
126          GENLIST_PART_SUBITEM("elm.text.2",
127             GENLIST_DESCRIPTION_LRB("elm.padding.left", "elm.padding.arrow.left", "elm.padding.bottom",
128                min: 0 GENLIST_HEIGHT_2LINE_SUB;
129                fixed: 1 1;
130                GENLIST_PARAM_SUBITEM_SETTINGS
131             )
132          )
133          GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow")
134          GENLIST_PART_EXPANDABLE_ARROW
135          GENLIST_PART_FLIP
136          GENLIST_PART_FOCUS
137       }
138       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "arrow_clip"; )
139       programs {
140          GENLIST_PROGRAM_SELECT_ARROW
141          GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
142       }
143    }
144
145 // 2.5.1.4
146    group { GENLIST_NAME("dialogue/2text.1icon/expandable/default")
147       GENLIST_PROLOG_DIALOGUE
148       data.item: "texts" "elm.text.1 elm.text.2";
149       data.item: "contents" "elm.icon";
150
151       images {
152          image: "00_button_expand_closed.png" COMP;
153          image: "00_button_expand_opened.png" COMP;
154       }
155       GENLIST_IMAGES_EXPANDABLE_BTN
156       parts {
157          GENLIST_PART_BG_DIALOGUE
158          GENLIST_PART_BASE
159          GENLIST_PART_PADDING_TOP_2LINE
160          GENLIST_PART_PADDING_BOTTOM_2LINE
161          GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT)
162          GENLIST_PART_PADDING_RIGHT_EDIT
163          GENLIST_PART_ICON("elm.icon",
164             GENLIST_DESCRIPTION_L("elm.padding.left",
165                GENLIST_PARAM_ICON_CHECK_RADIO)
166          )
167          GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon")
168          GENLIST_PART_LISTITEM("elm.text.1",
169             GENLIST_DESCRIPTION("elm.padding.icon.right", "elm.padding.arrow.left",
170                "elm.padding.top", "elm.text.2",
171                min: 0 GENLIST_HEIGHT_2LINE_MAIN;
172                GENLIST_PARAM_LISTITEM
173             )
174          )
175          GENLIST_PART_SUBITEM("elm.text.2",
176             GENLIST_DESCRIPTION_LRB("elm.padding.icon.right", "elm.padding.arrow.left", "elm.padding.bottom",
177                min: 0 GENLIST_HEIGHT_2LINE_SUB;
178                fixed: 1 1;
179                GENLIST_PARAM_SUBITEM_DEFAULT
180             )
181          )
182          GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow")
183          GENLIST_PART_EXPANDABLE_ARROW
184          GENLIST_PART_FLIP
185          GENLIST_PART_FOCUS
186       }
187       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "arrow_clip"; )
188       programs {
189          GENLIST_PROGRAM_SELECT_ARROW
190          GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
191       }
192    }
193
194 // 2.5.1.5
195    group { GENLIST_NAME("dialogue/3text.1icon/expandable/default")
196       GENLIST_PROLOG_DIALOGUE
197
198       data.item: "texts" "elm.text.1 elm.text.2 elm.text.3";
199       data.item: "contents" "elm.swallow.colorbar elm.icon";
200
201       images {
202          image: "00_button_expand_closed.png" COMP;
203          image: "00_button_expand_opened.png" COMP;
204       }
205
206       GENLIST_IMAGES_EXPANDABLE_BTN
207       parts {
208          GENLIST_PART_BG_DIALOGUE
209          GENLIST_PART_BASE
210          GENLIST_PART_PADDING_TOP_2LINE
211          GENLIST_PART_PADDING_BOTTOM_2LINE
212          GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT)
213          GENLIST_PART_PADDING_RIGHT_EDIT
214          GENLIST_PART_COLORBAR
215
216          GENLIST_PART_ICON_BIG_L("elm.icon", "elm.padding.left")
217          GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon")
218          GENLIST_PART_LISTITEM("elm.text.1",
219             GENLIST_DESCRIPTION("elm.padding.icon.right", "elm.text.3",
220                "elm.padding.top", "elm.text.2",
221                min: 0 GENLIST_HEIGHT_2LINE_MAIN;
222                GENLIST_PARAM_LISTITEM
223             )
224          )
225          GENLIST_PART_SUBITEM_RTB("elm.text.3", GENLIST_HEIGHT_2LINE_MAIN,
226             "elm.padding.arrow.left", "elm.padding.top", "elm.text.2"
227          )
228          GENLIST_PART_SUBITEM("elm.text.2",
229             GENLIST_DESCRIPTION_LRB("elm.padding.icon.right", "elm.padding.arrow.left", "elm.padding.bottom",
230                min: 0 GENLIST_HEIGHT_2LINE_SUB;
231                fixed: 1 1;
232                GENLIST_PARAM_SUBITEM_DEFAULT
233             )
234          )
235          GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow")
236          GENLIST_PART_EXPANDABLE_ARROW
237          GENLIST_PART_FLIP
238          GENLIST_PART_FOCUS
239       }
240       GENLIST_PROGRAMS_DIALOGUE( target: "elm.icon"; target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
241           target: "arrow_clip"; )
242       programs {
243          GENLIST_PROGRAM_SELECT_ARROW
244          GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
245       }
246    }
247
248 // 2.5.1.6
249    group { GENLIST_NAME("dialogue/1text/expandable/default")
250
251       // FIXME: deprecated, only for backward compatibility
252       alias: "elm/genlist/tree/dialogue/1text/expandable2/default";
253       alias: "elm/genlist/tree_odd/dialogue/1text/expandable2/default";
254       alias: "elm/genlist/tree_compress/dialogue/1text/expandable2/default";
255       alias: "elm/genlist/tree_compress_odd/dialogue/1text/expandable2/default";
256
257       GENLIST_PROLOG_DIALOGUE
258       data.item: "texts" "elm.text";
259
260       GENLIST_IMAGES_EXPANDABLE_BTN
261       parts {
262          GENLIST_PART_BG_DIALOGUE
263          GENLIST_PART_BASE
264          GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT)
265          GENLIST_PART_PADDING_TOP_SIZE(0)
266          GENLIST_PART_PADDING_BOTTOM_SIZE(0)
267          GENLIST_PART_PADDING_RIGHT_EDIT
268
269          GENLIST_PART_LISTITEM("elm.text",
270             GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.arrow.left",
271                "elm.padding.top", "elm.padding.bottom",
272                min: 0 GENLIST_HEIGHT_1LINE;
273                GENLIST_PARAM_LISTITEM
274             )
275          )
276          GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow")
277          GENLIST_PART_EXPANDABLE_ARROW
278          GENLIST_PART_FLIP
279          GENLIST_PART_FOCUS
280       }
281       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text";  target: "arrow_clip"; )
282       programs {
283          GENLIST_PROGRAM_SELECT_ARROW
284          GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
285       }
286    }
287 #if 0
288    group { name: "elm/genlist/tree/1text.2/expandable_n_depth/default";
289       alias: "elm/genlist/tree_odd/1text.2/expandable_n_depth/default";
290       alias: "elm/genlist/tree_compress/1text.2/expandable_n_depth/default";
291       alias: "elm/genlist/tree_compress_odd/1text.2/expandable_n_depth/default";
292       alias: "elm/genlist/item/1text.2/expandable_n_depth/default";
293       alias: "elm/genlist/item_odd/1text.2/expandable_n_depth/default";
294       alias: "elm/genlist/item_compress/1text.2/expandable_n_depth/default";
295       alias: "elm/genlist/item_compress_odd/1text.2/expandable_n_depth/default";
296
297       data.item: "texts" "elm.text";
298       data.item: "contents" "elm.icon elm.icon.edit";
299
300       parts {
301          GENLIST_PART_BG_NORMAL
302          GENLIST_PART_BASE
303          GENLIST_PART_BOTTOM_LINE
304          GENLIST_PART_PADDING_LEFT
305          GENLIST_PART_PADDING_RIGHT
306
307          GENLIST_PART_ICON_BIG_L("elm.icon", "elm.swallow.pad")
308          GENLIST_PART_PADDING_L("elm.icon.right", "elm.icon")
309          GENLIST_PART_LISTITEM("elm.text",
310             GENLIST_DESCRIPTION_LR("elm.icon.right", "elm.padding.right",
311                min: 0 GENLIST_HEIGHT_1LINE;
312                GENLIST_PARAM_LISTITEM
313             )
314          )
315       }
316       programs {
317          GENLIST_PROGRAM_DISABLED
318          GENLIST_PROGRAM_SELECT_BOTTOMLINE( target: "elm.text"; )
319       }
320    }
321
322    group { name: "elm/genlist/item/1text.1/expandable_n_depth/default";
323       alias: "elm/genlist/item_odd/1text.1/expandable_n_depth/default";
324       alias: "elm/genlist/item_compress/1text.1/expandable_n_depth/default";
325       alias: "elm/genlist/item_compress_odd/1text.1/expandable_n_depth/default";
326       alias: "elm/genlist/tree/1text.1/expandable_n_depth/default";
327       alias: "elm/genlist/tree_odd/1text.1/expandable_n_depth/default";
328       alias: "elm/genlist/tree_compress/1text.1/expandable_n_depth/default";
329       alias: "elm/genlist/tree_compress_odd/1text.1/expandable_n_depth/default";
330
331       data.item: "texts" "elm.text";
332       data.item: "contents" "elm.icon elm.icon.edit";
333
334       parts {
335          GENLIST_PART_BG_NORMAL
336          GENLIST_PART_BASE
337          GENLIST_PART_BOTTOM_LINE
338          GENLIST_PART_PADDING_LEFT
339          GENLIST_PART_PADDING_RIGHT
340
341          GENLIST_PART_IMAGE("elm.icon", "elm.swallow.pad")
342          GENLIST_PART_PADDING_L("elm.icon.right", "elm.icon")
343          GENLIST_PART_LISTITEM("elm.text",
344             GENLIST_DESCRIPTION_LR("elm.icon.right", "elm.padding.right",
345                min: 0 GENLIST_HEIGHT_1LINE;
346                GENLIST_PARAM_LISTITEM
347             )
348          )
349       }
350       programs {
351          GENLIST_PROGRAM_DISABLED
352          GENLIST_PROGRAM_SELECT_BOTTOMLINE( target: "elm.text"; )
353       }
354    }
355
356
357       data.item: "texts" "elm.text";
358       data.item: "treesize" "26";
359
360       broadcast_signal: 1;
361       parts {
362          alias: "base" "group:base";
363          alias: "arrow" "group:arrow";
364          alias: "elm.text" "group:elm.text";
365          alias: "bottom_line" "group:bottom_line";
366          alias: "elm.padding.left" "group:elm.padding.left";
367          alias: "elm.padding.right" "group:elm.padding.right";
368          alias: "elm.swallow.pad" "group:elm.swallow.pad";
369
370          GENLIST_PART_PERSPECTIVE_POINT
371          part { name: "event";
372             type: RECT;
373             description {
374                state: "default" 0.0;
375                color: 0 0 0 0;
376             }
377          }
378          part { name: "group";
379             type: GROUP;
380             scale: 1;
381             source: "elm/genlist/tree/1text.1/expandable_n_depth/effect_parts/default";
382             description {
383                min: 16 GENLIST_HEIGHT_1LINE;
384                state: "default" 0.0;
385             }
386             GENLIST_DESCRIPTION_ROTATE(-90.0, 0, 0)
387          }
388       }
389       programs {
390          program {
391             name: "expand";
392             signal: "mouse,up,1";
393             source: "group:touch_arrow";
394             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
395          }
396          GENLIST_PROGRAM_ROTATE(0.2, 0.3,
397             target: "group";
398          )
399          program {
400             name: "show";
401             signal: "elm,state,show";
402             action: STATE_SET "default" 0.0;
403             target: "group";
404          }
405          program {
406             name: "hide";
407             signal: "elm,state,hide";
408             action: STATE_SET "hide" 0.0;
409             target: "group";
410          }
411       }
412    }
413
414    /* internally used in 2.5.3.1 */
415    group { name: "elm/genlist/tree/1text.1/expandable_n_depth/effect_parts/default";
416       images {
417          image: "00_folder_icon_folder_plus.png" COMP;
418          image: "00_folder_icon_folder_minus.png" COMP;
419       }
420       parts {
421          GENLIST_PART_BASE
422          GENLIST_PART_PADDING_LEFT
423          GENLIST_PART_PADDING_RIGHT_EDIT
424
425          part { name: "touch_arrow";
426             type: RECT;
427             ignore_flags: ON_HOLD;
428             scale: 1;
429             description { state: "default" 0.0;
430                min: 112 128;
431                fixed: 1 1;
432                align: 0.5 0.5;
433                rel1 {
434                   relative: 0.5 0.5;
435                   to: "arrow";
436                }
437                rel2 {
438                   relative: 0.5 0.5;
439                   to: "arrow";
440                }
441                color: 0 0 0 0;
442             }
443          }
444          part { name: "elm.padding.arrow.right";
445             type: RECT;
446             scale: 1;
447             description { state: "default" 0.0;
448                min: 16 0;
449                fixed: 1 0;
450                visible: 0;
451                align: 0.0 0.5;
452                rel1 {
453                   relative: 1.0 0.0;
454                   to: "arrow";
455                }
456                rel2.to: "arrow";
457             }
458          }
459          part { name: "arrow";
460             ignore_flags: ON_HOLD;
461             mouse_events: 0;
462             scale: 1;
463             description { state: "default" 0.0;
464                min: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE;
465                max: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE;
466                fixed: 1 1;
467                align: 0.0 0.5;
468                aspect: 1.0 1.0;
469                rel1 {
470                   relative: 1.0 0.0;
471                   to_x: "elm.swallow.pad";
472                }
473                rel2.to_x: "elm.swallow.pad";
474                image.normal: "00_folder_icon_folder_plus.png";
475             }
476             description { state: "active" 0.0;
477                inherit: "default" 0.0;
478                image.normal: "00_folder_icon_folder_minus.png";
479             }
480          }
481          part { name: "elm.text";
482             type: TEXT;
483             mouse_events: 0;
484             scale: 1;
485             description { state: "default" 0.0;
486                align: 0.5 0.5;
487                rel1 {
488                   relative: 1.0 0.0;
489                   to_x: "elm.padding.arrow.right";
490                }
491                rel2 {
492                   relative: 0.0 1.0;
493                   to_x: "elm.padding.right";
494                }
495                color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
496                text {
497                   font: "Tizen:style=Roman";
498                   size: GENLIST_LIST_MAIN_TEXT_SIZE;
499                   min: 0 1;
500                   align: 0.0 0.5;
501                   text_class: "list_item";
502                }
503             }
504             description { state: "selected" 0.0;
505                inherit: "default" 0.0;
506                color: GENLIST_LIST_TEXT_FOCUS_COLOR;
507             }
508          }
509          GENLIST_PART_DISCLIP
510       }
511       programs {
512          program {
513             name: "go_expanded";
514             signal: "elm,state,expanded";
515             source: "elm";
516             action: STATE_SET "active" 0.0;
517             target: "arrow";
518          }
519          program {
520             name: "go_contracted";
521             signal: "elm,state,contracted";
522             source: "elm";
523             action: STATE_SET "default" 0.0;
524             target: "arrow";
525          }
526
527          program {
528             name: "go_active";
529             signal: "elm,state,selected";
530             source: "elm";
531             action: STATE_SET "selected" 0.0;
532             target: "base";
533             target: "elm.text";
534          }
535          program {
536             name: "go_passive";
537             signal: "elm,state,unselected";
538             source: "elm";
539             action: STATE_SET "default" 0.0;
540             target: "base";
541             target: "elm.text";
542             transition: LINEAR 0.1;
543          }
544          program {
545             name: "go_disabled";
546             signal: "elm,state,disabled";
547             source: "elm";
548             action: STATE_SET "disabled" 0.0;
549             target: "disclip";
550          }
551          program {
552             name: "go_enabled";
553             signal: "elm,state,enabled";
554             source: "elm";
555             action: STATE_SET "default" 0.0;
556             target: "disclip";
557          }
558       }
559    }
560
561    /* 2.5.3.2 */
562    group { name: "elm/genlist/item/1text.2/expandable_n_depth/default";
563       alias: "elm/genlist/item_odd/1text.2/expandable_n_depth/default";
564       alias: "elm/genlist/item_compress/1text.2/expandable_n_depth/default";
565       alias: "elm/genlist/item_compress_odd/1text.2/expandable_n_depth/default";
566       inherit: "elm/genlist/tree/1text.1/expandable_n_depth/default";
567       broadcast_signal: 1;
568       parts {
569          alias: "base" "group:base";
570          alias: "arrow" "group:arrow";
571          alias: "elm.text" "group:elm.text";
572          alias: "bottom_line" "group:bottom_line";
573          alias: "elm.padding.left" "group:elm.padding.left";
574          alias: "elm.padding.right" "group:elm.padding.right";
575          alias: "elm.swallow.pad" "group:elm.swallow.pad";
576          part { name: "group";
577             type: GROUP;
578             scale: 1;
579             source: "elm/genlist/tree/1text.2/expandable_n_depth/effect_parts/default";
580             description {
581                min: 16 GENLIST_HEIGHT_1LINE;
582                state: "default" 0.0;
583             }
584             GENLIST_DESCRIPTION_ROTATE(-90.0, 0, 0)
585          }
586       }
587    }
588
589    /* internally used in 2.5.3.2 */
590    group { name: "elm/genlist/tree/1text.2/expandable_n_depth/effect_parts/default";
591       inherit: "elm/genlist/tree/1text.1/expandable_n_depth/effect_parts/default";
592       images {
593          image: "00_folder_icon_folder.png" COMP;
594       }
595       parts {
596          part { name: "touch_arrow";
597             mouse_events: 0;
598          }
599          part { name: "arrow";
600             description { state: "default" 0.0;
601                image.normal: "00_folder_icon_folder.png";
602             }
603             description { state: "active" 0.0;
604                image.normal: "00_folder_icon_folder.png";
605             }
606          }
607       }
608    }
609 #endif
610
611
612 #if 0
613 // 2.5.2.7
614    group { name: "elm/genlist/item/dialogue/1text.2icon/expandable2/default";
615       alias: "elm/genlist/item_odd/dialogue/1text.2icon/expandable2/default";
616       alias: "elm/genlist/item_compress/dialogue/1text.2icon/expandable2/default";
617       alias: "elm/genlist/item_compress_odd/dialogue/1text.2icon/expandable2/default";
618       data.item: "stacking" "above";
619       data.item: "selectraise" "on";
620       data.item: "texts" "elm.text";
621       data.item: "contents" "elm.icon.1 elm.icon.2";
622       data.item: "treesize" "GENLIST_TREESIZE_16_INC";
623
624       parts {
625          GENLIST_PART_BASE
626          GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC )
627          GENLIST_PART_PADDING_RIGHT_EDIT
628          part { name: "elm.padding.icon1.right";
629             type: RECT;
630             scale: 1;
631             description { state: "default" 0.0;
632                min: GENLIST_PADDING_16_INC 0;
633                fixed: 1 0;
634                visible: 0;
635                rel1 {
636                   relative: 1.0 0.0;
637                   to_x: "elm.icon.1";
638                }
639                rel2.to_x: "elm.icon.1";
640                align: 0.0 0.0;
641             }
642          }
643          part { name: "elm.icon.1";
644             type: SWALLOW;
645             scale: 1;
646             description { state: "default" 0.0;
647                min: GENLIST_SIZE_60_INC GENLIST_SIZE_60_INC;
648                max: GENLIST_SIZE_60_INC GENLIST_SIZE_60_INC;
649                fixed: 1 1;
650                align: 0.0 0.5;
651                rel1 {
652                   relative: 1.0 0.0;
653                   to_x: "elm.swallow.pad";
654                }
655                rel2 {
656                   relative: 1.0 1.0;
657                   to_x: "elm.swallow.pad";
658                }
659             }
660             GENLIST_DESCRIPTION_FADEOUT
661          }
662          part { name: "elm.padding.icon2.right";
663             type: RECT;
664             scale: 1;
665             description { state: "default" 0.0;
666                min: GENLIST_PADDING_16_INC 0;
667                fixed: 1 0;
668                visible: 0;
669                rel1 {
670                   relative: 1.0 0.0;
671                   to_x: "elm.icon.2";
672                }
673                rel2.to_x: "elm.icon.2";
674                align: 0.0 0.0;
675             }
676          }
677          part { name: "elm.icon.2";
678             type: SWALLOW;
679             scale: 1;
680             description { state: "default" 0.0;
681                min: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE;
682                max: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE;
683                fixed: 1 1;
684                align: 0.0 0.5;
685                rel1 {
686                   relative: 1.0 0.0;
687                   to_x: "elm.padding.icon1.right";
688                }
689                rel2 {
690                   relative: 1.0 1.0;
691                   to_x: "elm.padding.icon1.right";
692                }
693             }
694             GENLIST_DESCRIPTION_FADEOUT
695          }
696          part { name: "elm.text";
697             type: TEXT;
698             mouse_events: 0;
699             scale: 1;
700             description { state: "default" 0.0;
701                rel1 {
702                   relative: 1.0  0.0;
703                   to_x: "elm.padding.icon2.right";
704                }
705                rel2 {
706                   relative: 0.0  1.0;
707                   to_x: "elm.padding.right";
708                }
709                color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
710                text {
711                   font: "Tizen:style=Regular";
712                   size: GENLIST_LIST_MAIN_TEXT_SIZE;
713                   min: 0 1;
714                   align: 0.0 0.5;
715                   text_class: "list_item";
716                }
717             }
718             description { state: "selected" 0.0;
719                inherit: "default" 0.0;
720                color: GENLIST_LIST_TEXT_FOCUS_COLOR;
721             }
722             GENLIST_DESCRIPTION_FADEOUT
723          }
724          GENLIST_PART_DISCLIP
725       }
726       programs {
727          program { name: "go_active";
728             signal: "elm,state,selected";
729             source: "elm";
730             action: STATE_SET "selected" 0.0;
731             target: "base";
732             target: "elm.text";
733          }
734          program { name: "go_passive";
735             signal: "elm,state,unselected";
736             source: "elm";
737             action: STATE_SET "default" 0.0;
738             target: "base";
739             target: "elm.text";
740             transition: LINEAR 0.1;
741          }
742          program { name: "go_disabled";
743             signal: "elm,state,disabled";
744             source: "elm";
745             action: STATE_SET "disabled" 0.0;
746             target: "disclip";
747          }
748          program { name: "go_enabled";
749             signal: "elm,state,enabled";
750             source: "elm";
751             action: STATE_SET "default" 0.0;
752             target: "disclip";
753          }
754          GENLIST_PROGRAM_ROTATE(0.2, 0.3,
755             target: "base";
756             target: "elm.text";
757             target: "elm.swallow.pad";
758             target: "elm.icon.1";
759             target: "elm.icon.2";
760          )
761          program {
762             name: "show";
763             signal: "elm,state,show";
764             action: STATE_SET "default" 0.0;
765             target: "base";
766             target: "elm.text";
767             target: "elm.icon.1";
768             target: "elm.icon.2";
769             target: "elm.swallow.pad";
770          }
771          program {
772             name: "hide";
773             signal: "elm,state,hide";
774             action: STATE_SET "hide" 0.0;
775             target: "base";
776             target: "elm.text";
777             target: "elm.icon.1";
778             target: "elm.icon.2";
779             target: "elm.swallow.pad";
780          }
781       }
782    }
783
784 //removed
785 // 3.10.21
786    group { name: "elm/genlist/item/dialogue/1text/expandable3/default";
787       alias: "elm/genlist/item_odd/dialogue/1text/expandable3/default";
788       alias: "elm/genlist/item_compress/dialogue/1text/expandable3/default";
789       alias: "elm/genlist/item_compress_odd/dialogue/1text/expandable3/default";
790       data.item: "stacking" "above";
791       data.item: "selectraise" "on";
792       data.item: "texts" "elm.text";
793       data.item: "treesize" "10";
794
795       parts {
796          GENLIST_PART_BASE
797          GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC )
798          GENLIST_PART_PADDING_RIGHT_EDIT
799          part { name: "elm.text";
800             type: TEXT;
801             mouse_events: 0;
802             scale: 1;
803             description { state: "default" 0.0;
804                rel1 {
805                   relative: 1.0  0.0;
806                   offset: 0 0;
807                   to_x: "elm.swallow.pad";
808                }
809                rel2 {
810                   to_x: "elm.padding.right";
811                   relative: 0.0  1.0;
812                   offset:   0   0;
813                }
814                color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
815                text {
816                   font: "Tizen:style=Regular";
817                   size: GENLIST_LIST_MAIN_TEXT_SIZE;
818                   min: 0 1;
819                   align: 0.0 0.5;
820                   text_class: "list_item";
821                }
822             }
823             description { state: "selected" 0.0;
824                inherit: "default" 0.0;
825                color: GENLIST_LIST_TEXT_FOCUS_COLOR;
826             }
827             GENLIST_DESCRIPTION_FADEOUT
828          }
829          GENLIST_PART_DISCLIP
830       }
831       programs {
832          program { name: "go_active";
833             signal: "elm,state,selected";
834             source: "elm";
835             action: STATE_SET "selected" 0.0;
836             target: "base";
837             target: "elm.text";
838          }
839          program { name: "go_passive";
840             signal: "elm,state,unselected";
841             source: "elm";
842             action: STATE_SET "default" 0.0;
843             target: "base";
844             target: "elm.text";
845             transition: LINEAR 0.1;
846          }
847          program { name: "go_disabled";
848             signal: "elm,state,disabled";
849             source: "elm";
850             action: STATE_SET "disabled" 0.0;
851             target: "disclip";
852          }
853          program { name: "go_enabled";
854             signal: "elm,state,enabled";
855             source: "elm";
856             action: STATE_SET "default" 0.0;
857             target: "disclip";
858          }
859          GENLIST_PROGRAM_ROTATE(0.2, 0.3,
860             target: "base";
861             target: "elm.text";
862             target: "elm.swallow.pad";
863          )
864          program {
865             name: "show";
866             signal: "elm,state,show";
867             action: STATE_SET "default" 0.0;
868             target: "base";
869             target: "elm.text";
870             target: "elm.swallow.pad";
871          }
872          program {
873             name: "hide";
874             signal: "elm,state,hide";
875             action: STATE_SET "hide" 0.0;
876             target: "base";
877             target: "elm.text";
878             target: "elm.swallow.pad";
879          }
880       }
881    }
882
883 //removed
884 /* B01.3.10.20 */
885    group { name: "elm/genlist/item/dialogue/1text.2/expandable3/default";
886       alias: "elm/genlist/item_odd/dialogue/1text.2/expandable3/default";
887       alias: "elm/genlist/item_compress/dialogue/1text.2/expandable3/default";
888       alias: "elm/genlist/item_compress_odd/dialogue/1text.2/expandable3/default";
889       data.item: "stacking" "above";
890       data.item: "selectraise" "on";
891       data.item: "texts" "elm.text";
892       data.item: "treesize" "GENLIST_TREESIZE_16_INC";
893
894       parts {
895          GENLIST_PART_BASE
896          GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_SIZE_48_INC )
897          GENLIST_PART_PADDING_RIGHT_EDIT( GENLIST_SIZE_16_INC )
898          part { name: "elm.text";
899             type: TEXT;
900             mouse_events: 0;
901             scale: 1;
902             description { state: "default" 0.0;
903                rel1 {
904                   relative: 1.0  0.0;
905                   offset: 0 0;
906                   to_x: "elm.swallow.pad";
907                }
908                rel2 {
909                   to_x: "elm.padding.right";
910                   relative: 0.0  1.0;
911                   offset:   0   0;
912                }
913                color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
914                text {
915                   font: "Tizen:style=Regular";
916                   size: GENLIST_LIST_MAIN_TEXT_SIZE;
917                   min: 0 1;
918                   align: 0.0 0.5;
919                   text_class: "list_item";
920                }
921             }
922             description { state: "selected" 0.0;
923                inherit: "default" 0.0;
924                color: GENLIST_LIST_TEXT_FOCUS_COLOR;
925             }
926             GENLIST_DESCRIPTION_FADEOUT
927          }
928          GENLIST_PART_DISCLIP
929       }
930       programs {
931          program { name: "go_active";
932             signal: "elm,state,selected";
933             source: "elm";
934             action: STATE_SET "selected" 0.0;
935             target: "base";
936             target: "elm.text";
937          }
938          program { name: "go_passive";
939             signal: "elm,state,unselected";
940             source: "elm";
941             action: STATE_SET "default" 0.0;
942             target: "base";
943             target: "elm.text";
944             transition: LINEAR 0.1;
945          }
946          program { name: "go_disabled";
947             signal: "elm,state,disabled";
948             source: "elm";
949             action: STATE_SET "disabled" 0.0;
950             target: "disclip";
951          }
952          program { name: "go_enabled";
953             signal: "elm,state,enabled";
954             source: "elm";
955             action: STATE_SET "default" 0.0;
956             target: "disclip";
957          }
958          GENLIST_PROGRAM_ROTATE(0.2, 0.3,
959             target: "base";
960             target: "elm.text";
961             target: "elm.swallow.pad";
962          )
963          program {
964             name: "show";
965             signal: "elm,state,show";
966             action: STATE_SET "default" 0.0;
967             target: "base";
968             target: "elm.text";
969             target: "elm.swallow.pad";
970          }
971          program {
972             name: "hide";
973             signal: "elm,state,hide";
974             action: STATE_SET "hide" 0.0;
975             target: "base";
976             target: "elm.text";
977             target: "elm.swallow.pad";
978          }
979       }
980    }
981
982    /
983 // 2.5.1.5 (Deprecated)
984    group { name: "elm/genlist/tree/dialogue/2text.2icon/expandable/default";
985       alias: "elm/genlist/tree_odd/dialogue/2text.2icon/expandable/default";
986       alias: "elm/genlist/tree_compress/dialogue/2text.2icon/expandable/default";
987       alias: "elm/genlist/tree_compress_odd/dialogue/2text.2icon/expandable/default";
988       data.item: "stacking" "above";
989       data.item: "selectraise" "on";
990       data.item: "texts" "elm.text.1 elm.text.2";
991       data.item: "contents" "elm.icon elm.swallow.colorbar";
992       data.item: "treesize" "GENLIST_TREESIZE_16_INC";
993       images {
994          image: "00_button_expand_closed.png" COMP;
995          image: "00_button_expand_opened.png" COMP;
996       }
997       parts {
998          GENLIST_PART_BASE
999          GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_10_INC )
1000          GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_10_INC )
1001          GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC )
1002          GENLIST_PART_PADDING_RIGHT_EDIT
1003          part { name: "elm.swallow.colorbar";
1004             clip_to: "disclip";
1005             type: SWALLOW;
1006             scale: 1;
1007             description { state: "default" 0.0;
1008                min: GENLIST_SIZE_10_INC GENLIST_SIZE_21_INC;
1009                fixed: 1 1;
1010                rel2.relative: 0.0 0.0;
1011                align: 0.0 0.0;
1012             }
1013          }
1014          part { name: "touch_arrow";
1015             type: RECT;
1016             clip_to: "disclip";
1017             ignore_flags: ON_HOLD;
1018             scale: 1;
1019             description { state: "default" 0.0;
1020                min: GENLIST_SIZE_112_INC GENLIST_SIZE_128_INC;
1021                fixed: 1 1;
1022                align: 0.5 0.5;
1023                rel1 {
1024                   relative: 0.5 0.5;
1025                   to: "arrow";
1026                }
1027                rel2 {
1028                   relative: 0.5 0.5;
1029                   to: "arrow";
1030                }
1031                color: 0 0 0 0;
1032             }
1033          }
1034          part { name: "arrow";
1035             clip_to: "disclip";
1036             ignore_flags: ON_HOLD;
1037             mouse_events: 0;
1038             scale: 1;
1039             description { state: "default" 0.0;
1040                min: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE;
1041                max: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE;
1042                fixed: 1 1;
1043                align: 1.0 0.5;
1044                aspect: 1.0 1.0;
1045                rel1.to_x: "elm.padding.right";
1046                rel2 {
1047                   relative: 0.0 1.0;
1048                   offset: 0 0;
1049                   to_x: "elm.padding.right";
1050                }
1051                image.normal: "00_button_expand_closed.png";
1052             }
1053             description { state: "active" 0.0;
1054                inherit: "default" 0.0;
1055                image.normal: "00_button_expand_opened.png";
1056             }
1057             GENLIST_DESCRIPTION_FADEOUT
1058          }
1059          part { name: "elm.padding.arrow.left";
1060             type: RECT;
1061             scale: 1;
1062             description { state: "default" 0.0;
1063                min: GENLIST_SIZE_8_INC 0;
1064                fixed: 1 0;
1065                visible: 0;
1066                align: 1.0 0.5;
1067                rel1.to: "arrow";
1068                rel2 {
1069                   relative: 0.0 1.0;
1070                   to: "arrow";
1071                }
1072             }
1073          }
1074          part { name: "elm.padding.icon.right";
1075             type: RECT;
1076             scale: 1;
1077             description { state: "default" 0.0;
1078                min: GENLIST_SIZE_16_INC 0;
1079                fixed: 1 0;
1080                visible: 0;
1081                rel1 {
1082                   relative: 1.0 0.0;
1083                   to_x: "elm.icon";
1084                }
1085                rel2.to_x: "elm.icon";
1086                align: 0.0 0.0;
1087             }
1088          }
1089          part { name: "elm.icon";
1090             clip_to: "disclip";
1091             type: SWALLOW;
1092             scale: 1;
1093             description { state: "default" 0.0;
1094                min: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE;
1095                max: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE;
1096                fixed: 1 1;
1097                align: 0.0 0.5;
1098                rel1 {
1099                   relative: 1.0 0.0;
1100                   to_x: "elm.swallow.pad";
1101                }
1102                rel2 {
1103                   relative: 1.0 1.0;
1104                   to_x: "elm.swallow.pad";
1105                }
1106             }
1107          }
1108          part { name: "elm.text.1";
1109             clip_to: "disclip";
1110             type: TEXT;
1111             mouse_events: 0;
1112             scale: 1;
1113             description { state: "default" 0.0;
1114                min: 0 GENLIST_SIZE_61_INC;
1115                fixed: 0 1;
1116                align: 0.0 0.0;
1117                rel1 {
1118                   relative: 1.0 1.0;
1119                   to_x: "elm.padding.icon.right";
1120                   to_y: "elm.padding.top";
1121                }
1122                rel2 {
1123                   relative: 0.0 1.0;
1124                   to_x: "elm.padding.arrow.left";
1125                   to_y: "elm.padding.top";
1126                }
1127                color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
1128                text {
1129                   font: "Tizen:style=Regular";
1130                   size: GENLIST_LIST_MAIN_TEXT_SIZE;
1131                   min: 0 1;
1132                   align: 0.0 0.5;
1133                   text_class: "list_item";
1134                }
1135             }
1136             description { state: "selected" 0.0;
1137                inherit: "default" 0.0;
1138                color: GENLIST_LIST_TEXT_FOCUS_COLOR;
1139             }
1140             GENLIST_DESCRIPTION_FADEOUT
1141          }
1142          part { name: "elm.text.2";
1143             clip_to: "disclip";
1144             type: TEXT;
1145             mouse_events: 0;
1146             scale: 1;
1147             description { state: "default" 0.0;
1148                rel1 {
1149                   relative: 1.0 1.0;
1150                   to_x: "elm.padding.icon.right";
1151                   to_y: "elm.text.1";
1152                }
1153                rel2 {
1154                   relative: 0.0 0.0;
1155                   offset: 0 0;
1156                   to_x: "elm.padding.arrow.left";
1157                   to_y: "elm.padding.bottom";
1158                }
1159                color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
1160                text {
1161                   font: "Tizen:style=Medium";
1162                   size: GENLIST_FONT_32_INC;
1163                   min: 0 1;
1164                   align: 0.0 0.5;
1165                   text_class: "tizen";
1166                }
1167             }
1168             description { state: "selected" 0.0;
1169                inherit: "default" 0.0;
1170                color: GENLIST_LIST_TEXT_FOCUS_COLOR;
1171             }
1172             GENLIST_DESCRIPTION_FADEOUT
1173          }
1174          GENLIST_PART_DISCLIP
1175       }
1176       programs {
1177          program {
1178             name: "go_active";
1179             signal: "elm,state,selected";
1180             source: "elm";
1181             action: STATE_SET "selected" 0.0;
1182             target: "base";
1183             target: "elm.text.1";
1184             target: "elm.text.2";
1185          }
1186          program {
1187             name: "go_passive";
1188             signal: "elm,state,unselected";
1189             source: "elm";
1190             action: STATE_SET "default" 0.0;
1191             target: "base";
1192             target: "elm.text.1";
1193             target: "elm.text.2";
1194             transition: LINEAR 0.1;
1195          }
1196          program {
1197             name: "go_disabled";
1198             signal: "elm,state,disabled";
1199             source: "elm";
1200             action: STATE_SET "disabled" 0.0;
1201             target: "disclip";
1202          }
1203          program {
1204             name: "go_enabled";
1205             signal: "elm,state,enabled";
1206             source: "elm";
1207             action: STATE_SET "default" 0.0;
1208             target: "disclip";
1209          }
1210          program {
1211             name: "expand";
1212             signal: "mouse,up,1";
1213             source: "touch_arrow";
1214             action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";
1215          }
1216          program {
1217             name: "go_expanded";
1218             signal: "elm,state,expanded";
1219             source: "elm";
1220             action: STATE_SET "active" 0.0;
1221             target: "arrow";
1222          }
1223          program {
1224             name: "go_contracted";
1225             signal: "elm,state,contracted";
1226             source: "elm";
1227             action: STATE_SET "default" 0.0;
1228             target: "arrow";
1229          }
1230          GENLIST_PROGRAM_ROTATE(0.2, 0.3,
1231             target: "base";
1232             target: "elm.text.1";
1233             target: "elm.text.2";
1234             target: "elm.icon";
1235             target: "elm.swallow.colorbar";
1236             target: "arrow";
1237             target: "elm.swallow.pad";
1238          )
1239          program {
1240             name: "show";
1241             signal: "elm,state,show";
1242             action: STATE_SET "default" 0.0;
1243             target: "base";
1244             target: "elm.text.1";
1245             target: "elm.text.2";
1246             target: "elm.icon";
1247             target: "elm.swallow.colorbar";
1248             target: "arrow";
1249             target: "elm.swallow.pad";
1250          }
1251          program {
1252             name: "hide";
1253             signal: "elm,state,hide";
1254             action: STATE_SET "hide" 0.0;
1255             target: "base";
1256             target: "elm.text.1";
1257             target: "elm.text.2";
1258             target: "elm.icon";
1259             target: "elm.swallow.colorbar";
1260             target: "arrow";
1261             target: "elm.swallow.pad";
1262          }
1263       }
1264    }
1265
1266 #define GENLIST_EXPANDABLE_TREE_GROUP(GE_STYLE_NAME, GE_COLOR, GE_LEFT) \
1267    group { name: "elm/genlist/tree/"GE_STYLE_NAME"/default"; \
1268       alias: "elm/genlist/tree_odd/"GE_STYLE_NAME"/default"; \
1269       data.item: "stacking" "above"; \
1270       data.item: "selectraise" "on"; \
1271       data.item: "texts" "elm.text"; \
1272       data.item: "contents" "elm.swallow.icon elm.swallow.end"; \
1273       data.item: "treesize" "GENLIST_TREESIZE_16_INC"; \
1274       images { \
1275          image: "00_button_expand_closed.png" COMP; \
1276          image: "00_button_expand_opened.png" COMP; \
1277       } \
1278       parts { \
1279          GENLIST_PART_BASE \
1280          GENLIST_PART_PADDING_LEFT_SIZE( GE_LEFT ) \
1281          GENLIST_PART_PADDING_RIGHT_EDIT \
1282          part { name: "touch_arrow"; \
1283             type: RECT; \
1284             clip_to: "disclip"; \
1285             ignore_flags: ON_HOLD; \
1286             scale: 1; \
1287             description { state: "default" 0.0; \
1288                min: GENLIST_SIZE_112_INC GENLIST_SIZE_128_INC; \
1289                fixed: 1 1; \
1290                align: 0.5 0.5; \
1291                rel1 { \
1292                   relative: 0.5 0.5; \
1293                   to: "arrow"; \
1294                } \
1295                rel2 { \
1296                   relative: 0.5 0.5; \
1297                   to: "arrow"; \
1298                } \
1299                color: 0 0 0 0; \
1300             } \
1301          } \
1302          part { name: "arrow"; \
1303             clip_to: "disclip"; \
1304             ignore_flags: ON_HOLD; \
1305             mouse_events: 0; \
1306             scale: 1; \
1307             description { state: "default" 0.0; \
1308                min: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE; \
1309                max: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE; \
1310                fixed: 1 1; \
1311                align: 1.0 0.5; \
1312                aspect: 1.0 1.0; \
1313                rel1.to_x: "elm.padding.right"; \
1314                rel2 { \
1315                   relative: 0.0 1.0; \
1316                   offset: 0 0; \
1317                   to_x: "elm.padding.right"; \
1318                } \
1319                image.normal: "00_button_expand_closed.png"; \
1320             } \
1321             description { state: "active" 0.0; \
1322                inherit: "default" 0.0; \
1323                image.normal: "00_button_expand_opened.png"; \
1324             } \
1325             GENLIST_DESCRIPTION_FADEOUT \
1326          } \
1327          part { name: "elm.padding.arrow.left"; \
1328             type: RECT; \
1329             scale: 1; \
1330             description { state: "default" 0.0; \
1331                min: GENLIST_SIZE_8_INC 0; \
1332                fixed: 1 0; \
1333                visible: 0; \
1334                align: 1.0 0.5; \
1335                rel1.to: "arrow"; \
1336                rel2 { \
1337                   relative: 0.0 1.0; \
1338                   to: "arrow"; \
1339                } \
1340             } \
1341          } \
1342          part { name: "elm.text"; \
1343             clip_to: "disclip"; \
1344             type: TEXT; \
1345             mouse_events: 0; \
1346             scale: 1; \
1347             description { state: "default" 0.0; \
1348                align: 0.5 0.5; \
1349                rel1 { \
1350                   relative: 1.0 0.0; \
1351                   to_x: "elm.swallow.pad"; \
1352                } \
1353                rel2 { \
1354                   relative: 0.0 1.0; \
1355                   to_x: "elm.padding.arrow.left"; \
1356                } \
1357                color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR; \
1358                text { \
1359                   font: "Tizen:style=Roman"; \
1360                   size: GENLIST_LIST_MAIN_TEXT_SIZE; \
1361                   min: 0 1; \
1362                   align: 0.0 0.5; \
1363                   text_class: "list_item"; \
1364                } \
1365             } \
1366             description { state: "selected" 0.0; \
1367                inherit: "default" 0.0; \
1368                color: GENLIST_LIST_TEXT_FOCUS_COLOR; \
1369             } \
1370             GENLIST_DESCRIPTION_FADEOUT \
1371          } \
1372          GENLIST_PART_DISCLIP \
1373       } \
1374       programs { \
1375          program { \
1376             name: "go_active"; \
1377             signal: "elm,state,selected"; \
1378             source: "elm"; \
1379             action: STATE_SET "selected" 0.0; \
1380             target: "base"; \
1381             target: "elm.text"; \
1382          } \
1383          program { \
1384             name: "go_passive"; \
1385             signal: "elm,state,unselected"; \
1386             source: "elm"; \
1387             action: STATE_SET "default" 0.0; \
1388             target: "base"; \
1389             target: "elm.text"; \
1390             transition: LINEAR 0.1; \
1391          } \
1392          program { \
1393             name: "go_disabled"; \
1394             signal: "elm,state,disabled"; \
1395             source: "elm"; \
1396             action: STATE_SET "disabled" 0.0; \
1397             target: "disclip"; \
1398          } \
1399          program { \
1400             name: "go_enabled"; \
1401             signal: "elm,state,enabled"; \
1402             source: "elm"; \
1403             action: STATE_SET "default" 0.0; \
1404             target: "disclip"; \
1405          } \
1406          program { \
1407             name: "expand"; \
1408             signal: "mouse,up,1"; \
1409             source: "touch_arrow"; \
1410             action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; \
1411          } \
1412          program { \
1413             name: "go_expanded"; \
1414             signal: "elm,state,expanded"; \
1415             source: "elm"; \
1416             action: STATE_SET "active" 0.0; \
1417             target: "arrow"; \
1418          } \
1419          program { \
1420             name: "go_contracted"; \
1421             signal: "elm,state,contracted"; \
1422             source: "elm"; \
1423             action: STATE_SET "default" 0.0; \
1424             target: "arrow"; \
1425          } \
1426          GENLIST_PROGRAM_ROTATE(0.2, 0.3, \
1427             target: "base"; \
1428             target: "elm.text"; \
1429             target: "arrow"; \
1430             target: "elm.swallow.pad"; \
1431          ) \
1432          program { \
1433             name: "show"; \
1434             signal: "elm,state,show"; \
1435             action: STATE_SET "default" 0.0; \
1436             target: "base"; \
1437             target: "elm.text"; \
1438             target: "arrow"; \
1439             target: "elm.swallow.pad"; \
1440          } \
1441          program { \
1442             name: "hide"; \
1443             signal: "elm,state,hide"; \
1444             action: STATE_SET "hide" 0.0; \
1445             target: "base"; \
1446             target: "elm.text"; \
1447             target: "arrow"; \
1448             target: "elm.swallow.pad"; \
1449          } \
1450       } \
1451    }
1452
1453 #define GENLIST_EXPANDABLE_ITEM_GROUP(GE_STYLE_NAME, GE_COLOR, GE_LEFT) \
1454    group { name: "elm/genlist/item/"GE_STYLE_NAME"/default"; \
1455       alias: "elm/genlist/item_odd/"GE_STYLE_NAME"/default"; \
1456       data.item: "stacking" "above"; \
1457       data.item: "selectraise" "on"; \
1458       data.item: "texts" "elm.text"; \
1459       data.item: "contents" "elm.swallow.icon elm.swallow.end"; \
1460       data.item: "treesize" "GENLIST_TREESIZE_16_INC"; \
1461       parts { \
1462          GENLIST_PART_BASE  \
1463          GENLIST_PART_PADDING_LEFT_SIZE( GE_LEFT ) \
1464          GENLIST_PART_PADDING_RIGHT_EDIT \
1465          part { name: "elm.swallow.end"; \
1466             type: SWALLOW; \
1467             scale: 1; \
1468             description { state: "default" 0.0; \
1469                fixed: 1 0; \
1470                align: 1.0 0.5; \
1471                rel1.to_x: "elm.padding.right"; \
1472                rel2 { \
1473                   relative: 0.0  1.0; \
1474                   to_x: "elm.padding.right"; \
1475                } \
1476             } \
1477             GENLIST_DESCRIPTION_FADEOUT \
1478          } \
1479         part { name: "elm.text"; \
1480             clip_to: "disclip"; \
1481             type: TEXT; \
1482             mouse_events: 0; \
1483             scale: 1; \
1484             description { state: "default" 0.0; \
1485                rel1 { \
1486                   relative: 1.0  0.0; \
1487                   offset: 0 0; \
1488                   to_x: "elm.swallow.pad"; \
1489                } \
1490                rel2 { \
1491                   to_x: "elm.padding.right"; \
1492                   relative: 0.0  1.0; \
1493                   offset:   0   0; \
1494                } \
1495                color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR; \
1496                text { \
1497                   font: "Tizen:style=Roman"; \
1498                   size: GENLIST_LIST_MAIN_TEXT_SIZE; \
1499                   min: 0 1; \
1500                   align: 0.0 0.5; \
1501                   text_class: "list_item"; \
1502                } \
1503             } \
1504             description { state: "selected" 0.0; \
1505                inherit: "default" 0.0; \
1506                color: GENLIST_LIST_TEXT_FOCUS_COLOR; \
1507             } \
1508             GENLIST_DESCRIPTION_FADEOUT \
1509          } \
1510          GENLIST_PART_DISCLIP \
1511       } \
1512       programs { \
1513          program { name: "go_active"; \
1514             signal: "elm,state,selected"; \
1515             source: "elm"; \
1516             action: STATE_SET "selected" 0.0; \
1517             target: "base"; \
1518             target: "elm.text"; \
1519          } \
1520          program { name: "go_passive"; \
1521             signal: "elm,state,unselected"; \
1522             source: "elm"; \
1523             action: STATE_SET "default" 0.0; \
1524             target: "base"; \
1525             target: "elm.text"; \
1526             transition: LINEAR 0.1; \
1527          } \
1528          program { name: "go_disabled"; \
1529             signal: "elm,state,disabled"; \
1530             source: "elm"; \
1531             action: STATE_SET "disabled" 0.0; \
1532             target: "disclip"; \
1533          } \
1534          program { name: "go_enabled"; \
1535             signal: "elm,state,enabled"; \
1536             source: "elm"; \
1537             action: STATE_SET "default" 0.0; \
1538             target: "disclip"; \
1539          } \
1540          GENLIST_PROGRAM_ROTATE(0.2, 0.3,  \
1541             target: "base"; \
1542             target: "elm.text"; \
1543             target: "elm.swallow.pad"; \
1544             target: "elm.swallow.end"; \
1545          ) \
1546          program { \
1547             name: "show"; \
1548             signal: "elm,state,show"; \
1549             action: STATE_SET "default" 0.0; \
1550             target: "base"; \
1551             target: "elm.text"; \
1552             target: "elm.swallow.end"; \
1553             target: "elm.swallow.pad"; \
1554          } \
1555          program { \
1556             name: "hide"; \
1557             signal: "elm,state,hide"; \
1558             action: STATE_SET "hide" 0.0; \
1559             target: "base"; \
1560             target: "elm.text"; \
1561             target: "elm.swallow.end"; \
1562             target: "elm.swallow.pad"; \
1563          } \
1564       } \
1565    }
1566
1567 /* legacy styles */
1568 GENLIST_EXPANDABLE_TREE_GROUP("expandable", GENLIST_PART_DIALOGUE_GROUP_BG_COLOR, GENLIST_PADDING_32_INC)
1569 GENLIST_EXPANDABLE_TREE_GROUP("expandable2", GENLIST_PART_EXPANDABLE_2ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_32_INC)
1570
1571 GENLIST_EXPANDABLE_ITEM_GROUP("expandable", GENLIST_PART_DIALOGUE_GROUP_BG_COLOR, GENLIST_PADDING_16_INC)
1572 GENLIST_EXPANDABLE_ITEM_GROUP("expandable2", GENLIST_PART_EXPANDABLE_2ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_16_INC)
1573 GENLIST_EXPANDABLE_ITEM_GROUP("expandable3", GENLIST_PART_EXPANDABLE_3ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_16_INC)
1574
1575 // 2.5.2.6
1576 GENLIST_EXPANDABLE_TREE_GROUP("1text/expandable2", GENLIST_PART_EXPANDABLE_2ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_32_INC)
1577 GENLIST_EXPANDABLE_ITEM_GROUP("1text/expandable2", GENLIST_PART_EXPANDABLE_2ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_16_INC)
1578
1579 //removed
1580 /* B01.3.10.21 */
1581 GENLIST_EXPANDABLE_TREE_GROUP("1text/expandable3", GENLIST_PART_EXPANDABLE_3ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_48_INC)
1582 GENLIST_EXPANDABLE_ITEM_GROUP("1text/expandable3", GENLIST_PART_EXPANDABLE_3ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_48_INC)
1583 #endif