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