1 #include "../src/include/vcui-view-layout-hd.h"
3 #define BUTTON_STATE_ENABLED 0
4 #define BUTTON_STATE_DISABLED 1
6 #define BG_IMG_PATH "./bg"
7 #define ICON_IMG_PATH "./icon"
9 #define STYLE_CALL_SIX_BUTTON(grp_name, img1, img2, value, vis_value, op, r1, g1, b1, op1, r3, g3, b3, op3) \
10 group { name: "elm/button/base/"grp_name; \
16 part { name: "button_image"; \
18 mouse_events: value; \
20 description {state: "default" 0.0; \
21 color: COLOR_BG_ALPHA; \
23 description { state: "clicked" 0.0; \
24 inherit: "default" 0.0; \
26 description { state: "disabled" 0.0; \
27 inherit: "default" 0.0; \
29 description { state: "focused" 0.0; \
30 inherit: "default" 0.0; \
33 part { name: "elm.swallow.content"; \
34 description { state: "default" 0.0; \
41 rel1.relative: 0.0 (22/168); \
42 rel2.relative: 1.0 (102/168); \
43 aspect_preference: VERTICAL; \
45 description { state: "visible" 0.0; \
46 inherit: "default" 0.0; \
51 description { state: "clicked" 0.0; \
52 inherit: "default" 0.0; \
60 description { state: "icononly" 0.0; \
61 inherit: "default" 0.0; \
66 rel2.relative: 1.0 (146/168); \
69 part { name: "elm.text"; \
71 effect: SOFT_SHADOW; \
74 description { state: "default" 0.0; \
77 rel1.to_y: "elm.swallow.content"; \
78 rel1.relative: 0.5 (108/168); \
79 rel2.relative: 0.5 (146/168); \
80 color: 255 255 255 op; \
84 font: FONT_SLP_Roman; \
85 text_class: TEXT_CLASS_SLP_ROMAN; \
91 description { state: "visible" 0.0; \
92 inherit: "default" 0.0; \
95 description { state: "clicked" 0.0; \
96 inherit: "default" 0.0; \
100 description { state: "disabled" 0.0; \
101 inherit: "default" 0.0; \
102 color: r1 g1 b1 op1; \
103 color3: r3 g3 b3 op3; \
105 description { state: "disabled_visible" 0.0; \
106 inherit: "default" 0.0; \
107 color: r1 g1 b1 op1; \
108 color3: r3 g3 b3 op3; \
111 description { state: "focused" 0.0; \
112 inherit: "default" 0.0; \
117 part { name: "over2"; \
121 ignore_flags: ON_HOLD; \
122 description { state: "default" 0.0; \
124 rel1 { relative: 0.25 0.1; } \
125 rel2 { relative: 0.75 0.9; } \
127 description { state: "disabled" 0.0; \
128 inherit: "default" 0.0; \
132 part { name: "over3"; \
136 description { state: "default" 0.0; \
138 rel1 { relative: 0.25 0.1; } \
139 rel2 { relative: 0.75 0.9; } \
141 description { state: "clicked" 0.0; \
142 inherit: "default" 0.0; \
146 part { name: "disabler"; \
148 description { state: "default" 0.0; \
151 description { state: "disabled" 0.0; \
152 inherit: "default" 0.0; \
158 program { name: "button_click"; \
159 signal: "mouse,down,1"; \
161 action: SIGNAL_EMIT "elm,action,press" ""; \
162 after: "button_click_anim"; \
164 program { name: "button_click_anim"; \
165 action: STATE_SET "clicked" 0.0; \
166 target: "button_image"; \
167 target: "elm.text"; \
168 target: "elm.swallow.content"; \
170 program { name: "button_unclick"; \
171 signal: "mouse,up,1"; \
173 action: SIGNAL_EMIT "elm,action,unpress" ""; \
174 after: "button_unclick_anim"; \
176 program { name: "button_unclick_anim"; \
177 action: STATE_SET "default" 0.0; \
178 target: "button_image"; \
179 target: "elm.swallow.content"; \
180 action: STATE_SET "visible" 0.0; \
181 target: "elm.text"; \
183 program { name: "button_mouseout_clicked"; \
184 signal: "mouse,out"; \
189 get_state(PART:"elm.text", st, 30, vl); \
190 if (!strcmp(st, "clicked")) \
192 set_state(PART:"elm.text", "visible", 0.0); \
193 set_state(PART:"button_image", "visible", 0.0); \
197 program { name: "button_click2"; \
198 signal: "mouse,down,1"; \
200 action: STATE_SET "clicked" 0.0; \
203 program { name: "button_unclick2"; \
204 signal: "mouse,up,1"; \
206 action: STATE_SET "default" 0.0; \
209 program { name: "button_unclick3"; \
210 signal: "mouse,up,1"; \
212 action: SIGNAL_EMIT "elm,action,click" ""; \
214 program { name: "text_show"; \
215 signal: "elm,state,text,visible"; \
220 get_state(PART:"elm.swallow.content", st, 30, vl); \
221 if (!strcmp(st, "icononly")) \
222 set_state(PART:"elm.swallow.content", "visible", 0.0); \
223 set_state(PART:"elm.text", "visible", 0.0); \
226 program { name: "text_hide"; \
227 signal: "elm,state,text,hidden"; \
232 get_state(PART:"elm.swallow.content", st, 30, vl); \
233 if (!strcmp(st, "visible")) \
234 set_state(PART:"elm.swallow.content", "icononly", 0.0); \
235 set_state(PART:"elm.text", "default", 0.0); \
238 program { name: "icon_show"; \
239 signal: "elm,state,icon,visible"; \
244 get_state(PART:"elm.text", st, 30, vl); \
245 if (!strcmp(st, "visible")) \
246 set_state(PART:"elm.swallow.content", "visible", 0.0); \
248 set_state(PART:"elm.swallow.content", "icononly", 0.0); \
251 program { name: "icon_hide"; \
252 signal: "elm,state,icon,hidden"; \
254 action: STATE_SET "default" 0.0; \
255 target: "elm.swallow.content"; \
257 program { name: "disable"; \
258 signal: "elm,state,disabled"; \
260 action: STATE_SET "disabled" 0.0; \
261 target: "button_image"; \
263 target: "disabler"; \
264 after: "disable_text"; \
266 program { name: "disable_text"; \
270 get_state(PART:"elm.text", st, 30, vl); \
271 if (!strcmp(st, "visible")) \
272 set_state(PART:"elm.text", "disabled_visible", 0.0); \
274 set_state(PART:"elm.text", "disabled", 0.0); \
277 program { name: "enable"; \
278 signal: "elm,state,enabled"; \
280 action: STATE_SET "default" 0.0; \
281 target: "button_image"; \
283 target: "disabler"; \
284 after: "enable_text"; \
286 program { name: "enable_text"; \
290 get_state(PART:"elm.text", st, 30, vl); \
291 if (!strcmp(st, "disabled_visible")) \
292 set_state(PART:"elm.text", "visible", 0.0); \
294 set_state(PART:"elm.text", "default", 0.0); \
297 program { name: "focused"; \
298 signal: "elm,action,focus"; \
300 action: STATE_SET "focused" 0.0; \
301 target: "button_image"; \
302 target: "elm.text"; \
304 program { name: "unfocused"; \
305 signal: "elm,action,unfocus"; \
307 action: STATE_SET "default" 0.0; \
308 target: "button_image"; \
309 action: STATE_SET "visible" 0.0; \
310 target: "elm.text"; \
315 #define STYLE_CALL_END_BUTTON(grp_name, img1, img2) \
316 group { name: "elm/button/base/"grp_name; \
318 image: BG_IMG_PATH"/vc_button_callend_press.png" COMP; \
323 part { name: "button_image"; \
327 state: "default" 0.0; \
330 description { state: "clicked" 0.0; \
333 normal: BG_IMG_PATH"/vc_button_callend_press.png"; \
338 description { state: "visible" 0.0; \
339 inherit: "default" 0.0; \
342 description { state: "disabled" 0.0; \
343 inherit: "default" 0.0; \
345 description { state: "focused" 0.0; \
346 inherit: "default" 0.0; \
349 part { name: "elm.swallow.content"; \
350 description { state: "default" 0.0; \
354 rel1.relative: 0.0 0.24; \
355 rel2.relative: 1.0 0.60; \
356 aspect_preference: VERTICAL; \
361 description { state: "visible" 0.0; \
362 inherit: "default" 0.0; \
367 description { state: "clicked" 0.0; \
368 inherit: "default" 0.0; \
376 description { state: "icononly" 0.0; \
377 inherit: "default" 0.0; \
382 rel2.relative: 1.0 1.0; \
385 part { name: "elm.text"; \
387 effect: SOFT_SHADOW; \
390 description { state: "default" 0.0; \
393 rel1.relative: 0.5 0.63; \
394 rel2.relative: 0.5 0.81; \
395 color: 255 255 255 255; \
399 font: FONT_SLP_Roman; \
400 text_class: TEXT_CLASS_SLP_ROMAN; \
406 description { state: "visible" 0.0; \
407 inherit: "default" 0.0; \
410 description { state: "clicked" 0.0; \
411 inherit: "default" 0.0; \
414 color: 255 255 255 255; \
418 description { state: "disabled" 0.0; \
419 inherit: "default" 0.0; \
423 description { state: "disabled_visible" 0.0; \
424 inherit: "default" 0.0; \
429 description { state: "focused" 0.0; \
430 inherit: "default" 0.0; \
433 color: 255 255 255 255; \
438 part { name: "over2"; \
442 ignore_flags: ON_HOLD; \
443 description { state: "default" 0.0; \
445 rel1 { relative: 0.25 0.1; } \
446 rel2 { relative: 0.75 0.9; } \
448 description { state: "disabled" 0.0; \
449 inherit: "default" 0.0; \
453 part { name: "over3"; \
457 description { state: "default" 0.0; \
459 rel1 { relative: 0.25 0.1; } \
460 rel2 { relative: 0.75 0.9; } \
462 description { state: "clicked" 0.0; \
463 inherit: "default" 0.0; \
467 part { name: "disabler"; \
469 description { state: "default" 0.0; \
472 description { state: "disabled" 0.0; \
473 inherit: "default" 0.0; \
479 program { name: "button_click"; \
480 signal: "mouse,down,1"; \
482 action: SIGNAL_EMIT "elm,action,press" ""; \
483 after: "button_click_anim"; \
485 program { name: "button_click_anim"; \
486 action: STATE_SET "clicked" 0.0; \
487 target: "button_image"; \
488 target: "elm.text"; \
489 target: "elm.swallow.content"; \
491 program { name: "button_unclick"; \
492 signal: "mouse,up,1"; \
494 action: SIGNAL_EMIT "elm,action,unpress" ""; \
496 emit ( "animation", "over2"); \
500 name: "button_animation"; \
501 signal: "animation"; \
503 action: STATE_SET "default" 0.0; \
504 transition: SINUSOIDAL 0.1; \
505 target: "button_image"; \
506 after: "button_unclick_anim"; \
509 name: "button_unclick_anim"; \
510 action: STATE_SET "default" 0.0; \
511 target: "elm.swallow.content"; \
512 action: STATE_SET "visible" 0.0; \
513 target: "elm.text"; \
515 program { name: "button_mouseout_clicked"; \
516 signal: "mouse,out"; \
521 get_state(PART:"elm.text", st, 30, vl); \
522 if (!strcmp(st, "clicked")) \
524 set_state(PART:"elm.text", "visible", 0.0); \
525 set_state(PART:"button_image", "visible", 0.0); \
529 program { name: "button_click2"; \
530 signal: "mouse,down,1"; \
532 action: STATE_SET "clicked" 0.0; \
535 program { name: "button_unclick2"; \
536 signal: "mouse,up,1"; \
538 action: STATE_SET "default" 0.0; \
541 program { name: "button_unclick3"; \
542 signal: "mouse,up,1"; \
544 action: SIGNAL_EMIT "elm,action,click" ""; \
546 program { name: "text_show"; \
547 signal: "elm,state,text,visible"; \
552 get_state(PART:"elm.swallow.content", st, 30, vl); \
553 if (!strcmp(st, "icononly")) \
554 set_state(PART:"elm.swallow.content", "visible", 0.0); \
555 set_state(PART:"elm.text", "visible", 0.0); \
558 program { name: "text_hide"; \
559 signal: "elm,state,text,hidden"; \
564 get_state(PART:"elm.swallow.content", st, 30, vl); \
565 if (!strcmp(st, "visible")) \
566 set_state(PART:"elm.swallow.content", "icononly", 0.0); \
567 set_state(PART:"elm.text", "default", 0.0); \
570 program { name: "icon_show"; \
571 signal: "elm,state,icon,visible"; \
576 get_state(PART:"elm.text", st, 30, vl); \
577 if (!strcmp(st, "visible")) \
578 set_state(PART:"elm.swallow.content", "visible", 0.0); \
580 set_state(PART:"elm.swallow.content", "icononly", 0.0); \
583 program { name: "icon_hide"; \
584 signal: "elm,state,icon,hidden"; \
586 action: STATE_SET "default" 0.0; \
587 target: "elm.swallow.content"; \
589 program { name: "disable"; \
590 signal: "elm,state,disabled"; \
592 action: STATE_SET "disabled" 0.0; \
593 target: "button_image"; \
595 target: "disabler"; \
596 after: "disable_text"; \
598 program { name: "disable_text"; \
602 get_state(PART:"elm.text", st, 30, vl); \
603 if (!strcmp(st, "visible")) \
604 set_state(PART:"elm.text", "disabled_visible", 0.0); \
606 set_state(PART:"elm.text", "disabled", 0.0); \
609 program { name: "enable"; \
610 signal: "elm,state,enabled"; \
612 action: STATE_SET "default" 0.0; \
613 target: "button_image"; \
615 target: "disabler"; \
616 after: "enable_text"; \
618 program { name: "enable_text"; \
622 get_state(PART:"elm.text", st, 30, vl); \
623 if (!strcmp(st, "disabled_visible")) \
624 set_state(PART:"elm.text", "visible", 0.0); \
626 set_state(PART:"elm.text", "default", 0.0); \
629 program { name: "focused"; \
630 signal: "elm,action,focus"; \
632 action: STATE_SET "focused" 0.0; \
633 target: "elm.text"; \
634 action: STATE_SET "focused" 0.0; \
635 transition: SINUSOIDAL 0.1; \
636 target: "button_image"; \
638 program { name: "unfocused"; \
639 signal: "elm,action,unfocus"; \
641 action: STATE_SET "default" 0.0; \
642 target: "button_image"; \
643 action: STATE_SET "visible" 0.0; \
644 target: "elm.text"; \
649 #define STYLE_HOLD_SWAP_BUTTON(grp_name, img1, img2, rel1x, rel1y, rel2x, rel2y) \
650 group { name: "elm/button/base/"grp_name; \
656 part { name: "button_image"; \
660 state: "default" 0.0; \
661 image.normal: img1; \
664 state: "clicked" 0.0; \
665 image.normal: img2; \
668 part { name: "elm.swallow.content"; \
670 description { state: "default" 0.0; \
674 rel1.relative: rel1x rel1y; \
675 rel2.relative: rel2x rel2y; \
676 aspect_preference: VERTICAL; \
678 description { state: "visible" 0.0; \
679 inherit: "default" 0.0; \
684 description { state: "icononly" 0.0; \
685 inherit: "default" 0.0; \
692 part { name: "over2"; \
696 ignore_flags: ON_HOLD; \
697 description { state: "default" 0.0; \
700 description { state: "disabled" 0.0; \
701 inherit: "default" 0.0; \
705 part { name: "over3"; \
709 description { state: "default" 0.0; \
712 description { state: "clicked" 0.0; \
713 inherit: "default" 0.0; \
717 part { name: "disabler"; \
719 description { state: "default" 0.0; \
722 description { state: "disabled" 0.0; \
723 inherit: "default" 0.0; \
729 program { name: "button_click"; \
730 signal: "mouse,down,1"; \
732 action: SIGNAL_EMIT "elm,action,press" ""; \
733 after: "button_click_anim"; \
735 program { name: "button_click_anim"; \
736 action: STATE_SET "clicked" 0.0; \
737 target: "button_image"; \
739 program { name: "button_unclick"; \
740 signal: "mouse,up,1"; \
742 action: SIGNAL_EMIT "elm,action,unpress" ""; \
743 after: "button_unclick_anim"; \
745 program { name: "button_unclick_anim"; \
746 action: STATE_SET "default" 0.0; \
747 target: "button_image"; \
749 program { name: "button_mouseout_clicked"; \
750 signal: "mouse,out"; \
755 get_state(PART:"elm.swallow.content", st, 30, vl); \
756 if (!strcmp(st, "clicked")) \
758 set_state(PART:"button_image", "visible", 0.0); \
762 program { name: "button_click2"; \
763 signal: "mouse,down,1"; \
765 action: STATE_SET "clicked" 0.0; \
768 program { name: "button_unclick2"; \
769 signal: "mouse,up,1"; \
771 action: STATE_SET "default" 0.0; \
774 program { name: "button_unclick3"; \
775 signal: "mouse,up,1"; \
777 action: SIGNAL_EMIT "elm,action,click" ""; \
779 program { name: "text_show"; \
780 signal: "elm,state,text,visible"; \
785 get_state(PART:"elm.swallow.content", st, 30, vl); \
786 if (!strcmp(st, "icononly")) \
787 set_state(PART:"elm.swallow.content", "visible", 0.0); \
790 program { name: "text_hide"; \
791 signal: "elm,state,text,hidden"; \
796 get_state(PART:"elm.swallow.content", st, 30, vl); \
797 if (!strcmp(st, "visible")) \
798 set_state(PART:"elm.swallow.content", "icononly", 0.0); \
801 program { name: "icon_show"; \
802 signal: "elm,state,icon,visible"; \
807 get_state(PART:"elm.swallow.content", st, 30, vl); \
808 if (!strcmp(st, "visible")) \
809 set_state(PART:"elm.swallow.content", "visible", 0.0); \
811 set_state(PART:"elm.swallow.content", "icononly", 0.0); \
814 program { name: "icon_hide"; \
815 signal: "elm,state,icon,hidden"; \
817 action: STATE_SET "default" 0.0; \
818 target: "elm.swallow.content"; \
820 program { name: "disable"; \
821 signal: "elm,state,disabled"; \
823 action: STATE_SET "disabled" 0.0; \
824 target: "button_image"; \
826 target: "disabler"; \
828 program { name: "enable"; \
829 signal: "elm,state,enabled"; \
831 action: STATE_SET "default" 0.0; \
832 target: "button_image"; \
834 target: "disabler"; \
836 program { name: "focused"; \
837 signal: "elm,action,focus"; \
839 action: STATE_SET "focused" 0.0; \
840 target: "button_image"; \
842 program { name: "unfocused"; \
843 signal: "elm,action,unfocus"; \
845 action: STATE_SET "default" 0.0; \
846 target: "button_image"; \
851 #define STYLE_CALL_TEXT(grp_name, img1, img2, min_x, min_y, border_L, border_T, g1, b1, sz) \
852 group { name: "elm/button/base/"grp_name; \
858 part { name: "button_image"; \
861 effect: SOFT_SHADOW; \
862 description { state: "default" 0.0; \
866 border: border_L border_T 0 0; \
870 description { state: "clicked" 0.0; \
874 border: border_L border_T 0 0; \
878 description { state: "disabled" 0.0; \
879 inherit: "clicked" 0.0; \
881 description { state: "focused" 0.0; \
882 inherit: "default" 0.0; \
885 part { name: "elm.text"; \
891 state: "default" 0.0; \
895 color: 255 g1 b1 255; \
899 font: FONT_SLP_Regular; \
900 text_class: TEXT_CLASS_SLP_REGULAR; \
906 description { state: "visible" 0.0; \
907 inherit: "default" 0.0; \
911 description { state: "clicked" 0.0; \
912 inherit: "default" 0.0; \
915 color: 255 255 255 255; \
919 description { state: "disabled" 0.0; \
920 inherit: "default" 0.0; \
924 description { state: "disabled_visible" 0.0; \
925 inherit: "default" 0.0; \
931 description { state: "focused" 0.0; \
932 inherit: "default" 0.0; \
935 color: 255 255 255 255; \
938 part { name: "over1"; \
940 description { state: "default" 0.0; \
941 rel2.relative: 1.0 0.5; \
943 description { state: "disabled" 0.0; \
944 inherit: "default" 0.0; \
947 part { name: "over2"; \
950 ignore_flags: ON_HOLD; \
951 description { state: "default" 0.0; \
953 description { state: "disabled" 0.0; \
954 inherit: "default" 0.0; \
958 part { name: "over3"; \
961 description { state: "default" 0.0; \
962 color: 255 255 255 0; \
964 description { state: "clicked" 0.0; \
965 inherit: "default" 0.0; \
967 color: 255 255 255 0; \
970 part { name: "disabler"; \
972 description { state: "default" 0.0; \
976 description { state: "disabled" 0.0; \
977 inherit: "default" 0.0; \
983 program { name: "button_click"; \
984 signal: "mouse,down,1"; \
986 action: SIGNAL_EMIT "elm,action,press" ""; \
987 after: "button_click_anim"; \
989 program { name: "button_click_anim"; \
990 action: STATE_SET "clicked" 0.0; \
991 target: "button_image"; \
992 target: "elm.text"; \
994 program { name: "button_unclick"; \
995 signal: "mouse,up,1"; \
997 action: SIGNAL_EMIT "elm,action,unpress" ""; \
998 after: "button_unclick_anim"; \
1000 program { name: "button_unclick_anim"; \
1001 action: STATE_SET "default" 0.0; \
1002 target: "button_image"; \
1003 action: STATE_SET "visible" 0.0; \
1004 target: "elm.text"; \
1006 program { name: "button_mouseout_clicked"; \
1007 signal: "mouse,out"; \
1012 get_state(PART:"elm.text", st, 30, vl); \
1013 if (!strcmp(st, "clicked")) \
1015 set_state(PART:"elm.text", "visible", 0.0); \
1016 set_state(PART:"button_image", "visible", 0.0); \
1020 program { name: "button_click2"; \
1021 signal: "mouse,down,1"; \
1023 action: STATE_SET "clicked" 0.0; \
1026 program { name: "button_unclick2"; \
1027 signal: "mouse,up,1"; \
1029 action: STATE_SET "default" 0.0; \
1032 program { name: "button_unclick3"; \
1033 signal: "mouse,up,1"; \
1035 action: SIGNAL_EMIT "elm,action,click" ""; \
1037 program { name: "text_show"; \
1038 signal: "elm,state,text,visible"; \
1040 action: STATE_SET "visible" 0.0; \
1041 target: "elm.text"; \
1043 program { name: "text_hide"; \
1044 signal: "elm,state,text,hidden"; \
1046 action: STATE_SET "default" 0.0; \
1047 target: "elm.text"; \
1049 program { name: "disable"; \
1050 signal: "elm,state,disabled"; \
1052 action: STATE_SET "disabled" 0.0; \
1053 target: "button_image"; \
1056 target: "disabler"; \
1057 after: "disable_text"; \
1059 program { name: "disable_text"; \
1063 get_state(PART:"elm.text", st, 30, vl); \
1064 if (!strcmp(st, "visible")) \
1065 set_state(PART:"elm.text", "disabled_visible", 0.0); \
1067 set_state(PART:"elm.text", "disabled", 0.0); \
1070 program { name: "enable"; \
1071 signal: "elm,state,enabled"; \
1073 action: STATE_SET "default" 0.0; \
1074 target: "button_image"; \
1077 target: "disabler"; \
1078 after: "enable_text"; \
1080 program { name: "enable_text"; \
1084 get_state(PART:"elm.text", st, 30, vl); \
1085 if (!strcmp(st, "disabled_visible")) \
1086 set_state(PART:"elm.text", "visible", 0.0); \
1088 set_state(PART:"elm.text", "default", 0.0); \
1091 program { name: "focused"; \
1092 signal: "elm,action,focus"; \
1094 action: STATE_SET "focused" 0.0; \
1095 target: "button_image"; \
1096 target: "elm.text"; \
1098 program { name: "unfocused"; \
1099 signal: "elm,action,unfocus"; \
1101 action: STATE_SET "default" 0.0; \
1102 target: "button_image"; \
1103 action: STATE_SET "visible" 0.0; \
1104 target: "elm.text"; \
1109 #define GENLIST_PROGRAMS \
1110 program { name: "go_active"; \
1111 signal: "elm,state,selected"; \
1113 action: STATE_SET "selected" 0.0; \
1114 target: "bg_image"; \
1115 target: "elm.text"; \
1117 program { name: "go_passive"; \
1118 signal: "elm,state,unselected"; \
1120 action: STATE_SET "default" 0.0; \
1121 target: "bg_image"; \
1122 target: "elm.text"; \
1123 transition: LINEAR 0.1; \
1125 program { name: "go_disabled"; \
1126 signal: "elm,state,disabled"; \
1128 action: STATE_SET "disabled" 0.0; \
1129 target: "disclip"; \
1131 program { name: "go_enabled"; \
1132 signal: "elm,state,enabled"; \
1134 action: STATE_SET "default" 0.0; \
1135 target: "disclip"; \
1138 #define STYLE_CALL_MULTILIST_BUTTON(grp_name, img1, img2, min_x, min_y, max_x, max_y) \
1139 group { name: "elm/button/base/"grp_name; \
1145 part { name: "button_image"; \
1148 description { state: "default" 0.0; \
1157 description { state: "clicked" 0.0; \
1158 inherit: "default" 0.0; \
1165 description { state: "disabled" 0.0; \
1166 inherit: "clicked" 0.0; \
1168 description { state: "focused" 0.0; \
1169 inherit: "default" 0.0; \
1172 part { name: "elm.swallow.content"; \
1176 description { state: "default" 0.0; \
1181 rel1 { to: "button_image"; } \
1182 rel2 { to: "button_image"; } \
1185 description { state: "visible" 0.0; \
1186 inherit: "default" 0.0; \
1189 aspect_preference: VERTICAL; \
1192 part { name: "over1"; \
1195 ignore_flags: ON_HOLD; \
1196 description { state: "default" 0.0; \
1197 rel1.to: "button_image"; \
1198 rel2.to: "button_image"; \
1200 description { state: "disabled" 0.0; \
1201 inherit: "default" 0.0; \
1205 part { name: "over2"; \
1208 description { state: "default" 0.0; \
1209 color: 255 255 255 0; \
1211 description { state: "clicked" 0.0; \
1212 inherit: "default" 0.0; \
1214 color: 255 255 255 0; \
1217 part { name: "disabler"; \
1219 description { state: "default" 0.0; \
1220 rel1.to: "button_image"; \
1221 rel2.to: "button_image"; \
1225 description { state: "disabled" 0.0; \
1226 inherit: "default" 0.0; \
1232 program { name: "button_click"; \
1233 signal: "mouse,down,1"; \
1235 action: SIGNAL_EMIT "elm,action,press" ""; \
1236 after: "button_click_anim"; \
1238 program { name: "button_click_anim"; \
1239 action: STATE_SET "clicked" 0.0; \
1240 target: "button_image"; \
1242 program { name: "button_unclick"; \
1243 signal: "mouse,up,1"; \
1245 action: SIGNAL_EMIT "elm,action,unpress" ""; \
1246 after: "button_unclick_anim"; \
1248 program { name: "button_unclick_anim"; \
1249 action: STATE_SET "default" 0.0; \
1250 target: "button_image"; \
1252 program { name: "button_mouseout_clicked"; \
1253 signal: "mouse,out"; \
1255 action: STATE_SET "default" 0.0; \
1256 target: "button_image"; \
1258 program { name: "button_click2"; \
1259 signal: "mouse,down,1"; \
1261 action: STATE_SET "clicked" 0.0; \
1264 program { name: "button_unclick2"; \
1265 signal: "mouse,up,1"; \
1267 action: STATE_SET "default" 0.0; \
1269 after: "button_unclick3"; \
1271 program { name: "button_unclick3"; \
1272 action: SIGNAL_EMIT "elm,action,click" ""; \
1274 program { name: "disable"; \
1275 signal: "elm,state,disabled"; \
1277 action: STATE_SET "disabled" 0.0; \
1278 target: "button_image"; \
1280 target: "disabler"; \
1282 program { name: "enable"; \
1283 signal: "elm,state,enabled"; \
1285 action: STATE_SET "default" 0.0; \
1286 target: "button_image"; \
1288 target: "disabler"; \
1290 program { name: "icon_show"; \
1291 signal: "elm,state,icon,visible"; \
1293 action: STATE_SET "visible" 0.0; \
1294 target: "elm.swallow.content"; \
1296 program { name: "icon_hide"; \
1297 signal: "elm,state,icon,hidden"; \
1299 action: STATE_SET "default" 0.0; \
1300 target: "elm.swallow.content"; \
1302 program { name: "focused"; \
1303 signal: "elm,action,focus"; \
1305 action: STATE_SET "focused" 0.0; \
1306 target: "button_image"; \
1308 program { name: "unfocused"; \
1309 signal: "elm,action,unfocus"; \
1311 action: STATE_SET "default" 0.0; \
1312 target: "button_image"; \
1317 #define BEAT_GENLIST_PART_BASE( param_item_height ) \
1318 part { name: "base"; \
1322 description { state: "default" 0.0; \
1323 min: 0 param_item_height; \
1328 #define BEAT_GENLIST_PART_BG \
1329 part { name: "bg"; \
1331 clip_to: "disclip"; \
1333 description { state: "default" 0.0; \
1338 #define GENLIST_PART_BG_IMAGE \
1339 part { name: "bg_image"; \
1341 clip_to: "disclip"; \
1343 description { state: "default" 0.0; \
1346 description { state: "selected" 0.0; \
1347 inherit: "default" 0.0; \
1348 color: 0 140 210 255; \
1352 #define GENLIST_PART_BG_IMAGE_NO_SELECT \
1353 part { name: "bg_image"; \
1355 clip_to: "disclip"; \
1357 description { state: "default" 0.0; \
1358 color: 199 185 164 0; \
1360 description { state: "selected" 0.0; \
1361 inherit: "default" 0.0; \
1365 #define BEAT_GENLIST_PART_BOTTOM_LINE \
1366 part { name: "bottom_line"; \
1368 clip_to: "disclip"; \
1370 description { state: "default" 0.0; \
1374 color: 255 255 255 255; \
1376 relative: 0.0 1.0; \
1382 #define BEAT_GENLIST_PART_PADDING_LEFT( param_padding_size ) \
1383 part { name: "elm.padding.left"; \
1387 state: "default" 0.0; \
1388 min: param_padding_size 0; \
1391 rel2.relative: 0.0 1.0; \
1396 #define BEAT_GENLIST_PART_PADDING_RIGHT( param_padding_size ) \
1397 part { name: "elm.padding.right"; \
1400 description { state: "default" 0.0; \
1401 min: param_padding_size 0; \
1404 rel1.relative: 1.0 0.0; \
1409 #define BEAT_GENLIST_PART_DISCLIP \
1410 part { name: "disclip"; \
1412 description { state: "default" 0.0; \
1414 description { state: "disabled" 0.0; \
1415 inherit: "default" 0.0; \
1416 color: 255 255 255 64; \
1420 #define GENLIST_PADDING_10_INC 16
1421 #define GENLIST_HEIGHT_31_INC 49
1422 #define GENLIST_SIZE_30_INC 48
1423 #define GENLIST_FONT_20_INC 32
1424 #define GENLIST_GROUP_BG_COLOR_DEFAULT_INC 0 0 0 120
1425 #define GENLIST_GROUP_BG_COLOR_ALPHA_OFF_INC 15 15 15 255
1426 #define GENLIST_GROUP_PART_BASE_IMAGE_INC
1427 #define GENLIST_GROUP_PART_TEXT_COLOR_INC 255 255 255 255
1431 ////////////// elm/button/base/default -disabled //////////////////////////////////////////////
1432 //////This is disabled effect for buttons of Six buttons layout and disabled effect is when making MO call////
1433 STYLE_CALL_SIX_BUTTON("style_call_sixbtn_disabled_add", ICON_IMG_PATH"/vc_add_icon_dim.png", ICON_IMG_PATH"/vc_add_icon_dim.png", 1, 1, 51, 255, 255, 255, 51, 0, 0, 0, 255)
1434 STYLE_CALL_SIX_BUTTON("style_call_sixbtn_disabled_join", ICON_IMG_PATH"/vc_join_icon_dim.png", ICON_IMG_PATH"/vc_join_icon_dim.png", 1, 1, 51, 255, 255, 255, 51, 0, 0, 0, 255)
1435 STYLE_CALL_SIX_BUTTON("style_call_sixbtn_disabled_keypad", ICON_IMG_PATH"/vc_keypad_icon_dim.png", ICON_IMG_PATH"/vc_keypad_icon_dim.png", 1, 1, 51, 255, 255, 255, 51, 0, 0, 0, 255)
1436 STYLE_CALL_SIX_BUTTON("style_call_sixbtn_disabled_end", ICON_IMG_PATH"/vc_end_call_icon_dim.png", ICON_IMG_PATH"/vc_end_call_icon_dim.png", 1, 1, 51, 255, 255, 255, 51, 0, 0, 0, 255)
1437 STYLE_CALL_SIX_BUTTON("style_call_sixbtn_disabled_speaker", ICON_IMG_PATH"/vc_speaker_icon_dim.png", ICON_IMG_PATH"/vc_speaker_icon_dim.png", 1, 1, 51, 255, 255, 255, 51, 0, 0, 0, 255)
1438 STYLE_CALL_SIX_BUTTON("style_call_sixbtn_disabled_mute", ICON_IMG_PATH"/vc_mute_icon_dim.png", ICON_IMG_PATH"/vc_mute_icon_dim.png", 1, 1, 51, 255, 255, 255, 51, 0, 0, 0, 255)
1439 STYLE_CALL_SIX_BUTTON("style_call_sixbtn_disabled_share", ICON_IMG_PATH"/vc_rcs_share_icon_dim.png", ICON_IMG_PATH"/vc_rcs_share_icon_dim.png", 1, 1, 51, 255, 255, 255, 51, 0, 0, 0, 255)
1440 STYLE_CALL_SIX_BUTTON("style_call_sixbtn_disabled_contacts", ICON_IMG_PATH"/vc_contacts_icon_dim.png", ICON_IMG_PATH"/vc_contacts_icon_dim.png", 1, 1, 51, 255, 255, 255, 51, 0, 0, 0, 255)
1441 STYLE_CALL_SIX_BUTTON("style_call_sixbtn_disabled_live_video", ICON_IMG_PATH"/vc_live_video_icon_dim.png", ICON_IMG_PATH"/vc_live_video_icon_dim.png", 1, 1, 51, 255, 255, 255, 51, 0, 0, 0, 255)
1443 ////////////// elm/button/base/default //////////////////////////////////////////////
1444 //////This effect is for buttons of Six buttons layout when they are enabled//////
1445 STYLE_CALL_SIX_BUTTON("style_call_sixbtn_add", ICON_IMG_PATH"/vc_add_icon.png", ICON_IMG_PATH"/vc_add_icon_press.png", 0, 1, 255, 0, 0, 0, 128, 0, 0, 0, 0)
1446 STYLE_CALL_SIX_BUTTON("style_call_sixbtn_join", ICON_IMG_PATH"/vc_join_icon.png", ICON_IMG_PATH"/vc_join_icon_press.png", 0, 1, 255, 0, 0, 0, 128, 0, 0, 0, 0)
1447 STYLE_CALL_SIX_BUTTON("style_call_sixbtn_keypad", ICON_IMG_PATH"/vc_keypad_icon.png", ICON_IMG_PATH"/vc_keypad_icon_press.png", 0, 1, 255, 0, 0, 0, 128, 0, 0, 0, 0)
1448 STYLE_CALL_SIX_BUTTON("style_call_sixbtn_end", ICON_IMG_PATH"/vc_end_call_icon.png", ICON_IMG_PATH"/vc_end_call_icon_press.png", 0, 1, 255, 0, 0, 0, 128, 0, 0, 0, 0)
1449 STYLE_CALL_SIX_BUTTON("style_call_sixbtn_speaker", ICON_IMG_PATH"/vc_speaker_icon.png", ICON_IMG_PATH"/vc_speaker_icon_press.png", 0, 1, 255, 0, 0, 0, 128, 0, 0, 0, 0)
1450 STYLE_CALL_SIX_BUTTON("style_call_sixbtn_speaker_on", ICON_IMG_PATH"/vc_speaker_on_icon.png", ICON_IMG_PATH"/vc_speaker_on_icon_press.png", 0, 1, 255, 0, 0, 0, 128, 0, 0, 0, 0)
1451 STYLE_CALL_SIX_BUTTON("style_call_sixbtn_mute", ICON_IMG_PATH"/vc_mute_icon.png", ICON_IMG_PATH"/vc_mute_icon_press.png", 0, 1, 255, 0, 0, 0, 128, 0, 0, 0, 0)
1452 STYLE_CALL_SIX_BUTTON("style_call_sixbtn_mute_on", ICON_IMG_PATH"/vc_mute_on_icon.png", ICON_IMG_PATH"/vc_mute_on_icon_press.png", 0, 1, 255, 0, 0, 0, 128, 0, 0, 0, 0)
1453 STYLE_CALL_SIX_BUTTON("style_call_sixbtn_share", ICON_IMG_PATH"/vc_rcs_share_icon.png", ICON_IMG_PATH"/vc_speaker_icon_press.png", 0, 1, 255, 0, 0, 0, 128, 0, 0, 0, 0)
1454 STYLE_CALL_SIX_BUTTON("style_call_sixbtn_contacts", ICON_IMG_PATH"/vc_contacts_icon.png", ICON_IMG_PATH"/vc_contacts_icon_press.png", 0, 1, 255, 0, 0, 0, 128, 0, 0, 0, 0)
1455 STYLE_CALL_SIX_BUTTON("style_call_sixbtn_live_video", ICON_IMG_PATH"/vc_live_video_icon.png", ICON_IMG_PATH"/vc_live_video_icon_press.png", 0, 1, 255, 0, 0, 0, 128, 0, 0, 0, 0)
1457 ////////////// elm/button/base/default //////////////////////////////////////////////
1458 ///////////// This style is for Three buttons style in endcall view//////////////////
1459 STYLE_CALL_END_BUTTON(style_call_end_voice_call_button, ICON_IMG_PATH"/vc_voice_call_icon.png", ICON_IMG_PATH"/vc_voice_call_icon_press.png");
1460 STYLE_CALL_END_BUTTON(style_call_end_video_call_button, ICON_IMG_PATH"/vc_video_call_icon.png", ICON_IMG_PATH"/vc_video_call_icon_press.png");
1461 STYLE_CALL_END_BUTTON(style_call_end_message_button, ICON_IMG_PATH"/vc_msg_icon.png", ICON_IMG_PATH"/vc_msg_icon_press.png");
1463 ////////////// elm/button/base/icon_only/default //////////////////////////////////////////////
1464 ////This style is for hold button in single call///////////////////////////////////////////////
1465 STYLE_HOLD_SWAP_BUTTON("style_normal_holdbtn", BG_IMG_PATH"/vc_button_hold_swap_normal.png", BG_IMG_PATH"/vc_button_hold_swap_press.png", 0.3, 0.3, 0.7, 0.7)
1467 ////////////// elm/button/base/icon_only/default //////////////////////////////////////////////
1468 ///////This style is for hold button in conference call in list////////////////////////////////
1469 STYLE_HOLD_SWAP_BUTTON("style_list_holdbtn", BG_IMG_PATH"/vc_button_conflist_hold_normal.png", BG_IMG_PATH"/vc_button_conflist_hold_press.png", 0.3, 0.3, 0.7, 0.7)
1471 ////////////// elm/button/base/icon_only/default //////////////////////////////////////////////
1472 ////This style is for swap button ///////////////////////////////////////////////
1473 STYLE_HOLD_SWAP_BUTTON("style_normal_swapbtn", BG_IMG_PATH"/vc_button_hold_swap_normal.png", BG_IMG_PATH"/vc_button_hold_swap_press.png", 0, 0, 1, 1)
1475 ////////////// elm/button/base/icon_only/default //////////////////////////////////////////////
1476 /////This style is for private(split) icon in genlist view in multi call list view////////////////////
1477 STYLE_CALL_MULTILIST_BUTTON("style_call_icon_only_private", BG_IMG_PATH"/vc_conf_split_normal.png", BG_IMG_PATH"/vc_conf_split_press.png", 68, 66, 68, 66)
1479 ////////////// elm/button/base/icon_only/default //////////////////////////////////////////////
1480 ///////////// This style is for small end call red button in each item in list in multi-call list view///
1481 STYLE_CALL_MULTILIST_BUTTON("style_call_icon_only_end", BG_IMG_PATH"/vc_conf_end_normal.png", BG_IMG_PATH"/vc_conf_end_press.png", 80, 74, 80, 74)
1483 ////////////// elm/button/base/style_call_qp_text_only_end //////////////////////////////////////////////
1484 /////////////This style is for End button in quickpanel view//////////////////////////////////////////////////////////
1485 STYLE_CALL_TEXT("style_call_qp_text_only_end", BG_IMG_PATH"/vc_button_qp_end_normal.png", BG_IMG_PATH"/vc_button_qp_end_press.png", 179, 74, 4, 4, 255, 255, 32)
1487 ////////////// elm/button/base/style_call_qp_text_only_normal //////////////////////////////////////////////
1488 /////////////This style is for mute/unhold button in quickpanel view//////////////////////////////////////////////////////////
1489 STYLE_CALL_TEXT("style_call_qp_text_only_normal", BG_IMG_PATH"/vc_button_qp_normal.png", BG_IMG_PATH"/vc_button_qp_press.png", 179, 74, 4, 4, 255, 255, 32)
1491 ////////////// elm/button/base/text_only/style_call_text_only_red //////////////////////////////////////////////
1492 /////////////This style is for Big End button used in multi-call list view//////////////////////////////////////
1493 STYLE_CALL_TEXT("style_call_text_only_red", BG_IMG_PATH"/vc_conf_button_bigend_call.png", BG_IMG_PATH"/vc_conf_button_bigend_call_press.png", 100, 50, 4, 4, 255, 255, 48)
1495 ////////////// elm/button/base/text_only/call_end_grey //////////////////////////////////////////////
1496 ///////////// This style is for add to contacts button in end call view//////////////////////////////
1497 STYLE_CALL_TEXT("style_call_text_only_grey", BG_IMG_PATH"/vc_contact_btn.png", BG_IMG_PATH"/vc_contact_btn_press.png", 194, 92, 16, 16, 255, 255, 38)
1499 ////////////// elm/button/base/style_caller_info_morebtn //////////////////////////////////////////////
1500 ///////////This style is for more button in caller info part////////////////////
1501 group { name: "elm/button/base/style_caller_info_morebtn";
1503 image: BG_IMG_PATH"/vc_more_button_normal.png" COMP;
1504 image: BG_IMG_PATH"/vc_more_button_press.png" COMP;
1507 part { name: "button_image";
1510 description { state: "default" 0.0;
1513 normal: BG_IMG_PATH"/vc_more_button_normal.png";
1518 description { state: "clicked" 0.0;
1519 inherit: "default" 0.0;
1520 image.normal: BG_IMG_PATH"/vc_more_button_press.png";
1523 part { name: "over2";
1527 ignore_flags: ON_HOLD;
1528 description { state: "default" 0.0;
1531 description { state: "disabled" 0.0;
1532 inherit: "default" 0.0;
1536 part { name: "over3";
1540 description { state: "default" 0.0;
1543 description { state: "clicked" 0.0;
1544 inherit: "default" 0.0;
1548 part { name: "disabler";
1550 description { state: "default" 0.0;
1553 description { state: "disabled" 0.0;
1554 inherit: "default" 0.0;
1560 program { name: "button_click";
1561 signal: "mouse,down,1";
1563 action: SIGNAL_EMIT "elm,action,press" "";
1564 after: "button_click_anim";
1566 program { name: "button_click_anim";
1567 action: STATE_SET "clicked" 0.0;
1568 target: "button_image";
1570 program { name: "button_unclick";
1571 signal: "mouse,up,1";
1573 action: SIGNAL_EMIT "elm,action,unpress" "";
1574 after: "button_unclick_anim";
1576 program { name: "button_unclick_anim";
1577 action: STATE_SET "default" 0.0;
1578 target: "button_image";
1580 program { name: "button_mouseout_clicked";
1581 signal: "mouse,out";
1583 action: STATE_SET "visible" 0.0;
1584 target: "button_image";
1586 program { name: "button_click2";
1587 signal: "mouse,down,1";
1589 action: STATE_SET "clicked" 0.0;
1592 program { name: "button_unclick2";
1593 signal: "mouse,up,1";
1595 action: STATE_SET "default" 0.0;
1598 program { name: "button_unclick3";
1599 signal: "mouse,up,1";
1601 action: SIGNAL_EMIT "elm,action,click" "";
1603 program { name: "disable";
1604 signal: "elm,state,disabled";
1606 action: STATE_SET "disabled" 0.0;
1607 target: "button_image";
1611 program { name: "enable";
1612 signal: "elm,state,enabled";
1614 action: STATE_SET "default" 0.0;
1615 target: "button_image";
1619 program { name: "focused";
1620 signal: "elm,action,focus";
1622 action: STATE_SET "focused" 0.0;
1623 target: "button_image";
1625 program { name: "unfocused";
1626 signal: "elm,action,unfocus";
1628 action: STATE_SET "default" 0.0;
1629 target: "button_image";
1634 ////////////// elm/button/base/style_call_small_text_with_icon //////////////////////////////////////////////
1635 ///////////This style is for mute button in quickpanel if mute-status is enabled/////////////////////////////
1636 group { name: "elm/button/base/style_call_small_text_with_icon";
1638 image: BG_IMG_PATH"/vc_button_qp_normal.png" COMP;
1639 image: BG_IMG_PATH/"vc_button_qp_press.png" COMP;
1642 part { name: "button_image";
1645 description { state: "default" 0.0;
1648 normal: BG_IMG_PATH"/vc_button_qp_normal.png";
1651 image.middle: SOLID;
1653 description { state: "clicked" 0.0;
1654 inherit: "default" 0.0;
1655 image.normal: BG_IMG_PATH/"vc_button_qp_press.png";
1657 description { state: "disabled" 0.0;
1658 inherit: "default" 0.0;
1660 description { state: "focused" 0.0;
1661 inherit: "default" 0.0;
1665 part { name: "elm.text";
1670 description { state: "default" 0.0;
1672 rel1.relative: 0.5 0;
1673 rel2.relative: 0.5 1;
1674 color: 7 180 211 255;
1679 font: FONT_SLP_Regular;
1683 text_class: TEXT_CLASS_SLP_REGULAR;
1686 description { state: "visible" 0.0;
1687 inherit: "default" 0.0;
1690 description { state: "clicked" 0.0;
1691 inherit: "default" 0.0;
1694 color: 255 255 255 255;
1698 description { state: "disabled" 0.0;
1699 inherit: "default" 0.0;
1703 description { state: "disabled_visible" 0.0;
1704 inherit: "default" 0.0;
1709 description { state: "focused" 0.0;
1710 inherit: "default" 0.0;
1713 color: 255 255 255 255;
1719 part { name: "elm.swallow.content";
1721 description { state: "default" 0.0;
1724 rel1.to_x: "elm.text";
1725 rel1.relative: 1.0 0.0;
1730 description { state: "visible" 0.0;
1731 inherit: "default" 0.0;
1736 description { state: "icononly" 0.0;
1737 inherit: "default" 0.0;
1742 rel2.relative: 1.0 1.0;
1746 part { name: "over2";
1750 ignore_flags: ON_HOLD;
1751 description { state: "default" 0.0;
1754 description { state: "disabled" 0.0;
1755 inherit: "default" 0.0;
1759 part { name: "over3";
1763 description { state: "default" 0.0;
1766 description { state: "clicked" 0.0;
1767 inherit: "default" 0.0;
1771 part { name: "disabler";
1773 description { state: "default" 0.0;
1776 description { state: "disabled" 0.0;
1777 inherit: "default" 0.0;
1784 program { name: "button_click";
1785 signal: "mouse,down,1";
1787 action: SIGNAL_EMIT "elm,action,press" "";
1788 after: "button_click_anim";
1790 program { name: "button_click_anim";
1791 action: STATE_SET "clicked" 0.0;
1792 target: "button_image";
1793 after: "text_clicked";
1795 program { name: "text_clicked";
1799 get_state(PART:"elm.text", st, 30, vl);
1800 if (!strcmp(st, "visible"))
1801 set_state(PART:"elm.text", "clicked", 0.0);
1804 program { name: "button_unpress";
1805 action: SIGNAL_EMIT "elm,action,unpress" "";
1807 program { name: "button_mouseout_clicked";
1808 signal: "mouse,up,1";
1813 get_state(PART:"elm.swallow.content", st, 30, vl);
1814 if (strcmp(st, "icononly")) {
1815 emit("elm,action,default,text,set", "");
1816 set_state(PART:"elm.text", "visible", 0.0);
1818 set_state(PART:"button_image", "default", 0.0);
1820 after: button_unpress;
1822 program { name: "button_click2";
1823 signal: "mouse,down,1";
1825 action: STATE_SET "clicked" 0.0;
1828 program { name: "button_unclick2";
1829 signal: "mouse,clicked,1";
1831 action: STATE_SET "default" 0.0;
1834 program { name: "button_unclick3";
1835 signal: "mouse,clicked,1";
1837 action: SIGNAL_EMIT "elm,action,click" "";
1839 program { name: "text_show";
1840 signal: "elm,state,text,visible";
1845 get_state(PART:"elm.swallow.content", st, 30, vl);
1846 if (!strcmp(st, "icononly"))
1848 set_state(PART:"elm.swallow.content", "visible", 0.0);
1850 set_state(PART:"elm.text", "visible", 0.0);
1853 program { name: "text_hide";
1854 signal: "elm,state,text,hidden";
1859 get_state(PART:"elm.swallow.content", st, 30, vl);
1860 if (!strcmp(st, "visible"))
1862 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1864 set_state(PART:"elm.text", "default", 0.0);
1867 program { name: "icon_show";
1868 signal: "elm,state,icon,visible";
1873 get_state(PART:"elm.text", st, 30, vl);
1874 if (!strcmp(st, "visible")) {
1875 set_state(PART:"elm.swallow.content", "visible", 0.0);
1877 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1881 program { name: "icon_hide";
1882 signal: "elm,state,icon,hidden";
1884 action: STATE_SET "default" 0.0;
1885 target: "elm.swallow.content";
1887 program { name: "disable";
1888 signal: "elm,state,disabled";
1890 action: STATE_SET "disabled" 0.0;
1891 target: "button_image";
1894 after: "disable_text";
1896 program { name: "disable_text";
1900 get_state(PART:"elm.text", st, 30, vl);
1901 if (!strcmp(st, "visible"))
1902 set_state(PART:"elm.text", "disabled_visible", 0.0);
1904 set_state(PART:"elm.text", "disabled", 0.0);
1907 program { name: "enable";
1908 signal: "elm,state,enabled";
1910 action: STATE_SET "default" 0.0;
1911 target: "button_image";
1914 after: "enable_text";
1916 program { name: "enable_text";
1920 get_state(PART:"elm.text", st, 30, vl);
1921 if (!strcmp(st, "disabled_visible"))
1922 set_state(PART:"elm.text", "visible", 0.0);
1924 set_state(PART:"elm.text", "default", 0.0);
1927 program { name: "unfocus_text";
1928 action: STATE_SET "visible" 0.0;
1934 ////////////// multicall-list genlist ///////////////////////////////////////////
1935 //////////////This style is for item in genlist in multi call list view/////////
1936 group { name: "elm/genlist/item/multicall_list/default";
1937 alias: "elm/genlist/item_odd/multicall_list/default";
1938 alias: "elm/genlist/item_compress/multicall_list/default";
1939 alias: "elm/genlist/item_compress_odd/multicall_list/default";
1941 data.item: "stacking" "above";
1942 data.item: "selectraise" "on";
1943 data.item: "texts" "elm.text";
1944 data.item: "contents" "elm.swallow.end elm.swallow.private";
1945 data.item: "treesize" "20";
1948 image: BG_IMG_PATH"/vc_conf_call_list_bg.png" COMP;
1952 BEAT_GENLIST_PART_BASE(112)
1953 BEAT_GENLIST_PART_BG
1954 GENLIST_PART_BG_IMAGE_NO_SELECT
1955 BEAT_GENLIST_PART_BOTTOM_LINE
1956 BEAT_GENLIST_PART_PADDING_LEFT(16)
1957 BEAT_GENLIST_PART_PADDING_RIGHT(16)
1959 part { name: "elm.swallow.end";
1962 description { state: "default" 0.0;
1965 rel1.to_x: "elm.padding.right";
1966 rel2 { relative: 0.0 1.0; to_x: "elm.padding.right"; }
1970 part { name: "elm.padding.end.left";
1973 description { state: "default" 0.0;
1977 rel1.to_x: "elm.swallow.end";
1978 rel2 { relative: 0.0 1.0; to_x: "elm.swallow.end"; }
1983 part { name: "elm.swallow.private";
1986 description { state: "default" 0.0;
1989 rel1 { relative: 1.0 0.0; to: "elm.padding.left"; }
1990 rel2 { relative: 1.0 1.0; to: "elm.padding.left"; }
1994 part { name: "elm.padding.private.left";
1997 description { state: "default" 0.0;
2001 rel1 { relative: 1.0 0.0; to: "elm.swallow.private"; }
2002 rel2 { relative: 1.0 1.0; to: "elm.swallow.private"; }
2007 part { name: "elm.text";
2012 description { state: "default" 0.0;
2013 rel1 { relative: 1.0 0.0; offset: 0 0; to: "elm.padding.private.left"; }
2014 rel2 { relative: 0.0 1.0; to: "elm.padding.end.left"; }
2015 color: 255 255 255 255;
2017 font: FONT_SLP_Roman;
2018 text_class: TEXT_CLASS_SLP_ROMAN;
2024 description { state: "selected" 0.0;
2025 inherit: "default" 0.0;
2026 color: 255 255 255 255;
2030 BEAT_GENLIST_PART_DISCLIP
2038 ////////////// reject with msg-list genlist ///////////////////////////////////////////
2039 /////////////This style is for items in list to reject incoming call with msg ///////////
2040 group { name: "elm/genlist/item/call/reject_msg/default";
2041 alias: "elm/genlist/item_odd/call/reject_msg/default";
2042 alias: "elm/genlist/item_compress/call/reject_msg/default";
2043 alias: "elm/genlist/item_compress_odd/call/reject_msg/default";
2045 data.item: "stacking" "above";
2046 data.item: "selectraise" "on";
2047 data.item: "texts" "elm.text";
2048 data.item: "contents" "elm.swallow.end";
2049 data.item: "treesize" "20";
2052 image: BG_IMG_PATH"/vc_conf_call_list_bg.png" COMP;
2056 BEAT_GENLIST_PART_BASE(112)
2057 BEAT_GENLIST_PART_BG
2058 GENLIST_PART_BG_IMAGE
2059 BEAT_GENLIST_PART_BOTTOM_LINE
2060 BEAT_GENLIST_PART_PADDING_LEFT(32)
2061 BEAT_GENLIST_PART_PADDING_RIGHT(32)
2063 part { name: "elm.swallow.end";
2067 description { state: "defualt" 0.0;
2072 aspect_preference: VERTICAL;
2073 rel1 { relative: 0.0 0.5; to_x: "elm.padding.right"; to_y: "base"; }
2074 rel2 { relative: 0.0 0.5; to_x: "elm.padding.right"; to_y: "base"; }
2078 part { name: "elm.text";
2083 description { state: "default" 0.0;
2084 rel1 { relative: 1.0 0.0; offset: 0 0; to_x: "elm.padding.left"; }
2085 rel2 { to_x: "elm.swallow.end"; relative: 0.0 1.0; }
2086 color: 255 255 255 255;
2088 font: FONT_SLP_Roman;
2089 text_class: TEXT_CLASS_SLP_ROMAN;
2095 description { state: "selected" 0.0;
2096 inherit: "default" 0.0;
2097 color: 255 255 255 255;
2101 BEAT_GENLIST_PART_DISCLIP
2109 ///////////////////////////////////////////////////////////////////////////////
2111 name: "elm/ctxpopup/icon_text_style_item/more_ctxpopup";
2114 name: "event_blocker";
2117 state: "default" 0.0;
2125 state: "default" 0.0;
2130 state: "clicked" 0.0;
2131 color: 0 140 210 255;
2136 name: "icon_left_padding";
2140 state: "default" 0.0;
2141 min: MORE_MENU_CTXPOPUP_ROW_ICON_PAD MORE_MENU_CTXPOPUP_ROW_H;
2142 max: MORE_MENU_CTXPOPUP_ROW_ICON_PAD MORE_MENU_CTXPOPUP_ROW_H;
2154 state: "default" 0.0;
2155 color: 255 255 255 102;
2157 min: MORE_MENU_CTXPOPUP_SEPARATOR_W MORE_MENU_CTXPOPUP_SEPARATOR_H;
2158 max: MORE_MENU_CTXPOPUP_SEPARATOR_W MORE_MENU_CTXPOPUP_SEPARATOR_H;
2162 state: "horizontal" 0.0;
2163 color: 255 255 255 102;
2165 min: MORE_MENU_CTXPOPUP_SEPARATOR_W MORE_MENU_CTXPOPUP_SEPARATOR_H;
2166 max: MORE_MENU_CTXPOPUP_SEPARATOR_W MORE_MENU_CTXPOPUP_SEPARATOR_H;
2170 state: "vertical" 0.0;
2171 color: 255 255 255 102;
2173 min: MORE_MENU_CTXPOPUP_SEPARATOR_W MORE_MENU_CTXPOPUP_SEPARATOR_H;
2174 max: MORE_MENU_CTXPOPUP_SEPARATOR_W MORE_MENU_CTXPOPUP_SEPARATOR_H;
2179 name: "elm.swallow.icon";
2183 state: "default" 0.0;
2184 min: MORE_MENU_CTXPOPUP_ROW_ICON_W MORE_MENU_CTXPOPUP_ROW_ICON_H;
2185 max: MORE_MENU_CTXPOPUP_ROW_ICON_W MORE_MENU_CTXPOPUP_ROW_ICON_H;
2188 rel1 { to:"icon_left_padding"; relative: 1 0; }
2192 name: "icon_right_padding";
2196 state: "default" 0.0;
2197 min: MORE_MENU_CTXPOPUP_ROW_ICON_PAD MORE_MENU_CTXPOPUP_ROW_H;
2198 max: MORE_MENU_CTXPOPUP_ROW_ICON_PAD MORE_MENU_CTXPOPUP_ROW_H;
2202 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
2211 state: "default" 0.0;
2212 min: MORE_MENU_CTXPOPUP_SEPARATOR_H MORE_MENU_CTXPOPUP_ROW_H;
2213 max: (MORE_MENU_CTXPOPUP_SEPARATOR_W - (3 * MORE_MENU_CTXPOPUP_ROW_ICON_PAD) - MORE_MENU_CTXPOPUP_ROW_ICON_W) MORE_MENU_CTXPOPUP_ROW_H;
2216 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding";}
2217 rel2 {relative: 0.0 1.0; to_x: "text_right_padding";}
2218 color: 253 253 253 255;
2220 font: FONT_SLP_Roman;
2221 text_class: TEXT_CLASS_SLP_ROMAN;
2228 state: "compress" 0.0;
2229 inherit: "default" 0.0;
2236 state: "clicked" 0.0;
2237 inherit: "default" 0.0;
2238 color: 249 249 249 255;
2242 name: "text_right_padding";
2247 state: "default" 0.1100;
2249 min: MORE_MENU_CTXPOPUP_ROW_ICON_PAD MORE_MENU_CTXPOPUP_ROW_H;
2250 max: MORE_MENU_CTXPOPUP_ROW_ICON_PAD MORE_MENU_CTXPOPUP_ROW_H;
2259 ignore_flags: ON_HOLD;
2261 state: "default" 0.0;
2269 state: "default" 0.0;
2276 state: "default" 0.0;
2280 state: "disabled" 0.0;
2282 color: 200 200 200 102;
2288 name: "item_unclick";
2289 signal: "mouse,up,1";
2291 action: SIGNAL_EMIT "elm,action,click" "";
2295 signal: "elm,state,disabled";
2297 action: STATE_SET "disabled" 0.0;
2302 signal: "elm,state,enabled";
2304 action: STATE_SET "default" 0.0;
2309 signal: "elm,state,default";
2312 set_state(PART:"separator", "default", 0.0);
2317 signal: "elm,state,compress";
2319 action: STATE_SET "compress" 0.0;
2324 signal: "elm,state,vertical";
2327 set_state(PART:"separator", "vertical", 0.0);
2332 signal: "elm,state,horizontal";
2335 set_state(PART:"separator", "horizontal", 0.0);
2339 name: "item_click2";
2340 signal: "mouse,down,1";
2343 set_state(PART:"elm.text", "clicked", 0.0);
2344 set_state(PART:"bg", "clicked", 0.0);
2348 name: "item_unclick2";
2349 signal: "mouse,up,1";
2352 set_state(PART:"elm.text", "compress", 0.0);
2353 set_state(PART:"bg", "default", 0.0);
2358 ///////////////////////////////////////////////////////////////////////////////
2361 image: ICON_IMG_PATH"/vc_popup_arrow.png" COMP;
2364 name: "elm/ctxpopup/arrow/more_ctxpopup";
2367 name: "ctxpopup_arrow";
2371 state: "default" 0.0;
2372 min: MORE_MENU_CTXPOPUP_ARROW_W MORE_MENU_CTXPOPUP_ARROW_H;
2373 max: MORE_MENU_CTXPOPUP_ARROW_W MORE_MENU_CTXPOPUP_ARROW_H;
2380 min: MORE_MENU_CTXPOPUP_ARROW_W MORE_MENU_CTXPOPUP_ARROW_H;
2381 max: MORE_MENU_CTXPOPUP_ARROW_W MORE_MENU_CTXPOPUP_ARROW_H;
2385 normal: ICON_IMG_PATH"/vc_popup_arrow.png";
2390 min: MORE_MENU_CTXPOPUP_ARROW_W MORE_MENU_CTXPOPUP_ARROW_H;
2391 max: MORE_MENU_CTXPOPUP_ARROW_W MORE_MENU_CTXPOPUP_ARROW_H;
2395 normal: ICON_IMG_PATH"/vc_popup_arrow.png";
2400 min: MORE_MENU_CTXPOPUP_ARROW_W MORE_MENU_CTXPOPUP_ARROW_H;
2401 max: MORE_MENU_CTXPOPUP_ARROW_W MORE_MENU_CTXPOPUP_ARROW_H;
2405 normal: ICON_IMG_PATH"/vc_popup_arrow.png";
2409 state: "bottom" 0.0;
2410 min: MORE_MENU_CTXPOPUP_ARROW_W MORE_MENU_CTXPOPUP_ARROW_H;
2411 max: MORE_MENU_CTXPOPUP_ARROW_W MORE_MENU_CTXPOPUP_ARROW_H;
2415 normal: ICON_IMG_PATH"/vc_popup_arrow.png";
2422 name: "enable_left_arrow";
2423 signal: "elm,state,left";
2425 action: STATE_SET "left" 0.0;
2426 target: "ctxpopup_arrow";
2429 name: "enable_right_arrow";
2430 signal: "elm,state,right";
2432 action: STATE_SET "right" 0.0;
2433 target: "ctxpopup_arrow";
2436 name: "enable_top_arrow";
2437 signal: "elm,state,top";
2439 action: STATE_SET "top" 0.0;
2440 target: "ctxpopup_arrow";
2443 name: "enable_bottom_arrow";
2444 signal: "elm,state,bottom";
2446 action: STATE_SET "bottom" 0.0;
2447 target: "ctxpopup_arrow";
2452 ///////////////////////////////////////////////////////////////////////////////
2455 image: ICON_IMG_PATH"/vc_popup_bg.png" COMP;
2458 name: "elm/ctxpopup/base/more_ctxpopup";
2461 name:"frame_shadow_left_top_padding";
2468 rel2 { relative: 0 0; }
2475 name:"frame_shadow_right_bottom_padding";
2482 rel1{relative: 1 1;}
2489 name: "frame_shadow";
2493 clip_to: "ctxpopup_clip";
2495 state: "default" 0.0;
2498 to:"frame_shadow_left_top_padding";
2502 to:"frame_shadow_right_bottom_padding";
2505 normal: ICON_IMG_PATH"/vc_popup_bg.png";
2509 color: 255 255 255 127;
2512 part { name: "arrow_area_left";
2516 clip_to: "ctxpopup_clip";
2517 description { state: "default" 0.0;
2524 to_y: "ctxpopup_frame_left_top";
2528 to:"ctxpopup_frame_left_bottom";
2532 part { name: "arrow_area_right";
2536 clip_to: "ctxpopup_clip";
2537 description { state: "default" 0.0;
2544 to:"ctxpopup_frame_right_top";
2548 to_y: "ctxpopup_frame_right_bottom";
2552 part { name: "arrow_area_up";
2556 clip_to: "ctxpopup_clip";
2557 description { state: "default" 0.0;
2564 to_x: "ctxpopup_frame_left_top";
2568 to:"ctxpopup_frame_right_top";
2572 part { name: "arrow_area_down";
2576 clip_to: "ctxpopup_clip";
2577 description { state: "default" 0.0;
2584 to:"ctxpopup_frame_left_bottom";
2588 to_x: "ctxpopup_frame_right_bottom";
2592 part { name: "elm.swallow.arrow_up";
2596 clip_to: "ctxpopup_clip";
2600 confine: "arrow_area_up";
2603 state: "default" 0.0;
2609 part { name: "elm.swallow.arrow_down";
2613 clip_to: "ctxpopup_clip";
2617 confine: "arrow_area_down";
2620 state: "default" 0.0;
2626 part { name: "elm.swallow.arrow_left";
2630 clip_to: "ctxpopup_clip";
2634 confine: "arrow_area_left";
2637 state: "default" 0.0;
2643 part { name: "elm.swallow.arrow_right";
2647 clip_to: "ctxpopup_clip";
2651 confine: "arrow_area_right";
2654 state: "default" 0.0;
2662 name: "ctxpopup_frame_left_top";
2674 name: "ctxpopup_frame_right_top";
2686 name: "ctxpopup_frame_left_bottom";
2698 name: "ctxpopup_frame_right_bottom";
2709 name:"list_shadow_right_bottom_padding";
2714 min: MORE_MENU_CTXPOPUP_SHADOW_PADDING MORE_MENU_CTXPOPUP_SHADOW_PADDING;
2715 max: MORE_MENU_CTXPOPUP_SHADOW_PADDING MORE_MENU_CTXPOPUP_SHADOW_PADDING;
2719 rel1 {to:"elm.swallow.content"; relative: 1 1;}
2723 name:"content_left_top_padding";
2728 state: "default" 0.0;
2729 min: MORE_MENU_CTXPOPUP_PADDING MORE_MENU_CTXPOPUP_PADDING;
2730 max: MORE_MENU_CTXPOPUP_PADDING MORE_MENU_CTXPOPUP_PADDING;
2737 name:"content_right_bottom_padding";
2742 min: MORE_MENU_CTXPOPUP_PADDING MORE_MENU_CTXPOPUP_PADDING;
2743 max: MORE_MENU_CTXPOPUP_PADDING MORE_MENU_CTXPOPUP_PADDING;
2744 rel1 { relative: 1 1;}
2745 rel2 { relative: 1 1;}
2756 clip_to: "ctxpopup_clip";
2758 state: "default" 0.0;
2759 rel1 {to:"ctxpopup_frame_left_top";}
2760 rel2 {to:"ctxpopup_frame_right_bottom";}
2762 normal: ICON_IMG_PATH"/vc_popup_bg.png";
2766 color: 255 255 255 127;
2770 name: "elm.swallow.content";
2772 clip_to: "ctxpopup_clip";
2774 state: "default" 0.0;
2776 rel1 {to:"ctxpopup_frame_left_top"; relative: 0.5 0.5;}
2777 rel2 {to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
2780 part { name: "ctxpopup_clip";
2782 description { state: "default" 0.0;
2783 color: 255 255 255 0;
2784 rel1 { to:"ctxpopup_frame_left_top"; relative: 0.5 0.5; }
2785 rel2 { to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5; }
2787 description { state: "show_up" 0.0;
2788 color: 255 255 255 0;
2789 rel1 { to:"arrow_area_down"; relative: 0 1; }
2790 rel2 { to:"arrow_area_down"; relative: 1 1; }
2792 description { state: "show_left" 0.0;
2793 color: 255 255 255 0;
2794 rel1 { to:"arrow_area_right"; relative: 1 0; }
2795 rel2 { to:"arrow_area_right"; relative: 1 1; }
2797 description { state: "show_right" 0.0;
2798 color: 255 255 255 0;
2799 rel1 { to:"arrow_area_left"; relative: 0 0; }
2800 rel2 { to:"arrow_area_left"; relative: 0 1; }
2802 description { state: "show_down" 0.0;
2803 color: 255 255 255 0;
2804 rel1 { to:"arrow_area_up"; relative: 0 0; }
2805 rel2 { to:"arrow_area_up"; relative: 1 0; }
2807 description { state: "hide_up" 0.0;
2808 color: 255 255 255 255;
2809 rel1 { to:"arrow_area_down"; relative: 0 1; }
2810 rel2 { to:"arrow_area_down"; relative: 1 1; }
2812 description { state: "hide_left" 0.0;
2813 color: 255 255 255 255;
2814 rel1 { to:"arrow_area_right"; relative: 1 0; }
2815 rel2 { to:"arrow_area_right"; relative: 1 1; }
2817 description { state: "hide_right" 0.0;
2818 color: 255 255 255 255;
2819 rel1 { to:"arrow_area_left"; relative: 0 0; }
2820 rel2 { to:"arrow_area_left"; relative: 0 1; }
2822 description { state: "hide_down" 0.0;
2823 color: 255 255 255 255;
2824 rel1 { to:"arrow_area_up"; relative: 0 0; }
2825 rel2 { to:"arrow_area_up"; relative: 1 0; }
2827 description { state: "visible" 0.0;
2828 color: 255 255 255 255;
2829 rel1 { to_x:"arrow_area_left"; to_y:"arrow_area_up"; }
2830 rel2 { to_x:"arrow_area_right"; to_y:"arrow_area_down"; }
2835 program { name: "show";
2836 signal: "elm,state,show";
2838 action: STATE_SET "visible" 0.0;
2839 transition: LINEAR 0.25;
2840 target: "ctxpopup_clip";
2842 program { name: "show_up";
2843 signal: "elm,state,show,up";
2845 action: STATE_SET "show_up" 0.0;
2846 transition: LINEAR 0.25;
2847 target: "ctxpopup_clip";
2849 program { name: "show_left";
2850 signal: "elm,state,show,left";
2852 action: STATE_SET "show_left" 0.0;
2853 transition: LINEAR 0.25;
2854 target: "ctxpopup_clip";
2856 program { name: "show_right";
2857 signal: "elm,state,show,right";
2859 action: STATE_SET "show_right" 0.0;
2860 transition: LINEAR 0.25;
2861 target: "ctxpopup_clip";
2863 program { name: "show_down";
2864 signal: "elm,state,show,down";
2866 action: STATE_SET "show_down" 0.0;
2867 transition: LINEAR 0.25;
2868 target: "ctxpopup_clip";
2870 program { name: "hide_up";
2871 signal: "elm,state,hide,up";
2873 action: STATE_SET "hide_up" 0.0;
2874 transition: LINEAR 0.25;
2875 target: "ctxpopup_clip";
2876 after: "hide_finished";
2878 program { name: "hide_left";
2879 signal: "elm,state,hide,left";
2881 action: STATE_SET "hide_left" 0.0;
2882 transition: LINEAR 0.25;
2883 target: "ctxpopup_clip";
2884 after: "hide_finished";
2886 program { name: "hide_right";
2887 signal: "elm,state,hide,right";
2889 action: STATE_SET "hide_right" 0.0;
2890 transition: LINEAR 0.25;
2891 target: "ctxpopup_clip";
2892 after: "hide_finished";
2894 program { name: "hide_down";
2895 signal: "elm,state,hide,down";
2897 action: STATE_SET "hide_down" 0.0;
2898 transition: LINEAR 0.25;
2899 target: "ctxpopup_clip";
2900 after: "hide_finished";
2902 program { name: "hide_finished";
2903 action: SIGNAL_EMIT "elm,action,hide,finished" "";
2907 /* End of More ctxpopup*/