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";
200 name: "elm.text.right";
205 state: "default" 0.0;
207 rel1 { relative: 0.5 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
208 rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
211 font: "SLP:style=Roman";
218 name: "elm.text.center";
224 state: "default" 0.0;
226 rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }
227 rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
231 font: "SLP:style=Roman";
238 inherit: "default" 0.0;
243 inherit: "default" 0.0;
248 name: "elm.swallow.icon";
253 state: "default" 0.0;
254 min: ACTIONSLIDER_BUTTON_W ACTIONSLIDER_BUTTON_H;
257 rel1 { relative: 0.0 0.0; to: "icon.dragable.area"; }
258 rel2 { relative: 0.0 1.0; to: "icon.dragable.area"; }
261 confine: "icon.dragable.area";
269 } // end of group "elm/actionslider/base/default" and "elm/actionslider/base/button"
272 name: "elm/actionslider/icon/default";
273 alias: "elm/actionslider/icon/button";
276 image: "01_action_slider_button.png" COMP;
280 name: "image.button";
284 state: "default" 0.0;
285 rel1 { relative: 0.0 0.0; }
286 rel2 { relative: 1.0 1.0; }
287 image.normal: "01_action_slider_button.png";
291 } // end of group "elm/actionslider/icon/default"
293 // elm_actionslider bar_green style
295 name: "elm/actionslider/base/bar_green";
298 image: "01_action_slider_bg_left.png" COMP;
299 image: "01_action_slider_bg_center.png" COMP;
300 image: "01_action_slider_bg_right.png" COMP;
301 image: "01_action_slider_bar_green_left.png" COMP;
302 image: "01_action_slider_bar_green_center.png" COMP;
312 state: "default" 0.0;
313 min: 0 ACTIONSLIDER_BG_H;
316 rel1 { relative: 0.0 0.0; }
317 rel2 { relative: 1.0 0.0; }
322 name: "image.bg.left";
327 state: "default" 0.0;
328 min: ACTIONSLIDER_BG_LEFT_W 0;
331 rel1 { relative: 0.0 0.0; to: "bg"; }
332 rel2 { relative: 0.0 1.0; to: "bg"; }
333 image.normal: "01_action_slider_bg_left.png";
337 name: "image.bg.right";
342 state: "default" 0.0;
343 min: ACTIONSLIDER_BG_RIGHT_W 0;
346 rel1 { relative: 1.0 0.0; to: "bg"; }
347 rel2 { relative: 1.0 1.0; to: "bg"; }
348 image.normal: "01_action_slider_bg_right.png";
352 name: "image.bg.center";
356 state: "default" 0.0;
357 rel1 { relative: 1.0 0.0; to: "image.bg.left"; }
358 rel2 { relative: 0.0 1.0; to: "image.bg.right"; }
359 image.normal: "01_action_slider_bg_center.png";
368 state: "default" 0.0;
369 min: 0 ACTIONSLIDER_BAR_TOP_PADDING_H;
372 rel1 { relative: 0.0 0.0; to: "bg"; }
373 rel2 { relative: 1.0 0.0; to: "bg"; }
378 name: "padding.bottom";
383 state: "default" 0.0;
384 min: 0 ACTIONSLIDER_BAR_BOTTOM_PADDING_H;
387 rel1 { relative: 0.0 1.0; to: "bg"; }
388 rel2 { relative: 1.0 1.0; to: "bg"; }
393 name: "text.padding.left";
398 state: "default" 0.0;
399 min: ACTIONSLIDER_BAR_TEXT_PADDING_LEFT 0;
402 rel1 { relative: 0.0 0.0; to: "image.bg.center"; }
403 rel2 { relative: 0.0 1.0; to: "image.bg.center"; }
408 name: "text.padding.right";
413 state: "default" 0.0;
414 min: ACTIONSLIDER_BAR_TEXT_PADDING_RIGHT 0;
417 rel1 { relative: 1.0 0.0; to: "image.bg.center"; }
418 rel2 { relative: 1.0 1.0; to: "image.bg.center"; }
423 name: "elm.text.right";
428 state: "default" 0.0;
430 rel1 { relative: 0.5 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
431 rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
432 color: 255 255 255 255;
434 font: "SLP:style=Roman";
441 name: "bar.padding.left";
445 state: "default" 0.0;
449 rel1 { relative: 0.0 0.0; to: "bg"; }
450 rel2 { relative: 0.0 1.0; to: "bg"; }
455 name: "image.bar.left";
459 state: "default" 0.0;
464 rel1 { relative: 1.0 1.0; to_x: "bar.padding.left"; to_y: "padding.top"; }
465 rel2 { relative: 1.0 0.0; to_x: "bar.padding.left"; to_y: "padding.bottom"; }
466 image.normal: "01_action_slider_bar_green_left.png";
470 name: "bar.padding.center";
475 state: "default" 0.0;
480 rel1 { relative: 1.0 1.0; to_x: "image.bar.left"; to_y: "padding.top"; }
481 rel2 { relative: 1.0 0.0; to_x: "image.bar.left"; to_y: "padding.bottom"; }
485 name: "image.bar.center";
489 state: "default" 0.0;
491 rel1 { relative: 0.0 1.0; to_x: "bar.padding.center"; to_y: "padding.top"; }
492 rel2 { relative: 0.0 0.0; to_x: "elm.swallow.icon"; to_y: "padding.bottom"; }
493 image.normal: "01_action_slider_bar_green_center.png";
497 name: "icon.dragable.area";
501 state: "default" 0.0;
502 rel1 { relative: 1.0 1.0; to_x: "bar.padding.center"; to_y: "padding.top"; }
503 rel2 { relative: 1.0 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
508 name: "elm.swallow.icon";
513 state: "default" 0.0;
514 min: ACTIONSLIDER_BAR_W ACTIONSLIDER_BAR_H;
517 rel1 { relative: 0.0 0.0; to: "icon.dragable.area"; }
518 rel2 { relative: 1.0 1.0; to: "icon.dragable.area"; }
521 confine: "icon.dragable.area";
527 name: "elm.text.center";
533 state: "default" 0.0;
535 rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }
536 rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
537 color: 255 255 255 255;
540 font: "SLP:style=Roman";
547 inherit: "default" 0.0;
552 inherit: "default" 0.0;
559 name: "show_text_center";
560 signal: "elm,show,text,center";
562 action: STATE_SET "show" 0.0;
563 target: "elm.text.center";
566 name: "hide_text_center";
567 signal: "elm,hide,text,center";
569 action: STATE_SET "hide" 0.0;
570 target: "elm.text.center";
573 } // end of group "elm/actionslider/base/bar_green"
576 name: "elm/actionslider/icon/bar_green";
579 image: "01_action_slider_bar_green_right.png" COMP;
583 name: "image.button";
587 state: "default" 0.0;
588 rel1 { relative: 0.0 0.0; }
589 rel2 { relative: 1.0 1.0; }
590 image.normal: "01_action_slider_bar_green_right.png";
594 } // end of group "elm/actionslider/icon/bar_green"
596 // elm_actionslider bar_red style
598 name: "elm/actionslider/base/bar_red";
601 image: "01_action_slider_bg_left.png" COMP;
602 image: "01_action_slider_bg_center.png" COMP;
603 image: "01_action_slider_bg_right.png" COMP;
604 image: "01_action_slider_bar_red_left.png" COMP;
605 image: "01_action_slider_bar_red_center.png" COMP;
615 state: "default" 0.0;
616 min: 0 ACTIONSLIDER_BG_H;
619 rel1 { relative: 0.0 0.0; }
620 rel2 { relative: 1.0 0.0; }
625 name: "image.bg.left";
630 state: "default" 0.0;
631 min: ACTIONSLIDER_BG_LEFT_W 0;
634 rel1 { relative: 0.0 0.0; to: "bg"; }
635 rel2 { relative: 0.0 1.0; to: "bg"; }
636 image.normal: "01_action_slider_bg_left.png";
640 name: "image.bg.right";
645 state: "default" 0.0;
646 min: ACTIONSLIDER_BG_RIGHT_W 0;
649 rel1 { relative: 1.0 0.0; to: "bg"; }
650 rel2 { relative: 1.0 1.0; to: "bg"; }
651 image.normal: "01_action_slider_bg_right.png";
655 name: "image.bg.center";
659 state: "default" 0.0;
660 rel1 { relative: 1.0 0.0; to: "image.bg.left"; }
661 rel2 { relative: 0.0 1.0; to: "image.bg.right"; }
662 image.normal: "01_action_slider_bg_center.png";
671 state: "default" 0.0;
672 min: 0 ACTIONSLIDER_BAR_TOP_PADDING_H;
675 rel1 { relative: 0.0 0.0; to: "bg"; }
676 rel2 { relative: 1.0 0.0; to: "bg"; }
681 name: "padding.bottom";
686 state: "default" 0.0;
687 min: 0 ACTIONSLIDER_BAR_BOTTOM_PADDING_H;
690 rel1 { relative: 0.0 1.0; to: "bg"; }
691 rel2 { relative: 1.0 1.0; to: "bg"; }
696 name: "text.padding.left";
701 state: "default" 0.0;
702 min: ACTIONSLIDER_BAR_TEXT_PADDING_LEFT 0;
705 rel1 { relative: 0.0 0.0; to: "image.bg.center"; }
706 rel2 { relative: 0.0 1.0; to: "image.bg.center"; }
711 name: "text.padding.right";
716 state: "default" 0.0;
717 min: ACTIONSLIDER_BAR_TEXT_PADDING_RIGHT 0;
720 rel1 { relative: 1.0 0.0; to: "image.bg.center"; }
721 rel2 { relative: 1.0 1.0; to: "image.bg.center"; }
726 name: "elm.text.right";
731 state: "default" 0.0;
733 rel1 { relative: 0.5 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
734 rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
735 color: 255 255 255 255;
737 font: "SLP:style=Roman";
744 name: "bar.padding.left";
748 state: "default" 0.0;
752 rel1 { relative: 0.0 0.0; to: "bg"; }
753 rel2 { relative: 0.0 1.0; to: "bg"; }
758 name: "image.bar.left";
762 state: "default" 0.0;
767 rel1 { relative: 1.0 1.0; to_x: "bar.padding.left"; to_y: "padding.top"; }
768 rel2 { relative: 1.0 0.0; to_x: "bar.padding.left"; to_y: "padding.bottom"; }
769 image.normal: "01_action_slider_bar_red_left.png";
773 name: "bar.padding.center";
778 state: "default" 0.0;
783 rel1 { relative: 1.0 1.0; to_x: "image.bar.left"; to_y: "padding.top"; }
784 rel2 { relative: 1.0 0.0; to_x: "image.bar.left"; to_y: "padding.bottom"; }
788 name: "image.bar.center";
792 state: "default" 0.0;
794 rel1 { relative: 0.0 1.0; to_x: "bar.padding.center"; to_y: "padding.top"; }
795 rel2 { relative: 0.0 0.0; to_x: "elm.swallow.icon"; to_y: "padding.bottom"; }
796 image.normal: "01_action_slider_bar_red_center.png";
800 name: "icon.dragable.area";
804 state: "default" 0.0;
805 rel1 { relative: 1.0 1.0; to_x: "bar.padding.center"; to_y: "padding.top"; }
806 rel2 { relative: 1.0 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
811 name: "elm.swallow.icon";
816 state: "default" 0.0;
817 min: ACTIONSLIDER_BAR_W ACTIONSLIDER_BAR_H;
820 rel1 { relative: 0.0 0.0; to: "icon.dragable.area"; }
821 rel2 { relative: 1.0 1.0; to: "icon.dragable.area"; }
824 confine: "icon.dragable.area";
830 name: "elm.text.center";
836 state: "default" 0.0;
838 rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }
839 rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
840 color: 255 255 255 255;
843 font: "SLP:style=Roman";
850 inherit: "default" 0.0;
855 inherit: "default" 0.0;
862 name: "show_text_center";
863 signal: "elm,show,text,center";
865 action: STATE_SET "show" 0.0;
866 target: "elm.text.center";
869 name: "hide_text_center";
870 signal: "elm,hide,text,center";
872 action: STATE_SET "hide" 0.0;
873 target: "elm.text.center";
876 } // end of group "elm/actionslider/base/bar_red"
879 name: "elm/actionslider/icon/bar_red";
882 image: "01_action_slider_bar_red_right.png" COMP;
886 name: "image.button";
890 state: "default" 0.0;
891 rel1 { relative: 0.0 0.0; }
892 rel2 { relative: 1.0 1.0; }
893 image.normal: "01_action_slider_bar_red_right.png";
897 } // end of group "elm/actionslider/icon/bar_red"
900 // elm_actionslider callslider style
902 name: "elm/actionslider/base/callslider";
905 image: "08_voicecall_multi_tasking_bg.png" COMP;
906 image: "08_voicecall_multi_tasking_arrow_left.png" COMP;
907 image: "08_voicecall_multi_tasking_arrow_right.png" COMP;
917 state: "default" 0.0;
921 rel1 { relative: 0.0 0.0; }
922 rel2 { relative: 1.0 1.0; }
932 state: "default" 0.0;
933 rel1 { relative: 0.0 0.0; to:"bg";}
934 rel2 { relative: 1.0 1.0; to:"bg";}
935 image.normal: "08_voicecall_multi_tasking_bg.png";
944 state: "default" 0.0;
948 rel1 { relative: 0.0 0.0; to: "bg"; }
949 rel2 { relative: 1.0 0.0; to: "bg"; }
954 name: "padding.bottom";
959 state: "default" 0.0;
963 rel1 { relative: 0.0 1.0; to: "bg"; }
964 rel2 { relative: 1.0 1.0; to: "bg"; }
969 name: "text.padding.left";
974 state: "default" 0.0;
978 rel1 { relative: 0.0 0.0; to: "bg"; }
979 rel2 { relative: 0.0 1.0; to: "bg"; }
984 name: "text.padding.right";
989 state: "default" 0.0;
993 rel1 { relative: 1.0 0.0; to: "bg"; }
994 rel2 { relative: 1.0 1.0; to: "bg"; }
999 name: "elm.text.left";
1004 state: "default" 0.0;
1006 rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }
1007 rel2 { relative: 0.5 0.0; to_x: "bg"; to_y: "padding.bottom"; }
1008 color: 230 228 229 255;
1010 font: "SLP:style=Roman";
1017 name: "elm.text.right";
1022 state: "default" 0.0;
1024 rel1 { relative: 0.5 1.0; to_x: "bg"; to_y: "padding.top"; }
1025 rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
1026 color: 230 228 229 255;
1028 font: "SLP:style=Roman";
1035 name: "drag.padding.left";
1040 state: "default" 0.0;
1044 rel1 { relative: 0.0 0.0; to: "bg"; }
1045 rel2 { relative: 0.0 1.0; to: "bg"; }
1050 name: "drag.padding.right";
1055 state: "default" 0.0;
1059 rel1 { relative: 1.0 0.0; to: "bg"; }
1060 rel2 { relative: 1.0 1.0; to: "bg"; }
1065 name: "icon.dragable.area";
1069 state: "default" 0.0;
1070 rel1 { relative: 1.0 1.0; to_x: "drag.padding.left"; to_y: "padding.top"; }
1071 rel2 { relative: 0.0 0.0; to_x: "drag.padding.right"; to_y: "padding.bottom"; }
1076 name: "elm.swallow.space";
1081 state: "default" 0.0;
1085 rel1 { relative: 0.5 0.0; to: "icon.dragable.area"; }
1086 rel2 { relative: 0.5 1.0; to: "icon.dragable.area"; }
1092 name: "image.button.left";
1096 state: "default" 0.0;
1100 rel1 { relative: 0.0 0.5; to:"elm.swallow.space";}
1101 rel2 { relative: 0.0 0.5; to:"elm.swallow.space";}
1102 //rel1 { relative: 0.0 0.5; to:"elm.swallow.icon";}
1103 //rel2 { relative: 0.0 0.5; to:"elm.swallow.icon";}
1104 image.normal: "08_voicecall_multi_tasking_arrow_left.png";
1108 name: "image.button.right";
1112 state: "default" 0.0;
1116 rel1 { relative: 1.0 0.5; to:"elm.swallow.space";}
1117 rel2 { relative: 1.0 0.5; to:"elm.swallow.space";}
1118 //rel1 { relative: 1.0 0.5; to:"elm.swallow.icon";}
1119 //rel2 { relative: 1.0 0.5; to:"elm.swallow.icon";}
1120 image.normal: "08_voicecall_multi_tasking_arrow_right.png";
1124 name: "elm.swallow.icon";
1129 state: "default" 0.0;
1133 rel1 { relative: 0.0 0.0; to: "icon.dragable.area"; }
1134 rel2 { relative: 1.0 1.0; to: "icon.dragable.area"; }
1138 confine: "icon.dragable.area";
1144 } // end of group "elm/actionslider/base/callslider"
1147 name: "elm/actionslider/icon/callslider";
1150 /* Set padding value */
1156 image: "08_voicecall_multi_tasking_button.png" COMP;
1160 name: "image.button";
1164 state: "default" 0.0;
1168 rel1 { relative: 0.0 0.0; }
1169 rel2 { relative: 1.0 1.0; }
1170 image.normal: "08_voicecall_multi_tasking_button.png";
1171 //image.border: 19 19 0 0;
1172 image.border: 19 19 18 18;
1173 image.border_scale: 1;
1177 name: "elm.text.button";
1182 state: "default" 0.0;
1184 rel1 { relative: 0.0 0.0; to: "image.button"; }
1185 rel2 { relative: 1.0 1.0; to: "image.button"; }
1186 color: 53 45 39 255;
1188 font: "SLP:style=Roman";
1196 } // end of group "elm/actionslider/icon/callslider"