tizen 2.3 release
[apps/home/settings.git] / resource / setting-genlist.edc
1 /*
2  * setting
3  *
4  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
5  *
6  * Contact: MyoungJune Park <mj2004.park@samsung.com>
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  *
20  */
21
22 collections {
23         base_scale: 2.4;
24    #include "tizen-dark-inc.edc"
25    #include "genlist_macro.edc"
26    #include "genlist_textblock_style.edc"
27
28         images {
29          image: "00_focus.png" COMP;
30                  image : "00_list_group_bg_top.png" COMP;
31                  image : "00_list_group_bg_top.png" COMP;
32          image : "00_list_group_bg_top_press.png" COMP;
33          image : "00_list_group_bg_center.png" COMP;
34          image : "00_list_group_bg_center_press.png" COMP;
35          image : "00_list_group_bg_bottom.png" COMP;
36          image : "00_list_group_bg_bottom_press.png" COMP;
37          image : "00_list_group_bg_top_focus.png" COMP;
38          image : "00_list_group_bg_center_focus.png" COMP;
39          image : "00_list_group_bg_bottom_focus.png" COMP;
40          image : "00_list_button_expand_closed.png" COMP;
41          image : "00_list_button_expand_opened.png" COMP;
42       }
43
44         group { GENLIST_NAME("dialogue/datausage.1text.3icon.4/default")
45       alias: "elm/layout/dialogue/datausage.1text.3icon.4";
46
47       GENLIST_PROLOG_DIALOGUE
48       data.item: "texts" "elm.text.1";
49       data.item: "contents" "elm.icon.0 elm.icon.1 elm.icon.2";
50
51       parts {
52          GENLIST_PART_BG_DIALOGUE
53          GENLIST_PART_BASE_SIZE(140)
54          GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT )
55          GENLIST_PART_PADDING_RIGHT_EDIT
56          GENLIST_PART_PADDING_TOP_SIZE(16)
57          GENLIST_PART_PADDING_BOTTOM_SIZE(24)
58
59                  GENLIST_PART_ICON("elm.icon.0",
60              GENLIST_DESCRIPTION_LTB("elm.padding.left", "elm.padding.top", "elm.padding.bottom",
61                          min: 74 74;
62                          max: 74 74;
63                          fixed: 1 1;
64                          )
65                  )
66                  GENLIST_PART_PADDING_L("elm.padding.icon0.right", "elm.icon.0")
67
68          GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
69             "elm.padding.icon0.right", "elm.icon.1",
70             "elm.padding.top", "elm.padding.icon2.top",
71          )
72
73          GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1")
74          GENLIST_PART_ICON_BTN_01_RTB("elm.icon.1",
75             "elm.padding.right", "elm.padding.top", "elm.padding.icon2.top")
76          GENLIST_PART_PADDING_B_SIZE("elm.padding.icon2.top", "elm.icon.2", 10)
77          GENLIST_PART_ICON("elm.icon.2",
78             GENLIST_DESCRIPTION_LRB("elm.padding.icon0.right", "elm.padding.right", "elm.padding.bottom",
79
80             )
81          )
82          GENLIST_PART_FLIP
83          GENLIST_PART_FOCUS_DIALOGUE
84       }
85       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.icon.0";
86          target: "elm.icon.1"; target: "elm.icon.2"; )
87       GENLIST_PROGRAM_SOUND("elm.text.1");
88       GENLIST_PROGRAM_SOUND("elm.icon.0");
89           //GENLIST_PROGRAM_SOUND("elm.icon.1");
90           GENLIST_PROGRAM_SOUND("elm.icon.2");
91    }
92
93         group { GENLIST_NAME("dialogue/setting.multiline.text.2/default")
94       alias: "elm/layout/dialogue/setting.multiline.text.2";
95
96       GENLIST_PROLOG_DIALOGUE
97       data.item: "texts" "elm.text";
98
99
100       parts {
101          GENLIST_PART_BG_DIALOGUE
102          GENLIST_PART_BASE
103          GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT )
104          GENLIST_PART_PADDING_RIGHT_EDIT
105          GENLIST_PART_PADDING_TOP_SIZE(16)
106          GENLIST_PART_PADDING_BOTTOM_SIZE(16)
107
108          GENLIST_PART_TEXTBLOCK("elm.text",
109             GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom",
110                GENLIST_PARAM_LISTITEM_TB_WRAP
111                //min: 0 48;
112             )
113             GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB_WRAP
114          )
115          GENLIST_PART_FLIP
116          GENLIST_PART_FOCUS_DIALOGUE
117       }
118       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; )
119    }
120   group { GENLIST_NAME("setting.1text/default")
121       GENLIST_PROLOG_NORMAL
122
123       data.item: "texts" "elm.text";
124
125       parts {
126          GENLIST_PART_BASE
127          GENLIST_PART_BG_NORMAL
128          GENLIST_PART_BOTTOM_LINE
129          GENLIST_PART_PADDING_LEFT
130          GENLIST_PART_PADDING_RIGHT
131          GENLIST_PART_PADDING_TOP
132          GENLIST_PART_PADDING_BOTTOM
133
134          GENLIST_PART_LISTITEM_("elm.text", GENLIST_HEIGHT_1LINE,
135             "elm.padding.left", "elm.padding.right",
136             "elm.padding.top", "elm.padding.bottom",
137          )
138          GENLIST_PART_FLIP
139          GENLIST_PART_FOCUS_NORMAL
140       }
141       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; )
142       GENLIST_PROGRAM_SOUND("elm.text")
143    }
144
145    group { GENLIST_NAME("dialogue/setting.multiline.1text/default")
146       alias: "elm/layout/dialogue/setting.multiline.1text";
147       inherit: "elm/genlist/item/setting.1text/default";
148
149       // FIXME: temporary alias for back-wrad compatibility
150       alias: "elm/genlist/item/dialogue/1text/expandable2/default";
151       alias: "elm/genlist/item_odd/dialogue/1text/expandable2/default";
152       alias: "elm/genlist/item_compress/dialogue/1text/expandable2/default";
153       alias: "elm/genlist/item_compress_odd/dialogue/1text/expandable2/default";
154
155       data.item: "contents" "elm.icon.edit";
156       /*
157       alias: "elm/genlist/item/dialogue.1text/default";
158       alias: "elm/genlist/item_odd/dialogue.1text/default";
159       alias: "elm/genlist/item_compress/dialogue.1text/default";
160       alias: "elm/genlist/item_compress_odd/dialogue.1text/default";
161       */
162       GENLIST_DIALOGUE_INHERIT_BODY(
163          part { name: "elm.text";
164             description { state: "default" 0.0;
165                text.style: "genlist_style_list_main_text_unread_wrap";
166             }
167             description { state: "selected" 0.0;
168                text.style: "genlist_style_list_main_text_focus_wrap";
169             }
170             description { state: "disabled" 0.0;
171                text.style: "genlist_style_list_main_text_unread_dim_wrap";
172             }
173          }
174       )
175       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; )
176
177         }
178
179    group { GENLIST_NAME("setting/multiline/1text/popup/default");
180       alias: "elm/layout/multiline/1text/default";
181
182       // FIXME: name is not correct...
183       alias: "elm/layout/dialogue/multiline/1text/default";
184
185       data.item: "stacking" "above";
186       data.item: "selectraise" "on";
187       data.item: "texts" "elm.text";
188
189       parts {
190          GENLIST_PART_BASE
191          GENLIST_PART_BG_NORMAL_OFF
192          GENLIST_PART_PADDING_LEFT_SIZE(38)
193          GENLIST_PART_PADDING_RIGHT_SIZE(38)
194          GENLIST_PART_PADDING_TOP_SIZE(0)
195          GENLIST_PART_PADDING_BOTTOM_SIZE(0)
196
197          GENLIST_PART_DIALOGUE_GROUP_HELP_TEXT("elm.text",
198             "elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom",
199             min: 0 38;
200          )
201          GENLIST_PART_FLIP
202          /*GENLIST_PART_FOCUS_NORMAL*/
203       }
204       GENLIST_PROGRAM_DISABLED( target: "elm.text"; )
205       /*GENLIST_PROGRAM_FOCUS*/
206    }
207
208    group { GENLIST_NAME("1text.tb/default")
209       GENLIST_PROLOG_NORMAL
210
211       data.item: "texts" "elm.text";
212
213       parts {
214          GENLIST_PART_BASE
215          GENLIST_PART_BG_NORMAL
216          GENLIST_PART_BOTTOM_LINE
217          GENLIST_PART_PADDING_LEFT
218          GENLIST_PART_PADDING_RIGHT
219          GENLIST_PART_PADDING_TOP
220          GENLIST_PART_PADDING_BOTTOM
221
222          GENLIST_PART_LISTITEM_TB_("elm.text", GENLIST_HEIGHT_1LINE,
223             "elm.padding.left", "elm.padding.right",
224             "elm.padding.top", "elm.padding.bottom",
225          )
226          GENLIST_PART_FLIP
227          GENLIST_PART_FOCUS_NORMAL
228       }
229       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; )
230       GENLIST_PROGRAM_SOUND("elm.text")
231    }
232
233    group { GENLIST_NAME("dialogue/1text.tb/default")
234       alias: "elm/layout/dialogue/1text.tb";
235       inherit: "elm/genlist/item/1text.tb/default";
236
237       // FIXME: temporary alias for back-wrad compatibility
238       alias: "elm/genlist/item/dialogue/1text/expandable2/default";
239       alias: "elm/genlist/item_odd/dialogue/1text/expandable2/default";
240       alias: "elm/genlist/item_compress/dialogue/1text/expandable2/default";
241       alias: "elm/genlist/item_compress_odd/dialogue/1text/expandable2/default";
242
243       data.item: "contents" "elm.icon.edit";
244       /*
245       alias: "elm/genlist/item/dialogue.1text/default";
246       alias: "elm/genlist/item_odd/dialogue.1text/default";
247       alias: "elm/genlist/item_compress/dialogue.1text/default";
248       alias: "elm/genlist/item_compress_odd/dialogue.1text/default";
249       */
250       GENLIST_DIALOGUE_INHERIT_BODY(;)
251       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; )
252       GENLIST_PROGRAM_SOUND("elm.text")
253       }
254
255    group { GENLIST_NAME("dialogue/setting.2text.3icon.ps/default")
256       alias: "elm/layout/dialogue/setting.2text.3icon.ps";
257
258       GENLIST_PROLOG_DIALOGUE
259       data.item: "texts" "elm.text.1 elm.text.2";
260       data.item: "contents" "elm.icon.0 elm.icon.1 elm.icon.2";
261
262       parts {
263          GENLIST_PART_BG_DIALOGUE
264          GENLIST_PART_BASE
265          GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT )
266          GENLIST_PART_PADDING_RIGHT_EDIT
267          GENLIST_PART_PADDING_TOP_SIZE(16)
268          GENLIST_PART_PADDING_BOTTOM_SIZE(16)
269
270          GENLIST_PART_ICON_MEDIUM_L("elm.icon.0", "elm.padding.left")
271          GENLIST_PART_PADDING_L("elm.padding.icon0.right", "elm.icon.0")
272
273          GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
274             "elm.padding.icon0.right", "elm.text.2",
275             "elm.padding.top", "elm.padding.icon2.top",
276          )
277          GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_MAIN,
278             "elm.padding.icon1.left", "elm.padding.top", "elm.padding.icon2.top"
279          )
280          GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1")
281          GENLIST_PART_ICON_BTN_01_RTB("elm.icon.1",
282             "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
283          GENLIST_PART_PADDING_B_SIZE("elm.padding.icon2.top", "elm.icon.2", 10)
284          GENLIST_PART_ICON("elm.icon.2",
285             GENLIST_DESCRIPTION_LRB("elm.padding.icon0.right", "elm.padding.icon1.left", "elm.padding.bottom",
286
287             )
288          )
289          GENLIST_PART_FLIP
290          GENLIST_PART_FOCUS_DIALOGUE
291       }
292       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";
293          target: "elm.icon.0"; target: "elm.icon.1"; target: "elm.icon.2"; )
294       GENLIST_PROGRAM_SOUND("elm.text.1");
295       GENLIST_PROGRAM_SOUND("elm.text.2");
296           GENLIST_PROGRAM_SOUND("elm.icon.0");
297           GENLIST_PROGRAM_SOUND("elm.icon.1");
298           GENLIST_PROGRAM_SOUND("elm.icon.2");
299    }
300
301         group { GENLIST_NAME("setting.2text.1icon.4/default")
302       GENLIST_PROLOG_NORMAL
303       data.item: "texts" "elm.text.1 elm.text.2";
304       data.item: "contents" "elm.icon";
305
306       parts {
307                  //GENLIST_PART_BASE_SIZE(140)
308                  part { name: "base";
309             type: RECT;
310             mouse_events: 0;
311             scale: 1;
312             description { state: "default" 0.0;
313                color: 0 0 0 0;
314                min: 0 140;
315             }
316             description { state: "disabled" 0.0;
317                inherit: "default";
318             }
319          }
320          part { name: "state";
321             type: RECT;
322             mouse_events: 0;
323             scale: 1;
324             description { state: "default" 0.0;
325                color: 0 0 0 0;
326             }
327             description { state: "decorate" 0.0;
328                inherit: "default";
329             }
330             description { state: "reorder" 0.0;
331                inherit: "default";
332             }
333             description { state: "decorate_reorder" 0.0;
334                inherit: "default";
335             }
336          }
337
338          GENLIST_PART_BG_NORMAL
339          GENLIST_PART_BOTTOM_LINE
340          GENLIST_PART_PADDING_LEFT
341          GENLIST_PART_PADDING_RIGHT
342          GENLIST_PART_PADDING_TOP_SIZE(12)
343          GENLIST_PART_PADDING_BOTTOM_SIZE(12)
344
345         // GENLIST_PART_ICON_BIG_L("elm.icon", "elm.padding.left")
346                 GENLIST_PART_ICON("elm.icon",
347                         GENLIST_DESCRIPTION_L("elm.padding.left",
348                         fixed: 1 1;
349                         min: 35 116;
350                         max: 35 116;
351                         )
352                 )
353
354          GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon")
355          GENLIST_PART_LISTITEM_("elm.text.1", 54,
356             "elm.padding.icon.right", "elm.padding.right",
357             "elm.padding.top", "elm.text.2",)
358          GENLIST_PART_SUBITEM_LRB("elm.text.2", 46,
359             "elm.padding.icon.right", "elm.padding.right", "elm.padding.bottom")
360          GENLIST_PART_FLIP
361          GENLIST_PART_FOCUS_NORMAL
362       }
363       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
364          target: "elm.icon"; )
365       GENLIST_PROGRAM_SOUND("elm.text.1")
366       GENLIST_PROGRAM_SOUND("elm.text.2")
367    }
368
369         group { GENLIST_NAME("setting.2text.1icon.8/default")
370       inherit: "elm/genlist/item/setting.2text.1icon.4/default";
371
372       parts {
373          part { name: "elm.text.2";
374             description { state: "default" 0.0;
375                color: GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR;
376             }
377             GENLIST_DESCRIPTION_SUBITEM_SETTINGS_OTHERS
378          }
379       }
380    }
381
382    group { GENLIST_NAME("dialogue/setting.2text.1icon.3/default")
383       alias: "elm/layout/dialogue/setting.2text.1icon.3";
384       inherit: "elm/genlist/item/setting.2text.1icon.8/default";
385
386       data.item: "contents" "elm.icon elm.icon.edit";
387
388       GENLIST_DIALOGUE_INHERIT_BODY( ; )
389       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; )
390    }
391
392
393    group { GENLIST_NAME("setting.1text.2icon/default")
394       GENLIST_PROLOG_NORMAL
395       data.item: "texts" "elm.text";
396       data.item: "contents" "elm.icon.1 elm.icon.2";
397
398       parts {
399          //GENLIST_PART_BASE
400                  part { name: "base";
401             type: RECT;
402             mouse_events: 0;
403             scale: 1;
404             description { state: "default" 0.0;
405                color: 0 0 0 0;
406                min: 0 0;
407             }
408             description { state: "disabled" 0.0;
409                inherit: "default";
410             }
411          }
412          part { name: "state";
413             type: RECT;
414             mouse_events: 0;
415             scale: 1;
416             description { state: "default" 0.0;
417                color: 0 0 0 0;
418             }
419             description { state: "decorate" 0.0;
420                inherit: "default";
421             }
422             description { state: "reorder" 0.0;
423                inherit: "default";
424             }
425             description { state: "decorate_reorder" 0.0;
426                inherit: "default";
427             }
428          }
429
430          GENLIST_PART_BG_NORMAL
431          GENLIST_PART_BOTTOM_LINE
432          GENLIST_PART_PADDING_LEFT
433          GENLIST_PART_PADDING_RIGHT
434          GENLIST_PART_PADDING_TOP
435          GENLIST_PART_PADDING_BOTTOM
436
437          //GENLIST_PART_ICON_MEDIUM_L( "elm.icon.1", "elm.padding.left")
438          GENLIST_PART_ICON("elm.icon.1",
439             GENLIST_DESCRIPTION_LTB("elm.padding.left", "elm.padding.top", "elm.padding.bottom",
440                 min: 64 64;
441                 max: 64 64;
442                 fixed: 1 1;
443             )
444          )
445          GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
446          GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE, "elm.padding.icon1.right", "elm.padding.icon2.left",)
447          GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
448          GENLIST_PART_ICON_BTN_01_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
449
450
451         //bottom line missed problem
452         part { name: "bottom_line_";
453             type: RECT;
454             mouse_events: 0;
455             description { state: "default" 0.0;
456                     min: 0 0;
457                     max: -1 1;
458                     visible: 1;
459                     color: 64 64 64 255;
460
461                     rel1 { relative: 0.0 0.0; to: "bottom_line"; offset: 20 0;}
462                     rel2 { relative: 1.0 1.0; to: "bottom_line"; offset: -20 0;}
463             }
464         }
465          GENLIST_PART_FLIP
466          GENLIST_PART_FOCUS_NORMAL
467       }
468       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; )
469    }
470
471    group { GENLIST_NAME("setting.1text.2icon.7/default")
472       inherit: "elm/genlist/item/setting.1text.2icon/default";
473
474       parts {
475          GENLIST_PART_ICON_BTN_ONOFF_R("elm.icon.2", "elm.padding.right")
476       }
477    }
478
479    group { GENLIST_NAME("setting.1text.2icon.divider/default")
480       inherit: "elm/genlist/item/setting.1text.2icon.7/default";
481
482       parts {
483          GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE,
484             "elm.padding.icon1.right", "elm.divider1",
485          )
486          GENLIST_PART_DIVIDER_R("elm.padding.icon2.left")
487          GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
488       }
489    }
490
491
492 #define GENLIST_PART_DIALOGUE_GROUP_DIVIDER_R(RIGHT) \
493            GENLIST_PART_DIVIDER_PADDING \
494            GENLIST_PART_RECT("elm.divider1", \
495               mouse_events: 0; \
496               GENLIST_DESCRIPTION_RTB("elm.divider2", "elm.padding.divider.top", "elm.padding.divider.bottom", \
497                  min: 1 0; \
498                  max: 1 -1; \
499                  fixed: 1 0; \
500                  rel1.offset: -1 0;\
501                  color: GENLIST_DIALOGUE_GROUP_DIVIDER1_COLOR; \
502               ) \
503            ) \
504            GENLIST_PART_RECT("elm.divider2", \
505               mouse_events: 0; \
506               GENLIST_DESCRIPTION_RTB(RIGHT, "elm.padding.divider.top", "elm.padding.divider.bottom", \
507                  min: 1 0; \
508                  max: 1 -1; \
509                  fixed: 1 0; \
510                  rel1.offset: -1 0;\
511                  color: GENLIST_DIALOGUE_GROUP_DIVIDER2_COLOR; \
512               ) \
513            )
514
515    group { GENLIST_NAME("dialogue/setting.1text.2icon.divider/default")
516       alias: "elm/layout/dialogue/setting.1text.2icon.divider";
517       inherit: "elm/genlist/item/setting.1text.2icon.divider/default";
518
519       data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.edit";
520
521       GENLIST_DIALOGUE_INHERIT_BODY(;)
522       parts {
523          GENLIST_PART_DIALOGUE_GROUP_DIVIDER_R("elm.padding.icon2.left")
524       }
525       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon.1";  target: "elm.icon.2";
526          target: "elm.divider1"; target: "elm.divider2";
527       )
528           GENLIST_PROGRAM_SOUND("elm.text")
529    }
530
531         group { GENLIST_NAME("dialogue/datausage.2text.2icon.4/default")
532       alias: "elm/layout/dialogue/datausage.2text.2icon.4";
533
534       GENLIST_PROLOG_DIALOGUE
535       data.item: "texts" "elm.text.1 elm.text.2";
536       data.item: "contents" "elm.icon.1 elm.icon.2";
537
538       parts {
539          GENLIST_PART_BG_DIALOGUE
540          GENLIST_PART_BASE_SIZE(140)
541          GENLIST_PART_PADDING_LEFT_SIZE( DIALOGUE_PADDING_SIZE_LEFT )
542          GENLIST_PART_PADDING_RIGHT_EDIT
543          GENLIST_PART_PADDING_TOP_SIZE(22)
544          GENLIST_PART_PADDING_BOTTOM_SIZE(28)
545
546                  //GENLIST_PART_ICON_MEDIUM_L( "elm.icon.1", "elm.padding.left")
547                  GENLIST_PART_ICON("elm.icon.1",
548              GENLIST_DESCRIPTION_LTB("elm.padding.left", "elm.padding.top", "elm.padding.bottom",
549                          min: 74 74;
550                          max: 74 74;
551                          fixed: 1 1;
552                          )
553                  )
554                 GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
555          GENLIST_PART_LISTITEM_("elm.text.1", GENLIST_HEIGHT_2LINE_MAIN,
556             "elm.padding.icon1.right", "elm.text.2",
557             "elm.padding.top", "elm.padding.icon2.top",
558          )
559          GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_MAIN,
560             "elm.padding.right", "elm.padding.top", "elm.padding.icon2.top"
561          )
562          GENLIST_PART_PADDING_B_SIZE("elm.padding.icon2.top", "elm.icon.2", 10)
563          GENLIST_PART_ICON("elm.icon.2",
564             GENLIST_DESCRIPTION_LRB("elm.padding.icon1.right", "elm.padding.right", "elm.padding.bottom",
565                min: 0 27;
566                fixed: 0 1;
567             )
568          )
569          GENLIST_PART_FLIP
570          GENLIST_PART_FOCUS_DIALOGUE
571       }
572       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";
573          target: "elm.icon.1"; target: "elm.icon.2"; )
574       GENLIST_PROGRAM_SOUND("elm.text.1");
575           GENLIST_PROGRAM_SOUND("elm.text.2");
576           GENLIST_PROGRAM_SOUND("elm.icon.1");
577           GENLIST_PROGRAM_SOUND("elm.icon.2");
578    }
579         group { GENLIST_NAME("setting.1text.2icon.tb/default")
580            GENLIST_PROLOG_NORMAL
581            data.item: "texts" "elm.text";
582            data.item: "contents" "elm.icon.1 elm.icon.2";
583
584            parts {
585               GENLIST_PART_BASE
586               GENLIST_PART_BG_NORMAL
587               GENLIST_PART_BOTTOM_LINE
588               GENLIST_PART_PADDING_LEFT
589               GENLIST_PART_PADDING_RIGHT
590               GENLIST_PART_PADDING_TOP
591               GENLIST_PART_PADDING_BOTTOM
592
593               GENLIST_PART_ICON_MEDIUM_L( "elm.icon.1", "elm.padding.left")
594               GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")
595               GENLIST_PART_LISTITEM_LR_TB("elm.text", GENLIST_HEIGHT_1LINE, "elm.padding.icon1.right", "elm.padding.icon2.left",)
596               GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
597               GENLIST_PART_ICON_BTN_01_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
598               GENLIST_PART_FLIP
599               GENLIST_PART_FOCUS_NORMAL
600            }
601            GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; )
602         }
603
604         group { GENLIST_NAME("setting.1text.2icon.4.tb/default")
605            inherit: "elm/genlist/item/setting.1text.2icon.tb/default";
606
607            parts {
608               GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")
609               GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
610            }
611         }
612
613         group { GENLIST_NAME("dialogue/setting.1text.2icon.4.tb/default")
614                 alias: "elm/layout/dialogue/setting.1text.2icon.4.tb";
615                 inherit: "elm/genlist/item/setting.1text.2icon.4.tb/default";
616
617                 data.item: "contents" "elm.icon.1 elm.icon.2";
618
619                 GENLIST_DIALOGUE_INHERIT_BODY( ; )
620                 GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; )
621         }
622         group { GENLIST_NAME("dialogue/setting.1text.2icon.4.divider.tb/default")
623                 alias: "elm/layout/dialogue/setting.1text.2icon.4.divider.tb";
624                 inherit: "elm/genlist/item/setting.1text.2icon.4.tb/default";
625
626                 data.item: "contents" "elm.icon.1 elm.icon.2";
627
628                 GENLIST_DIALOGUE_INHERIT_BODY( ; )
629                 parts {
630                         part { name: "elm.divider";
631                            scale: 1;
632                            type: RECT;
633                            description { state: "default" 0.0;
634                               align: 1 0.5;
635                               rel1 { relative: 0.0 0.13; offset: -19 0; to: "elm.icon.2"; }
636                               rel2 { relative: 0.0 0.87; offset: -18 0; to: "elm.icon.2"; }
637                               color: GENLIST_DIALOGUE_GROUP_DIVIDER1_COLOR;
638                            }
639
640                            description { state: "fadeout" 0.0;
641                               inherit: "default" 0.0;
642                               color: 255 255 255 10;
643                            }
644                            description { state: "fadein" 0.0;
645                               inherit: "default" 0.0;
646                            }
647                         }
648                 }
649                 GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; )
650         }
651
652         group { GENLIST_NAME("dialogue/group/expandable/default")
653
654            // FIXME: deprecated, only for backward compatibility
655            alias: "elm/genlist/tree/dialogue/group/expandable2/default";
656            alias: "elm/genlist/tree_odd/dialogue/group/expandable2/default";
657            alias: "elm/genlist/tree_compress/dialogue/group/expandable2/default";
658            alias: "elm/genlist/tree_compress_odd/dialogue/group/expandable2/default";
659
660            GENLIST_PROLOG_DIALOGUE
661            data.item: "texts" "elm.text";
662
663            GENLIST_IMAGES_EXPANDABLE_BTN
664            parts {
665               GENLIST_PART_BASE
666               GENLIST_PART_BG_DIALOGUE
667               GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT)
668               GENLIST_PART_PADDING_TOP_SIZE(GENLIST_PADDING_SIZE_TOP)
669               GENLIST_PART_PADDING_BOTTOM_SIZE(GENLIST_PADDING_SIZE_BOTTOM)
670               GENLIST_PART_PADDING_RIGHT_EDIT
671               part {
672                         name: "bg_color";
673                         type: RECT;
674                         repeat_events: 1;
675                         scale: 1;
676                         description
677                         {
678                                 state: "default" 0.0;
679                         align: 0.5 0.5;
680                         rel1 { relative: 0.0 0.0; offset: 0 0;}
681                         rel2 { relative: 1.0 1.0; offset: 0 -2;}
682                         color_class:"B041P";
683                         }
684                 }
685
686               GENLIST_PART_LISTITEM("elm.text",
687                  GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.arrow.left",
688                     "elm.padding.top", "elm.padding.bottom",
689                     min: 0 61;
690                     GENLIST_PARAM_LISTITEM
691                  )
692               )
693               GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow")
694               GENLIST_PART_EXPANDABLE_ARROW
695               GENLIST_PART_FLIP
696               GENLIST_PART_FOCUS_DIALOGUE
697            }
698            GENLIST_PROGRAMS_DIALOGUE( target: "elm.text";)
699            programs {
700               GENLIST_PROGRAM_SELECT_ARROW
701               GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
702            }
703         }
704         group { name: "elm/genlist/item/bottom_line/default";
705            parts {
706                    part { name: "bg";
707                       scale: 1;
708                       type: RECT;
709                            description { state: "default" 0.0;
710                               color_class: "W021L2";
711                               //color: 200 0 0 255;
712                               min: 0 1;
713                               max: -1 1;
714                            }
715                    }
716            }
717         }
718 }
719
720
721
722
723
724