1 ///////////////////////////////////////////////////////////////////////////////
3 name: "elm/colorselector/palette/default";
4 data.item: "horizontal_pad" "10";
5 data.item: "vertical_pad" "10";
10 description { state: "default" 0.0;
12 rel1.relative: 0.0 0.0;
13 rel2.relative: 1.0 0.0;
16 part { name: "top_padding";
19 description { state: "default" 0.0;
22 rel1.relative: 0.0 1.0;
27 description { state: "disabled" 0.0;
28 inherit: "default" 0.0;
32 part { name: "palette";
35 description { state: "default" 0.0;
48 part{ name: "bottom_padding";
51 description { state: "default" 0.0;
54 rel1.relative: 0.0 1.0;
59 description { state: "disabled" 0.0;
60 inherit: "default" 0.0;
64 part { name: "selector";
67 description { state: "default" 0.0;
78 program { name: "init";
81 action: STATE_SET "disabled" 0.0;
82 target: "top_padding";
84 program { name: "palette";
86 signal: "elm,state,palette";
87 action: STATE_SET "disabled" 0.0;
88 target: "bottom_padding";
89 target: "top_padding";
91 program { name: "components";
93 signal: "elm,state,components";
94 action: STATE_SET "disabled" 0.0;
95 target: "bottom_padding";
96 target: "top_padding";
98 program { name: "both";
100 signal: "elm,state,both";
101 action: STATE_SET "default" 0.0;
102 target: "bottom_padding";
105 program { name: "notop";
106 action: STATE_SET "disabled" 0.0;
107 target: "top_padding";
109 program { name: "picker";
111 signal: "elm,state,picker";
112 action: STATE_SET "disabled" 0.0;
113 target: "bottom_padding";
114 target: "top_padding";
116 program { name: "all";
118 signal: "elm,state,all";
119 action: STATE_SET "default" 0.0;
120 target: "bottom_padding";
121 target: "top_padding";
126 group { name: "elm/colorselector/picker/default";
128 part { name: "background";
130 description { state: "default" 0.0;
131 rel1.to: "elm.picker";
132 rel2.to: "elm.picker";
133 image.normal: "color_picker_alpha_bg.png";
141 part { name: "elm.picker";
144 description { state: "default" 0.0;
151 group { name: "elm/colorselector/bg/default";
153 part { name: "elm.colorbar_0";
155 description { state: "default" 0.0;
157 rel1.relative: 0.0 0.00653594771;
158 rel2.relative: 1.0 0.254901961;
161 part { name: "elm.colorbar_1";
163 description { state: "default" 0.0;
165 rel1.relative: 0.0 0.254901961;
166 rel2.relative: 1.0 0.503267974;
169 part { name: "elm.colorbar_2";
171 description { state: "default" 0.0;
173 rel1.relative: 0.0 0.503267974;
174 rel2.relative: 1.0 0.751633987;
177 part { name: "elm.colorbar_3";
179 description { state: "default" 0.0;
181 rel1.relative: 0.0 0.751633987;
182 rel2.relative: 1.0 1.0;
188 group { name: "elm/colorselector/base/default";
190 part { name: "elm.bar_bg";
193 description { state: "default" 0.0;
197 to_x: "elm.arrow_bg";
198 to_y: "elm.arrow_icon";
203 to_x: "elm.arrow_bg";
208 part { name: "elm.bar";
211 description { state: "default" 0.0;
212 rel1.to: "elm.bar_bg";
213 rel2.to: "elm.bar_bg";
216 part { name: "elm.arrow_bg";
218 description { state: "default" 0.0;
222 to_x: "elm.l_button";
227 to_x: "elm.r_button";
231 part { name: "elm.arrow";
234 description { state: "default" 0.0;
239 to_x: "elm.arrow_bg";
243 to_x: "elm.arrow_bg";
249 confine: "elm.arrow_bg";
254 part { name: "elm.arrow_icon";
257 description { state: "default" 0.0;
272 part { name: "event";
274 description { state: "default" 0.0;
276 to: "elm.arrow_icon";
279 to_x: "elm.arrow_icon";
280 to_y: "elm.arrow_bg";
289 part { name: "elm.arrow_bg_access";
292 description { state: "default" 0.0;
293 rel1.to: "elm.arrow_bg";
294 rel2.to: "elm.arrow_bg";
298 part { name: "elm.l_button";
301 description { state: "default" 0.0;
315 part { name: "elm.r_button";
318 description { state: "default" 0.0;
335 group{ name: "elm/colorselector/image/colorbar_0/default";
337 image: "color_picker_color.png" COMP;
340 part { name: "colorbar_0_image";
342 description { state: "default" 0.0;
344 image.normal: "color_picker_color.png";
350 group { name: "elm/colorselector/image/colorbar_1/default";
352 image: "color_picker_opacity.png" COMP;
355 part { name: "colorbar_1_image";
357 description { state: "default" 0.0;
359 image.normal: "color_picker_opacity.png";
365 group { name: "elm/colorselector/image/colorbar_2/default";
367 image: "color_picker_brightness.png" COMP;
370 part { name: "colorbar_2_image";
372 description { state: "default" 0.0;
374 image.normal: "color_picker_brightness.png";
380 group { name: "elm/colorselector/image/colorbar_3/default";
382 image: "color_picker_alpha.png" COMP;
385 part { name: "colorbar_3_image";
387 description { state: "default" 0.0;
389 image.normal: "color_picker_alpha.png";
395 group { name: "elm/colorselector/bg_image/colorbar_3/default";
397 image: "color_picker_alpha_bg.png" COMP;
400 part { name: "colorbar_3_image";
402 description { state: "default" 0.0;
404 image.normal: "color_picker_alpha_bg.png";
410 group { name: "elm/colorselector/arrow/default";
412 image: "icon_arrow_down.png" COMP;
417 description { state: "default" 0.0;
421 part { name: "arrow_image";
423 description { state: "default" 0.0;
424 image.normal: "icon_arrow_down.png";
430 group { name: "elm/colorselector/item/default";
432 part { name: "color_bg";
435 description { state: "default" 0.0;
439 part { name: "color_obj";
442 description { state: "default" 0.0;
447 part { name: "focus_color";
450 description { state: "default" 0.0;
455 color: 255 255 255 80;
457 description { state: "focused" 0.0;
458 inherit: "default" 0.0;
464 program { name: "item_focus";
466 signal: "elm,state,selected";
467 action: STATE_SET "focused" 0.0;
468 target: "focus_color";
470 program { name: "item_unfocus";
472 signal: "elm,state,unselected";
473 action: STATE_SET "default" 0.0;
474 target: "focus_color";
477 name: "item_pressed_anim";
478 signal: "elm,anim,activate";
480 action: STATE_SET "focused" 0.0;
481 target: "focus_color";
482 after: "item_unpressed_anim";
485 name: "item_unpressed_anim";
486 action: STATE_SET "default" 0.0;
487 transition: DECELERATE 0.2;
488 target: "focus_color";
493 group { name: "elm/colorselector/item/color/default";
495 part { name: "color_rect";
498 description{ state: "default" 0.0;