fd824be2f535fa52de1d956b50aec20c6e916107
[framework/uifw/elementary.git] / data / themes / widgets / colorselector.edc
1 group { name: "elm/colorselector/bg/default";
2    parts {
3       part { name: "elm.colorbar_0";
4          type: SWALLOW;
5          mouse_events: 1;
6          description { state: "default" 0.0;
7             min: 120 30;
8             rel1.relative: 0.0 0.00653594771;
9             rel2.relative: 1.0 0.254901961;
10          }
11       }
12       part { name: "elm.colorbar_1";
13          type: SWALLOW;
14          mouse_events: 1;
15          description { state: "default" 0.0;
16             min: 120 30;
17             rel1.relative: 0.0 0.254901961;
18             rel2.relative: 1.0 0.503267974;
19          }
20       }
21       part { name: "elm.colorbar_2";
22          type: SWALLOW;
23          mouse_events: 1;
24          description { state: "default" 0.0;
25             min: 120 30;
26             rel1.relative: 0.0 0.503267974;
27             rel2.relative: 1.0 0.751633987;
28          }
29       }
30       part { name: "elm.colorbar_3";
31          type: SWALLOW;
32          mouse_events: 1;
33          description { state: "default" 0.0;
34             min: 120 30;
35             rel1.relative: 0.0 0.751633987;
36             rel2.relative: 1.0 1.0;
37          }
38       }
39    }
40 }
41
42 group { name: "elm/colorselector/base/default";
43    parts {
44       part { name: "elm.bar_bg";
45          type: SWALLOW;
46          mouse_events: 0;
47          description { state: "default" 0.0;
48             min: 60 22;
49             rel1 {
50                relative: 0.0 0.8;
51                to_x: "elm.arrow_bg";
52                to_y: "elm.arrow_icon";
53                offset: 0 0;
54             }
55             rel2 {
56                relative: 1.0 0.83;
57                to_x: "elm.arrow_bg";
58                offset: 0 0;
59             }
60          }
61       }
62       part { name: "elm.bar";
63          type: SWALLOW;
64          mouse_events: 0;
65          description { state: "default" 0.0;
66             rel1.to: "elm.bar_bg";
67             rel2.to: "elm.bar_bg";
68          }
69       }
70       part { name: "elm.arrow_bg";
71          type: SWALLOW;
72          mouse_events: 1;
73          description { state: "default" 0.0;
74             rel1 {
75                relative: 1.0 0.17;
76                offset: 3 0;
77                to_x: "elm.l_button";
78             }
79             rel2 {
80                relative: 0.0 0.83;
81                offset: -4 0;
82                to_x: "elm.r_button";
83             }
84          }
85       }
86       part { name: "elm.arrow";
87          type: RECT;
88          mouse_events: 1;
89          scale: 1;
90          description { state: "default" 0.0;
91             min: 1 1;
92             fixed: 1 1;
93             align: 0 0;
94             rel1 {
95                to_x: "elm.arrow_bg";
96             }
97             rel2 {
98                relative: 0.0 0.17;
99                to_x: "elm.arrow_bg";
100             }
101             color: 0 0 0 0;
102             visible: 0;
103          }
104          dragable {
105             confine: "elm.arrow_bg";
106             x: 1 1 0;
107             y: 0 0 0;
108          }
109       }
110       part { name: "elm.arrow_icon";
111          type: SWALLOW;
112          mouse_events: 0;
113          description { state: "default" 0.0;
114             min: 25 15;
115             max: 25 15;
116             fixed: 1 1;
117             align: 0.5 0;
118             rel1 {
119                to_x: "elm.arrow";
120             }
121             rel2 {
122                relative: 1.0 0.0;
123                offset: 0 10;
124                to_x: "elm.arrow";
125             }
126          }
127       }
128       part { name: "event";
129          type: RECT;
130          mouse_events: 1;
131          description { state: "default" 0.0;
132             rel1 {
133                to: "elm.arrow_icon";
134             }
135             rel2 {
136                to_x: "elm.arrow_icon";
137                to_y: "elm.arrow_bg";
138                offset: 0 0;
139             }
140             color: 0 0 0 0;
141          }
142          dragable {
143             events: "elm.arrow";
144          }
145       }
146       part { name: "elm.l_button";
147          type: SWALLOW;
148          mouse_events: 1;
149          scale: 1;
150          description { state: "default" 0.0;
151             min: 24 24;
152             fixed: 1 1;
153             rel1 {
154                relative: 0.0 0.0;
155                to_y: "elm.bar_bg";
156             }
157             rel2 {
158                relative: 0.0 1.0;
159                to_y: "elm.bar_bg";
160             }
161             align: 0.0 0.5;
162          }
163       }
164       part { name: "elm.r_button";
165          type: SWALLOW;
166          mouse_events: 1;
167          scale: 1;
168          description {
169             state: "default" 0.0;
170             min: 24 24;
171             fixed: 1 1;
172             rel1 {
173                relative: 1.0 0.0;
174                to_y: "elm.bar_bg";
175             }
176             rel2 {
177                relative: 1.0 1.0;
178                to_y: "elm.bar_bg";
179             }
180             align: 1.0 0.5;
181          }
182       }
183    }
184 }
185
186 group{ name: "elm/colorselector/image/colorbar_0/default";
187    images {
188       image: "color_picker_color.png" COMP;
189    }
190    parts {
191       part { name: "colorbar_0_image";
192          type: IMAGE;
193          mouse_events: 1;
194          description { state: "default" 0.0;
195             rel2.offset: -1 -1;
196             image.normal: "color_picker_color.png";
197          }
198       }
199    }
200 }
201
202 group { name: "elm/colorselector/image/colorbar_1/default";
203    images {
204       image: "color_picker_opacity.png" COMP;
205    }
206    parts {
207       part { name: "colorbar_1_image";
208          type: IMAGE;
209          mouse_events: 1;
210          description { state: "default" 0.0;
211             rel2.offset: -1 -1;
212             image.normal: "color_picker_opacity.png";
213          }
214       }
215    }
216 }
217
218 group { name: "elm/colorselector/image/colorbar_2/default";
219    images {
220       image: "color_picker_brightness.png" COMP;
221    }
222    parts {
223       part { name: "colorbar_2_image";
224          type: IMAGE;
225          mouse_events: 1;
226          description { state: "default" 0.0;
227             rel2.offset: -1 -1;
228             image.normal: "color_picker_brightness.png";
229          }
230       }
231    }
232 }
233
234 group { name: "elm/colorselector/image/colorbar_3/default";
235    images {
236       image: "color_picker_alpha.png" COMP;
237    }
238    parts {
239       part { name: "colorbar_3_image";
240          type: IMAGE;
241          mouse_events: 1;
242          description { state: "default" 0.0;
243             rel2.offset: -1 -1;
244             image.normal: "color_picker_alpha.png";
245          }
246       }
247    }
248 }
249
250 group { name: "elm/colorselector/bg_image/colorbar_3/default";
251    images {
252       image: "color_picker_alpha_bg.png" COMP;
253    }
254    parts {
255       part { name: "colorbar_3_image";
256          type: IMAGE;
257          mouse_events: 1;
258          description { state: "default" 0.0;
259             rel2.offset: -1 -1;
260             image.normal: "color_picker_alpha_bg.png";
261          }
262       }
263    }
264 }
265
266 group { name: "elm/colorselector/arrow/default";
267    images {
268       image: "icon_arrow_down.png" COMP;
269    }
270    parts {
271       part { name: "bg";
272          type: RECT;
273          mouse_events: 1;
274          description { state: "default" 0.0;
275             color: 0 0 0 0;
276          }
277       }
278       part { name: "arrow_image";
279          type: IMAGE;
280          mouse_events: 1;
281          description { state: "default" 0.0;
282             image.normal: "icon_arrow_down.png";
283          }
284       }
285    }
286 }