Updating license in spec file
[pkgs/u/ug-calendar-picker.git] / ug-calendar-picker-efl_macro.edc
1 /*
2   * Copyright 2012  Samsung Electronics Co., Ltd
3   *
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
7   *
8   *    http://www.tizenopensource.org/license
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 #define PADDING(title, w, h, fixed_w, fixed_h, align_w, align_h, l, t, r, b, rel1_to, rel2_to) \
18                 part { name: title; \
19                         type: RECT; \
20                         scale: 1; \
21                         description { \
22                                 state: "default" 0.0; \
23                                 visible: 1; \
24                                 min: w h; \
25                                 max: w h; \
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; } \
30                                         color: 255 5 5 255; \
31                         } \
32                 }
33
34 #define BEAT_GENLIST_PART_BASE( param_item_height ) \
35          part { name: "base"; \
36             type: RECT; \
37             repeat_events: 1; \
38             scale: 1; \
39             description { state: "default" 0.0; \
40                min: 0 param_item_height; \
41                color: 0 0 0 0; \
42             } \
43          }
44
45 #define BEAT_GENLIST_PART_BG_IMAGE \
46          part { name: "bg_image"; \
47             clip_to: "disclip"; \
48             mouse_events: 0; \
49             description { state: "default" 0.0; \
50                visible: 0; \
51                image.normal: "images/00_list_bar_press_1x80.png"; \
52             } \
53             description { state: "selected" 0.0; \
54                inherit: "default" 0.0; \
55                visible: 1; \
56             } \
57          }
58
59 #define BEAT_GENLIST_PART_BOTTOM_LINE \
60          part { name: "bottom_line"; \
61             type: RECT; \
62             clip_to: "disclip"; \
63             mouse_events: 0; \
64             description { state: "default" 0.0; \
65                min: 0 1; \
66                fixed: 0 1; \
67                visible: 1; \
68                color: 104 97 92 255; \
69                rel1 { \
70                   relative: 0.0 1.0; \
71                   offset: 0 -1; \
72                } \
73             } \
74          }
75
76 #define BEAT_GENLIST_PART_PADDING_LEFT( param_padding_size ) \
77          part { name: "elm.padding.left"; \
78             type: RECT; \
79             scale: 1; \
80             description { state: "default" 0.0; \
81                min: param_padding_size 0; \
82                fixed: 1 0; \
83                visible: 0; \
84                rel2.relative: 0.0 1.0; \
85                align: 0.0 0.0; \
86             } \
87          }
88
89 #define BEAT_GENLIST_PART_PADDING_RIGHT( param_padding_size ) \
90        part { name: "elm.padding.right"; \
91             type: RECT; \
92             scale: 1; \
93             description { state: "default" 0.0; \
94                min: param_padding_size 0; \
95                fixed: 1 0; \
96                visible: 0; \
97                rel1.relative: 1.0  0.0; \
98                align: 1.0 0.0; \
99             } \
100          }
101
102 #define BEAT_GENLIST_PART_DISCLIP \
103         part { name: "disclip"; \
104             type: RECT; \
105             description { state: "default" 0.0; \
106             } \
107             description { state: "disabled" 0.0; \
108                inherit: "default" 0.0; \
109                color: 255 255 255 64; \
110             } \
111          }