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.
19 /********************/
20 /* elm_actionslider */
21 /********************/
22 #define ACTIONSLIDER_BG_H 96
23 #define ACTIONSLIDER_BG_LEFT_W 6
24 #define ACTIONSLIDER_BG_RIGHT_W 6
27 #define ACTIONSLIDER_BUTTON_W 64
28 #define ACTIONSLIDER_BUTTON_H 88
29 #define ACTIONSLIDER_BUTTON_TOP_PADDING_H 4
30 #define ACTIONSLIDER_BUTTON_BOTTOM_PADDING_H 4
31 #define ACTIONSLIDER_BUTTON_TEXT_PADDING_LEFT 12
32 #define ACTIONSLIDER_BUTTON_TEXT_PADDING_RIGHT 12
35 #define ACTIONSLIDER_BAR_W 32
36 #define ACTIONSLIDER_BAR_H 86
37 #define ACTIONSLIDER_BAR_TOP_PADDING_H 5
38 #define ACTIONSLIDER_BAR_BOTTOM_PADDING_H 5
39 #define ACTIONSLIDER_BAR_TEXT_PADDING_LEFT 10
40 #define ACTIONSLIDER_BAR_TEXT_PADDING_RIGHT 10
42 // elm_actionslider default(button) style
44 name: "elm/actionslider/base/default";
45 alias: "elm/actionslider/base/button";
48 image: "01_action_slider_bg_left.png" COMP;
49 image: "01_action_slider_bg_center.png" COMP;
50 image: "01_action_slider_bg_right.png" COMP;
61 min: 0 ACTIONSLIDER_BG_H;
64 rel1 { relative: 0.0 0.0; }
65 rel2 { relative: 1.0 0.0; }
70 name: "image.bg.left";
76 min: ACTIONSLIDER_BG_LEFT_W 0;
79 rel1 { relative: 0.0 0.0; to: "bg"; }
80 rel2 { relative: 0.0 1.0; to: "bg"; }
81 image.normal: "01_action_slider_bg_left.png";
85 name: "image.bg.right";
91 min: ACTIONSLIDER_BG_RIGHT_W 0;
94 rel1 { relative: 1.0 0.0; to: "bg"; }
95 rel2 { relative: 1.0 1.0; to: "bg"; }
96 image.normal: "01_action_slider_bg_right.png";
100 name: "image.bg.center";
104 state: "default" 0.0;
105 rel1 { relative: 1.0 0.0; to: "image.bg.left"; }
106 rel2 { relative: 0.0 1.0; to: "image.bg.right"; }
107 image.normal: "01_action_slider_bg_center.png";
116 state: "default" 0.0;
117 min: 0 ACTIONSLIDER_BUTTON_TOP_PADDING_H;
120 rel1 { relative: 0.0 0.0; to: "bg"; }
121 rel2 { relative: 1.0 0.0; to: "bg"; }
126 name: "padding.bottom";
131 state: "default" 0.0;
132 min: 0 ACTIONSLIDER_BUTTON_BOTTOM_PADDING_H;
135 rel1 { relative: 0.0 1.0; to: "bg"; }
136 rel2 { relative: 1.0 1.0; to: "bg"; }
141 name: "icon.dragable.area";
145 state: "default" 0.0;
146 rel1 { relative: 0.0 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
147 rel2 { relative: 1.0 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
152 name: "text.padding.left";
157 state: "default" 0.0;
158 min: ACTIONSLIDER_BUTTON_TEXT_PADDING_LEFT 0;
161 rel1 { relative: 0.0 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
162 rel2 { relative: 0.0 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
167 name: "text.padding.right";
172 state: "default" 0.0;
173 min: ACTIONSLIDER_BUTTON_TEXT_PADDING_RIGHT 0;
176 rel1 { relative: 1.0 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
177 rel2 { relative: 1.0 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
182 name: "elm.text.left";
187 state: "default" 0.0;
189 rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }
190 rel2 { relative: 0.5 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
191 color: 0 162 255 255;
193 font: "SLP:style=Roman";
196 text_class: "slp_roman";
201 name: "elm.text.right";
206 state: "default" 0.0;
208 rel1 { relative: 0.5 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
209 rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
212 font: "SLP:style=Roman";
215 text_class: "slp_roman";
220 name: "elm.text.center";
226 state: "default" 0.0;
228 rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }
229 rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
233 font: "SLP:style=Roman";
236 text_class: "slp_roman";
241 inherit: "default" 0.0;
246 inherit: "default" 0.0;
251 name: "elm.swallow.icon";
256 state: "default" 0.0;
257 min: ACTIONSLIDER_BUTTON_W ACTIONSLIDER_BUTTON_H;
260 rel1 { relative: 0.0 0.0; to: "icon.dragable.area"; }
261 rel2 { relative: 0.0 1.0; to: "icon.dragable.area"; }
264 confine: "icon.dragable.area";
272 } // end of group "elm/actionslider/base/default" and "elm/actionslider/base/button"
275 name: "elm/actionslider/icon/default";
276 alias: "elm/actionslider/icon/button";
279 image: "01_action_slider_button.png" COMP;
283 name: "image.button";
287 state: "default" 0.0;
288 rel1 { relative: 0.0 0.0; }
289 rel2 { relative: 1.0 1.0; }
290 image.normal: "01_action_slider_button.png";
294 } // end of group "elm/actionslider/icon/default"
296 // elm_actionslider bar_green style
298 name: "elm/actionslider/base/bar_green";
301 image: "01_action_slider_bg_left.png" COMP;
302 image: "01_action_slider_bg_center.png" COMP;
303 image: "01_action_slider_bg_right.png" COMP;
304 image: "01_action_slider_bar_green_left.png" COMP;
305 image: "01_action_slider_bar_green_center.png" COMP;
315 state: "default" 0.0;
316 min: 0 ACTIONSLIDER_BG_H;
319 rel1 { relative: 0.0 0.0; }
320 rel2 { relative: 1.0 0.0; }
325 name: "image.bg.left";
330 state: "default" 0.0;
331 min: ACTIONSLIDER_BG_LEFT_W 0;
334 rel1 { relative: 0.0 0.0; to: "bg"; }
335 rel2 { relative: 0.0 1.0; to: "bg"; }
336 image.normal: "01_action_slider_bg_left.png";
340 name: "image.bg.right";
345 state: "default" 0.0;
346 min: ACTIONSLIDER_BG_RIGHT_W 0;
349 rel1 { relative: 1.0 0.0; to: "bg"; }
350 rel2 { relative: 1.0 1.0; to: "bg"; }
351 image.normal: "01_action_slider_bg_right.png";
355 name: "image.bg.center";
359 state: "default" 0.0;
360 rel1 { relative: 1.0 0.0; to: "image.bg.left"; }
361 rel2 { relative: 0.0 1.0; to: "image.bg.right"; }
362 image.normal: "01_action_slider_bg_center.png";
371 state: "default" 0.0;
372 min: 0 ACTIONSLIDER_BAR_TOP_PADDING_H;
375 rel1 { relative: 0.0 0.0; to: "bg"; }
376 rel2 { relative: 1.0 0.0; to: "bg"; }
381 name: "padding.bottom";
386 state: "default" 0.0;
387 min: 0 ACTIONSLIDER_BAR_BOTTOM_PADDING_H;
390 rel1 { relative: 0.0 1.0; to: "bg"; }
391 rel2 { relative: 1.0 1.0; to: "bg"; }
396 name: "text.padding.left";
401 state: "default" 0.0;
402 min: ACTIONSLIDER_BAR_TEXT_PADDING_LEFT 0;
405 rel1 { relative: 0.0 0.0; to: "image.bg.center"; }
406 rel2 { relative: 0.0 1.0; to: "image.bg.center"; }
411 name: "text.padding.right";
416 state: "default" 0.0;
417 min: ACTIONSLIDER_BAR_TEXT_PADDING_RIGHT 0;
420 rel1 { relative: 1.0 0.0; to: "image.bg.center"; }
421 rel2 { relative: 1.0 1.0; to: "image.bg.center"; }
426 name: "elm.text.right";
431 state: "default" 0.0;
433 rel1 { relative: 0.5 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
434 rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
435 color: 255 255 255 255;
437 font: "SLP:style=Roman";
440 text_class: "slp_roman";
445 name: "bar.padding.left";
449 state: "default" 0.0;
453 rel1 { relative: 0.0 0.0; to: "bg"; }
454 rel2 { relative: 0.0 1.0; to: "bg"; }
459 name: "image.bar.left";
463 state: "default" 0.0;
468 rel1 { relative: 1.0 1.0; to_x: "bar.padding.left"; to_y: "padding.top"; }
469 rel2 { relative: 1.0 0.0; to_x: "bar.padding.left"; to_y: "padding.bottom"; }
470 image.normal: "01_action_slider_bar_green_left.png";
474 name: "bar.padding.center";
479 state: "default" 0.0;
484 rel1 { relative: 1.0 1.0; to_x: "image.bar.left"; to_y: "padding.top"; }
485 rel2 { relative: 1.0 0.0; to_x: "image.bar.left"; to_y: "padding.bottom"; }
489 name: "image.bar.center";
493 state: "default" 0.0;
495 rel1 { relative: 0.0 1.0; to_x: "bar.padding.center"; to_y: "padding.top"; }
496 rel2 { relative: 0.0 0.0; to_x: "elm.swallow.icon"; to_y: "padding.bottom"; }
497 image.normal: "01_action_slider_bar_green_center.png";
501 name: "icon.dragable.area";
505 state: "default" 0.0;
506 rel1 { relative: 1.0 1.0; to_x: "bar.padding.center"; to_y: "padding.top"; }
507 rel2 { relative: 1.0 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
512 name: "elm.swallow.icon";
517 state: "default" 0.0;
518 min: ACTIONSLIDER_BAR_W ACTIONSLIDER_BAR_H;
521 rel1 { relative: 0.0 0.0; to: "icon.dragable.area"; }
522 rel2 { relative: 1.0 1.0; to: "icon.dragable.area"; }
525 confine: "icon.dragable.area";
531 name: "elm.text.center";
537 state: "default" 0.0;
539 rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }
540 rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
541 color: 255 255 255 255;
544 font: "SLP:style=Roman";
547 text_class: "slp_roman";
552 inherit: "default" 0.0;
557 inherit: "default" 0.0;
564 name: "show_text_center";
565 signal: "elm,show,text,center";
567 action: STATE_SET "show" 0.0;
568 target: "elm.text.center";
571 name: "hide_text_center";
572 signal: "elm,hide,text,center";
574 action: STATE_SET "hide" 0.0;
575 target: "elm.text.center";
578 } // end of group "elm/actionslider/base/bar_green"
581 name: "elm/actionslider/icon/bar_green";
584 image: "01_action_slider_bar_green_right.png" COMP;
588 name: "image.button";
592 state: "default" 0.0;
593 rel1 { relative: 0.0 0.0; }
594 rel2 { relative: 1.0 1.0; }
595 image.normal: "01_action_slider_bar_green_right.png";
599 } // end of group "elm/actionslider/icon/bar_green"
601 // elm_actionslider bar_red style
603 name: "elm/actionslider/base/bar_red";
606 image: "01_action_slider_bg_left.png" COMP;
607 image: "01_action_slider_bg_center.png" COMP;
608 image: "01_action_slider_bg_right.png" COMP;
609 image: "01_action_slider_bar_red_left.png" COMP;
610 image: "01_action_slider_bar_red_center.png" COMP;
620 state: "default" 0.0;
621 min: 0 ACTIONSLIDER_BG_H;
624 rel1 { relative: 0.0 0.0; }
625 rel2 { relative: 1.0 0.0; }
630 name: "image.bg.left";
635 state: "default" 0.0;
636 min: ACTIONSLIDER_BG_LEFT_W 0;
639 rel1 { relative: 0.0 0.0; to: "bg"; }
640 rel2 { relative: 0.0 1.0; to: "bg"; }
641 image.normal: "01_action_slider_bg_left.png";
645 name: "image.bg.right";
650 state: "default" 0.0;
651 min: ACTIONSLIDER_BG_RIGHT_W 0;
654 rel1 { relative: 1.0 0.0; to: "bg"; }
655 rel2 { relative: 1.0 1.0; to: "bg"; }
656 image.normal: "01_action_slider_bg_right.png";
660 name: "image.bg.center";
664 state: "default" 0.0;
665 rel1 { relative: 1.0 0.0; to: "image.bg.left"; }
666 rel2 { relative: 0.0 1.0; to: "image.bg.right"; }
667 image.normal: "01_action_slider_bg_center.png";
676 state: "default" 0.0;
677 min: 0 ACTIONSLIDER_BAR_TOP_PADDING_H;
680 rel1 { relative: 0.0 0.0; to: "bg"; }
681 rel2 { relative: 1.0 0.0; to: "bg"; }
686 name: "padding.bottom";
691 state: "default" 0.0;
692 min: 0 ACTIONSLIDER_BAR_BOTTOM_PADDING_H;
695 rel1 { relative: 0.0 1.0; to: "bg"; }
696 rel2 { relative: 1.0 1.0; to: "bg"; }
701 name: "text.padding.left";
706 state: "default" 0.0;
707 min: ACTIONSLIDER_BAR_TEXT_PADDING_LEFT 0;
710 rel1 { relative: 0.0 0.0; to: "image.bg.center"; }
711 rel2 { relative: 0.0 1.0; to: "image.bg.center"; }
716 name: "text.padding.right";
721 state: "default" 0.0;
722 min: ACTIONSLIDER_BAR_TEXT_PADDING_RIGHT 0;
725 rel1 { relative: 1.0 0.0; to: "image.bg.center"; }
726 rel2 { relative: 1.0 1.0; to: "image.bg.center"; }
731 name: "elm.text.right";
736 state: "default" 0.0;
738 rel1 { relative: 0.5 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
739 rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
740 color: 255 255 255 255;
742 font: "SLP:style=Roman";
745 text_class: "slp_roman";
750 name: "bar.padding.left";
754 state: "default" 0.0;
758 rel1 { relative: 0.0 0.0; to: "bg"; }
759 rel2 { relative: 0.0 1.0; to: "bg"; }
764 name: "image.bar.left";
768 state: "default" 0.0;
773 rel1 { relative: 1.0 1.0; to_x: "bar.padding.left"; to_y: "padding.top"; }
774 rel2 { relative: 1.0 0.0; to_x: "bar.padding.left"; to_y: "padding.bottom"; }
775 image.normal: "01_action_slider_bar_red_left.png";
779 name: "bar.padding.center";
784 state: "default" 0.0;
789 rel1 { relative: 1.0 1.0; to_x: "image.bar.left"; to_y: "padding.top"; }
790 rel2 { relative: 1.0 0.0; to_x: "image.bar.left"; to_y: "padding.bottom"; }
794 name: "image.bar.center";
798 state: "default" 0.0;
800 rel1 { relative: 0.0 1.0; to_x: "bar.padding.center"; to_y: "padding.top"; }
801 rel2 { relative: 0.0 0.0; to_x: "elm.swallow.icon"; to_y: "padding.bottom"; }
802 image.normal: "01_action_slider_bar_red_center.png";
806 name: "icon.dragable.area";
810 state: "default" 0.0;
811 rel1 { relative: 1.0 1.0; to_x: "bar.padding.center"; to_y: "padding.top"; }
812 rel2 { relative: 1.0 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
817 name: "elm.swallow.icon";
822 state: "default" 0.0;
823 min: ACTIONSLIDER_BAR_W ACTIONSLIDER_BAR_H;
826 rel1 { relative: 0.0 0.0; to: "icon.dragable.area"; }
827 rel2 { relative: 1.0 1.0; to: "icon.dragable.area"; }
830 confine: "icon.dragable.area";
836 name: "elm.text.center";
842 state: "default" 0.0;
844 rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }
845 rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
846 color: 255 255 255 255;
849 font: "SLP:style=Roman";
852 text_class: "slp_roman";
857 inherit: "default" 0.0;
862 inherit: "default" 0.0;
869 name: "show_text_center";
870 signal: "elm,show,text,center";
872 action: STATE_SET "show" 0.0;
873 target: "elm.text.center";
876 name: "hide_text_center";
877 signal: "elm,hide,text,center";
879 action: STATE_SET "hide" 0.0;
880 target: "elm.text.center";
883 } // end of group "elm/actionslider/base/bar_red"
886 name: "elm/actionslider/icon/bar_red";
889 image: "01_action_slider_bar_red_right.png" COMP;
893 name: "image.button";
897 state: "default" 0.0;
898 rel1 { relative: 0.0 0.0; }
899 rel2 { relative: 1.0 1.0; }
900 image.normal: "01_action_slider_bar_red_right.png";
904 } // end of group "elm/actionslider/icon/bar_red"
907 // elm_actionslider callslider style
909 name: "elm/actionslider/base/callslider";
912 image: "08_voicecall_multi_tasking_bg.png" COMP;
913 image: "08_voicecall_multi_tasking_arrow_left.png" COMP;
914 image: "08_voicecall_multi_tasking_arrow_right.png" COMP;
924 state: "default" 0.0;
928 rel1 { relative: 0.0 0.0; }
929 rel2 { relative: 1.0 1.0; }
939 state: "default" 0.0;
940 rel1 { relative: 0.0 0.0; to:"bg";}
941 rel2 { relative: 1.0 1.0; to:"bg";}
942 image.normal: "08_voicecall_multi_tasking_bg.png";
951 state: "default" 0.0;
955 rel1 { relative: 0.0 0.0; to: "bg"; }
956 rel2 { relative: 1.0 0.0; to: "bg"; }
961 name: "padding.bottom";
966 state: "default" 0.0;
970 rel1 { relative: 0.0 1.0; to: "bg"; }
971 rel2 { relative: 1.0 1.0; to: "bg"; }
976 name: "text.padding.left";
981 state: "default" 0.0;
985 rel1 { relative: 0.0 0.0; to: "bg"; }
986 rel2 { relative: 0.0 1.0; to: "bg"; }
991 name: "text.padding.right";
996 state: "default" 0.0;
1000 rel1 { relative: 1.0 0.0; to: "bg"; }
1001 rel2 { relative: 1.0 1.0; to: "bg"; }
1006 name: "elm.text.left";
1011 state: "default" 0.0;
1013 rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }
1014 rel2 { relative: 0.5 0.0; to_x: "bg"; to_y: "padding.bottom"; }
1015 color: 230 228 229 255;
1017 font: "SLP:style=Roman";
1020 text_class: "slp_roman";
1025 name: "elm.text.right";
1030 state: "default" 0.0;
1032 rel1 { relative: 0.5 1.0; to_x: "bg"; to_y: "padding.top"; }
1033 rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
1034 color: 230 228 229 255;
1036 font: "SLP:style=Roman";
1039 text_class: "slp_roman";
1044 name: "drag.padding.left";
1049 state: "default" 0.0;
1053 rel1 { relative: 0.0 0.0; to: "bg"; }
1054 rel2 { relative: 0.0 1.0; to: "bg"; }
1059 name: "drag.padding.right";
1064 state: "default" 0.0;
1068 rel1 { relative: 1.0 0.0; to: "bg"; }
1069 rel2 { relative: 1.0 1.0; to: "bg"; }
1074 name: "icon.dragable.area";
1078 state: "default" 0.0;
1079 rel1 { relative: 1.0 1.0; to_x: "drag.padding.left"; to_y: "padding.top"; }
1080 rel2 { relative: 0.0 0.0; to_x: "drag.padding.right"; to_y: "padding.bottom"; }
1085 name: "elm.swallow.space";
1090 state: "default" 0.0;
1094 rel1 { relative: 0.5 0.0; to: "icon.dragable.area"; }
1095 rel2 { relative: 0.5 1.0; to: "icon.dragable.area"; }
1101 name: "image.button.left";
1105 state: "default" 0.0;
1109 rel1 { relative: 0.0 0.5; to:"elm.swallow.space";}
1110 rel2 { relative: 0.0 0.5; to:"elm.swallow.space";}
1111 //rel1 { relative: 0.0 0.5; to:"elm.swallow.icon";}
1112 //rel2 { relative: 0.0 0.5; to:"elm.swallow.icon";}
1113 image.normal: "08_voicecall_multi_tasking_arrow_left.png";
1117 name: "image.button.right";
1121 state: "default" 0.0;
1125 rel1 { relative: 1.0 0.5; to:"elm.swallow.space";}
1126 rel2 { relative: 1.0 0.5; to:"elm.swallow.space";}
1127 //rel1 { relative: 1.0 0.5; to:"elm.swallow.icon";}
1128 //rel2 { relative: 1.0 0.5; to:"elm.swallow.icon";}
1129 image.normal: "08_voicecall_multi_tasking_arrow_right.png";
1133 name: "elm.swallow.icon";
1138 state: "default" 0.0;
1142 rel1 { relative: 0.0 0.0; to: "icon.dragable.area"; }
1143 rel2 { relative: 1.0 1.0; to: "icon.dragable.area"; }
1147 confine: "icon.dragable.area";
1153 } // end of group "elm/actionslider/base/callslider"
1156 name: "elm/actionslider/icon/callslider";
1159 /* Set padding value */
1165 image: "08_voicecall_multi_tasking_button.png" COMP;
1169 name: "image.button";
1173 state: "default" 0.0;
1177 rel1 { relative: 0.0 0.0; }
1178 rel2 { relative: 1.0 1.0; }
1179 image.normal: "08_voicecall_multi_tasking_button.png";
1180 //image.border: 19 19 0 0;
1181 image.border: 19 19 18 18;
1182 image.border_scale: 1;
1186 name: "elm.text.button";
1191 state: "default" 0.0;
1193 rel1 { relative: 0.0 0.0; to: "image.button"; }
1194 rel2 { relative: 1.0 1.0; to: "image.button"; }
1195 color: 53 45 39 255;
1197 font: "SLP:style=Roman";
1201 text_class: "slp_roman";
1206 } // end of group "elm/actionslider/icon/callslider"