2 * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved
4 * PROPRIETARY/CONFIDENTIAL
6 * This software is the confidential and proprietary information of SAMSUNG
7 * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
8 * software is owned by Samsung and you shall not disclose such Confidential
9 * Information and shall use it only in accordance with the terms of the license
10 * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
11 * representations or warranties about the suitability of the software, either
12 * express or implied, including but not limited to the implied warranties of
13 * merchantability, fitness for a particular purpose, or non-infringement.
14 * SAMSUNG shall not be liable for any damages suffered by licensee arising out
15 * of or releated to this software.
20 name: "elm/colorselector/palette/default";
21 data.item: "horizontal_pad" COLORSELECTOR_PORTRAIT_HOR_PAD_INC;
22 data.item: "vertical_pad" COLORSELECTOR_PORTRAIT_VER_PAD_INC;
28 description { state: "default" 0.0;
33 part { name: "palette";
37 description { state: "default" 0.0;
49 part{ name: "bottom_padding";
52 description { state: "default" 0.0;
56 rel1.relative: 0.0 1.0;
62 part { name: "selector";
66 description { state: "default" 0.0;
82 name: "elm/colorselector/palette/landscape";
83 data.item: "horizontal_pad" COLORSELECTOR_LANDSCAPE_HOR_PAD_INC;
84 data.item: "vertical_pad" COLORSELECTOR_LANDSCAPE_VER_PAD_INC;
90 description { state: "default" 0.0;
95 part { name: "palette";
99 description { state: "default" 0.0;
111 part{ name: "bottom_padding";
114 description { state: "default" 0.0;
118 rel1.relative: 0.0 1.0;
124 part { name: "selector";
128 description { state: "default" 0.0;
132 to: "bottom_padding";
144 name: "elm/colorselector/bg/default";
152 state: "default" 0.0;
153 min: COLORSELECTOR_MIN_W_INC COLORSELECTOR_MIN_H_INC;
157 part{ name: "top_padding";
160 ignore_flags: ON_HOLD;
162 state: "default" 0.0;
165 color: COLORSELECTOR_PADDING_COLOR_INC;
166 rel2.relative: 1.0 0.0;
173 name: "elm.colorbar_0";
178 state: "default" 0.0;
179 min: 1 COLORSELECTOR_COLORBAR_HEIGHT;
180 max: COLORSELECTOR_MAX_W_INC COLORSELECTOR_COLORBAR_HEIGHT;
182 rel1.relative: 0.0 1.0;
183 rel1.to_y: "top_padding";
184 rel2.to_y: "top_padding";
189 name: "bottom_padding";
192 ignore_flags: ON_HOLD;
194 state: "default" 0.0;
198 color: COLORSELECTOR_PADDING_COLOR_INC;
199 rel1.relative: 0.0 1.0;
200 rel1.to_y: "elm.colorbar_0";
201 rel2.to_y: "elm.colorbar_0";
206 name: "elm.colorbar_1";
211 state: "default" 0.0;
212 min: 1 COLORSELECTOR_COLORBAR_HEIGHT;
213 max: COLORSELECTOR_MAX_W_INC COLORSELECTOR_COLORBAR_HEIGHT;
215 rel1.relative: 0.0 1.0;
216 rel1.to_y: "bottom_padding";
217 rel2.to_y: "bottom_padding";
222 name: "bottom_padding1";
225 ignore_flags: ON_HOLD;
227 state: "default" 0.0;
231 color: COLORSELECTOR_PADDING_COLOR_INC;
232 rel1.relative: 0.0 1.0;
233 rel1.to_y: "elm.colorbar_1";
234 rel2.to_y: "elm.colorbar_1";
239 name: "elm.colorbar_2";
244 state: "default" 0.0;
245 min: 1 COLORSELECTOR_COLORBAR_HEIGHT;
246 max: COLORSELECTOR_MAX_W_INC COLORSELECTOR_COLORBAR_HEIGHT;
248 rel1.relative: 0.0 1.0;
249 rel1.to_y: "bottom_padding1";
250 rel2.to_y: "bottom_padding1";
255 name: "bottom_padding2";
258 ignore_flags: ON_HOLD;
260 state: "default" 0.0;
264 color: COLORSELECTOR_PADDING_COLOR_INC;
265 rel1.relative: 0.0 1.0;
266 rel1.to_y: "elm.colorbar_2";
267 rel2.to_y: "bg_rect";
275 name: "elm/colorselector/base/default";
283 state: "default" 0.0;
288 name: "bar_bg_padding_rect_l";
292 state: "default" 0.0;
294 min: COLORSELECTOR_COLORBAR_LEFT_PADDING 0;
296 rel1.relative: 0.0 0.5;
297 rel2.relative: 0.0 0.5;
302 name: "bar_bg_padding_rect_r";
306 state: "default" 0.0;
308 min: COLORSELECTOR_COLORBAR_RIGHT_PADDING 0;
310 rel1.relative: 1.0 0.5;
311 rel2.relative: 1.0 0.5;
316 name: "button_top_padding";
319 ignore_flags: ON_HOLD;
321 state: "default" 0.0;
323 min: 0 COLORSELECTOR_BUTTON_TOP_PADDING;
325 rel1.relative: 0.0 0.0;
326 rel2.relative: 1.0 0.0;
335 state: "default" 0.0;
336 rel1 {relative: 1.0 (16/70); to_x: "bar_bg_padding_rect_l";}
337 rel2 {relative: 0.0 (54/70); to_x: "bar_bg_padding_rect_r";}
345 state: "default" 0.0;
346 rel1.to: "elm.bar_bg";
347 rel2.to: "elm.bar_bg";
351 name: "arrow_bg_padding_rect_l";
355 state: "default" 0.0;
357 min: COLORSELECTOR_ARROW_BG_LEFT_PADDING 0;
359 rel2.relative: 0.0 1.0;
364 name: "arrow_bg_padding_rect_r";
368 state: "default" 0.0;
370 min: COLORSELECTOR_ARROW_BG_RIGHT_PADDING 0;
372 rel1.relative: 1.0 0.0;
377 name: "elm.arrow_bg";
381 state: "default" 0.0;
382 rel1 {relative: 1.0 (10/70); to_x: "arrow_bg_padding_rect_l";}
383 rel2 {relative: 0.0 (60/70); to_x: "arrow_bg_padding_rect_r";}
392 state: "default" 0.0;
393 min: COLORSELECTOR_ARROW_MIN_WIDTH COLORSELECTOR_ARROW_MIN_HEIGHT;
397 rel1 {relative: 0.0 0.0; to_y: "elm.arrow_bg";}
398 rel2 {relative: 0.0 1.0; to_y: "elm.arrow_bg";}
401 confine: "elm.arrow_bg";
407 name: "elm.arrow_icon";
412 state: "default" 0.0;
417 offset: COLORSELECTOR_ARROW_REL1_OFFSET;
421 offset: COLORSELECTOR_ARROW_REL2_OFFSET;
430 state: "default" 0.0;
431 min: COLORSELECTOR_DRAGGABLE_EVENT_AREA;
433 rel1.to: "elm.arrow_icon";
434 rel2.to: "elm.arrow_icon";
442 name: "l_button_padding_rect";
447 state: "default" 0.0;
449 min: COLORSELECTOR_BUTTON_LEFT_PADDING 0;
451 rel2.relative: 0.0 1.0;
456 name: "r_button_padding_rect";
461 state: "default" 0.0;
463 min: COLORSELECTOR_BUTTON_RIGHT_PADDING 0;
465 rel1.relative: 1.0 0.0;
470 name: "elm.l_button";
475 state: "default" 0.0;
476 min: COLORSELECTOR_BUTTON_WIDTH COLORSELECTOR_BUTTON_HEIGHT;
478 rel1 {relative: 1.0 1.0; to_x: "l_button_padding_rect"; to_y: "button_top_padding";}
479 rel2 {relative: 1.0 1.0; to_x: "l_button_padding_rect"; to_y: "button_top_padding";}
484 name: "elm.r_button";
489 state: "default" 0.0;
490 min: COLORSELECTOR_BUTTON_WIDTH COLORSELECTOR_BUTTON_HEIGHT;
492 rel1 {relative: 0.0 1.0; to_x: "r_button_padding_rect"; to_y: "button_top_padding";}
493 rel2 {relative: 0.0 1.0; to_x: "r_button_padding_rect"; to_y: "button_top_padding";}
501 name: "elm/colorselector/image/colorbar_0/default";
503 image: "01_color_picker_color.png" COMP;
512 state: "default" 0.0;
514 rel1 {relative: 0.0 0.0; offset: 0 0;}
515 rel2 {relative: 1.0 1.0; offset: 0 0;}
520 name: "colorbar_0_image";
524 state: "default" 0.0;
526 rel1 {relative: 0.0 0.0; offset: 0 0; to: "bg"; }
527 rel2 {relative: 1.0 1.0; offset: -1 -1; to: "bg"; }
528 image.normal: "01_color_picker_color.png";
535 name: "elm/colorselector/image/colorbar_1/default";
537 image: "01_color_picker_opacity.png" COMP;
546 state: "default" 0.0;
548 rel1 {relative: 0.0 0.0; offset: 0 0;}
549 rel2 {relative: 1.0 1.0; offset: 0 0;}
554 name: "colorbar_1_image";
558 state: "default" 0.0;
560 rel1 {relative: 0.0 0.0; offset: 0 0; to: "bg"; }
561 rel2 {relative: 1.0 1.0; offset: -1 -1; to: "bg"; }
562 image.normal: "01_color_picker_opacity.png";
569 name: "elm/colorselector/image/colorbar_2/default";
571 image: "01_color_picker_brightness.png" COMP;
580 state: "default" 0.0;
582 rel1 {relative: 0.0 0.0; offset: 0 0;}
583 rel2 {relative: 1.0 1.0; offset: 0 0;}
588 name: "colorbar_2_image";
592 state: "default" 0.0;
594 rel1 {relative: 0.0 0.0; offset: 0 0; to: "bg"; }
595 rel2 {relative: 1.0 1.0; offset: -1 -1; to: "bg"; }
596 image.normal: "01_color_picker_brightness.png";
603 name: "elm/colorselector/arrow/default";
605 image:"00_color_picker_focus.png" COMP;
614 state: "default" 0.0;
615 image.normal: "00_color_picker_focus.png";
622 name: "elm/colorselector/item/default";
624 image: "00_color_picker_palette_bg.png" COMP;
625 image: "00_color_picker_palette_focus.png" COMP;
633 state: "default" 0.0;
634 min: COLORSELECTOR_PALETTE_COLORBG_MIN_WIDTH_INC COLORSELECTOR_PALETTE_COLORBG_MIN_HEIGHT_INC;
635 image.normal: "00_color_picker_palette_bg.png";
636 image.border: COLORSELECTOR_PALETTE_BORDER_INC;
637 image.border_scale: 1;
640 part { name: "color_obj";
644 description { state: "default" 0.0;
654 state: "default" 0.0;
656 min: COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_WIDTH_INC COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_HEIGHT_INC;
657 image.normal: "00_color_picker_palette_focus.png";
658 image.border: COLORSELECTOR_PALETTE_BORDER_INC;
659 image.border_scale: 1;
664 state: "focused" 0.0;
665 inherit: "default" 0.0;
671 program { name: "item_focus";
673 signal: "elm,state,selected";
674 action: STATE_SET "focused" 0.0;
675 target: "focus_image";
677 program { name: "item_unfocus";
679 signal: "elm,state,unselected";
680 action: STATE_SET "default" 0.0;
681 target: "focus_image";
687 name: "elm/colorselector/item/color/default";
689 image: "00_color_picker_palette.png" COMP;
698 state: "default" 0.0;
699 image.normal: "00_color_picker_palette.png";
700 image.border: COLORSELECTOR_PALETTE_BORDER_INC;
701 image.border_scale: 1;