tizen 2.3.1 release
[apps/home/b2-clocksetting.git] / data / changeable / groups / genlist_setting.edc
1 /*
2  * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
5  *
6  * Redistribution and use in source and binary forms, with or without
7  * modification, are permitted provided that the following conditions are met:
8  *
9  *   1. Redistributions of source code must retain the above copyright notice, this
10  *      list of conditions and the following disclaimer.
11  *   2. Redistributions in binary form must reproduce the above copyright notice,
12  *      this list of conditions and the following disclaimer in the documentation
13  *      and/or other materials provided with the distribution.
14  *
15  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
19  * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25  */
26
27 /*
28  * vim:ts=3
29 */
30 #include "HVGA-inc.edc"
31 #include "genlist_macro.edc"
32
33 group { name: "elm/genlist/item/multiline.2text.1icon/default";
34
35    PROLOG_LIST
36    data.item: "texts" "elm.text.1 elm.text.2";
37    data.item: "contents" "elm.swallow.colorbar elm.icon";
38
39    parts {
40       PART_LIST_BG
41       PART_LIST_PADDINGS(
42          LIST_PADDING_LEFT_SIZE, LIST_PADDING_R_ICON_RIGHT_SIZE,
43          LIST_2LINE_PADDING_TOP_SIZE, LIST_2LINE_PADDING_BOTTOM_SIZE
44       )
45       PART_LIST_BOTTOMLINE
46       PART(TEXTBLOCK, "elm.text.1",
47          DESC_LRTB("elm.padding.left", "elm.padding.icon.left", "elm.padding.top", "elm.padding.text1.bottom",
48             min: 0 0;
49             fixed: 1 0;
50             PARAM_TEXT("list_text_main_normal",)
51          ) DESCRIPIONS_TEXT("list_text_main_dim", "list_text_main_press")
52       )
53           PART(SPACER, "elm.padding.text1.bottom",
54                  DESC_T("elm.text.1",
55                    min: 0 4; max: -1 4;
56                  )
57           )
58       PART(TEXTBLOCK, "elm.text.2",
59          DESC_LRTB("elm.padding.left", "elm.padding.icon.left", "elm.padding.text1.bottom", "elm.padding.bottom",
60             min: 0 0;
61             fixed: 1 0;
62             PARAM_TEXT("list_text_sub_multiline_normal",)
63          ) DESCRIPIONS_TEXT("list_text_sub_multiline_dim", "list_text_sub_multiline_press")
64       )
65       PART(SPACER, "elm.padding.icon.left",
66          DESC_R("elm.icon",
67             min: LIST_PADDING_R_ICON_DEFAULT_SIZE 0;  max: LIST_PADDING_R_ICON_DEFAULT_SIZE -1;
68          )
69       )
70       PART(SWALLOW, "elm.icon",
71          DESC_RTB("elm.padding.right", "elm.padding.top", "elm.padding.bottom",
72          )
73       )
74    }
75    PROGRAMS_LIST( target: "elm.text.1"; target: "elm.text.2";
76       target: "elm.icon"; )
77 }
78