2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.tizenopensource.org/license
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #define PADDING(title, w, h, fixed_w, fixed_h, align_w, align_h, l, t, r, b, rel1_to, rel2_to) \
22 state: "default" 0.0; \
26 fixed: fixed_w fixed_h; \
27 align: align_w align_h; \
28 rel1 { relative: l t; to: rel1_to; } \
29 rel2 { relative: r b; to: rel2_to; } \
34 #define BEAT_GENLIST_PART_BASE( param_item_height ) \
35 part { name: "base"; \
39 description { state: "default" 0.0; \
40 min: 0 param_item_height; \
45 #define BEAT_GENLIST_PART_BG_IMAGE \
46 part { name: "bg_image"; \
49 description { state: "default" 0.0; \
51 image.normal: "images/00_list_bar_press_1x80.png"; \
53 description { state: "selected" 0.0; \
54 inherit: "default" 0.0; \
59 #define BEAT_GENLIST_PART_BOTTOM_LINE \
60 part { name: "bottom_line"; \
64 description { state: "default" 0.0; \
68 color: 104 97 92 255; \
76 #define BEAT_GENLIST_PART_PADDING_LEFT( param_padding_size ) \
77 part { name: "elm.padding.left"; \
80 description { state: "default" 0.0; \
81 min: param_padding_size 0; \
84 rel2.relative: 0.0 1.0; \
89 #define BEAT_GENLIST_PART_PADDING_RIGHT( param_padding_size ) \
90 part { name: "elm.padding.right"; \
93 description { state: "default" 0.0; \
94 min: param_padding_size 0; \
97 rel1.relative: 1.0 0.0; \
102 #define BEAT_GENLIST_PART_DISCLIP \
103 part { name: "disclip"; \
105 description { state: "default" 0.0; \
107 description { state: "disabled" 0.0; \
108 inherit: "default" 0.0; \
109 color: 255 255 255 64; \