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;
415 rel1 {to: "elm.arrow";}
416 rel2 {to: "elm.arrow";}
424 state: "default" 0.0;
425 min: COLORSELECTOR_DRAGGABLE_EVENT_AREA;
427 rel1.to: "elm.arrow_icon";
428 rel2.to: "elm.arrow_icon";
436 name: "l_button_padding_rect";
441 state: "default" 0.0;
443 min: COLORSELECTOR_BUTTON_LEFT_PADDING 0;
445 rel2.relative: 0.0 1.0;
450 name: "r_button_padding_rect";
455 state: "default" 0.0;
457 min: COLORSELECTOR_BUTTON_RIGHT_PADDING 0;
459 rel1.relative: 1.0 0.0;
464 name: "elm.l_button";
469 state: "default" 0.0;
470 min: COLORSELECTOR_BUTTON_WIDTH COLORSELECTOR_BUTTON_HEIGHT;
472 rel1 {relative: 1.0 1.0; to_x: "l_button_padding_rect"; to_y: "button_top_padding";}
473 rel2 {relative: 1.0 1.0; to_x: "l_button_padding_rect"; to_y: "button_top_padding";}
478 name: "elm.r_button";
483 state: "default" 0.0;
484 min: COLORSELECTOR_BUTTON_WIDTH COLORSELECTOR_BUTTON_HEIGHT;
486 rel1 {relative: 0.0 1.0; to_x: "r_button_padding_rect"; to_y: "button_top_padding";}
487 rel2 {relative: 0.0 1.0; to_x: "r_button_padding_rect"; to_y: "button_top_padding";}
495 name: "elm/colorselector/image/colorbar_0/default";
497 image: "01_color_picker_color.png" COMP;
506 state: "default" 0.0;
508 rel1 {relative: 0.0 0.0; offset: 0 0;}
509 rel2 {relative: 1.0 1.0; offset: 0 0;}
514 name: "colorbar_0_image";
518 state: "default" 0.0;
520 rel1 {relative: 0.0 0.0; offset: 0 0; to: "bg"; }
521 rel2 {relative: 1.0 1.0; offset: -1 -1; to: "bg"; }
522 image.normal: "01_color_picker_color.png";
529 name: "elm/colorselector/image/colorbar_1/default";
531 image: "01_color_picker_opacity.png" COMP;
540 state: "default" 0.0;
542 rel1 {relative: 0.0 0.0; offset: 0 0;}
543 rel2 {relative: 1.0 1.0; offset: 0 0;}
548 name: "colorbar_1_image";
552 state: "default" 0.0;
554 rel1 {relative: 0.0 0.0; offset: 0 0; to: "bg"; }
555 rel2 {relative: 1.0 1.0; offset: -1 -1; to: "bg"; }
556 image.normal: "01_color_picker_opacity.png";
563 name: "elm/colorselector/image/colorbar_2/default";
565 image: "01_color_picker_brightness.png" COMP;
574 state: "default" 0.0;
576 rel1 {relative: 0.0 0.0; offset: 0 0;}
577 rel2 {relative: 1.0 1.0; offset: 0 0;}
582 name: "colorbar_2_image";
586 state: "default" 0.0;
588 rel1 {relative: 0.0 0.0; offset: 0 0; to: "bg"; }
589 rel2 {relative: 1.0 1.0; offset: -1 -1; to: "bg"; }
590 image.normal: "01_color_picker_brightness.png";
597 name: "elm/colorselector/arrow/default";
599 image:"00_color_picker_focus.png" COMP;
608 state: "default" 0.0;
609 image.normal: "00_color_picker_focus.png";
616 name: "elm/colorselector/item/default";
618 image: "00_color_picker_palette_bg.png" COMP;
619 image: "00_color_picker_palette_focus.png" COMP;
627 state: "default" 0.0;
628 min: COLORSELECTOR_PALETTE_COLORBG_MIN_WIDTH_INC COLORSELECTOR_PALETTE_COLORBG_MIN_HEIGHT_INC;
629 image.normal: "00_color_picker_palette_bg.png";
630 image.border: COLORSELECTOR_PALETTE_BORDER_INC;
631 image.border_scale: 1;
634 part { name: "color_obj";
638 description { state: "default" 0.0;
648 state: "default" 0.0;
650 min: COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_WIDTH_INC COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_HEIGHT_INC;
651 image.normal: "00_color_picker_palette_focus.png";
652 image.border: COLORSELECTOR_PALETTE_BORDER_INC;
653 image.border_scale: 1;
658 state: "focused" 0.0;
659 inherit: "default" 0.0;
665 program { name: "item_focus";
667 signal: "elm,state,selected";
668 action: STATE_SET "focused" 0.0;
669 target: "focus_image";
671 program { name: "item_unfocus";
673 signal: "elm,state,unselected";
674 action: STATE_SET "default" 0.0;
675 target: "focus_image";
681 name: "elm/colorselector/item/color/default";
683 image: "00_color_picker_palette.png" COMP;
692 state: "default" 0.0;
693 image.normal: "00_color_picker_palette.png";
694 image.border: COLORSELECTOR_PALETTE_BORDER_INC;
695 image.border_scale: 1;