tizen 2.4 release
[apps/home/ug-lockscreen-setting-efl.git] / ug-lockscreen-setting-efl / res / edje / lockscreen-options-theme / lockscreen-options-theme-macro.edc
1 /*
2  * Copyright (c) 2009 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
3  *
4  * Licensed under the Apache License, Version 2.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
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  *
16  */
17
18
19 #define BEAT_GENLIST_MUSIC_PLAYER_PART_BASE( param_item_height ) \
20          part { name: "base"; \
21             type: RECT; \
22             repeat_events: 1; \
23             scale: 1; \
24             description { state: "default" 0.0; \
25                min: 0 param_item_height; \
26                color: 0 0 0 0; \
27             } \
28          }
29
30 #define BEAT_GENLIST_PART_BG_IMAGE \
31          part { name: "bg_image"; \
32             type: RECT; \
33             clip_to: "disclip"; \
34             mouse_events: 0; \
35             description { state: "default" 0.0; \
36                visible: 0; \
37                color: 87 135 194 255; \
38             } \
39             description { state: "selected" 0.0; \
40                inherit: "default" 0.0; \
41                visible: 1; \
42             } \
43          }
44
45 #define BEAT_GENLIST_MUSIC_PLAYER_PART_BOTTOM_LINE \
46          part { name: "bottom_line"; \
47             type: RECT; \
48             clip_to: "disclip"; \
49             mouse_events: 0; \
50             description { state: "default" 0.0; \
51                min: 0 1; \
52                fixed: 0 1; \
53                visible: 1; \
54                color: 65 65 65 255; \
55                rel1 { \
56                   relative: 0.0 1.0; \
57                   offset: 0 -1; \
58                } \
59             } \
60          }
61
62 #define BEAT_GENLIST_PART_BOTTOM_LINE_APLPHA \
63          part { name: "bottom_line"; \
64             type: RECT; \
65             clip_to: "disclip"; \
66             mouse_events: 0; \
67             description { state: "default" 0.0; \
68                min: 0 1; \
69                fixed: 0 1; \
70                visible: 1; \
71                color: 0 0 0 0; \
72                rel1 { \
73                   relative: 0.0 1.0; \
74                   offset: 0 -1; \
75                } \
76             } \
77          }
78
79 #define BEAT_GENLIST_PART_BOTTOM_LINE \
80          part { name: "bottom_line"; \
81             type: RECT; \
82             clip_to: "disclip"; \
83             mouse_events: 0; \
84             description { state: "default" 0.0; \
85                min: 0 1; \
86                fixed: 0 1; \
87                visible: 1; \
88                color: 212 212 212 255; \
89                rel1 { \
90                   relative: 0.0 1.0; \
91                   offset: 0 -1; \
92                } \
93             } \
94          }
95 #define BEAT_GENLIST_PART_PADDING_TOP( param_padding_size ) \
96        part { name: "elm.padding.top"; \
97             type: RECT; \
98             scale: 1; \
99             description { \
100                state: "default" 0.0; \
101                min: 0 param_padding_size; \
102                fixed: 0 1; \
103                visible: 0; \
104                rel2.relative: 1.0 0.0; \
105                align: 0.0 0.0; \
106             } \
107          }
108
109 #define BEAT_GENLIST_PART_PADDING_TEXT_TOP( param_padding_size ) \
110        part { name: "elm.padding.text.top"; \
111             type: RECT; \
112             scale: 1; \
113             description { \
114                state: "default" 0.0; \
115                min: 0 param_padding_size; \
116                fixed: 0 1; \
117                visible: 0; \
118                rel2.relative: 1.0 0.0; \
119                align: 0.0 0.0; \
120             } \
121          }
122
123 #define BEAT_GENLIST_PART_PADDING_BOTTOM( param_padding_size ) \
124        part { name: "elm.padding.bottom"; \
125             type: RECT; \
126             scale: 1; \
127             description { \
128                state: "default" 0.0; \
129                min: 0 param_padding_size; \
130                fixed: 0 1; \
131                visible: 0; \
132                rel1.relative: 0.0 1.0; \
133                align: 0.0 1.0; \
134             } \
135          }
136
137 #define BEAT_GENLIST_PART_PADDING_LEFT( param_padding_size ) \
138          part { name: "elm.padding.left"; \
139             type: RECT; \
140             scale: 1; \
141             description { \
142                state: "default" 0.0; \
143                min: param_padding_size 0; \
144                fixed: 1 0; \
145                visible: 0; \
146                rel2.relative: 0.0 1.0; \
147                align: 0.0 0.0; \
148             } \
149          }
150
151 #define BEAT_GENLIST_PART_PADDING_RIGHT( param_padding_size ) \
152        part { name: "elm.padding.right"; \
153             type: RECT; \
154             scale: 1; \
155             description { state: "default" 0.0; \
156                min: param_padding_size 0; \
157                fixed: 1 0; \
158                visible: 0; \
159                rel1.relative: 1.0  0.0; \
160                align: 1.0 0.0; \
161             } \
162          }
163
164 #define BEAT_GENLIST_PART_DISCLIP \
165         part { name: "disclip"; \
166             type: RECT; \
167             description { state: "default" 0.0; \
168                rel1.to: "base"; \
169                rel2.to: "base"; \
170             } \
171             description { state: "disabled" 0.0; \
172                inherit: "default" 0.0; \
173                color: 255 255 255 64; \
174             } \
175          }