2 * Copyright 2012 Samsung Electronics Co., Ltd
\r
4 * Licensed under the Flora License, Version 1.0 (the "License");
\r
5 * you may not use this file except in compliance with the License.
\r
6 * You may obtain a copy of the License at
\r
8 * http://floralicense.org/license/
\r
10 * Unless required by applicable law or agreed to in writing, software
\r
11 * distributed under the License is distributed on an "AS IS" BASIS,
\r
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
13 * See the License for the specific language governing permissions and
\r
14 * limitations under the License.
\r
17 #define GENLIST_BTN_01_HEIGHT 74
\r
18 #define GENLIST_PADDING_SIZE_DEFAULT 16
\r
19 #define GENLIST_PADDING_SIZE_LEFT 16
\r
20 #define GENLIST_PADDING_SIZE_RIGHT 16
\r
21 #define GENLIST_PADDING_SIZE_TOP 20
\r
22 #define GENLIST_PADDING_SIZE_BOTTOM 32
\r
23 #define GENLIST_LIST_BG_COLOR 248 246 239 255
\r
26 #define GENLIST_PART_BASE \
\r
27 part { name: "base"; \
\r
31 description { state: "default" 0.0; \
\r
37 #define GENLIST_PART_BG_IMAGE \
\r
38 part { name: "bg_image_depth_clip"; \
\r
42 description { state: "default" 0.0; \
\r
46 part { name: "bg_image"; \
\r
50 description { state: "default" 0.0; \
\r
51 color: GENLIST_LIST_BG_COLOR; \
\r
55 #define GENLIST_PART_SPACER(NAME, DESCRIPION) \
\r
56 part { name: NAME; \
\r
63 #define GENLIST_PART_PADDING_LEFT \
\r
64 GENLIST_PART_SPACER("elm.padding.left", \
\r
65 description { state: "default" 0.0; \
\r
66 min: GENLIST_PADDING_SIZE_LEFT 0; \
\r
67 max: GENLIST_PADDING_SIZE_LEFT -1; \
\r
72 rel1.relative: 0 0; \
\r
73 rel2.relative: 0 1; \
\r
75 description { state: "decorate" 0.0; \
\r
76 inherit: "default" 0.0; \
\r
82 #define GENLIST_PART_PADDING_RIGHT \
\r
83 GENLIST_PART_SPACER("elm.padding.right", \
\r
84 description { state: "default" 0.0; \
\r
85 min: GENLIST_PADDING_SIZE_RIGHT 0; \
\r
86 max: GENLIST_PADDING_SIZE_RIGHT -1; \
\r
91 rel1.relative: 1 0; \
\r
92 rel2.relative: 1 1; \
\r
94 description { state: "decorate" 0.0; \
\r
95 inherit: "default" 0.0; \
\r
101 #define GENLIST_PART_PADDING_TOP \
\r
102 GENLIST_PART_SPACER("elm.padding.top", \
\r
104 state: "default" 0.0; \
\r
105 min: 0 GENLIST_PADDING_SIZE_TOP; \
\r
106 max: -1 GENLIST_PADDING_SIZE_TOP; \
\r
110 rel2.relative: 1.0 0.0; \
\r
115 #define GENLIST_PART_PADDING_BOTTOM \
\r
116 GENLIST_PART_SPACER("elm.padding.bottom", \
\r
117 description { state: "default" 0.0; \
\r
118 min: 0 GENLIST_PADDING_SIZE_BOTTOM; \
\r
119 max: -1 GENLIST_PADDING_SIZE_BOTTOM; \
\r
123 rel1.relative: 0.0 1.0; \
\r
128 #define GENLIST_PART_PADDING( NAME, SIZE, REL1, REL2 ) \
\r
129 GENLIST_PART_SPACER(NAME, \
\r
130 description { state: "default" 0.0; \
\r
146 #define GENLIST_DESCRIPTION_LRTB( left, right, top, bottom, param ) \
\r
147 description { state: "default" 0.0;\
\r
162 #define GENLIST_PART_ICON(NAME, DESCRIPION) \
\r
163 part { name: NAME; \
\r
171 name: "mgr-app-list";
\r
173 /* for transparency */
\r
180 state: "default" 0.0;
\r
185 name: "elm.swallow.content.genlist";
\r
188 state: "default" 0.0;
\r
189 rel1 { relative: 0.0 0.0;}
\r
190 rel2 { relative: 1.0 1.0;}
\r
195 name: "elm.swallow.content.index";
\r
198 state: "default" 0.0;
\r
199 rel1 { to: "elm.swallow.content.genlist"; }
\r
200 rel2 { to: "elm.swallow.content.genlist"; }
\r
207 group { name: "elm/genlist/item/mode/slide2/custom/default";
\r
208 alias: "elm/genlist/item_odd/mode/slide2/custom/default";
\r
209 alias: "elm/genlist/item_compress/mode/slide2/custom/default";
\r
210 alias: "elm/genlist/item_compress_odd/mode/slide2/custom/default";
\r
211 data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2";
\r
214 GENLIST_PART_BG_IMAGE
\r
216 GENLIST_PART_PADDING_LEFT
\r
217 GENLIST_PART_PADDING_RIGHT
\r
218 GENLIST_PART_PADDING_TOP
\r
219 GENLIST_PART_PADDING_BOTTOM
\r
221 GENLIST_PART_ICON("elm.slide.swallow.2",
\r
222 insert_before: "elm.slide.swallow.1";
\r
223 GENLIST_DESCRIPTION_LRTB( "elm.padding.center", "elm.padding.right", "elm.padding.top", "elm.padding.bottom",
\r
224 min: 0 GENLIST_BTN_01_HEIGHT;
\r
225 max: -1 GENLIST_BTN_01_HEIGHT; )
\r
228 GENLIST_PART_PADDING("elm.padding.center", GENLIST_PADDING_SIZE_DEFAULT, 0.5 0, 0.5 1)
\r
230 GENLIST_PART_ICON("elm.slide.swallow.1",
\r
231 GENLIST_DESCRIPTION_LRTB( "elm.padding.left", "elm.padding.center", "elm.padding.top", "elm.padding.bottom",
\r
232 min: 0 GENLIST_BTN_01_HEIGHT;
\r
233 max: -1 GENLIST_BTN_01_HEIGHT; )
\r