2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.tizenopensource.org/license
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #include "../vcui-view-layout-hd.h"
19 #define FONT_SLP_Bold "SLP:style=Bold"
20 #define FONT_SLP_Medium "SLP:style=Medium"
21 #define FONT_SLP_Roman "SLP:style=Roman"
23 #define BUTTON_STATE_ENABLED 0
24 #define BUTTON_STATE_DISABLED 1
26 #define SCREEN_TYPE "./hd"
29 ////////////// elm/button/base/default -disabled //////////////////////////////////////////////
30 group { name: "elm/button/base/style_call_sixbtn_disabled";
32 image: "vc_six_btn_layout_normal.png" COMP;
35 part { name: "button_image";
38 description { state: "default" 0.0;
40 normal: "vc_six_btn_layout_normal.png";
44 color: 255 255 255 102; /*40%*/
46 description { state: "clicked" 0.0;
47 inherit: "default" 0.0;
49 description { state: "disabled" 0.0;
50 inherit: "default" 0.0;
52 description { state: "focused" 0.0;
53 inherit: "default" 0.0;
56 part { name: "elm.swallow.content";
58 description { state: "default" 0.0;
62 rel1.relative: 0.0 0.0;
63 rel2.relative: 1.0 0.66;
64 aspect_preference: VERTICAL;
66 description { state: "visible" 0.0;
67 inherit: "default" 0.0;
72 description { state: "icononly" 0.0;
73 inherit: "default" 0.0;
78 rel2.relative: 1.0 1.0;
81 part { name: "elm.text";
86 description { state: "default" 0.0;
89 rel1.to_y: "elm.swallow.content";
90 rel1.relative: 0.5 1.0;
91 rel2.relative: 0.5 1.0;
92 color: 255 255 255 51; /*opacity : 20%*/
102 description { state: "visible" 0.0;
103 inherit: "default" 0.0;
106 description { state: "clicked" 0.0;
107 inherit: "default" 0.0;
111 description { state: "disabled" 0.0;
112 inherit: "default" 0.0;
114 description { state: "disabled_visible" 0.0;
115 inherit: "default" 0.0;
118 description { state: "focused" 0.0;
119 inherit: "default" 0.0;
124 part { name: "over2";
128 ignore_flags: ON_HOLD;
129 description { state: "default" 0.0;
132 description { state: "disabled" 0.0;
133 inherit: "default" 0.0;
137 part { name: "over3";
141 description { state: "default" 0.0;
144 description { state: "clicked" 0.0;
145 inherit: "default" 0.0;
149 part { name: "disabler";
151 description { state: "default" 0.0;
154 description { state: "disabled" 0.0;
155 inherit: "default" 0.0;
161 program { name: "button_click";
162 signal: "mouse,down,1";
164 action: SIGNAL_EMIT "elm,action,press" "";
165 after: "button_click_anim";
167 program { name: "button_click_anim";
168 action: STATE_SET "clicked" 0.0;
169 target: "button_image";
172 program { name: "button_unclick";
173 signal: "mouse,up,1";
175 action: SIGNAL_EMIT "elm,action,unpress" "";
176 after: "button_unclick_anim";
178 program { name: "button_unclick_anim";
179 action: STATE_SET "default" 0.0;
180 target: "button_image";
181 action: STATE_SET "visible" 0.0;
184 program { name: "button_mouseout_clicked";
190 get_state(PART:"elm.text", st, 30, vl);
191 if (!strcmp(st, "clicked"))
193 set_state(PART:"elm.text", "visible", 0.0);
194 set_state(PART:"button_image", "visible", 0.0);
198 program { name: "button_click2";
199 signal: "mouse,down,1";
201 action: STATE_SET "clicked" 0.0;
204 program { name: "button_unclick2";
205 signal: "mouse,up,1";
207 action: STATE_SET "default" 0.0;
210 program { name: "button_unclick3";
211 signal: "mouse,up,1";
213 action: SIGNAL_EMIT "elm,action,click" "";
215 program { name: "text_show";
216 signal: "elm,state,text,visible";
221 get_state(PART:"elm.swallow.content", st, 30, vl);
222 if (!strcmp(st, "icononly"))
223 set_state(PART:"elm.swallow.content", "visible", 0.0);
224 set_state(PART:"elm.text", "visible", 0.0);
227 program { name: "text_hide";
228 signal: "elm,state,text,hidden";
233 get_state(PART:"elm.swallow.content", st, 30, vl);
234 if (!strcmp(st, "visible"))
235 set_state(PART:"elm.swallow.content", "icononly", 0.0);
236 set_state(PART:"elm.text", "default", 0.0);
239 program { name: "icon_show";
240 signal: "elm,state,icon,visible";
245 get_state(PART:"elm.text", st, 30, vl);
246 if (!strcmp(st, "visible"))
247 set_state(PART:"elm.swallow.content", "visible", 0.0);
249 set_state(PART:"elm.swallow.content", "icononly", 0.0);
252 program { name: "icon_hide";
253 signal: "elm,state,icon,hidden";
255 action: STATE_SET "default" 0.0;
256 target: "elm.swallow.content";
258 program { name: "disable";
259 signal: "elm,state,disabled";
261 action: STATE_SET "disabled" 0.0;
262 target: "button_image";
265 after: "disable_text";
267 program { name: "disable_text";
271 get_state(PART:"elm.text", st, 30, vl);
272 if (!strcmp(st, "visible"))
273 set_state(PART:"elm.text", "disabled_visible", 0.0);
275 set_state(PART:"elm.text", "disabled", 0.0);
278 program { name: "enable";
279 signal: "elm,state,enabled";
281 action: STATE_SET "default" 0.0;
282 target: "button_image";
285 after: "enable_text";
287 program { name: "enable_text";
291 get_state(PART:"elm.text", st, 30, vl);
292 if (!strcmp(st, "disabled_visible"))
293 set_state(PART:"elm.text", "visible", 0.0);
295 set_state(PART:"elm.text", "default", 0.0);
298 program { name: "focused";
299 signal: "elm,action,focus";
301 action: STATE_SET "focused" 0.0;
302 target: "button_image";
305 program { name: "unfocused";
306 signal: "elm,action,unfocus";
308 action: STATE_SET "default" 0.0;
309 target: "button_image";
310 action: STATE_SET "visible" 0.0;
316 ////////////// elm/button/base/default - pressed //////////////////////////////////////////////
317 group { name: "elm/button/base/style_call_sixbtn_pressed";
319 image: "vc_six_btn_layout_press.png" COMP;
320 image: "vc_six_btn_layout_normal.png" COMP;
323 part { name: "button_image";
326 description { state: "default" 0.0;
328 normal: "vc_six_btn_layout_press.png";
333 description { state: "clicked" 0.0;
334 inherit: "default" 0.0;
335 image.normal: "vc_six_btn_layout_normal.png";
337 description { state: "disabled" 0.0;
338 inherit: "default" 0.0;
340 description { state: "focused" 0.0;
341 inherit: "default" 0.0;
344 part { name: "elm.swallow.content";
346 description { state: "default" 0.0;
350 rel1.relative: 0.0 0.0;
351 rel2.relative: 1.0 0.66;
352 aspect_preference: VERTICAL;
354 description { state: "visible" 0.0;
355 inherit: "default" 0.0;
360 description { state: "icononly" 0.0;
361 inherit: "default" 0.0;
366 rel2.relative: 1.0 1.0;
369 part { name: "elm.text";
374 description { state: "default" 0.0;
377 rel1.to_y: "elm.swallow.content";
378 rel1.relative: 0.5 1.0;
379 rel2.relative: 0.5 1.0;
380 color: 255 255 255 255;
384 font: FONT_SLP_Roman;
390 description { state: "visible" 0.0;
391 inherit: "default" 0.0;
394 description { state: "clicked" 0.0;
395 inherit: "default" 0.0;
398 color: 255 255 255 255;
402 description { state: "disabled" 0.0;
403 inherit: "default" 0.0;
407 description { state: "disabled_visible" 0.0;
408 inherit: "default" 0.0;
413 description { state: "focused" 0.0;
414 inherit: "default" 0.0;
417 color: 255 255 255 255;
422 part { name: "over2";
426 ignore_flags: ON_HOLD;
427 description { state: "default" 0.0;
430 description { state: "disabled" 0.0;
431 inherit: "default" 0.0;
435 part { name: "over3";
439 description { state: "default" 0.0;
442 description { state: "clicked" 0.0;
443 inherit: "default" 0.0;
447 part { name: "disabler";
449 description { state: "default" 0.0;
452 description { state: "disabled" 0.0;
453 inherit: "default" 0.0;
459 program { name: "button_click";
460 signal: "mouse,down,1";
462 action: SIGNAL_EMIT "elm,action,press" "";
463 after: "button_click_anim";
465 program { name: "button_click_anim";
466 action: STATE_SET "clicked" 0.0;
467 target: "button_image";
470 program { name: "button_unclick";
471 signal: "mouse,up,1";
473 action: SIGNAL_EMIT "elm,action,unpress" "";
474 after: "button_unclick_anim";
476 program { name: "button_unclick_anim";
477 action: STATE_SET "default" 0.0;
478 target: "button_image";
479 action: STATE_SET "visible" 0.0;
482 program { name: "button_mouseout_clicked";
488 get_state(PART:"elm.text", st, 30, vl);
489 if (!strcmp(st, "clicked"))
491 set_state(PART:"elm.text", "visible", 0.0);
492 set_state(PART:"button_image", "visible", 0.0);
496 program { name: "button_click2";
497 signal: "mouse,down,1";
499 action: STATE_SET "clicked" 0.0;
502 program { name: "button_unclick2";
503 signal: "mouse,up,1";
505 action: STATE_SET "default" 0.0;
508 program { name: "button_unclick3";
509 signal: "mouse,up,1";
511 action: SIGNAL_EMIT "elm,action,click" "";
513 program { name: "text_show";
514 signal: "elm,state,text,visible";
519 get_state(PART:"elm.swallow.content", st, 30, vl);
520 if (!strcmp(st, "icononly"))
521 set_state(PART:"elm.swallow.content", "visible", 0.0);
522 set_state(PART:"elm.text", "visible", 0.0);
525 program { name: "text_hide";
526 signal: "elm,state,text,hidden";
531 get_state(PART:"elm.swallow.content", st, 30, vl);
532 if (!strcmp(st, "visible"))
533 set_state(PART:"elm.swallow.content", "icononly", 0.0);
534 set_state(PART:"elm.text", "default", 0.0);
537 program { name: "icon_show";
538 signal: "elm,state,icon,visible";
543 get_state(PART:"elm.text", st, 30, vl);
544 if (!strcmp(st, "visible"))
545 set_state(PART:"elm.swallow.content", "visible", 0.0);
547 set_state(PART:"elm.swallow.content", "icononly", 0.0);
550 program { name: "icon_hide";
551 signal: "elm,state,icon,hidden";
553 action: STATE_SET "default" 0.0;
554 target: "elm.swallow.content";
556 program { name: "disable";
557 signal: "elm,state,disabled";
559 action: STATE_SET "disabled" 0.0;
560 target: "button_image";
563 after: "disable_text";
565 program { name: "disable_text";
569 get_state(PART:"elm.text", st, 30, vl);
570 if (!strcmp(st, "visible"))
571 set_state(PART:"elm.text", "disabled_visible", 0.0);
573 set_state(PART:"elm.text", "disabled", 0.0);
576 program { name: "enable";
577 signal: "elm,state,enabled";
579 action: STATE_SET "default" 0.0;
580 target: "button_image";
583 after: "enable_text";
585 program { name: "enable_text";
589 get_state(PART:"elm.text", st, 30, vl);
590 if (!strcmp(st, "disabled_visible"))
591 set_state(PART:"elm.text", "visible", 0.0);
593 set_state(PART:"elm.text", "default", 0.0);
596 program { name: "focused";
597 signal: "elm,action,focus";
599 action: STATE_SET "focused" 0.0;
600 target: "button_image";
603 program { name: "unfocused";
604 signal: "elm,action,unfocus";
606 action: STATE_SET "default" 0.0;
607 target: "button_image";
608 action: STATE_SET "visible" 0.0;
614 ////////////// elm/button/base/default //////////////////////////////////////////////
615 group { name: "elm/button/base/style_call_sixbtn";
617 image: "vc_six_btn_layout_normal.png" COMP;
618 image: "vc_six_btn_layout_press.png" COMP;
621 part { name: "button_image";
624 description { state: "default" 0.0;
626 normal: "vc_six_btn_layout_normal.png";
631 description { state: "clicked" 0.0;
632 inherit: "default" 0.0;
633 image.normal: "vc_six_btn_layout_press.png";
635 description { state: "disabled" 0.0;
636 inherit: "default" 0.0;
638 description { state: "focused" 0.0;
639 inherit: "default" 0.0;
642 part { name: "elm.swallow.content";
644 description { state: "default" 0.0;
648 rel1.relative: 0.0 0.0;
649 rel2.relative: 1.0 0.66;
650 aspect_preference: VERTICAL;
652 description { state: "visible" 0.0;
653 inherit: "default" 0.0;
658 description { state: "icononly" 0.0;
659 inherit: "default" 0.0;
664 rel2.relative: 1.0 1.0;
667 part { name: "elm.text";
672 description { state: "default" 0.0;
675 rel1.to_y: "elm.swallow.content";
676 rel1.relative: 0.5 1.0;
677 rel2.relative: 0.5 1.0;
678 color: 255 255 255 255;
682 font: FONT_SLP_Roman;
688 description { state: "visible" 0.0;
689 inherit: "default" 0.0;
692 description { state: "clicked" 0.0;
693 inherit: "default" 0.0;
696 color: 255 255 255 255;
700 description { state: "disabled" 0.0;
701 inherit: "default" 0.0;
705 description { state: "disabled_visible" 0.0;
706 inherit: "default" 0.0;
711 description { state: "focused" 0.0;
712 inherit: "default" 0.0;
715 color: 255 255 255 255;
720 part { name: "over2";
724 ignore_flags: ON_HOLD;
725 description { state: "default" 0.0;
728 description { state: "disabled" 0.0;
729 inherit: "default" 0.0;
733 part { name: "over3";
737 description { state: "default" 0.0;
740 description { state: "clicked" 0.0;
741 inherit: "default" 0.0;
745 part { name: "disabler";
747 description { state: "default" 0.0;
750 description { state: "disabled" 0.0;
751 inherit: "default" 0.0;
757 program { name: "button_click";
758 signal: "mouse,down,1";
760 action: SIGNAL_EMIT "elm,action,press" "";
761 after: "button_click_anim";
763 program { name: "button_click_anim";
764 action: STATE_SET "clicked" 0.0;
765 target: "button_image";
768 program { name: "button_unclick";
769 signal: "mouse,up,1";
771 action: SIGNAL_EMIT "elm,action,unpress" "";
772 after: "button_unclick_anim";
774 program { name: "button_unclick_anim";
775 action: STATE_SET "default" 0.0;
776 target: "button_image";
777 action: STATE_SET "visible" 0.0;
780 program { name: "button_mouseout_clicked";
786 get_state(PART:"elm.text", st, 30, vl);
787 if (!strcmp(st, "clicked"))
789 set_state(PART:"elm.text", "visible", 0.0);
790 set_state(PART:"button_image", "visible", 0.0);
794 program { name: "button_click2";
795 signal: "mouse,down,1";
797 action: STATE_SET "clicked" 0.0;
800 program { name: "button_unclick2";
801 signal: "mouse,up,1";
803 action: STATE_SET "default" 0.0;
806 program { name: "button_unclick3";
807 signal: "mouse,up,1";
809 action: SIGNAL_EMIT "elm,action,click" "";
811 program { name: "text_show";
812 signal: "elm,state,text,visible";
817 get_state(PART:"elm.swallow.content", st, 30, vl);
818 if (!strcmp(st, "icononly"))
819 set_state(PART:"elm.swallow.content", "visible", 0.0);
820 set_state(PART:"elm.text", "visible", 0.0);
823 program { name: "text_hide";
824 signal: "elm,state,text,hidden";
829 get_state(PART:"elm.swallow.content", st, 30, vl);
830 if (!strcmp(st, "visible"))
831 set_state(PART:"elm.swallow.content", "icononly", 0.0);
832 set_state(PART:"elm.text", "default", 0.0);
835 program { name: "icon_show";
836 signal: "elm,state,icon,visible";
841 get_state(PART:"elm.text", st, 30, vl);
842 if (!strcmp(st, "visible"))
843 set_state(PART:"elm.swallow.content", "visible", 0.0);
845 set_state(PART:"elm.swallow.content", "icononly", 0.0);
848 program { name: "icon_hide";
849 signal: "elm,state,icon,hidden";
851 action: STATE_SET "default" 0.0;
852 target: "elm.swallow.content";
854 program { name: "disable";
855 signal: "elm,state,disabled";
857 action: STATE_SET "disabled" 0.0;
858 target: "button_image";
861 after: "disable_text";
863 program { name: "disable_text";
867 get_state(PART:"elm.text", st, 30, vl);
868 if (!strcmp(st, "visible"))
869 set_state(PART:"elm.text", "disabled_visible", 0.0);
871 set_state(PART:"elm.text", "disabled", 0.0);
874 program { name: "enable";
875 signal: "elm,state,enabled";
877 action: STATE_SET "default" 0.0;
878 target: "button_image";
881 after: "enable_text";
883 program { name: "enable_text";
887 get_state(PART:"elm.text", st, 30, vl);
888 if (!strcmp(st, "disabled_visible"))
889 set_state(PART:"elm.text", "visible", 0.0);
891 set_state(PART:"elm.text", "default", 0.0);
894 program { name: "focused";
895 signal: "elm,action,focus";
897 action: STATE_SET "focused" 0.0;
898 target: "button_image";
901 program { name: "unfocused";
902 signal: "elm,action,unfocus";
904 action: STATE_SET "default" 0.0;
905 target: "button_image";
906 action: STATE_SET "visible" 0.0;
912 ////////////// elm/button/base/icon_only/default //////////////////////////////////////////////
913 group { name: "elm/button/base/style_call_smallbtn";
915 image: "vc_six_btn_layout_normal.png" COMP;
916 image: "vc_six_btn_layout_press.png" COMP;
919 part { name: "button_image";
922 description { state: "default" 0.0;
924 normal: "vc_six_btn_layout_normal.png";
929 description { state: "clicked" 0.0;
930 inherit: "default" 0.0;
931 image.normal: "vc_six_btn_layout_press.png";
933 description { state: "disabled" 0.0;
934 inherit: "default" 0.0;
936 description { state: "focused" 0.0;
937 inherit: "default" 0.0;
940 part { name: "elm.swallow.content";
942 description { state: "default" 0.0;
946 rel1.relative: 0.0 0.0;
947 rel2.relative: 1.0 1.0;
948 aspect_preference: VERTICAL;
950 description { state: "visible" 0.0;
951 inherit: "default" 0.0;
956 description { state: "icononly" 0.0;
957 inherit: "default" 0.0;
962 rel2.relative: 1.0 1.0;
965 part { name: "over2";
969 ignore_flags: ON_HOLD;
970 description { state: "default" 0.0;
973 description { state: "disabled" 0.0;
974 inherit: "default" 0.0;
978 part { name: "over3";
982 description { state: "default" 0.0;
985 description { state: "clicked" 0.0;
986 inherit: "default" 0.0;
990 part { name: "disabler";
992 description { state: "default" 0.0;
995 description { state: "disabled" 0.0;
996 inherit: "default" 0.0;
1002 program { name: "button_click";
1003 signal: "mouse,down,1";
1005 action: SIGNAL_EMIT "elm,action,press" "";
1006 after: "button_click_anim";
1008 program { name: "button_click_anim";
1009 action: STATE_SET "clicked" 0.0;
1010 target: "button_image";
1012 program { name: "button_unclick";
1013 signal: "mouse,up,1";
1015 action: SIGNAL_EMIT "elm,action,unpress" "";
1016 after: "button_unclick_anim";
1018 program { name: "button_unclick_anim";
1019 action: STATE_SET "default" 0.0;
1020 target: "button_image";
1022 program { name: "button_mouseout_clicked";
1023 signal: "mouse,out";
1028 get_state(PART:"elm.swallow.content", st, 30, vl);
1029 if (!strcmp(st, "clicked"))
1031 set_state(PART:"button_image", "visible", 0.0);
1035 program { name: "button_click2";
1036 signal: "mouse,down,1";
1038 action: STATE_SET "clicked" 0.0;
1041 program { name: "button_unclick2";
1042 signal: "mouse,up,1";
1044 action: STATE_SET "default" 0.0;
1047 program { name: "button_unclick3";
1048 signal: "mouse,up,1";
1050 action: SIGNAL_EMIT "elm,action,click" "";
1052 program { name: "text_show";
1053 signal: "elm,state,text,visible";
1058 get_state(PART:"elm.swallow.content", st, 30, vl);
1059 if (!strcmp(st, "icononly"))
1060 set_state(PART:"elm.swallow.content", "visible", 0.0);
1063 program { name: "text_hide";
1064 signal: "elm,state,text,hidden";
1069 get_state(PART:"elm.swallow.content", st, 30, vl);
1070 if (!strcmp(st, "visible"))
1071 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1074 program { name: "icon_show";
1075 signal: "elm,state,icon,visible";
1080 get_state(PART:"elm.swallow.content", st, 30, vl);
1081 if (!strcmp(st, "visible"))
1082 set_state(PART:"elm.swallow.content", "visible", 0.0);
1084 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1087 program { name: "icon_hide";
1088 signal: "elm,state,icon,hidden";
1090 action: STATE_SET "default" 0.0;
1091 target: "elm.swallow.content";
1093 program { name: "disable";
1094 signal: "elm,state,disabled";
1096 action: STATE_SET "disabled" 0.0;
1097 target: "button_image";
1101 program { name: "enable";
1102 signal: "elm,state,enabled";
1104 action: STATE_SET "default" 0.0;
1105 target: "button_image";
1109 program { name: "focused";
1110 signal: "elm,action,focus";
1112 action: STATE_SET "focused" 0.0;
1113 target: "button_image";
1115 program { name: "unfocused";
1116 signal: "elm,action,unfocus";
1118 action: STATE_SET "default" 0.0;
1119 target: "button_image";
1124 ////////////// elm/button/base/icon_only/default //////////////////////////////////////////////
1125 group { name: "elm/button/base/style_call_smallbtn_pressed";
1127 image: "vc_conference_call_btn_normal.png" COMP;
1128 image: "vc_conference_call_btn_press.png" COMP;
1131 part { name: "button_image";
1134 description { state: "default" 0.0;
1136 normal: "vc_conference_call_btn_press.png";
1141 description { state: "clicked" 0.0;
1142 inherit: "default" 0.0;
1143 image.normal: "vc_conference_call_btn_normal.png";
1145 description { state: "disabled" 0.0;
1146 inherit: "default" 0.0;
1148 description { state: "focused" 0.0;
1149 inherit: "default" 0.0;
1152 part { name: "elm.swallow.content";
1154 description { state: "default" 0.0;
1158 rel1.relative: 0.0 0.0;
1159 rel2.relative: 1.0 0.52;
1160 aspect_preference: VERTICAL;
1162 description { state: "visible" 0.0;
1163 inherit: "default" 0.0;
1168 description { state: "icononly" 0.0;
1169 inherit: "default" 0.0;
1174 rel2.relative: 1.0 0.52;
1177 part { name: "elm.text";
1179 effect: SOFT_SHADOW;
1182 description { state: "default" 0.0;
1185 rel1.to_y: "elm.swallow.content";
1186 rel1.relative: 0.5 1.0;
1187 rel2.relative: 0.5 1.0;
1188 color: 255 255 255 255;
1192 font: FONT_SLP_Roman;
1198 description { state: "visible" 0.0;
1199 inherit: "default" 0.0;
1202 description { state: "clicked" 0.0;
1203 inherit: "default" 0.0;
1206 color: 255 255 255 255;
1210 description { state: "disabled" 0.0;
1211 inherit: "default" 0.0;
1215 description { state: "disabled_visible" 0.0;
1216 inherit: "default" 0.0;
1221 description { state: "focused" 0.0;
1222 inherit: "default" 0.0;
1225 color: 255 255 255 255;
1230 part { name: "over2";
1234 ignore_flags: ON_HOLD;
1235 description { state: "default" 0.0;
1238 description { state: "disabled" 0.0;
1239 inherit: "default" 0.0;
1243 part { name: "over3";
1247 description { state: "default" 0.0;
1250 description { state: "clicked" 0.0;
1251 inherit: "default" 0.0;
1255 part { name: "disabler";
1257 description { state: "default" 0.0;
1260 description { state: "disabled" 0.0;
1261 inherit: "default" 0.0;
1267 program { name: "button_click";
1268 signal: "mouse,down,1";
1270 action: SIGNAL_EMIT "elm,action,press" "";
1271 after: "button_click_anim";
1273 program { name: "button_click_anim";
1274 action: STATE_SET "clicked" 0.0;
1275 target: "button_image";
1278 program { name: "button_unclick";
1279 signal: "mouse,up,1";
1281 action: SIGNAL_EMIT "elm,action,unpress" "";
1282 after: "button_unclick_anim";
1284 program { name: "button_unclick_anim";
1285 action: STATE_SET "default" 0.0;
1286 target: "button_image";
1287 action: STATE_SET "visible" 0.0;
1290 program { name: "button_mouseout_clicked";
1291 signal: "mouse,out";
1296 get_state(PART:"elm.text", st, 30, vl);
1297 if (!strcmp(st, "clicked"))
1299 set_state(PART:"elm.text", "visible", 0.0);
1300 set_state(PART:"button_image", "visible", 0.0);
1304 program { name: "button_click2";
1305 signal: "mouse,down,1";
1307 action: STATE_SET "clicked" 0.0;
1310 program { name: "button_unclick2";
1311 signal: "mouse,up,1";
1313 action: STATE_SET "default" 0.0;
1316 program { name: "button_unclick3";
1317 signal: "mouse,up,1";
1319 action: SIGNAL_EMIT "elm,action,click" "";
1321 program { name: "text_show";
1322 signal: "elm,state,text,visible";
1327 get_state(PART:"elm.swallow.content", st, 30, vl);
1328 if (!strcmp(st, "icononly"))
1329 set_state(PART:"elm.swallow.content", "visible", 0.0);
1330 set_state(PART:"elm.text", "visible", 0.0);
1333 program { name: "text_hide";
1334 signal: "elm,state,text,hidden";
1339 get_state(PART:"elm.swallow.content", st, 30, vl);
1340 if (!strcmp(st, "visible"))
1341 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1342 set_state(PART:"elm.text", "default", 0.0);
1345 program { name: "icon_show";
1346 signal: "elm,state,icon,visible";
1351 get_state(PART:"elm.text", st, 30, vl);
1352 if (!strcmp(st, "visible"))
1353 set_state(PART:"elm.swallow.content", "visible", 0.0);
1355 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1358 program { name: "icon_hide";
1359 signal: "elm,state,icon,hidden";
1361 action: STATE_SET "default" 0.0;
1362 target: "elm.swallow.content";
1364 program { name: "disable";
1365 signal: "elm,state,disabled";
1367 action: STATE_SET "disabled" 0.0;
1368 target: "button_image";
1371 after: "disable_text";
1373 program { name: "disable_text";
1377 get_state(PART:"elm.text", st, 30, vl);
1378 if (!strcmp(st, "visible"))
1379 set_state(PART:"elm.text", "disabled_visible", 0.0);
1381 set_state(PART:"elm.text", "disabled", 0.0);
1384 program { name: "enable";
1385 signal: "elm,state,enabled";
1387 action: STATE_SET "default" 0.0;
1388 target: "button_image";
1391 after: "enable_text";
1393 program { name: "enable_text";
1397 get_state(PART:"elm.text", st, 30, vl);
1398 if (!strcmp(st, "disabled_visible"))
1399 set_state(PART:"elm.text", "visible", 0.0);
1401 set_state(PART:"elm.text", "default", 0.0);
1404 program { name: "focused";
1405 signal: "elm,action,focus";
1407 action: STATE_SET "focused" 0.0;
1408 target: "button_image";
1411 program { name: "unfocused";
1412 signal: "elm,action,unfocus";
1414 action: STATE_SET "default" 0.0;
1415 target: "button_image";
1416 action: STATE_SET "visible" 0.0;
1422 ////////////// elm/button/base/icon_only/default //////////////////////////////////////////////
1423 group { name: "elm/button/base/icon_only/style_call_icon_only_private";
1425 image: "vc_conference_call_btn_normal.png" COMP;
1426 image: "vc_conference_call_btn_press.png" COMP;
1429 part { name: "button_image";
1432 description { state: "default" 0.0;
1436 normal: "vc_conference_call_btn_normal.png";
1441 description { state: "clicked" 0.0;
1442 inherit: "default" 0.0;
1444 normal: "vc_conference_call_btn_press.png";
1449 description { state: "disabled" 0.0;
1450 inherit: "clicked" 0.0;
1452 description { state: "focused" 0.0;
1453 inherit: "default" 0.0;
1456 part { name: "elm.swallow.content";
1460 description { state: "default" 0.0;
1465 rel1 { to: "button_image"; }
1466 rel2 { to: "button_image"; }
1469 description { state: "visible" 0.0;
1470 inherit: "default" 0.0;
1473 aspect_preference: VERTICAL;
1476 part { name: "over1";
1479 ignore_flags: ON_HOLD;
1480 description { state: "default" 0.0;
1481 rel1.to: "button_image";
1482 rel2.to: "button_image";
1484 description { state: "disabled" 0.0;
1485 inherit: "default" 0.0;
1489 part { name: "over2";
1492 description { state: "default" 0.0;
1493 color: 255 255 255 0;
1495 description { state: "clicked" 0.0;
1496 inherit: "default" 0.0;
1498 color: 255 255 255 0;
1501 part { name: "disabler";
1503 description { state: "default" 0.0;
1504 rel1.to: "button_image";
1505 rel2.to: "button_image";
1509 description { state: "disabled" 0.0;
1510 inherit: "default" 0.0;
1516 program { name: "button_click";
1517 signal: "mouse,down,1";
1519 action: SIGNAL_EMIT "elm,action,press" "";
1520 after: "button_click_anim";
1522 program { name: "button_click_anim";
1523 action: STATE_SET "clicked" 0.0;
1524 target: "button_image";
1526 program { name: "button_unclick";
1527 signal: "mouse,up,1";
1529 action: SIGNAL_EMIT "elm,action,unpress" "";
1530 after: "button_unclick_anim";
1532 program { name: "button_unclick_anim";
1533 action: STATE_SET "default" 0.0;
1534 target: "button_image";
1536 program { name: "button_mouseout_clicked";
1537 signal: "mouse,out";
1539 action: STATE_SET "default" 0.0;
1540 target: "button_image";
1542 program { name: "button_click2";
1543 signal: "mouse,down,1";
1545 action: STATE_SET "clicked" 0.0;
1548 program { name: "button_unclick2";
1549 signal: "mouse,up,1";
1551 action: STATE_SET "default" 0.0;
1553 after: "button_unclick3";
1555 program { name: "button_unclick3";
1556 action: SIGNAL_EMIT "elm,action,click" "";
1558 program { name: "disable";
1559 signal: "elm,state,disabled";
1561 action: STATE_SET "disabled" 0.0;
1562 target: "button_image";
1566 program { name: "enable";
1567 signal: "elm,state,enabled";
1569 action: STATE_SET "default" 0.0;
1570 target: "button_image";
1574 program { name: "icon_show";
1575 signal: "elm,state,icon,visible";
1577 action: STATE_SET "visible" 0.0;
1578 target: "elm.swallow.content";
1580 program { name: "icon_hide";
1581 signal: "elm,state,icon,hidden";
1583 action: STATE_SET "default" 0.0;
1584 target: "elm.swallow.content";
1586 program { name: "focused";
1587 signal: "elm,action,focus";
1589 action: STATE_SET "focused" 0.0;
1590 target: "button_image";
1592 program { name: "unfocused";
1593 signal: "elm,action,unfocus";
1595 action: STATE_SET "default" 0.0;
1596 target: "button_image";
1601 ////////////// elm/button/base/text_only/style_call_small_text_only_red //////////////////////////////////////////////
1602 group { name: "elm/button/base/text_only/style_call_small_text_only_red";
1604 image: "vc_button_red_normal.png" COMP;
1605 image: "vc_button_press.png" COMP;
1608 part { name: "button_image";
1611 effect: SOFT_SHADOW;
1612 description { state: "default" 0.0;
1615 normal: "vc_button_red_normal.png";
1620 description { state: "clicked" 0.0;
1623 normal: "vc_button_press.png";
1628 description { state: "disabled" 0.0;
1629 inherit: "clicked" 0.0;
1631 description { state: "focused" 0.0;
1632 inherit: "default" 0.0;
1635 part { name: "elm.text";
1641 state: "default" 0.0;
1645 color: 255 255 255 255;
1649 font: FONT_SLP_Medium;
1655 description { state: "visible" 0.0;
1656 inherit: "default" 0.0;
1660 description { state: "clicked" 0.0;
1661 inherit: "default" 0.0;
1664 color: 255 255 255 255;
1668 description { state: "disabled" 0.0;
1669 inherit: "default" 0.0;
1673 description { state: "disabled_visible" 0.0;
1674 inherit: "default" 0.0;
1680 description { state: "focused" 0.0;
1681 inherit: "default" 0.0;
1684 color: 255 255 255 255;
1687 part { name: "over1";
1689 description { state: "default" 0.0;
1690 rel2.relative: 1.0 0.5;
1692 description { state: "disabled" 0.0;
1693 inherit: "default" 0.0;
1696 part { name: "over2";
1699 ignore_flags: ON_HOLD;
1700 description { state: "default" 0.0;
1702 description { state: "disabled" 0.0;
1703 inherit: "default" 0.0;
1707 part { name: "over3";
1710 description { state: "default" 0.0;
1711 color: 255 255 255 0;
1713 description { state: "clicked" 0.0;
1714 inherit: "default" 0.0;
1716 color: 255 255 255 0;
1719 part { name: "disabler";
1721 description { state: "default" 0.0;
1725 description { state: "disabled" 0.0;
1726 inherit: "default" 0.0;
1732 program { name: "button_click";
1733 signal: "mouse,down,1";
1735 action: SIGNAL_EMIT "elm,action,press" "";
1736 after: "button_click_anim";
1738 program { name: "button_click_anim";
1739 action: STATE_SET "clicked" 0.0;
1740 target: "button_image";
1743 program { name: "button_unclick";
1744 signal: "mouse,up,1";
1746 action: SIGNAL_EMIT "elm,action,unpress" "";
1747 after: "button_unclick_anim";
1749 program { name: "button_unclick_anim";
1750 action: STATE_SET "default" 0.0;
1751 target: "button_image";
1752 action: STATE_SET "visible" 0.0;
1755 program { name: "button_mouseout_clicked";
1756 signal: "mouse,out";
1761 get_state(PART:"elm.text", st, 30, vl);
1762 if (!strcmp(st, "clicked"))
1764 set_state(PART:"elm.text", "visible", 0.0);
1765 set_state(PART:"button_image", "visible", 0.0);
1769 program { name: "button_click2";
1770 signal: "mouse,down,1";
1772 action: STATE_SET "clicked" 0.0;
1775 program { name: "button_unclick2";
1776 signal: "mouse,up,1";
1778 action: STATE_SET "default" 0.0;
1781 program { name: "button_unclick3";
1782 signal: "mouse,up,1";
1784 action: SIGNAL_EMIT "elm,action,click" "";
1786 program { name: "text_show";
1787 signal: "elm,state,text,visible";
1789 action: STATE_SET "visible" 0.0;
1792 program { name: "text_hide";
1793 signal: "elm,state,text,hidden";
1795 action: STATE_SET "default" 0.0;
1799 program { name: "disable";
1800 signal: "elm,state,disabled";
1802 action: STATE_SET "disabled" 0.0;
1803 target: "button_image";
1807 after: "disable_text";
1809 program { name: "disable_text";
1813 get_state(PART:"elm.text", st, 30, vl);
1814 if (!strcmp(st, "visible"))
1815 set_state(PART:"elm.text", "disabled_visible", 0.0);
1817 set_state(PART:"elm.text", "disabled", 0.0);
1820 program { name: "enable";
1821 signal: "elm,state,enabled";
1823 action: STATE_SET "default" 0.0;
1824 target: "button_image";
1828 after: "enable_text";
1830 program { name: "enable_text";
1834 get_state(PART:"elm.text", st, 30, vl);
1835 if (!strcmp(st, "disabled_visible"))
1836 set_state(PART:"elm.text", "visible", 0.0);
1838 set_state(PART:"elm.text", "default", 0.0);
1841 program { name: "focused";
1842 signal: "elm,action,focus";
1844 action: STATE_SET "focused" 0.0;
1845 target: "button_image";
1848 program { name: "unfocused";
1849 signal: "elm,action,unfocus";
1851 action: STATE_SET "default" 0.0;
1852 target: "button_image";
1853 action: STATE_SET "visible" 0.0;
1859 ////////////// elm/button/base/text_only/style_call_text_only_red //////////////////////////////////////////////
1860 group { name: "elm/button/base/text_only/style_call_text_only_red";
1862 image: "vc_button_red_normal.png" COMP;
1863 image: "vc_button_press.png" COMP;
1866 part { name: "button_image";
1869 effect: SOFT_SHADOW;
1870 description { state: "default" 0.0;
1873 normal: "vc_button_red_normal.png";
1878 description { state: "clicked" 0.0;
1881 normal: "vc_button_press.png";
1886 description { state: "disabled" 0.0;
1887 inherit: "clicked" 0.0;
1889 description { state: "focused" 0.0;
1890 inherit: "default" 0.0;
1893 part { name: "elm.text";
1899 state: "default" 0.0;
1903 color: 255 255 255 255;
1907 font: FONT_SLP_Medium;
1913 description { state: "visible" 0.0;
1914 inherit: "default" 0.0;
1918 description { state: "clicked" 0.0;
1919 inherit: "default" 0.0;
1922 color: 255 255 255 255;
1926 description { state: "disabled" 0.0;
1927 inherit: "default" 0.0;
1931 description { state: "disabled_visible" 0.0;
1932 inherit: "default" 0.0;
1938 description { state: "focused" 0.0;
1939 inherit: "default" 0.0;
1942 color: 255 255 255 255;
1945 part { name: "over1";
1947 description { state: "default" 0.0;
1948 rel2.relative: 1.0 0.5;
1950 description { state: "disabled" 0.0;
1951 inherit: "default" 0.0;
1954 part { name: "over2";
1957 ignore_flags: ON_HOLD;
1958 description { state: "default" 0.0;
1960 description { state: "disabled" 0.0;
1961 inherit: "default" 0.0;
1965 part { name: "over3";
1968 description { state: "default" 0.0;
1969 color: 255 255 255 0;
1971 description { state: "clicked" 0.0;
1972 inherit: "default" 0.0;
1974 color: 255 255 255 0;
1977 part { name: "disabler";
1979 description { state: "default" 0.0;
1983 description { state: "disabled" 0.0;
1984 inherit: "default" 0.0;
1990 program { name: "button_click";
1991 signal: "mouse,down,1";
1993 action: SIGNAL_EMIT "elm,action,press" "";
1994 after: "button_click_anim";
1996 program { name: "button_click_anim";
1997 action: STATE_SET "clicked" 0.0;
1998 target: "button_image";
2001 program { name: "button_unclick";
2002 signal: "mouse,up,1";
2004 action: SIGNAL_EMIT "elm,action,unpress" "";
2005 after: "button_unclick_anim";
2007 program { name: "button_unclick_anim";
2008 action: STATE_SET "default" 0.0;
2009 target: "button_image";
2010 action: STATE_SET "visible" 0.0;
2013 program { name: "button_mouseout_clicked";
2014 signal: "mouse,out";
2019 get_state(PART:"elm.text", st, 30, vl);
2020 if (!strcmp(st, "clicked"))
2022 set_state(PART:"elm.text", "visible", 0.0);
2023 set_state(PART:"button_image", "visible", 0.0);
2027 program { name: "button_click2";
2028 signal: "mouse,down,1";
2030 action: STATE_SET "clicked" 0.0;
2033 program { name: "button_unclick2";
2034 signal: "mouse,up,1";
2036 action: STATE_SET "default" 0.0;
2039 program { name: "button_unclick3";
2040 signal: "mouse,up,1";
2042 action: SIGNAL_EMIT "elm,action,click" "";
2044 program { name: "text_show";
2045 signal: "elm,state,text,visible";
2047 action: STATE_SET "visible" 0.0;
2050 program { name: "text_hide";
2051 signal: "elm,state,text,hidden";
2053 action: STATE_SET "default" 0.0;
2057 program { name: "disable";
2058 signal: "elm,state,disabled";
2060 action: STATE_SET "disabled" 0.0;
2061 target: "button_image";
2065 after: "disable_text";
2067 program { name: "disable_text";
2071 get_state(PART:"elm.text", st, 30, vl);
2072 if (!strcmp(st, "visible"))
2073 set_state(PART:"elm.text", "disabled_visible", 0.0);
2075 set_state(PART:"elm.text", "disabled", 0.0);
2078 program { name: "enable";
2079 signal: "elm,state,enabled";
2081 action: STATE_SET "default" 0.0;
2082 target: "button_image";
2086 after: "enable_text";
2088 program { name: "enable_text";
2092 get_state(PART:"elm.text", st, 30, vl);
2093 if (!strcmp(st, "disabled_visible"))
2094 set_state(PART:"elm.text", "visible", 0.0);
2096 set_state(PART:"elm.text", "default", 0.0);
2099 program { name: "focused";
2100 signal: "elm,action,focus";
2102 action: STATE_SET "focused" 0.0;
2103 target: "button_image";
2106 program { name: "unfocused";
2107 signal: "elm,action,unfocus";
2109 action: STATE_SET "default" 0.0;
2110 target: "button_image";
2111 action: STATE_SET "visible" 0.0;
2118 ///////////////////////////////////////////////////////////////////////////////////////
2119 group { name: "elm/button/base/multiline_text_black";
2121 image: "vc_second_mt_btn_normal.png" COMP;
2122 image: "vc_button_press.png" COMP;
2125 public button_state = BUTTON_STATE_ENABLED;
2128 style { name: "btn_multiline_navigationbar_controlbar_style";
2129 base: "font=SLP:style=Medium font_size="48" align=center color=#ffffff wrap=mixed";
2136 part { name: "button_image";
2140 description { state: "default" 0.0;
2144 image.normal: "vc_second_mt_btn_normal.png";
2145 image.border: 16 16 0 0;
2146 color: 255 255 255 255;
2148 description { state: "disabled" 0.0;
2149 inherit: "default" 0.0;
2151 description { state: "clicked" 0.0;
2152 inherit: "default" 0.0;
2153 image.normal: "vc_button_press.png";
2157 name: "padding_left_top";
2161 description { state: "default" 0.0;
2163 rel1.relative: 0.0 0.0;
2164 rel2.relative: 0.0 0.0;
2171 name: "padding_right_bottom";
2175 description { state: "default" 0.0;
2177 rel1.relative: 1.0 1.0;
2178 rel2.relative: 1.0 1.0;
2189 description { state: "default" 0.0;
2193 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
2194 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
2197 description { state: "visible" 0.0;
2198 inherit: "default" 0.0;
2201 description { state: "icononly" 0.0;
2202 inherit: "default" 0.0;
2206 name: "padding_after_icon";
2210 description { state: "default" 0.0;
2213 rel1 { relative: 1.0 0.0; to: "icon_rect"; }
2214 rel2 { relative: 1.0 1.0; to: "icon_rect"; }
2219 description { state: "visible" 0.0;
2220 inherit: "default" 0.0;
2223 description { state: "icononly" 0.0;
2224 inherit: "default" 0.0;
2228 name: "padding_before_text";
2232 description { state: "default" 0.0;
2235 rel1 { relative: 0.0 1.0; to_x: "elm.text"; to_y: "padding_left_top"; }
2236 rel2 { relative: 0.0 0.0; to_x: "elm.text"; to_y: "padding_right_bottom"; }
2241 part { name: "elm.swallow.content";
2245 description { state: "default" 0.0;
2248 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
2249 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
2252 description { state: "visible" 0.0;
2258 rel1 { relative: 0.0 1.0; to_x: "padding_before_text"; to_y: "padding_left_top"; }
2259 rel2 { relative: 0.0 0.0; to_x: "padding_before_text"; to_y: "padding_right_bottom"; }
2261 aspect_preference: VERTICAL;
2263 description { state: "icononly" 0.0;
2267 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
2268 rel2 { relative: 0.0 0.0; to: "padding_right_bottom"; }
2271 aspect_preference: VERTICAL;
2274 part { name: "elm.text";
2279 description { state: "default" 0.0;
2281 rel1 { relative: 1.0 1.0; to_x: "padding_after_icon"; to_y: "padding_left_top"; }
2282 rel2 { relative: 0.0 0.0; to: "padding_right_bottom"; }
2284 color: 255 255 255 255;
2286 style: "btn_multiline_navigationbar_controlbar_style";
2291 description { state: "visible" 0.0;
2292 inherit: "default" 0.0;
2296 description { state: "clicked" 0.0;
2297 inherit: "default" 0.0;
2301 description { state: "focused" 0.0;
2302 inherit: "default" 0.0;
2305 color: 255 255 255 255;
2308 part { name: "over2";
2312 ignore_flags: ON_HOLD;
2313 description { state: "default" 0.0;
2317 part { name: "over3";
2321 description { state: "default" 0.0;
2325 part { name: "clipper";
2327 description { state: "default" 0.0;
2328 color: 255 255 255 255;
2330 description { state: "disabled" 0.0;
2331 color: 255 255 255 127;
2334 part { name: "disabler";
2336 description { state: "default" 0.0;
2340 description { state: "disabled" 0.0;
2341 inherit: "default" 0.0;
2347 program { name: "button_click";
2348 signal: "mouse,down,1";
2350 action: SIGNAL_EMIT "elm,action,press" "";
2351 after: "button_click_anim";
2353 program { name: "button_click_anim";
2354 action: STATE_SET "clicked" 0.0;
2355 target: "button_image";
2356 after: "text_clicked";
2358 program { name: "text_clicked";
2362 get_state(PART:"elm.text", st, 30, vl);
2363 if (!strcmp(st, "visible"))
2364 set_state(PART:"elm.text", "clicked", 0.0);
2367 program { name: "button_unpress";
2368 action: SIGNAL_EMIT "elm,action,unpress" "";
2370 program { name: "button_mouseout_clicked";
2371 signal: "mouse,up,1";
2376 get_state(PART:"elm.swallow.content", st, 30, vl);
2377 if (strcmp(st, "icononly")) {
2378 emit("elm,action,default,text,set", "");
2379 set_state(PART:"elm.text", "visible", 0.0);
2381 if(get_int(button_state) != BUTTON_STATE_DISABLED)
2382 set_state(PART:"button_image", "default", 0.0);
2384 after: button_unpress;
2386 program { name: "button_unclick3";
2387 signal: "mouse,clicked,1";
2389 action: SIGNAL_EMIT "elm,action,click" "";
2391 program { name: "text_show";
2392 signal: "elm,state,text,visible";
2397 get_state(PART:"elm.swallow.content", st, 30, vl);
2398 if (!strcmp(st, "icononly")) {
2399 set_state(PART:"elm.swallow.content", "visible", 0.0);
2400 set_state(PART:"icon_rect", "visible", 0.0);
2401 set_state(PART:"padding_after_icon", "visible", 0.0);
2403 set_state(PART:"elm.text", "visible", 0.0);
2406 program { name: "text_hide";
2407 signal: "elm,state,text,hidden";
2412 get_state(PART:"elm.swallow.content", st, 30, vl);
2413 if (!strcmp(st, "visible")) {
2414 set_state(PART:"elm.swallow.content", "icononly", 0.0);
2415 set_state(PART:"icon_rect", "icononly", 0.0);
2416 set_state(PART:"padding_after_icon", "icononly", 0.0);
2418 set_state(PART:"elm.text", "default", 0.0);
2421 program { name: "icon_show";
2422 signal: "elm,state,icon,visible";
2427 get_state(PART:"elm.text", st, 30, vl);
2428 if (!strcmp(st, "visible")) {
2429 set_state(PART:"elm.swallow.content", "visible", 0.0);
2430 set_state(PART:"icon_rect", "visible", 0.0);
2431 set_state(PART:"padding_after_icon", "visible", 0.0);
2435 set_state(PART:"elm.swallow.content", "icononly", 0.0);
2436 set_state(PART:"icon_rect", "icononly", 0.0);
2437 set_state(PART:"padding_after_icon", "icononly", 0.0);
2441 program { name: "icon_hide";
2442 signal: "elm,state,icon,hidden";
2444 action: STATE_SET "default" 0.0;
2445 target: "elm.swallow.content";
2447 program { name: "disable";
2448 signal: "elm,state,disabled";
2450 action: STATE_SET "disabled" 0.0;
2451 target: "button_image";
2454 after: "disable_text";
2456 program { name: "disable_text";
2458 set_int(button_state, BUTTON_STATE_DISABLED);
2459 set_state(PART:"elm.text", "visible", 0.0);
2462 program { name: "enable";
2463 signal: "elm,state,enabled";
2465 action: STATE_SET "default" 0.0;
2466 target: "button_image";
2469 after: "enable_text";
2471 program { name: "enable_text";
2473 set_int(button_state, BUTTON_STATE_ENABLED);
2474 set_state(PART:"elm.text", "visible", 0.0);
2477 program { name: "focused";
2478 action: STATE_SET "focused" 0.0;
2479 target: "button_image";
2482 program { name: "unfocused";
2483 action: STATE_SET "default" 0.0;
2484 target: "button_image";
2485 after: "unfocus_text";
2487 program { name: "unfocus_text";
2488 action: STATE_SET "visible" 0.0;
2494 ///////////////////////////////////////////////////////////////////////////////////////
2495 group { name: "elm/button/base/multiline_text_red";
2497 image: "vc_button_red_normal.png" COMP;
2498 image: "vc_button_press.png" COMP;
2501 public button_state = BUTTON_STATE_ENABLED;
2504 style { name: "btn_multiline_navigationbar_controlbar_style2";
2505 base: "font=SLP:style=Medium font_size="48" align=center color=#ffffff wrap=mixed";
2512 part { name: "button_image";
2516 description { state: "default" 0.0;
2520 image.normal: "vc_button_red_normal.png";
2521 image.border: 16 16 0 0;
2522 color: 255 255 255 255;
2524 description { state: "disabled" 0.0;
2525 inherit: "default" 0.0;
2527 description { state: "clicked" 0.0;
2528 inherit: "default" 0.0;
2529 image.normal: "vc_button_press.png";
2533 name: "padding_left_top";
2537 description { state: "default" 0.0;
2539 rel1.relative: 0.0 0.0;
2540 rel2.relative: 0.0 0.0;
2547 name: "padding_right_bottom";
2551 description { state: "default" 0.0;
2553 rel1.relative: 1.0 1.0;
2554 rel2.relative: 1.0 1.0;
2565 description { state: "default" 0.0;
2569 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
2570 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
2573 description { state: "visible" 0.0;
2574 inherit: "default" 0.0;
2577 description { state: "icononly" 0.0;
2578 inherit: "default" 0.0;
2582 name: "padding_after_icon";
2586 description { state: "default" 0.0;
2589 rel1 { relative: 1.0 0.0; to: "icon_rect"; }
2590 rel2 { relative: 1.0 1.0; to: "icon_rect"; }
2595 description { state: "visible" 0.0;
2596 inherit: "default" 0.0;
2599 description { state: "icononly" 0.0;
2600 inherit: "default" 0.0;
2604 name: "padding_before_text";
2608 description { state: "default" 0.0;
2611 rel1 { relative: 0.0 1.0; to_x: "elm.text"; to_y: "padding_left_top"; }
2612 rel2 { relative: 0.0 0.0; to_x: "elm.text"; to_y: "padding_right_bottom"; }
2617 part { name: "elm.swallow.content";
2621 description { state: "default" 0.0;
2624 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
2625 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
2628 description { state: "visible" 0.0;
2634 rel1 { relative: 0.0 1.0; to_x: "padding_before_text"; to_y: "padding_left_top"; }
2635 rel2 { relative: 0.0 0.0; to_x: "padding_before_text"; to_y: "padding_right_bottom"; }
2637 aspect_preference: VERTICAL;
2639 description { state: "icononly" 0.0;
2643 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
2644 rel2 { relative: 0.0 0.0; to: "padding_right_bottom"; }
2647 aspect_preference: VERTICAL;
2650 part { name: "elm.text";
2655 description { state: "default" 0.0;
2657 rel1 { relative: 1.0 1.0; to_x: "padding_after_icon"; to_y: "padding_left_top"; }
2658 rel2 { relative: 0.0 0.0; to: "padding_right_bottom"; }
2661 color: 255 255 255 255;
2663 style: "btn_multiline_navigationbar_controlbar_style2";
2668 description { state: "visible" 0.0;
2669 inherit: "default" 0.0;
2673 description { state: "clicked" 0.0;
2674 inherit: "default" 0.0;
2678 description { state: "focused" 0.0;
2679 inherit: "default" 0.0;
2682 color: 255 255 255 255;
2685 part { name: "over2";
2689 ignore_flags: ON_HOLD;
2690 description { state: "default" 0.0;
2694 part { name: "over3";
2698 description { state: "default" 0.0;
2702 part { name: "clipper";
2704 description { state: "default" 0.0;
2705 color: 255 255 255 255;
2707 description { state: "disabled" 0.0;
2708 color: 255 255 255 127;
2711 part { name: "disabler";
2713 description { state: "default" 0.0;
2717 description { state: "disabled" 0.0;
2718 inherit: "default" 0.0;
2724 program { name: "button_click";
2725 signal: "mouse,down,1";
2727 action: SIGNAL_EMIT "elm,action,press" "";
2728 after: "button_click_anim";
2730 program { name: "button_click_anim";
2731 action: STATE_SET "clicked" 0.0;
2732 target: "button_image";
2733 after: "text_clicked";
2735 program { name: "text_clicked";
2739 get_state(PART:"elm.text", st, 30, vl);
2740 if (!strcmp(st, "visible"))
2741 set_state(PART:"elm.text", "clicked", 0.0);
2744 program { name: "button_unpress";
2745 action: SIGNAL_EMIT "elm,action,unpress" "";
2747 program { name: "button_mouseout_clicked";
2748 signal: "mouse,up,1";
2753 get_state(PART:"elm.swallow.content", st, 30, vl);
2754 if (strcmp(st, "icononly")) {
2755 emit("elm,action,default,text,set", "");
2756 set_state(PART:"elm.text", "visible", 0.0);
2758 if(get_int(button_state) != BUTTON_STATE_DISABLED)
2759 set_state(PART:"button_image", "default", 0.0);
2761 after: button_unpress;
2763 program { name: "button_unclick3";
2764 signal: "mouse,clicked,1";
2766 action: SIGNAL_EMIT "elm,action,click" "";
2768 program { name: "text_show";
2769 signal: "elm,state,text,visible";
2774 get_state(PART:"elm.swallow.content", st, 30, vl);
2775 if (!strcmp(st, "icononly")) {
2776 set_state(PART:"elm.swallow.content", "visible", 0.0);
2777 set_state(PART:"icon_rect", "visible", 0.0);
2778 set_state(PART:"padding_after_icon", "visible", 0.0);
2780 set_state(PART:"elm.text", "visible", 0.0);
2783 program { name: "text_hide";
2784 signal: "elm,state,text,hidden";
2789 get_state(PART:"elm.swallow.content", st, 30, vl);
2790 if (!strcmp(st, "visible")) {
2791 set_state(PART:"elm.swallow.content", "icononly", 0.0);
2792 set_state(PART:"icon_rect", "icononly", 0.0);
2793 set_state(PART:"padding_after_icon", "icononly", 0.0);
2795 set_state(PART:"elm.text", "default", 0.0);
2798 program { name: "icon_show";
2799 signal: "elm,state,icon,visible";
2804 get_state(PART:"elm.text", st, 30, vl);
2805 if (!strcmp(st, "visible")) {
2806 set_state(PART:"elm.swallow.content", "visible", 0.0);
2807 set_state(PART:"icon_rect", "visible", 0.0);
2808 set_state(PART:"padding_after_icon", "visible", 0.0);
2812 set_state(PART:"elm.swallow.content", "icononly", 0.0);
2813 set_state(PART:"icon_rect", "icononly", 0.0);
2814 set_state(PART:"padding_after_icon", "icononly", 0.0);
2818 program { name: "icon_hide";
2819 signal: "elm,state,icon,hidden";
2821 action: STATE_SET "default" 0.0;
2822 target: "elm.swallow.content";
2824 program { name: "disable";
2825 signal: "elm,state,disabled";
2827 action: STATE_SET "disabled" 0.0;
2828 target: "button_image";
2831 after: "disable_text";
2833 program { name: "disable_text";
2835 set_int(button_state, BUTTON_STATE_DISABLED);
2836 set_state(PART:"elm.text", "visible", 0.0);
2839 program { name: "enable";
2840 signal: "elm,state,enabled";
2842 action: STATE_SET "default" 0.0;
2843 target: "button_image";
2846 after: "enable_text";
2848 program { name: "enable_text";
2850 set_int(button_state, BUTTON_STATE_ENABLED);
2851 set_state(PART:"elm.text", "visible", 0.0);
2854 program { name: "focused";
2855 action: STATE_SET "focused" 0.0;
2856 target: "button_image";
2859 program { name: "unfocused";
2860 action: STATE_SET "default" 0.0;
2861 target: "button_image";
2862 after: "unfocus_text";
2864 program { name: "unfocus_text";
2865 action: STATE_SET "visible" 0.0;
2871 ////////////// elm/button/base/text_only/title //////////////////////////////////////////////
2872 group { name: "elm/button/base/text_only/style_call_text_only_green";
2874 image: "vc_btn_green.png" COMP;
2875 image: "vc_button_press.png" COMP;
2878 part { name: "button_image";
2881 effect: SOFT_SHADOW;
2882 description { state: "default" 0.0;
2885 normal: "vc_btn_green.png";
2890 description { state: "clicked" 0.0;
2893 normal: "vc_button_press.png";
2898 description { state: "disabled" 0.0;
2899 inherit: "clicked" 0.0;
2901 description { state: "focused" 0.0;
2902 inherit: "default" 0.0;
2905 part { name: "elm.text";
2911 state: "default" 0.0;
2915 color: 255 255 255 255;
2919 font: FONT_SLP_Medium;
2925 description { state: "visible" 0.0;
2926 inherit: "default" 0.0;
2930 description { state: "clicked" 0.0;
2931 inherit: "default" 0.0;
2934 color: 255 255 255 255;
2938 description { state: "disabled" 0.0;
2939 inherit: "default" 0.0;
2943 description { state: "disabled_visible" 0.0;
2944 inherit: "default" 0.0;
2950 description { state: "focused" 0.0;
2951 inherit: "default" 0.0;
2954 color: 255 255 255 255;
2957 part { name: "over1";
2959 description { state: "default" 0.0;
2960 rel2.relative: 1.0 0.5;
2962 description { state: "disabled" 0.0;
2963 inherit: "default" 0.0;
2966 part { name: "over2";
2969 ignore_flags: ON_HOLD;
2970 description { state: "default" 0.0;
2972 description { state: "disabled" 0.0;
2973 inherit: "default" 0.0;
2977 part { name: "over3";
2980 description { state: "default" 0.0;
2981 color: 255 255 255 0;
2983 description { state: "clicked" 0.0;
2984 inherit: "default" 0.0;
2986 color: 255 255 255 0;
2989 part { name: "disabler";
2991 description { state: "default" 0.0;
2995 description { state: "disabled" 0.0;
2996 inherit: "default" 0.0;
3002 program { name: "button_click";
3003 signal: "mouse,down,1";
3005 action: SIGNAL_EMIT "elm,action,press" "";
3006 after: "button_click_anim";
3008 program { name: "button_click_anim";
3009 action: STATE_SET "clicked" 0.0;
3010 target: "button_image";
3013 program { name: "button_unclick";
3014 signal: "mouse,up,1";
3016 action: SIGNAL_EMIT "elm,action,unpress" "";
3017 after: "button_unclick_anim";
3019 program { name: "button_unclick_anim";
3020 action: STATE_SET "default" 0.0;
3021 target: "button_image";
3022 action: STATE_SET "visible" 0.0;
3025 program { name: "button_mouseout_clicked";
3026 signal: "mouse,out";
3031 get_state(PART:"elm.text", st, 30, vl);
3032 if (!strcmp(st, "clicked"))
3034 set_state(PART:"elm.text", "visible", 0.0);
3035 set_state(PART:"button_image", "visible", 0.0);
3039 program { name: "button_click2";
3040 signal: "mouse,down,1";
3042 action: STATE_SET "clicked" 0.0;
3045 program { name: "button_unclick2";
3046 signal: "mouse,up,1";
3048 action: STATE_SET "default" 0.0;
3051 program { name: "button_unclick3";
3052 signal: "mouse,up,1";
3054 action: SIGNAL_EMIT "elm,action,click" "";
3056 program { name: "text_show";
3057 signal: "elm,state,text,visible";
3059 action: STATE_SET "visible" 0.0;
3062 program { name: "text_hide";
3063 signal: "elm,state,text,hidden";
3065 action: STATE_SET "default" 0.0;
3069 program { name: "disable";
3070 signal: "elm,state,disabled";
3072 action: STATE_SET "disabled" 0.0;
3073 target: "button_image";
3077 after: "disable_text";
3079 program { name: "disable_text";
3083 get_state(PART:"elm.text", st, 30, vl);
3084 if (!strcmp(st, "visible"))
3085 set_state(PART:"elm.text", "disabled_visible", 0.0);
3087 set_state(PART:"elm.text", "disabled", 0.0);
3090 program { name: "enable";
3091 signal: "elm,state,enabled";
3093 action: STATE_SET "default" 0.0;
3094 target: "button_image";
3098 after: "enable_text";
3100 program { name: "enable_text";
3104 get_state(PART:"elm.text", st, 30, vl);
3105 if (!strcmp(st, "disabled_visible"))
3106 set_state(PART:"elm.text", "visible", 0.0);
3108 set_state(PART:"elm.text", "default", 0.0);
3111 program { name: "focused";
3112 signal: "elm,action,focus";
3114 action: STATE_SET "focused" 0.0;
3115 target: "button_image";
3118 program { name: "unfocused";
3119 signal: "elm,action,unfocus";
3121 action: STATE_SET "default" 0.0;
3122 target: "button_image";
3123 action: STATE_SET "visible" 0.0;
3129 ////////////// HIDE_BUTTON (text_only/title) //////////////////////////////////////////////
3130 group { name: "elm/button/base/text_only/style_keypad_hide_button";
3132 image: "vc_button_hide_keypad_normal.png" COMP;
3133 image: "vc_button_press.png" COMP;
3136 part { name: "button_image";
3139 effect: SOFT_SHADOW;
3140 description { state: "default" 0.0;
3142 normal: "vc_button_hide_keypad_normal.png";
3147 description { state: "clicked" 0.0;
3149 normal: "vc_button_press.png";
3154 description { state: "disabled" 0.0;
3155 inherit: "clicked" 0.0;
3157 description { state: "focused" 0.0;
3158 inherit: "clicked" 0.0;
3161 part { name: "elm.text";
3167 state: "default" 0.0;
3171 color: 255 255 255 255;
3175 font: FONT_SLP_Medium;
3181 description { state: "visible" 0.0;
3182 inherit: "default" 0.0;
3186 description { state: "clicked" 0.0;
3187 inherit: "default" 0.0;
3190 color: 255 255 255 255;
3194 description { state: "disabled" 0.0;
3195 inherit: "default" 0.0;
3199 description { state: "disabled_visible" 0.0;
3200 inherit: "default" 0.0;
3206 description { state: "focused" 0.0;
3207 inherit: "default" 0.0;
3210 color: 255 255 255 255;
3213 part { name: "over1";
3215 description { state: "default" 0.0;
3216 rel2.relative: 1.0 0.5;
3218 description { state: "disabled" 0.0;
3219 inherit: "default" 0.0;
3222 part { name: "over2";
3225 ignore_flags: ON_HOLD;
3226 description { state: "default" 0.0;
3228 description { state: "disabled" 0.0;
3229 inherit: "default" 0.0;
3233 part { name: "over3";
3236 description { state: "default" 0.0;
3237 color: 255 255 255 0;
3239 description { state: "clicked" 0.0;
3240 inherit: "default" 0.0;
3242 color: 255 255 255 0;
3245 part { name: "disabler";
3247 description { state: "default" 0.0;
3251 description { state: "disabled" 0.0;
3252 inherit: "default" 0.0;
3258 program { name: "button_click";
3259 signal: "mouse,down,1";
3261 action: SIGNAL_EMIT "elm,action,press" "";
3262 after: "button_click_anim";
3264 program { name: "button_click_anim";
3265 action: STATE_SET "clicked" 0.0;
3266 target: "button_image";
3269 program { name: "button_unclick";
3270 signal: "mouse,up,1";
3272 action: SIGNAL_EMIT "elm,action,unpress" "";
3273 after: "button_unclick_anim";
3275 program { name: "button_unclick_anim";
3276 action: STATE_SET "default" 0.0;
3277 target: "button_image";
3278 action: STATE_SET "visible" 0.0;
3281 program { name: "button_mouseout_clicked";
3282 signal: "mouse,out";
3287 get_state(PART:"elm.text", st, 30, vl);
3288 if (!strcmp(st, "clicked"))
3290 set_state(PART:"elm.text", "visible", 0.0);
3291 set_state(PART:"button_image", "visible", 0.0);
3295 program { name: "button_click2";
3296 signal: "mouse,down,1";
3298 action: STATE_SET "clicked" 0.0;
3301 program { name: "button_unclick2";
3302 signal: "mouse,up,1";
3304 action: STATE_SET "default" 0.0;
3307 program { name: "button_unclick3";
3308 signal: "mouse,up,1";
3310 action: SIGNAL_EMIT "elm,action,click" "";
3312 program { name: "text_show";
3313 signal: "elm,state,text,visible";
3315 action: STATE_SET "visible" 0.0;
3318 program { name: "text_hide";
3319 signal: "elm,state,text,hidden";
3321 action: STATE_SET "default" 0.0;
3325 program { name: "disable";
3326 signal: "elm,state,disabled";
3328 action: STATE_SET "disabled" 0.0;
3329 target: "button_image";
3333 after: "disable_text";
3335 program { name: "disable_text";
3339 get_state(PART:"elm.text", st, 30, vl);
3340 if (!strcmp(st, "visible"))
3341 set_state(PART:"elm.text", "disabled_visible", 0.0);
3343 set_state(PART:"elm.text", "disabled", 0.0);
3346 program { name: "enable";
3347 signal: "elm,state,enabled";
3349 action: STATE_SET "default" 0.0;
3350 target: "button_image";
3354 after: "enable_text";
3356 program { name: "enable_text";
3360 get_state(PART:"elm.text", st, 30, vl);
3361 if (!strcmp(st, "disabled_visible"))
3362 set_state(PART:"elm.text", "visible", 0.0);
3364 set_state(PART:"elm.text", "default", 0.0);
3367 program { name: "focused";
3368 signal: "elm,action,focus";
3370 action: STATE_SET "focused" 0.0;
3371 target: "button_image";
3374 program { name: "unfocused";
3375 signal: "elm,action,unfocus";
3377 action: STATE_SET "default" 0.0;
3378 target: "button_image";
3379 action: STATE_SET "visible" 0.0;
3385 ////////////// HIDE_BUTTON (text_only/title) //////////////////////////////////////////////
3386 group { name: "elm/button/base/text_only/style_keypad_end_button";
3388 image: "vc_button_red_normal.png" COMP;
3389 image: "vc_button_press.png" COMP;
3392 part { name: "button_image";
3395 effect: SOFT_SHADOW;
3396 description { state: "default" 0.0;
3398 normal: "vc_button_red_normal.png";
3403 description { state: "clicked" 0.0;
3405 normal: "vc_button_press.png";
3410 description { state: "disabled" 0.0;
3411 inherit: "clicked" 0.0;
3413 description { state: "focused" 0.0;
3414 inherit: "clicked" 0.0;
3417 part { name: "elm.text";
3423 state: "default" 0.0;
3427 color: 255 255 255 255;
3431 font: FONT_SLP_Medium;
3437 description { state: "visible" 0.0;
3438 inherit: "default" 0.0;
3442 description { state: "clicked" 0.0;
3443 inherit: "default" 0.0;
3446 color: 255 255 255 255;
3450 description { state: "disabled" 0.0;
3451 inherit: "default" 0.0;
3455 description { state: "disabled_visible" 0.0;
3456 inherit: "default" 0.0;
3462 description { state: "focused" 0.0;
3463 inherit: "default" 0.0;
3466 color: 255 255 255 255;
3469 part { name: "over1";
3471 description { state: "default" 0.0;
3472 rel2.relative: 1.0 0.5;
3474 description { state: "disabled" 0.0;
3475 inherit: "default" 0.0;
3478 part { name: "over2";
3481 ignore_flags: ON_HOLD;
3482 description { state: "default" 0.0;
3484 description { state: "disabled" 0.0;
3485 inherit: "default" 0.0;
3489 part { name: "over3";
3492 description { state: "default" 0.0;
3493 color: 255 255 255 0;
3495 description { state: "clicked" 0.0;
3496 inherit: "default" 0.0;
3498 color: 255 255 255 0;
3501 part { name: "disabler";
3503 description { state: "default" 0.0;
3507 description { state: "disabled" 0.0;
3508 inherit: "default" 0.0;
3514 program { name: "button_click";
3515 signal: "mouse,down,1";
3517 action: SIGNAL_EMIT "elm,action,press" "";
3518 after: "button_click_anim";
3520 program { name: "button_click_anim";
3521 action: STATE_SET "clicked" 0.0;
3522 target: "button_image";
3525 program { name: "button_unclick";
3526 signal: "mouse,up,1";
3528 action: SIGNAL_EMIT "elm,action,unpress" "";
3529 after: "button_unclick_anim";
3531 program { name: "button_unclick_anim";
3532 action: STATE_SET "default" 0.0;
3533 target: "button_image";
3534 action: STATE_SET "visible" 0.0;
3537 program { name: "button_mouseout_clicked";
3538 signal: "mouse,out";
3543 get_state(PART:"elm.text", st, 30, vl);
3544 if (!strcmp(st, "clicked"))
3546 set_state(PART:"elm.text", "visible", 0.0);
3547 set_state(PART:"button_image", "visible", 0.0);
3551 program { name: "button_click2";
3552 signal: "mouse,down,1";
3554 action: STATE_SET "clicked" 0.0;
3557 program { name: "button_unclick2";
3558 signal: "mouse,up,1";
3560 action: STATE_SET "default" 0.0;
3563 program { name: "button_unclick3";
3564 signal: "mouse,up,1";
3566 action: SIGNAL_EMIT "elm,action,click" "";
3568 program { name: "text_show";
3569 signal: "elm,state,text,visible";
3571 action: STATE_SET "visible" 0.0;
3574 program { name: "text_hide";
3575 signal: "elm,state,text,hidden";
3577 action: STATE_SET "default" 0.0;
3581 program { name: "disable";
3582 signal: "elm,state,disabled";
3584 action: STATE_SET "disabled" 0.0;
3585 target: "button_image";
3589 after: "disable_text";
3591 program { name: "disable_text";
3595 get_state(PART:"elm.text", st, 30, vl);
3596 if (!strcmp(st, "visible"))
3597 set_state(PART:"elm.text", "disabled_visible", 0.0);
3599 set_state(PART:"elm.text", "disabled", 0.0);
3602 program { name: "enable";
3603 signal: "elm,state,enabled";
3605 action: STATE_SET "default" 0.0;
3606 target: "button_image";
3610 after: "enable_text";
3612 program { name: "enable_text";
3616 get_state(PART:"elm.text", st, 30, vl);
3617 if (!strcmp(st, "disabled_visible"))
3618 set_state(PART:"elm.text", "visible", 0.0);
3620 set_state(PART:"elm.text", "default", 0.0);
3623 program { name: "focused";
3624 signal: "elm,action,focus";
3626 action: STATE_SET "focused" 0.0;
3627 target: "button_image";
3630 program { name: "unfocused";
3631 signal: "elm,action,unfocus";
3633 action: STATE_SET "default" 0.0;
3634 target: "button_image";
3635 action: STATE_SET "visible" 0.0;
3641 ////////////// elm/button/base/icon_only/default //////////////////////////////////////////////
3642 group { name: "elm/button/base/style_call_smallbtn_red";
3644 image: "vc_conference_call_btn_red.png" COMP;
3645 image: "vc_conference_call_btn_press.png" COMP;
3648 part { name: "button_image";
3651 description { state: "default" 0.0;
3655 normal: "vc_conference_call_btn_red.png";
3660 description { state: "clicked" 0.0;
3661 inherit: "default" 0.0;
3662 image.normal: "vc_conference_call_btn_press.png";
3664 description { state: "disabled" 0.0;
3665 inherit: "default" 0.0;
3667 description { state: "focused" 0.0;
3668 inherit: "default" 0.0;
3671 part { name: "elm.swallow.content";
3675 description { state: "default" 0.0;
3680 rel1 { to: "button_image"; }
3681 rel2 { to: "button_image"; }
3684 description { state: "visible" 0.0;
3685 inherit: "default" 0.0;
3688 aspect_preference: VERTICAL;
3691 part { name: "over2";
3695 ignore_flags: ON_HOLD;
3696 description { state: "default" 0.0;
3699 description { state: "disabled" 0.0;
3700 inherit: "default" 0.0;
3704 part { name: "over3";
3708 description { state: "default" 0.0;
3711 description { state: "clicked" 0.0;
3712 inherit: "default" 0.0;
3716 part { name: "disabler";
3718 description { state: "default" 0.0;
3721 description { state: "disabled" 0.0;
3722 inherit: "default" 0.0;
3728 program { name: "button_click";
3729 signal: "mouse,down,1";
3731 action: SIGNAL_EMIT "elm,action,press" "";
3732 after: "button_click_anim";
3734 program { name: "button_click_anim";
3735 action: STATE_SET "clicked" 0.0;
3736 target: "button_image";
3738 program { name: "button_unclick";
3739 signal: "mouse,up,1";
3741 action: SIGNAL_EMIT "elm,action,unpress" "";
3742 after: "button_unclick_anim";
3744 program { name: "button_unclick_anim";
3745 action: STATE_SET "default" 0.0;
3746 target: "button_image";
3748 program { name: "button_mouseout_clicked";
3749 signal: "mouse,out";
3754 get_state(PART:"elm.swallow.content", st, 30, vl);
3755 if (!strcmp(st, "clicked")) {
3756 set_state(PART:"button_image", "visible", 0.0);
3760 program { name: "button_click2";
3761 signal: "mouse,down,1";
3763 action: STATE_SET "clicked" 0.0;
3766 program { name: "button_unclick2";
3767 signal: "mouse,up,1";
3769 action: STATE_SET "default" 0.0;
3772 program { name: "button_unclick3";
3773 signal: "mouse,up,1";
3775 action: SIGNAL_EMIT "elm,action,click" "";
3777 program { name: "text_show";
3778 signal: "elm,state,text,visible";
3783 get_state(PART:"elm.swallow.content", st, 30, vl);
3784 if (!strcmp(st, "icononly"))
3785 set_state(PART:"elm.swallow.content", "visible", 0.0);
3788 program { name: "text_hide";
3789 signal: "elm,state,text,hidden";
3794 get_state(PART:"elm.swallow.content", st, 30, vl);
3795 if (!strcmp(st, "visible"))
3796 set_state(PART:"elm.swallow.content", "icononly", 0.0);
3799 program { name: "icon_show";
3800 signal: "elm,state,icon,visible";
3805 get_state(PART:"elm.swallow.content", st, 30, vl);
3806 if (!strcmp(st, "visible"))
3807 set_state(PART:"elm.swallow.content", "visible", 0.0);
3809 set_state(PART:"elm.swallow.content", "icononly", 0.0);
3812 program { name: "icon_hide";
3813 signal: "elm,state,icon,hidden";
3815 action: STATE_SET "default" 0.0;
3816 target: "elm.swallow.content";
3818 program { name: "disable";
3819 signal: "elm,state,disabled";
3821 action: STATE_SET "disabled" 0.0;
3822 target: "button_image";
3826 program { name: "enable";
3827 signal: "elm,state,enabled";
3829 action: STATE_SET "default" 0.0;
3830 target: "button_image";
3834 program { name: "focused";
3835 signal: "elm,action,focus";
3837 action: STATE_SET "focused" 0.0;
3838 target: "button_image";
3840 program { name: "unfocused";
3841 signal: "elm,action,unfocus";
3843 action: STATE_SET "default" 0.0;
3844 target: "button_image";
3849 ////////////////////////////////////////////////////
3850 ///////// multicall-list genlist ///////////
3851 #define BEAT_GENLIST_PART_BASE( param_item_height ) \
3852 part { name: "base"; \
3856 description { state: "default" 0.0; \
3857 min: 0 param_item_height; \
3862 #define BEAT_GENLIST_PART_BG \
3863 part { name: "bg"; \
3865 clip_to: "disclip"; \
3867 description { state: "default" 0.0; \
3872 #define BEAT_GENLIST_PART_BG_IMAGE \
3873 part { name: "bg_image"; \
3874 clip_to: "disclip"; \
3876 description { state: "default" 0.0; \
3878 image.normal: "vc_conf_call_list_bg.png"; \
3880 description { state: "selected" 0.0; \
3881 inherit: "default" 0.0; \
3886 #define GENLIST_PART_BG_IMAGE \
3887 part { name: "bg_image"; \
3889 clip_to: "disclip"; \
3891 description { state: "default" 0.0; \
3892 color: 199 185 164 0; \
3894 description { state: "selected" 0.0; \
3895 inherit: "default" 0.0; \
3896 color: 199 185 164 255; \
3900 #define GENLIST_PART_BG_IMAGE_NO_SELECT \
3901 part { name: "bg_image"; \
3903 clip_to: "disclip"; \
3905 description { state: "default" 0.0; \
3906 color: 199 185 164 0; \
3908 description { state: "selected" 0.0; \
3909 inherit: "default" 0.0; \
3913 #define BEAT_GENLIST_PART_BOTTOM_LINE \
3914 part { name: "bottom_line"; \
3916 clip_to: "disclip"; \
3918 description { state: "default" 0.0; \
3924 relative: 0.0 1.0; \
3930 #define BEAT_GENLIST_PART_PADDING_LEFT( param_padding_size ) \
3931 part { name: "elm.padding.left"; \
3935 state: "default" 0.0; \
3936 min: param_padding_size 0; \
3939 rel2.relative: 0.0 1.0; \
3944 #define BEAT_GENLIST_PART_PADDING_RIGHT( param_padding_size ) \
3945 part { name: "elm.padding.right"; \
3948 description { state: "default" 0.0; \
3949 min: param_padding_size 0; \
3952 rel1.relative: 1.0 0.0; \
3957 #define BEAT_GENLIST_PART_DISCLIP \
3958 part { name: "disclip"; \
3960 description { state: "default" 0.0; \
3962 description { state: "disabled" 0.0; \
3963 inherit: "default" 0.0; \
3964 color: 255 255 255 64; \
3968 #define BEAT_GENLIST_PART_DIALOGUE_ITEM \
3969 part { name: "elm.rect.dialogue"; \
3972 description { state: "default" 0.0; \
3975 color: 199 199 199 255; \
3976 rel2.relative: 0.0 1.0; \
3981 #define GENLIST_GROUP_PART_BASE_EVENT_INC \
3982 part { name: "base_event";\
3985 description { state: "default" 0.0;\
3990 #define GENLIST_PADDING_10_INC 16
3991 #define GENLIST_HEIGHT_31_INC 49
3992 #define GENLIST_SIZE_30_INC 48
3993 #define GENLIST_FONT_20_INC 32
3994 #define GENLIST_GROUP_BG_COLOR_DEFAULT_INC 0 0 0 120
3995 #define GENLIST_GROUP_BG_COLOR_ALPHA_OFF_INC 15 15 15 255
3996 #define GENLIST_GROUP_PART_BASE_IMAGE_INC
3997 #define GENLIST_GROUP_PART_TEXT_COLOR_INC 255 255 255 255
4000 name: "elm/genlist/item/call/grouptitle/default";
4001 alias: "elm/genlist/item_odd/call/grouptitle/default";
4002 alias: "elm/genlist/item_compress/call/grouptitle/default";
4003 alias: "elm/genlist/item_compress_odd/call/grouptitle/default";
4005 data.item: "stacking" "above";
4006 data.item: "selectraise" "on";
4007 data.item: "texts" "elm.text";
4008 data.item: "treesize" "GENLIST_TREESIZE_20_INC";
4010 GENLIST_GROUP_PART_BASE_EVENT_INC
4011 BEAT_GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_10_INC )
4012 BEAT_GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_10_INC )
4013 part { name: "rect";
4017 description { state: "default" 0.0;
4018 min: 0 GENLIST_HEIGHT_31_INC;
4019 color: GENLIST_GROUP_BG_COLOR_DEFAULT_INC;
4021 description { state: "alpha_off" 0.0;
4022 min: 0 GENLIST_SIZE_30_INC;
4023 color: GENLIST_GROUP_BG_COLOR_ALPHA_OFF_INC;
4026 GENLIST_GROUP_PART_BASE_IMAGE_INC
4028 part { name: "elm.text";
4031 description { state: "default" 0.0;
4035 to_x: "elm.padding.left";
4040 to_x: "elm.padding.right";
4042 color: GENLIST_GROUP_PART_TEXT_COLOR_INC;
4044 font: "SLP:style=Medium";
4045 size: GENLIST_FONT_20_INC;
4053 name: "enable_alpha";
4054 signal: "elm,state,alpha,enable";
4056 action: STATE_SET "default" 0.0;
4060 name: "disable_alpha";
4061 signal: "elm,state,alpha,disable";
4063 action: STATE_SET "alpha_off" 0.0;
4069 signal: "mouse,clicked,1";
4070 action: SIGNAL_EMIT "elm,title_action,item,click" "elm";
4074 group { name: "elm/genlist/item/multicall_list/default";
4075 alias: "elm/genlist/item_odd/multicall_list/default";
4076 alias: "elm/genlist/item_compress/multicall_list/default";
4077 alias: "elm/genlist/item_compress_odd/multicall_list/default";
4079 data.item: "stacking" "above";
4080 data.item: "selectraise" "on";
4081 data.item: "texts" "elm.text";
4082 data.item: "contents" "elm.swallow.end elm.swallow.private";
4083 data.item: "treesize" "20";
4086 image: "vc_conf_call_list_bg.png" COMP;
4090 BEAT_GENLIST_PART_BASE( 112 )
4091 BEAT_GENLIST_PART_BG
4092 GENLIST_PART_BG_IMAGE_NO_SELECT
4093 BEAT_GENLIST_PART_BOTTOM_LINE
4094 BEAT_GENLIST_PART_PADDING_LEFT( 32 )
4095 BEAT_GENLIST_PART_PADDING_RIGHT( 16 )
4096 BEAT_GENLIST_PART_DIALOGUE_ITEM
4098 part { name: "elm.swallow.end";
4101 description { state: "default" 0.0;
4104 rel1.to_x: "elm.padding.right";
4107 to_x: "elm.padding.right";
4112 part { name: "elm.padding.end.left";
4115 description { state: "default" 0.0;
4119 rel1.to_x: "elm.swallow.end";
4122 to_x: "elm.swallow.end";
4128 part { name: "elm.swallow.private";
4131 description { state: "default" 0.0;
4134 rel1.to_x: "elm.padding.end.left";
4137 to_x: "elm.padding.end.left";
4142 part { name: "elm.padding.private.left";
4145 description { state: "default" 0.0;
4149 rel1.to_x: "elm.swallow.private";
4152 to_x: "elm.swallow.private";
4158 part { name: "elm.text";
4163 description { state: "default" 0.0;
4167 to_x: "elm.padding.left";
4171 to_x: "elm.padding.private.left";
4173 color: 255 255 255 255;
4175 font: FONT_SLP_Roman;
4181 description { state: "selected" 0.0;
4182 inherit: "default" 0.0;
4183 color: 255 255 255 255; //225 225 225 255;
4187 BEAT_GENLIST_PART_DISCLIP
4190 program { name: "go_active";
4191 signal: "elm,state,selected";
4193 action: STATE_SET "selected" 0.0;
4197 program { name: "go_passive";
4198 signal: "elm,state,unselected";
4200 action: STATE_SET "default" 0.0;
4203 transition: LINEAR 0.1;
4205 program { name: "go_disabled";
4206 signal: "elm,state,disabled";
4208 action: STATE_SET "disabled" 0.0;
4211 program { name: "go_enabled";
4212 signal: "elm,state,enabled";
4214 action: STATE_SET "default" 0.0;
4220 #define BEAT_GENLIST_PART_PADDING_TOP( param_padding_size ) \
4221 part { name: "elm.padding.top"; \
4225 state: "default" 0.0; \
4226 min: 0 param_padding_size; \
4229 rel2.relative: 1.0 0.0; \
4234 #define BEAT_GENLIST_PART_PADDING_BOTTOM( param_padding_size ) \
4235 part { name: "elm.padding.bottom"; \
4239 state: "default" 0.0; \
4240 min: 0 param_padding_size; \
4243 rel1.relative: 0.0 1.0; \
4248 ////////////// elm/button/base/text_only/title //////////////////////////////////////////////
4249 group { name: "elm/button/base/text_only/style_call_text_only_red_disabled";
4251 image: "vc_button_red_normal.png" COMP;
4254 part { name: "button_image";
4257 effect: SOFT_SHADOW;
4258 description { state: "default" 0.0;
4261 normal: "vc_button_red_normal.png";
4265 color: 255 255 255 102;
4267 description { state: "clicked" 0.0;
4269 inherit: "default" 0.0;
4271 description { state: "disabled" 0.0;
4272 inherit: "clicked" 0.0;
4274 description { state: "focused" 0.0;
4275 inherit: "clicked" 0.0;
4278 part { name: "elm.text";
4284 state: "default" 0.0;
4288 color: 255 255 255 51; /*20%*/
4292 font: FONT_SLP_Medium;
4298 description { state: "visible" 0.0;
4299 inherit: "default" 0.0;
4303 description { state: "clicked" 0.0;
4304 inherit: "default" 0.0;
4308 description { state: "disabled" 0.0;
4309 inherit: "default" 0.0;
4311 description { state: "disabled_visible" 0.0;
4312 inherit: "default" 0.0;
4316 description { state: "focused" 0.0;
4317 inherit: "default" 0.0;
4322 part { name: "over1";
4324 description { state: "default" 0.0;
4325 rel2.relative: 1.0 0.5;
4327 description { state: "disabled" 0.0;
4328 inherit: "default" 0.0;
4331 part { name: "over2";
4334 ignore_flags: ON_HOLD;
4335 description { state: "default" 0.0;
4337 description { state: "disabled" 0.0;
4338 inherit: "default" 0.0;
4342 part { name: "over3";
4345 description { state: "default" 0.0;
4346 color: 255 255 255 0;
4348 description { state: "clicked" 0.0;
4349 inherit: "default" 0.0;
4351 color: 255 255 255 0;
4354 part { name: "disabler";
4356 description { state: "default" 0.0;
4360 description { state: "disabled" 0.0;
4361 inherit: "default" 0.0;
4367 program { name: "button_click";
4368 signal: "mouse,down,1";
4370 action: SIGNAL_EMIT "elm,action,press" "";
4371 after: "button_click_anim";
4373 program { name: "button_click_anim";
4374 action: STATE_SET "clicked" 0.0;
4375 target: "button_image";
4378 program { name: "button_unclick";
4379 signal: "mouse,up,1";
4381 action: SIGNAL_EMIT "elm,action,unpress" "";
4382 after: "button_unclick_anim";
4384 program { name: "button_unclick_anim";
4385 action: STATE_SET "default" 0.0;
4386 target: "button_image";
4387 action: STATE_SET "visible" 0.0;
4390 program { name: "button_mouseout_clicked";
4391 signal: "mouse,out";
4396 get_state(PART:"elm.text", st, 30, vl);
4397 if (!strcmp(st, "clicked"))
4399 set_state(PART:"elm.text", "visible", 0.0);
4400 set_state(PART:"button_image", "visible", 0.0);
4404 program { name: "button_click2";
4405 signal: "mouse,down,1";
4407 action: STATE_SET "clicked" 0.0;
4410 program { name: "button_unclick2";
4411 signal: "mouse,up,1";
4413 action: STATE_SET "default" 0.0;
4416 program { name: "button_unclick3";
4417 signal: "mouse,up,1";
4419 action: SIGNAL_EMIT "elm,action,click" "";
4421 program { name: "text_show";
4422 signal: "elm,state,text,visible";
4424 action: STATE_SET "visible" 0.0;
4427 program { name: "text_hide";
4428 signal: "elm,state,text,hidden";
4430 action: STATE_SET "default" 0.0;
4434 program { name: "disable";
4435 signal: "elm,state,disabled";
4437 action: STATE_SET "disabled" 0.0;
4438 target: "button_image";
4442 after: "disable_text";
4444 program { name: "disable_text";
4448 get_state(PART:"elm.text", st, 30, vl);
4449 if (!strcmp(st, "visible"))
4450 set_state(PART:"elm.text", "disabled_visible", 0.0);
4452 set_state(PART:"elm.text", "disabled", 0.0);
4455 program { name: "enable";
4456 signal: "elm,state,enabled";
4458 action: STATE_SET "default" 0.0;
4459 target: "button_image";
4463 after: "enable_text";
4465 program { name: "enable_text";
4469 get_state(PART:"elm.text", st, 30, vl);
4470 if (!strcmp(st, "disabled_visible"))
4471 set_state(PART:"elm.text", "visible", 0.0);
4473 set_state(PART:"elm.text", "default", 0.0);
4476 program { name: "focused";
4477 signal: "elm,action,focus";
4479 action: STATE_SET "focused" 0.0;
4480 target: "button_image";
4483 program { name: "unfocused";
4484 signal: "elm,action,unfocus";
4486 action: STATE_SET "default" 0.0;
4487 target: "button_image";
4488 action: STATE_SET "visible" 0.0;
4494 /////navigation frame/////
4495 #define VC_NAVIFRAME_TITLE_H_INC 100
4496 #define VC_NAVIFRAME_OH_CLOSED_H_INC 8
4497 #define VC_NAVIFRAME_OH_OPENED_H_INC 106
4498 #define VC_NAVIFRAME_OH_CONTENT_H_INC 74
4499 #define VC_NAVIFRAME_OH_PADDING_INC 16
4500 #define VC_NAVIFRAME_OH_OPENED_DOUBLE_H_INC 196
4501 #define VC_NAVIFRAME_INDICATOR_W_INC 128
4502 #define VC_NAVIFRAME_PADDING_EXPANDED_INC 141
4503 #define VC_NAVIFRAME_TITLE_FONT_SIZE_INC 36
4504 #define VC_NAVIFRAME_ICON_SIZE_INC 32 32
4505 #define VC_NAVIFRAME_ICON_PADDING_INC 16 0
4506 #define VC_NAVIFRAME_OH_ARROW_SIZE_INC 19 14
4507 #define VC_NAVIFRAME_TITLE_TEXT_COLOR_INC 255 255 255 255
4508 #define VC_NAVIFRAME_TITLE_BG_COLOR_INC 0 0 0 0
4509 #define VC_NAVIFRAME_TITLE_LEFT_SEPARATOR_COLOR_INC 0 0 0 0
4510 #define VC_NAVIFRAME_TITLE_RIGHT_SEPARATOR_COLOR_INC 0 0 0 255
4512 #define VC_NAVIFRAME_NEW_TITLE_BG_COLOR_INC 0 0 0 102
4513 #define VC_NAVIFRAME_BOTTOM_H_INC 114
4514 #define VC_NAVIFRAME_PREV_BTN_LPAD 44
4515 #define VC_NAVIFRAME_NEW_ICON_SIZE_INC 56 56
4517 #define BUTTON_STATE_ENABLED 0
4518 #define BUTTON_STATE_DISABLED 1
4520 group { name: "elm/naviframe/item/basic/vcui_naviframe/default";
4521 alias:"elm/naviframe/item/vcui_naviframe_item_1line/default";
4523 image: "vc_reject_with_msg_control_top_arrow.png" COMP;
4524 image: "vc_reject_with_msg_control_top_bg.png" COMP;
4528 public oh_close = 0;
4531 part { name: "title_clip";
4535 description { state: "default" 0.0;
4536 min: 1 VC_NAVIFRAME_TITLE_H_INC;
4539 rel1 { relative: 0.0 0.0; }
4540 rel2 { relative: 1.0 0.0; }
4542 description { state: "hide" 0.0;
4543 inherit: "default" 0.0;
4549 part { name: "optionheader_clip";
4553 description { state: "default" 0.0;
4554 min: 1 VC_NAVIFRAME_OH_CLOSED_H_INC;
4557 rel1.to_x: "elm.swallow.content";
4558 rel1.to_y: "title_clip";
4560 rel2.to_x: "elm.swallow.content";
4561 rel2.to_y: "title_clip";
4563 description { state: "show" 0.0;
4564 inherit: "default" 0.0;
4565 min: 1 VC_NAVIFRAME_OH_OPENED_H_INC;
4568 part { name: "optionheader_bg";
4572 description { state: "default" 0.0;
4573 rel1 { to: "optionheader_clip"; }
4574 rel2 { to: "optionheader_clip"; }
4575 image { normal: "vc_reject_with_msg_control_top_bg.png";
4580 part { name: "elm.swallow.optionheader.top.padding";
4583 clip_to: "optionheader_clip";
4584 description { state: "default" 0.0;
4585 min: 1 VC_NAVIFRAME_OH_PADDING_INC;
4586 rel1 { relative: 0.0 0.0; to: "optionheader_bg"; }
4587 rel2 { relative: 1.0 0.0; to: "optionheader_bg"; }
4593 part { name: "elm.swallow.optionheader";
4596 clip_to: "optionheader_clip";
4597 description { state: "default" 0.0;
4598 min: 1 VC_NAVIFRAME_OH_CONTENT_H_INC;
4599 rel1 { relative: 0.0 1.0; to: "elm.swallow.optionheader.top.padding"; }
4600 rel2 { relative: 1.0 1.0; to: "elm.swallow.optionheader.top.padding"; }
4605 description { state: "show" 0.0;
4606 inherit: "default" 0.0;
4610 part { name: "elm.swallow.optionheader.bottom.padding";
4613 clip_to: "optionheader_clip";
4614 description { state: "default" 0.0;
4615 min: 1 VC_NAVIFRAME_OH_PADDING_INC;
4616 rel1 { relative: 0.0 1.0; to: "elm.swallow.optionheader"; }
4622 part { name: "content_clip";
4625 description { state: "default" 0.0;
4626 rel1.to_y: "optionheader_bg";
4630 part { name: "elm.swallow.content";
4634 clip_to: "content_clip";
4635 description { state: "default" 0.0;
4637 rel1.relative: 0.0 1.0;
4638 rel1.to_y: "optionheader_bg";
4639 rel2.relative: 1.0 1.0;
4641 description { state: "left" 0.0;
4642 inherit: "default" 0.0;
4643 rel1.relative: -1.0 1.0;
4644 rel2.relative: 0.0 1.0;
4646 description { state: "right" 0.0;
4647 inherit: "default" 0.0;
4648 rel1.relative: 1.0 1.0;
4649 rel2.relative: 2.0 1.0;
4652 part { name: "title_base";
4654 clip_to: "title_clip";
4656 description { state: "default" 0.0;
4657 min: 1 VC_NAVIFRAME_TITLE_H_INC;
4660 rel1 { relative: 0.0 0.0; }
4661 rel2 { relative: 1.0 0.0; }
4662 color: VC_NAVIFRAME_TITLE_BG_COLOR_INC;
4665 part { name: "elm.rect.pada";
4669 clip_to: "title_clip";
4670 description { state: "default" 0.0;
4671 min: VC_NAVIFRAME_INDICATOR_W_INC 0;
4674 rel1 { relative: 0.0 0.0; to: "title_base"; }
4675 rel2 { relative: 0.0 1.0; to: "title_base"; }
4678 description { state: "visible" 0.0;
4679 inherit: "default" 0.0;
4680 min: VC_NAVIFRAME_PADDING_EXPANDED_INC 0;
4683 part { name: "separator_1";
4687 clip_to: "title_clip";
4688 description { state: "default" 0.0;
4691 rel1 { relative: 0.0 0.2; to:"elm.rect.padb"; to: "title_base"; }
4692 rel2 { relative: 0.0 0.8; to:"elm.rect.padb"; to: "title_base"; }
4694 color: VC_NAVIFRAME_TITLE_RIGHT_SEPARATOR_COLOR_INC;
4697 part { name: "separator_2";
4701 clip_to: "title_clip";
4702 description { state: "default" 0.0;
4705 rel1 { relative: 0.0 0.0; to: "separator_1"; to: "title_base"; }
4706 rel2 { relative: 0.0 1.0; to: "separator_1"; to: "title_base"; }
4708 color: VC_NAVIFRAME_TITLE_LEFT_SEPARATOR_COLOR_INC;
4711 part { name: "elm.rect.padb";
4715 clip_to: "title_clip";
4716 description { state: "default" 0.0;
4717 min: VC_NAVIFRAME_INDICATOR_W_INC 0;
4720 rel1 { relative: 1.0 0.0; to: "title_base"; }
4721 rel2 { relative: 1.0 1.0; to: "title_base"; }
4725 part { name: "elm.text.title";
4728 clip_to: "title_clip";
4729 description { state: "default" 0.0;
4730 text { font: "SLP:style=Medium";
4731 size: VC_NAVIFRAME_TITLE_FONT_SIZE_INC;
4736 color: VC_NAVIFRAME_TITLE_TEXT_COLOR_INC;
4738 rel1.to: "title_base";
4739 rel2.to: "title_base";
4742 part { name: "click_event_area";
4743 ignore_flags: ON_HOLD;
4744 description { state: "default" 0.0;
4745 rel1 { to: "title_base"; }
4746 rel2 { to: "elm.rect.padb"; relative: 0.0 1.0; }
4749 part { name: "elm.swallow.prev_btn";
4752 clip_to: "title_clip";
4753 description { state: "default" 0.0;
4756 rel1 { relative: 0.0 0.0; to: "title_base"; }
4757 rel2 { relative: 0.0 1.0; to: "title_base"; }
4760 part { name: "elm.swallow.icon";
4763 clip_to: "title_clip";
4764 description { state: "default" 0.0;
4765 max: VC_NAVIFRAME_ICON_SIZE_INC;
4766 rel1 { relative: 0.0 0.0; to_x: "padding_before_text"; }
4767 rel2 { relative: 0.0 1.0; to_x: "padding_before_text"; }
4769 aspect_preference: VERTICAL;
4773 part { name: "padding_before_text";
4777 clip_to: "title_clip";
4778 description { state: "default" 0.0;
4780 rel1 { relative: 0.0 0.0; to_x: "elm.text.title"; }
4781 rel2 { relative: 0.0 1.0; to_x: "elm.text.title"; }
4783 min: VC_NAVIFRAME_ICON_PADDING_INC;
4787 part { name: "optionheader_arrow";
4791 description { state: "default" 0.0;
4792 min: VC_NAVIFRAME_OH_ARROW_SIZE_INC;
4793 max: VC_NAVIFRAME_OH_ARROW_SIZE_INC;
4797 rel1.to_y: "optionheader_bg";
4800 rel2.to_y: "optionheader_bg";
4803 normal: "vc_reject_with_msg_control_top_arrow.png";
4806 description { state: "show" 0.0;
4807 inherit: "default" 0.0;
4813 program { name: "content_new_pusehd";
4814 signal: "elm,state,new,pushed,internal";
4816 action: STATE_SET "default" 0.0;
4817 target: "elm.swallow.content";
4818 transition: DECELERATE 0.5;
4819 after: "show_finished";
4821 program { name: "content_cur_pusehd";
4822 signal: "elm,state,cur,pushed,internal";
4824 action: STATE_SET "left" 0.0;
4825 target: "elm.swallow.content";
4826 transition: DECELERATE 0.5;
4827 after: "pushed_finished";
4829 program { name: "content_prev_popped";
4830 signal: "elm,state,prev,popped,internal";
4832 action: STATE_SET "default" 0.0;
4833 target: "elm.swallow.content";
4834 transition: DECELERATE 0.5;
4835 after: "show_finished";
4837 program { name: "content_cur_popped";
4838 signal: "elm,state,cur,popped,internal";
4840 action: STATE_SET "right" 0.0;
4841 target: "elm.swallow.content";
4842 transition: DECELERATE 0.5;
4843 after: "popped_finished";
4845 program { name: "cur_pushed";
4846 signal: "elm,state,cur,pushed";
4849 set_state(PART:"elm.swallow.content", "default", 0.0);
4850 emit("elm,state,cur,pushed,internal", "");
4853 program { name: "new_pushed";
4854 signal: "elm,state,new,pushed";
4857 set_state(PART:"elm.swallow.content", "right", 0.0);
4858 emit("elm,state,new,pushed,internal", "");
4861 program { name: "prev_popped";
4862 signal: "elm,state,prev,popped";
4865 set_state(PART:"elm.swallow.content", "left", 0.0);
4866 emit("elm,state,prev,popped,internal", "");
4869 program { name: "cur_popped";
4870 signal: "elm,state,cur,popped";
4873 set_state(PART:"elm.swallow.content", "default", 0.0);
4874 emit("elm,state,cur,popped,internal", "");
4877 program { name: "visible";
4878 signal: "elm,state,visible";
4880 action: STATE_SET "default" 0.0;
4881 target: "elm.swallow.content";
4883 program { name: "title_show";
4884 signal: "elm,state,title,show";
4886 action: STATE_SET "default" 0.0;
4887 target: "title_clip";
4889 program { name: "title_hide";
4890 signal: "elm,state,title,hide";
4892 action: STATE_SET "hide" 0.0;
4893 target: "title_clip";
4895 program { name: "optionheader_show";
4896 signal: "elm,state,elm.swallow.optionheader,show";
4899 set_state(PART:"optionheader_clip", "show", 0.0);
4900 set_state(PART:"optionheader_arrow", "show", 0.0);
4901 set_state(PART:"elm.swallow.optionheader", "show", 0.0);
4902 set_int(oh_show, 1);
4903 emit("elm,state,optionheader_arrow,show", "");
4906 program { name: "optionheader_hide";
4907 signal: "elm,state,elm.swallow.optionheader,hide";
4910 set_state(PART:"optionheader_clip", "default", 0.0);
4911 set_state(PART:"optionheader_arrow", "default", 0.0);
4912 set_state(PART:"elm.swallow.optionheader", "default", 0.0);
4913 set_int(oh_show, 0);
4916 program { name: "optionheader_open";
4917 signal: "elm,state,optionheader,open";
4919 action: STATE_SET "show" 0.0;
4920 target: "optionheader_clip";
4921 target: "elm.swallow.optionheader";
4922 transition: LINEAR 0.2;
4923 after: "optionheader_open_set";
4925 program { name: "optionheader_close";
4926 signal: "elm,state,optionheader,close";
4928 action: STATE_SET "default" 0.0;
4929 target: "optionheader_clip";
4930 target: "elm.swallow.optionheader";
4931 transition: LINEAR 0.2;
4932 after: "optionheader_close_set";
4934 program { name: "optionheader_instant_open";
4935 signal: "elm,state,optionheader,instant_open";
4937 action: STATE_SET "show" 0.0;
4938 target: "optionheader_clip";
4939 target: "elm.swallow.optionheader";
4940 after: "optionheader_open_set";
4942 program { name: "optionheader_instant_close";
4943 signal: "elm,state,optionheader,instant_close";
4945 action: STATE_SET "default" 0.0;
4946 target: "optionheader_clip";
4947 target: "elm.swallow.optionheader";
4948 after: "optionheader_close_set";
4950 program { name: "optionheader_close_set";
4951 signal: "elm,state,optionheader,close_set";
4954 set_int(oh_close, 1);
4957 program { name: "optionheader_open_set";
4958 signal: "elm,state,optionheader,open_set";
4961 set_int(oh_close, 0);
4964 program { name: "show_finished";
4965 action: SIGNAL_EMIT "elm,action,show,finished" "";
4967 program { name: "pushed_finished";
4968 action: SIGNAL_EMIT "elm,action,pushed,finished" "";
4970 program { name: "popped_finished";
4971 action: SIGNAL_EMIT "elm,action,popped,finished" "";
4973 program { name: "title_clicked_signal";
4974 action: SIGNAL_EMIT "elm,action,title,clicked" "";
4977 name: "title_clicked";
4978 signal: "mouse,clicked,1";
4979 source: "click_event_area";
4981 if (get_int(oh_show) == 1) {
4982 if (get_int(oh_close) == 1) {
4983 emit("elm,state,optionheader,open", "");
4985 emit("elm,state,optionheader,close", "");
4989 after: "title_clicked_signal";
4994 group { name: "elm/naviframe/item/basic/vcui_naviframe_new/default";
4995 alias:"elm/naviframe/item/vcui_naviframe_new_item_1line/default";
4997 part { name: "title_clip";
5001 description { state: "default" 0.0;
5002 min: 1 VC_NAVIFRAME_TITLE_H_INC;
5005 rel1 { relative: 0.0 0.0; }
5006 rel2 { relative: 1.0 0.0; }
5008 description { state: "hide" 0.0;
5009 inherit: "default" 0.0;
5015 part { name: "title_base";
5017 clip_to: "title_clip";
5019 description { state: "default" 0.0;
5020 min: 1 VC_NAVIFRAME_TITLE_H_INC;
5023 rel1 { relative: 0.0 0.0; }
5024 rel2 { relative: 1.0 0.0; }
5025 color: VC_NAVIFRAME_NEW_TITLE_BG_COLOR_INC;
5028 part { name: "elm.text.title";
5031 clip_to: "title_clip";
5032 description { state: "default" 0.0;
5033 text { font: "SLP:style=Medium";
5034 size: VC_NAVIFRAME_TITLE_FONT_SIZE_INC;
5039 color: VC_NAVIFRAME_TITLE_TEXT_COLOR_INC;
5041 rel1.to: "title_base";
5042 rel2.to: "title_base";
5045 part { name: "click_event_area";
5046 ignore_flags: ON_HOLD;
5047 description { state: "default" 0.0;
5048 rel1 { to: "title_base"; }
5049 rel2 { to: "title_base"; }
5052 part { name: "bottom_clip";
5056 description { state: "default" 0.0;
5057 min: 1 VC_NAVIFRAME_BOTTOM_H_INC;
5060 rel1 { relative: 0.0 (1166/1280); }
5061 rel2 { relative: 1.0 1.0; }
5063 description { state: "hide" 0.0;
5064 inherit: "default" 0.0;
5070 part { name: "bottom_base";
5072 clip_to: "bottom_clip";
5074 description { state: "default" 0.0;
5075 min: 1 VC_NAVIFRAME_BOTTOM_H_INC;
5078 rel1 { relative: 0.0 0.0; to: "bottom_clip"; }
5079 rel2 { relative: 1.0 1.0; to: "bottom_clip"; }
5080 color: VC_NAVIFRAME_NEW_TITLE_BG_COLOR_INC;
5083 part { name: "elm.swallow.prev_btn";
5086 clip_to: "bottom_clip";
5087 description { state: "default" 0.0;
5090 rel1 { relative: 0.0 0.0; to: "bottom_base"; }
5091 rel2 { relative: 0.0 1.0; to: "bottom_base"; }
5094 part { name: "elm.swallow.icon";
5097 clip_to: "bottom_clip";
5098 description { state: "default" 0.0;
5099 max: VC_NAVIFRAME_NEW_ICON_SIZE_INC;
5100 rel1 { relative: 0.0 0.0; to_x: "padding_before_prevbtn"; }
5101 rel2 { relative: 0.0 1.0; to_x: "padding_before_prevbtn"; }
5103 aspect_preference: VERTICAL;
5107 part { name: "padding_before_prevbtn";
5111 clip_to: "bottom_clip";
5112 description { state: "default" 0.0;
5113 min: VC_NAVIFRAME_PREV_BTN_LPAD 0;
5115 rel1 { relative: 0.0 0.0; to_x: "bottom_clip"; }
5116 rel2 { relative: 0.0 1.0; to_x: "bottom_clip"; }
5123 program { name: "title_show";
5124 signal: "elm,state,title,show";
5126 action: STATE_SET "default" 0.0;
5127 target: "title_clip";
5128 target: "bottom_clip";
5130 program { name: "title_hide";
5131 signal: "elm,state,title,hide";
5133 action: STATE_SET "hide" 0.0;
5134 target: "title_clip";
5135 target: "bottom_clip";
5137 program { name: "show_finished";
5138 action: SIGNAL_EMIT "elm,action,show,finished" "";
5140 program { name: "pushed_finished";
5141 action: SIGNAL_EMIT "elm,action,pushed,finished" "";
5143 program { name: "popped_finished";
5144 action: SIGNAL_EMIT "elm,action,popped,finished" "";
5146 program { name: "title_clicked_signal";
5147 action: SIGNAL_EMIT "elm,action,title,clicked" "";
5150 name: "title_clicked";
5151 signal: "mouse,clicked,1";
5152 source: "click_event_area";
5153 after: "title_clicked_signal";
5158 group { name: "elm/button/base/vcui_naviframe_control/left";
5160 public button_state = BUTTON_STATE_ENABLED;
5162 images.image: "vc_reject_with_msg_option_header_bt_press.png" COMP;
5164 part { name: "button_image";
5168 description { state: "default" 0.0;
5173 color: 255 255 255 255;
5175 description { state: "disabled" 0.0;
5176 inherit: "default" 0.0;
5178 description { state: "clicked" 0.0;
5179 inherit: "default" 0.0;
5180 image.normal: "vc_reject_with_msg_option_header_bt_press.png";
5184 name: "padding_left_top";
5188 description { state: "default" 0.0;
5190 rel1.relative: 0.0 0.0;
5191 rel2.relative: 0.0 0.0;
5198 name: "padding_right_bottom";
5202 description { state: "default" 0.0;
5204 rel1.relative: 1.0 1.0;
5205 rel2.relative: 1.0 1.0;
5216 description { state: "default" 0.0;
5220 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
5221 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
5225 description { state: "visible" 0.0;
5229 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
5230 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
5234 description { state: "icononly" 0.0;
5235 inherit: "default" 0.0;
5239 name: "padding_after_icon";
5243 description { state: "default" 0.0;
5245 rel1 { relative: 1.0 0.0; to: "icon_rect"; }
5246 rel2 { relative: 1.0 1.0; to: "icon_rect"; }
5251 description { state: "visible" 0.0;
5254 rel1 { relative: 1.0 0.0; to: "icon_rect"; }
5255 rel2 { relative: 1.0 1.0; to: "icon_rect"; }
5260 description { state: "icononly" 0.0;
5261 inherit: "default" 0.0;
5265 name: "padding_before_text";
5269 description { state: "default" 0.0;
5271 rel1 { relative: 0.0 1.0; to_x: "elm.text"; to_y: "padding_left_top"; }
5272 rel2 { relative: 0.0 0.0; to_x: "elm.text"; to_y: "padding_right_bottom"; }
5278 part { name: "elm.swallow.content";
5281 clip_to: "disabler";
5282 description { state: "default" 0.0;
5285 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
5286 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
5289 description { state: "visible" 0.0;
5295 rel1 { relative: 0.0 1.0; to_x: "padding_before_text"; to_y: "padding_left_top"; }
5296 rel2 { relative: 0.0 0.0; to_x: "padding_before_text"; to_y: "padding_right_bottom"; }
5298 aspect_preference: VERTICAL;
5300 description { state: "icononly" 0.0;
5304 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
5305 rel2 { relative: 0.0 0.0; to: "padding_right_bottom"; }
5308 aspect_preference: VERTICAL;
5311 part { name: "elm.text";
5315 clip_to: "disabler";
5316 description { state: "default" 0.0;
5318 rel1 { relative: 1.0 1.0; to_x: "padding_after_icon"; to_y: "padding_left_top"; }
5319 rel2 { relative: 0.0 0.0; to: "padding_right_bottom"; }
5321 color: 255 255 255 255;
5323 font: FONT_SLP_Medium;
5330 description { state: "visible" 0.0;
5331 inherit: "default" 0.0;
5334 description { state: "clicked" 0.0;
5335 inherit: "default" 0.0;
5339 description { state: "focused" 0.0;
5340 inherit: "default" 0.0;
5343 color: 255 255 255 255;
5346 part { name: "over2";
5350 ignore_flags: ON_HOLD;
5351 description { state: "default" 0.0;
5354 description { state: "disabled" 0.0;
5355 inherit: "default" 0.0;
5359 part { name: "over3";
5363 description { state: "default" 0.0;
5366 description { state: "clicked" 0.0;
5367 inherit: "default" 0.0;
5371 part { name: "disabler";
5373 description { state: "default" 0.0;
5374 color: 255 255 255 255;
5376 description { state: "disabled" 0.0;
5377 color: 255 255 255 127;
5382 program { name: "button_click";
5383 signal: "mouse,down,1";
5385 action: SIGNAL_EMIT "elm,action,press" "";
5386 after: "button_click_anim";
5388 program { name: "button_click_anim";
5389 action: STATE_SET "clicked" 0.0;
5390 target: "button_image";
5391 after: "text_clicked";
5393 program { name: "text_clicked";
5397 get_state(PART:"elm.text", st, 30, vl);
5398 if (!strcmp(st, "visible"))
5399 set_state(PART:"elm.text", "clicked", 0.0);
5402 program { name: "button_unpress";
5403 action: SIGNAL_EMIT "elm,action,unpress" "";
5405 program { name: "button_mouseout_clicked";
5406 signal: "mouse,up,1";
5411 get_state(PART:"elm.swallow.content", st, 30, vl);
5412 if (strcmp(st, "icononly"))
5414 emit("elm,action,default,text,set", "");
5415 set_state(PART:"elm.text", "visible", 0.0);
5417 if(get_int(button_state) != BUTTON_STATE_DISABLED)
5418 set_state(PART:"button_image", "default", 0.0);
5420 after: button_unpress;
5422 program { name: "button_click2";
5423 signal: "mouse,down,1";
5425 action: STATE_SET "clicked" 0.0;
5428 program { name: "button_unclick2";
5429 signal: "mouse,clicked,1";
5431 action: STATE_SET "default" 0.0;
5434 program { name: "button_unclick3";
5435 signal: "mouse,clicked,1";
5437 action: SIGNAL_EMIT "elm,action,click" "";
5439 program { name: "text_show";
5440 signal: "elm,state,text,visible";
5445 get_state(PART:"elm.swallow.content", st, 30, vl);
5446 if (!strcmp(st, "icononly"))
5448 set_state(PART:"elm.swallow.content", "visible", 0.0);
5449 set_state(PART:"icon_rect", "visible", 0.0);
5450 set_state(PART:"padding_after_icon", "visible", 0.0);
5452 set_state(PART:"elm.text", "visible", 0.0);
5455 program { name: "text_hide";
5456 signal: "elm,state,text,hidden";
5461 get_state(PART:"elm.swallow.content", st, 30, vl);
5462 if (!strcmp(st, "visible"))
5464 set_state(PART:"elm.swallow.content", "icononly", 0.0);
5465 set_state(PART:"icon_rect", "icononly", 0.0);
5466 set_state(PART:"padding_after_icon", "icononly", 0.0);
5468 set_state(PART:"elm.text", "default", 0.0);
5471 program { name: "icon_show";
5472 signal: "elm,state,icon,visible";
5477 get_state(PART:"elm.text", st, 30, vl);
5478 if (!strcmp(st, "visible"))
5480 set_state(PART:"elm.swallow.content", "visible", 0.0);
5481 set_state(PART:"icon_rect", "visible", 0.0);
5482 set_state(PART:"padding_after_icon", "visible", 0.0);
5486 set_state(PART:"elm.swallow.content", "icononly", 0.0);
5487 set_state(PART:"icon_rect", "icononly", 0.0);
5488 set_state(PART:"padding_after_icon", "icononly", 0.0);
5492 program { name: "icon_hide";
5493 signal: "elm,state,icon,hidden";
5495 action: STATE_SET "default" 0.0;
5496 target: "elm.swallow.content";
5498 program { name: "disable";
5499 signal: "elm,state,disabled";
5501 action: STATE_SET "disabled" 0.0;
5502 target: "button_image";
5505 after: "disable_text";
5507 program { name: "disable_text";
5509 set_int(button_state, BUTTON_STATE_DISABLED);
5510 set_state(PART:"elm.text", "visible", 0.0);
5513 program { name: "enable";
5514 signal: "elm,state,enabled";
5516 action: STATE_SET "default" 0.0;
5517 target: "button_image";
5520 after: "enable_text";
5522 program { name: "enable_text";
5524 set_int(button_state, BUTTON_STATE_ENABLED);
5525 set_state(PART:"elm.text", "visible", 0.0);
5528 program { name: "focused";
5529 action: STATE_SET "focused" 0.0;
5530 target: "button_image";
5533 program { name: "unfocused";
5534 action: STATE_SET "default" 0.0;
5535 target: "button_image";
5536 after: "unfocus_text";
5538 program { name: "unfocus_text";
5539 action: STATE_SET "visible" 0.0;
5545 group { name: "elm/button/base/vcui_naviframe_backbutton/default";
5546 //TODO: Remove this alias later
5547 alias: "elm/button/base/vcui_naviframe_backbutton/default";
5549 image: "vc_control_btn_prev.png" COMP;
5552 part { name: "button_image";
5556 description { state: "default" 0.0;
5561 state: "clicked" 0.0;
5562 inherit: "default" 0.0;
5565 state: "disabled" 0.0;
5566 inherit: "default" 0.0;
5569 part {name: "padding_right";
5572 description { state: "default" 0.0;
5575 rel1 { relative: 1 0.2; }
5576 rel2 { relative: 1 0.8; }
5578 color: VC_NAVIFRAME_TITLE_RIGHT_SEPARATOR_COLOR_INC;
5581 part {name: "padding_before_right";
5584 description { state: "default" 0.0;
5587 rel1 { relative: 0 0; to: "padding_right"; }
5588 rel2 { relative: 0 1; to: "padding_right"; }
5590 color: VC_NAVIFRAME_TITLE_LEFT_SEPARATOR_COLOR_INC;
5593 part { name: "button_center_part";
5596 description { state: "default" 0.0;
5600 rel2 { relative: 0 1; to_x: "padding_before_right"; }
5602 normal: "vc_control_btn_prev.png";
5606 state: "clicked" 0.0;
5607 inherit: "default" 0.0;
5610 part { name: "over1";
5614 ignore_flags: ON_HOLD;
5615 description { state: "default" 0.0;
5619 part { name: "over2";
5622 description { state: "default" 0.0;
5626 part { name: "disabler";
5628 description { state: "default" 0.0;
5632 description { state: "disabled" 0.0;
5633 inherit: "default" 0.0;
5639 program { name: "button_click";
5640 signal: "mouse,down,1";
5642 action: SIGNAL_EMIT "elm,action,press" "";
5643 after: "button_click_anim";
5645 program { name: "button_click_anim";
5646 action: STATE_SET "clicked" 0.0;
5647 target: "button_image";
5648 target: "button_center_part";
5650 program { name: "button_unclick";
5651 signal: "mouse,up,1";
5653 action: SIGNAL_EMIT "elm,action,unpress" "";
5654 after: "button_unclick_anim";
5656 program { name: "button_unclick_anim";
5657 action: STATE_SET "default" 0.0;
5658 target: "button_image";
5659 target: "button_center_part";
5661 program { name: "button_unclick2";
5662 signal: "mouse,clicked,1";
5664 action: SIGNAL_EMIT "elm,action,click" "";
5666 program { name: "disable";
5667 signal: "elm,state,disabled";
5669 action: STATE_SET "disabled" 0.0;
5671 target: "button_image";
5673 program { name: "enable";
5674 signal: "elm,state,enabled";
5676 action: STATE_SET "default" 0.0;
5678 target: "button_image";
5683 group { name: "elm/button/base/vcui_naviframe_new_backbutton/default";
5684 //TODO: Remove this alias later
5685 alias: "elm/button/base/vcui_naviframe_new_backbutton/default";
5687 image: "vc_control_btn_new_prev.png" COMP;
5690 part { name: "button_image";
5694 description { state: "default" 0.0;
5699 state: "clicked" 0.0;
5700 inherit: "default" 0.0;
5703 state: "disabled" 0.0;
5704 inherit: "default" 0.0;
5707 part {name: "padding_right";
5710 description { state: "default" 0.0;
5713 rel1 { relative: 1 0.2; }
5714 rel2 { relative: 1 0.8; }
5716 color: VC_NAVIFRAME_TITLE_RIGHT_SEPARATOR_COLOR_INC;
5719 part {name: "padding_before_right";
5722 description { state: "default" 0.0;
5725 rel1 { relative: 0 0; to: "padding_right"; }
5726 rel2 { relative: 0 1; to: "padding_right"; }
5728 color: VC_NAVIFRAME_TITLE_LEFT_SEPARATOR_COLOR_INC;
5731 part { name: "button_center_part";
5734 description { state: "default" 0.0;
5735 min: VC_NAVIFRAME_NEW_ICON_SIZE_INC;
5736 max: VC_NAVIFRAME_NEW_ICON_SIZE_INC;
5738 rel2 { relative: 0 1; to_x: "padding_before_right"; }
5740 normal: "vc_control_btn_new_prev.png";
5744 state: "clicked" 0.0;
5745 inherit: "default" 0.0;
5748 part { name: "over1";
5752 ignore_flags: ON_HOLD;
5753 description { state: "default" 0.0;
5757 part { name: "over2";
5760 description { state: "default" 0.0;
5764 part { name: "disabler";
5766 description { state: "default" 0.0;
5770 description { state: "disabled" 0.0;
5771 inherit: "default" 0.0;
5777 program { name: "button_click";
5778 signal: "mouse,down,1";
5780 action: SIGNAL_EMIT "elm,action,press" "";
5781 after: "button_click_anim";
5783 program { name: "button_click_anim";
5784 action: STATE_SET "clicked" 0.0;
5785 target: "button_image";
5786 target: "button_center_part";
5788 program { name: "button_unclick";
5789 signal: "mouse,up,1";
5791 action: SIGNAL_EMIT "elm,action,unpress" "";
5792 after: "button_unclick_anim";
5794 program { name: "button_unclick_anim";
5795 action: STATE_SET "default" 0.0;
5796 target: "button_image";
5797 target: "button_center_part";
5799 program { name: "button_unclick2";
5800 signal: "mouse,clicked,1";
5802 action: SIGNAL_EMIT "elm,action,click" "";
5804 program { name: "disable";
5805 signal: "elm,state,disabled";
5807 action: STATE_SET "disabled" 0.0;
5809 target: "button_image";
5811 program { name: "enable";
5812 signal: "elm,state,enabled";
5814 action: STATE_SET "default" 0.0;
5816 target: "button_image";
5821 ///////////////////////////////////////////////////////////////////////////////////////
5822 group { name: "elm/button/base/style_call_lscape_join";
5824 image: "vc_six_btn_layout_normal.png" COMP;
5825 image: "vc_six_btn_layout_press.png" COMP;
5828 public button_state = BUTTON_STATE_ENABLED;
5831 part { name: "button_image";
5834 description { state: "default" 0.0;
5837 normal: "vc_six_btn_layout_normal.png";
5842 description { state: "clicked" 0.0;
5843 inherit: "default" 0.0;
5844 image.normal: "vc_six_btn_layout_press.png";
5846 description { state: "disabled" 0.0;
5847 inherit: "default" 0.0;
5849 description { state: "focused" 0.0;
5850 inherit: "default" 0.0;
5854 name: "padding_left_top";
5858 description { state: "default" 0.0;
5860 rel1.relative: 0.0 0.0;
5861 rel2.relative: 0.0 0.0;
5868 name: "padding_right_bottom";
5872 description { state: "default" 0.0;
5874 rel1.relative: 1.0 1.0;
5875 rel2.relative: 1.0 1.0;
5886 description { state: "default" 0.0;
5890 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
5891 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
5895 description { state: "visible" 0.0;
5900 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
5901 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
5903 aspect_preference: VERTICAL;
5907 description { state: "icononly" 0.0;
5908 inherit: "default" 0.0;
5912 name: "padding_after_icon";
5916 description { state: "default" 0.0; //when only icon or no icon is there
5918 rel1 { relative: 1.0 0.0; to: "icon_rect"; }
5919 rel2 { relative: 1.0 1.0; to: "icon_rect"; }
5924 description { state: "visible" 0.0;
5927 rel1 { relative: 1.0 0.0; to: "icon_rect"; }
5928 rel2 { relative: 1.0 1.0; to: "icon_rect"; }
5933 description { state: "icononly" 0.0;
5934 inherit: "default" 0.0;
5938 name: "padding_before_text";
5942 description { state: "default" 0.0; //when only icon or no icon is there
5944 rel1 { relative: 0.0 1.0; to_x: "elm.text"; to_y: "padding_left_top"; }
5945 rel2 { relative: 0.0 0.0; to_x: "elm.text"; to_y: "padding_right_bottom"; }
5951 part { name: "elm.swallow.content";
5954 description { state: "default" 0.0;
5957 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
5958 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
5961 description { state: "visible" 0.0;
5967 rel1 { relative: 0.0 1.0; to_x: "padding_before_text"; to_y: "padding_left_top"; }
5968 rel2 { relative: 0.0 0.0; to_x: "padding_before_text"; to_y: "padding_right_bottom"; }
5970 aspect_preference: VERTICAL;
5972 description { state: "icononly" 0.0;
5976 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
5977 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
5980 aspect_preference: VERTICAL;
5983 part { name: "elm.text";
5987 description { state: "default" 0.0;
5989 rel1 { relative: 1.0 1.0; to_x: "padding_after_icon"; to_y: "padding_left_top"; }
5990 rel2 { relative: 0.0 0.0; to: "padding_right_bottom"; }
5993 font: "SLP:style=Medium";
6000 description { state: "visible" 0.0;
6001 inherit: "default" 0.0;
6005 description { state: "clicked" 0.0;
6006 inherit: "default" 0.0;
6010 description { state: "disabled" 0.0;
6011 inherit: "default" 0.0;
6014 description { state: "disabled_visible" 0.0;
6015 inherit: "default" 0.0;
6019 description { state: "focused" 0.0;
6020 inherit: "default" 0.0;
6025 part { name: "over2";
6029 ignore_flags: ON_HOLD;
6030 description { state: "default" 0.0;
6034 part { name: "over3";
6038 description { state: "default" 0.0;
6042 part { name: "disabler";
6044 description { state: "default" 0.0;
6048 description { state: "disabled" 0.0;
6049 inherit: "default" 0.0;
6055 program { name: "button_click";
6056 signal: "mouse,down,1";
6058 action: SIGNAL_EMIT "elm,action,press" "";
6059 after: "button_click_anim";
6061 program { name: "button_click_anim";
6062 action: STATE_SET "clicked" 0.0;
6063 target: "button_image";
6064 after: "text_clicked";
6066 program { name: "text_clicked";
6070 get_state(PART:"elm.text", st, 30, vl);
6071 if (!strcmp(st, "visible"))
6072 set_state(PART:"elm.text", "clicked", 0.0);
6075 program { name: "button_unpress";
6076 action: SIGNAL_EMIT "elm,action,unpress" "";
6078 program { name: "button_mouseout_clicked";
6079 signal: "mouse,up,1";
6084 get_state(PART:"elm.swallow.content", st, 30, vl);
6085 if (strcmp(st, "icononly"))
6087 emit("elm,action,default,text,set", "");
6088 set_state(PART:"elm.text", "visible", 0.0);
6090 if(get_int(button_state) != BUTTON_STATE_DISABLED)
6091 set_state(PART:"button_image", "default", 0.0);
6093 after: button_unpress;
6095 program { name: "button_unclick3";
6096 signal: "mouse,clicked,1";
6098 action: SIGNAL_EMIT "elm,action,click" "";
6100 program { name: "text_show";
6101 signal: "elm,state,text,visible";
6106 get_state(PART:"elm.swallow.content", st, 30, vl);
6107 if (!strcmp(st, "icononly"))
6109 set_state(PART:"elm.swallow.content", "visible", 0.0);
6110 set_state(PART:"icon_rect", "visible", 0.0);
6111 set_state(PART:"padding_after_icon", "visible", 0.0);
6113 if(get_int(button_state) != BUTTON_STATE_DISABLED)
6114 set_state(PART:"elm.text", "visible", 0.0);
6116 set_state(PART:"elm.text", "disabled_visible", 0.0);
6119 program { name: "text_hide";
6120 signal: "elm,state,text,hidden";
6125 get_state(PART:"elm.swallow.content", st, 30, vl);
6126 if (!strcmp(st, "visible"))
6128 set_state(PART:"elm.swallow.content", "icononly", 0.0);
6129 set_state(PART:"icon_rect", "icononly", 0.0);
6130 set_state(PART:"padding_after_icon", "icononly", 0.0);
6132 set_state(PART:"elm.text", "default", 0.0);
6135 program { name: "icon_show";
6136 signal: "elm,state,icon,visible";
6141 get_state(PART:"elm.text", st, 30, vl);
6142 if (!strcmp(st, "visible"))
6144 set_state(PART:"elm.swallow.content", "visible", 0.0);
6145 set_state(PART:"icon_rect", "visible", 0.0);
6146 set_state(PART:"padding_after_icon", "visible", 0.0);
6150 set_state(PART:"elm.swallow.content", "icononly", 0.0);
6151 set_state(PART:"icon_rect", "icononly", 0.0);
6152 set_state(PART:"padding_after_icon", "icononly", 0.0);
6156 program { name: "icon_hide";
6157 signal: "elm,state,icon,hidden";
6159 action: STATE_SET "default" 0.0;
6160 target: "elm.swallow.content";
6162 program { name: "disable";
6163 signal: "elm,state,disabled";
6165 action: STATE_SET "disabled" 0.0;
6166 target: "button_image";
6168 after: "disable_text";
6170 program { name: "disable_text";
6174 get_state(PART:"elm.text", st, 30, vl);
6175 if (!strcmp(st, "visible"))
6176 set_state(PART:"elm.text", "disabled_visible", 0.0);
6178 set_state(PART:"elm.text", "disabled", 0.0);
6179 set_int(button_state, BUTTON_STATE_DISABLED);
6182 program { name: "enable";
6183 signal: "elm,state,enabled";
6185 action: STATE_SET "default" 0.0;
6186 target: "button_image";
6188 after: "enable_text";
6190 program { name: "enable_text";
6194 get_state(PART:"elm.text", st, 30, vl);
6195 if (!strcmp(st, "disabled_visible"))
6196 set_state(PART:"elm.text", "visible", 0.0);
6198 set_state(PART:"elm.text", "default", 0.0);
6199 set_int(button_state, BUTTON_STATE_ENABLED);
6202 program { name: "focused";
6203 action: STATE_SET "focused" 0.0;
6204 target: "button_image";
6207 program { name: "unfocused";
6208 action: STATE_SET "default" 0.0;
6209 target: "button_image";
6210 after: "unfocus_text";
6212 program { name: "unfocus_text";
6213 action: STATE_SET "visible" 0.0;
6219 ///////////////////////////////////////////////////////////////////////////////////////
6220 group { name: "elm/button/base/style_call_lscape_join_disabled";
6222 image: "vc_six_btn_layout_normal.png" COMP;
6225 public button_state = BUTTON_STATE_ENABLED;
6228 part { name: "button_image";
6231 description { state: "default" 0.0;
6234 normal: "vc_six_btn_layout_normal.png";
6238 color: 255 255 255 102;
6240 description { state: "clicked" 0.0;
6241 inherit: "default" 0.0;
6243 description { state: "disabled" 0.0;
6244 inherit: "default" 0.0;
6246 description { state: "focused" 0.0;
6247 inherit: "default" 0.0;
6251 name: "padding_left_top";
6255 description { state: "default" 0.0;
6257 rel1.relative: 0.0 0.0;
6258 rel2.relative: 0.0 0.0;
6265 name: "padding_right_bottom";
6269 description { state: "default" 0.0;
6271 rel1.relative: 1.0 1.0;
6272 rel2.relative: 1.0 1.0;
6283 description { state: "default" 0.0;
6287 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
6288 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
6292 description { state: "visible" 0.0;
6297 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
6298 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
6300 aspect_preference: VERTICAL;
6304 description { state: "icononly" 0.0;
6305 inherit: "default" 0.0;
6309 name: "padding_after_icon";
6313 description { state: "default" 0.0;
6315 rel1 { relative: 1.0 0.0; to: "icon_rect"; }
6316 rel2 { relative: 1.0 1.0; to: "icon_rect"; }
6321 description { state: "visible" 0.0;
6324 rel1 { relative: 1.0 0.0; to: "icon_rect"; }
6325 rel2 { relative: 1.0 1.0; to: "icon_rect"; }
6330 description { state: "icononly" 0.0;
6331 inherit: "default" 0.0;
6335 name: "padding_before_text";
6339 description { state: "default" 0.0;
6341 rel1 { relative: 0.0 1.0; to_x: "elm.text"; to_y: "padding_left_top"; }
6342 rel2 { relative: 0.0 0.0; to_x: "elm.text"; to_y: "padding_right_bottom"; }
6348 part { name: "elm.swallow.content";
6351 description { state: "default" 0.0;
6354 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
6355 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
6358 description { state: "visible" 0.0;
6364 rel1 { relative: 0.0 1.0; to_x: "padding_before_text"; to_y: "padding_left_top"; }
6365 rel2 { relative: 0.0 0.0; to_x: "padding_before_text"; to_y: "padding_right_bottom"; }
6367 aspect_preference: VERTICAL;
6369 description { state: "icononly" 0.0;
6373 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
6374 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
6377 aspect_preference: VERTICAL;
6380 part { name: "elm.text";
6384 description { state: "default" 0.0;
6386 rel1 { relative: 1.0 1.0; to_x: "padding_after_icon"; to_y: "padding_left_top"; }
6387 rel2 { relative: 0.0 0.0; to: "padding_right_bottom"; }
6389 color: 255 255 255 51; /*20%*/
6391 font: "SLP:style=Medium";
6398 description { state: "visible" 0.0;
6399 inherit: "default" 0.0;
6403 description { state: "clicked" 0.0;
6404 inherit: "default" 0.0;
6408 description { state: "disabled" 0.0;
6409 inherit: "default" 0.0;
6412 description { state: "disabled_visible" 0.0;
6413 inherit: "default" 0.0;
6417 description { state: "focused" 0.0;
6418 inherit: "default" 0.0;
6423 part { name: "over2";
6427 ignore_flags: ON_HOLD;
6428 description { state: "default" 0.0;
6432 part { name: "over3";
6436 description { state: "default" 0.0;
6440 part { name: "disabler";
6442 description { state: "default" 0.0;
6446 description { state: "disabled" 0.0;
6447 inherit: "default" 0.0;
6453 program { name: "button_click";
6454 signal: "mouse,down,1";
6456 action: SIGNAL_EMIT "elm,action,press" "";
6457 after: "button_click_anim";
6459 program { name: "button_click_anim";
6460 action: STATE_SET "clicked" 0.0;
6461 target: "button_image";
6462 after: "text_clicked";
6464 program { name: "text_clicked";
6468 get_state(PART:"elm.text", st, 30, vl);
6469 if (!strcmp(st, "visible"))
6470 set_state(PART:"elm.text", "clicked", 0.0);
6473 program { name: "button_unpress";
6474 action: SIGNAL_EMIT "elm,action,unpress" "";
6476 program { name: "button_mouseout_clicked";
6477 signal: "mouse,up,1";
6482 get_state(PART:"elm.swallow.content", st, 30, vl);
6483 if (strcmp(st, "icononly"))
6485 emit("elm,action,default,text,set", "");
6486 set_state(PART:"elm.text", "visible", 0.0);
6488 if(get_int(button_state) != BUTTON_STATE_DISABLED)
6489 set_state(PART:"button_image", "default", 0.0);
6491 after: button_unpress;
6493 program { name: "button_unclick3";
6494 signal: "mouse,clicked,1";
6496 action: SIGNAL_EMIT "elm,action,click" "";
6498 program { name: "text_show";
6499 signal: "elm,state,text,visible";
6504 get_state(PART:"elm.swallow.content", st, 30, vl);
6505 if (!strcmp(st, "icononly"))
6507 set_state(PART:"elm.swallow.content", "visible", 0.0);
6508 set_state(PART:"icon_rect", "visible", 0.0);
6509 set_state(PART:"padding_after_icon", "visible", 0.0);
6511 if(get_int(button_state) != BUTTON_STATE_DISABLED)
6512 set_state(PART:"elm.text", "visible", 0.0);
6514 set_state(PART:"elm.text", "disabled_visible", 0.0);
6517 program { name: "text_hide";
6518 signal: "elm,state,text,hidden";
6523 get_state(PART:"elm.swallow.content", st, 30, vl);
6524 if (!strcmp(st, "visible"))
6526 set_state(PART:"elm.swallow.content", "icononly", 0.0);
6527 set_state(PART:"icon_rect", "icononly", 0.0);
6528 set_state(PART:"padding_after_icon", "icononly", 0.0);
6530 set_state(PART:"elm.text", "default", 0.0);
6533 program { name: "icon_show";
6534 signal: "elm,state,icon,visible";
6539 get_state(PART:"elm.text", st, 30, vl);
6540 if (!strcmp(st, "visible"))
6542 set_state(PART:"elm.swallow.content", "visible", 0.0);
6543 set_state(PART:"icon_rect", "visible", 0.0);
6544 set_state(PART:"padding_after_icon", "visible", 0.0);
6548 set_state(PART:"elm.swallow.content", "icononly", 0.0);
6549 set_state(PART:"icon_rect", "icononly", 0.0);
6550 set_state(PART:"padding_after_icon", "icononly", 0.0);
6554 program { name: "icon_hide";
6555 signal: "elm,state,icon,hidden";
6557 action: STATE_SET "default" 0.0;
6558 target: "elm.swallow.content";
6560 program { name: "disable";
6561 signal: "elm,state,disabled";
6563 action: STATE_SET "disabled" 0.0;
6564 target: "button_image";
6566 after: "disable_text";
6568 program { name: "disable_text";
6572 get_state(PART:"elm.text", st, 30, vl);
6573 if (!strcmp(st, "visible"))
6574 set_state(PART:"elm.text", "disabled_visible", 0.0);
6576 set_state(PART:"elm.text", "disabled", 0.0);
6577 set_int(button_state, BUTTON_STATE_DISABLED);
6580 program { name: "enable";
6581 signal: "elm,state,enabled";
6583 action: STATE_SET "default" 0.0;
6584 target: "button_image";
6586 after: "enable_text";
6588 program { name: "enable_text";
6592 get_state(PART:"elm.text", st, 30, vl);
6593 if (!strcmp(st, "disabled_visible"))
6594 set_state(PART:"elm.text", "visible", 0.0);
6596 set_state(PART:"elm.text", "default", 0.0);
6597 set_int(button_state, BUTTON_STATE_ENABLED);
6600 program { name: "focused";
6601 action: STATE_SET "focused" 0.0;
6602 target: "button_image";
6605 program { name: "unfocused";
6606 action: STATE_SET "default" 0.0;
6607 target: "button_image";
6608 after: "unfocus_text";
6610 program { name: "unfocus_text";
6611 action: STATE_SET "visible" 0.0;
6617 ///////////////////////////////////////////////////////////////////////////////////////
6618 group { name: "elm/button/base/style_call_lscape_endcall_red";
6620 image: "vc_button_red_normal.png" COMP;
6621 image: "vc_button_press.png" COMP;
6624 public button_state = BUTTON_STATE_ENABLED;
6627 part { name: "button_image";
6630 description { state: "default" 0.0;
6633 normal: "vc_button_red_normal.png";
6638 description { state: "clicked" 0.0;
6639 inherit: "default" 0.0;
6640 image.normal: "vc_button_press.png";
6642 description { state: "disabled" 0.0;
6643 inherit: "default" 0.0;
6645 description { state: "focused" 0.0;
6646 inherit: "default" 0.0;
6647 image.normal: "vc_button_press.png";
6651 name: "padding_left_top";
6655 description { state: "default" 0.0;
6657 rel1.relative: 0.0 0.0;
6658 rel2.relative: 0.0 0.0;
6665 name: "padding_right_bottom";
6669 description { state: "default" 0.0;
6671 rel1.relative: 1.0 1.0;
6672 rel2.relative: 1.0 1.0;
6683 description { state: "default" 0.0;
6687 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
6688 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
6692 description { state: "visible" 0.0;
6697 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
6698 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
6700 aspect_preference: VERTICAL;
6704 description { state: "icononly" 0.0;
6705 inherit: "default" 0.0;
6709 name: "padding_after_icon";
6713 description { state: "default" 0.0;
6715 rel1 { relative: 1.0 0.0; to: "icon_rect"; }
6716 rel2 { relative: 1.0 1.0; to: "icon_rect"; }
6721 description { state: "visible" 0.0;
6724 rel1 { relative: 1.0 0.0; to: "icon_rect"; }
6725 rel2 { relative: 1.0 1.0; to: "icon_rect"; }
6730 description { state: "icononly" 0.0;
6731 inherit: "default" 0.0;
6735 name: "padding_before_text";
6739 description { state: "default" 0.0;
6741 rel1 { relative: 0.0 1.0; to_x: "elm.text"; to_y: "padding_left_top"; }
6742 rel2 { relative: 0.0 0.0; to_x: "elm.text"; to_y: "padding_right_bottom"; }
6748 part { name: "elm.swallow.content";
6751 description { state: "default" 0.0;
6754 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
6755 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
6758 description { state: "visible" 0.0;
6764 rel1 { relative: 0.0 1.0; to_x: "padding_before_text"; to_y: "padding_left_top"; }
6765 rel2 { relative: 0.0 0.0; to_x: "padding_before_text"; to_y: "padding_right_bottom"; }
6767 aspect_preference: VERTICAL;
6769 description { state: "icononly" 0.0;
6773 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
6774 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
6777 aspect_preference: VERTICAL;
6780 part { name: "elm.text";
6784 description { state: "default" 0.0;
6786 rel1 { relative: 1.0 1.0; to_x: "padding_after_icon"; to_y: "padding_left_top"; }
6787 rel2 { relative: 0.0 0.0; to: "padding_right_bottom"; }
6790 font: "SLP:style=Medium";
6797 description { state: "visible" 0.0;
6798 inherit: "default" 0.0;
6802 description { state: "clicked" 0.0;
6803 inherit: "default" 0.0;
6807 description { state: "disabled" 0.0;
6808 inherit: "default" 0.0;
6809 color: 255 255 255 51; /*20%*/
6811 description { state: "disabled_visible" 0.0;
6812 inherit: "default" 0.0;
6816 description { state: "focused" 0.0;
6817 inherit: "default" 0.0;
6822 part { name: "over2";
6826 ignore_flags: ON_HOLD;
6827 description { state: "default" 0.0;
6831 part { name: "over3";
6835 description { state: "default" 0.0;
6839 part { name: "disabler";
6841 description { state: "default" 0.0;
6845 description { state: "disabled" 0.0;
6846 inherit: "default" 0.0;
6852 program { name: "button_click";
6853 signal: "mouse,down,1";
6855 action: SIGNAL_EMIT "elm,action,press" "";
6856 after: "button_click_anim";
6858 program { name: "button_click_anim";
6859 action: STATE_SET "clicked" 0.0;
6860 target: "button_image";
6861 after: "text_clicked";
6863 program { name: "text_clicked";
6867 get_state(PART:"elm.text", st, 30, vl);
6868 if (!strcmp(st, "visible"))
6869 set_state(PART:"elm.text", "clicked", 0.0);
6872 program { name: "button_unpress";
6873 action: SIGNAL_EMIT "elm,action,unpress" "";
6875 program { name: "button_mouseout_clicked";
6876 signal: "mouse,up,1";
6881 get_state(PART:"elm.swallow.content", st, 30, vl);
6882 if (strcmp(st, "icononly"))
6884 emit("elm,action,default,text,set", "");
6885 set_state(PART:"elm.text", "visible", 0.0);
6887 if(get_int(button_state) != BUTTON_STATE_DISABLED)
6888 set_state(PART:"button_image", "default", 0.0);
6890 after: button_unpress;
6892 program { name: "button_unclick3";
6893 signal: "mouse,clicked,1";
6895 action: SIGNAL_EMIT "elm,action,click" "";
6897 program { name: "text_show";
6898 signal: "elm,state,text,visible";
6903 get_state(PART:"elm.swallow.content", st, 30, vl);
6904 if (!strcmp(st, "icononly"))
6906 set_state(PART:"elm.swallow.content", "visible", 0.0);
6907 set_state(PART:"icon_rect", "visible", 0.0);
6908 set_state(PART:"padding_after_icon", "visible", 0.0);
6910 if(get_int(button_state) != BUTTON_STATE_DISABLED)
6911 set_state(PART:"elm.text", "visible", 0.0);
6913 set_state(PART:"elm.text", "disabled_visible", 0.0);
6916 program { name: "text_hide";
6917 signal: "elm,state,text,hidden";
6922 get_state(PART:"elm.swallow.content", st, 30, vl);
6923 if (!strcmp(st, "visible"))
6925 set_state(PART:"elm.swallow.content", "icononly", 0.0);
6926 set_state(PART:"icon_rect", "icononly", 0.0);
6927 set_state(PART:"padding_after_icon", "icononly", 0.0);
6929 set_state(PART:"elm.text", "default", 0.0);
6932 program { name: "icon_show";
6933 signal: "elm,state,icon,visible";
6938 get_state(PART:"elm.text", st, 30, vl);
6939 if (!strcmp(st, "visible"))
6941 set_state(PART:"elm.swallow.content", "visible", 0.0);
6942 set_state(PART:"icon_rect", "visible", 0.0);
6943 set_state(PART:"padding_after_icon", "visible", 0.0);
6947 set_state(PART:"elm.swallow.content", "icononly", 0.0);
6948 set_state(PART:"icon_rect", "icononly", 0.0);
6949 set_state(PART:"padding_after_icon", "icononly", 0.0);
6953 program { name: "icon_hide";
6954 signal: "elm,state,icon,hidden";
6956 action: STATE_SET "default" 0.0;
6957 target: "elm.swallow.content";
6959 program { name: "disable";
6960 signal: "elm,state,disabled";
6962 action: STATE_SET "disabled" 0.0;
6963 target: "button_image";
6965 after: "disable_text";
6967 program { name: "disable_text";
6971 get_state(PART:"elm.text", st, 30, vl);
6972 if (!strcmp(st, "visible"))
6973 set_state(PART:"elm.text", "disabled_visible", 0.0);
6975 set_state(PART:"elm.text", "disabled", 0.0);
6976 set_int(button_state, BUTTON_STATE_DISABLED);
6979 program { name: "enable";
6980 signal: "elm,state,enabled";
6982 action: STATE_SET "default" 0.0;
6983 target: "button_image";
6985 after: "enable_text";
6987 program { name: "enable_text";
6991 get_state(PART:"elm.text", st, 30, vl);
6992 if (!strcmp(st, "disabled_visible"))
6993 set_state(PART:"elm.text", "visible", 0.0);
6995 set_state(PART:"elm.text", "default", 0.0);
6996 set_int(button_state, BUTTON_STATE_ENABLED);
6999 program { name: "focused";
7000 action: STATE_SET "focused" 0.0;
7001 target: "button_image";
7004 program { name: "unfocused";
7005 action: STATE_SET "default" 0.0;
7006 target: "button_image";
7007 after: "unfocus_text";
7009 program { name: "unfocus_text";
7010 action: STATE_SET "visible" 0.0;
7016 ///////////////////////////////////////////////////////////////////////////////////////
7017 group { name: "elm/button/base/style_call_lscape_endcall_red_disabled";
7019 image: "vc_button_red_normal.png" COMP;
7022 public button_state = BUTTON_STATE_ENABLED;
7025 part { name: "button_image";
7028 description { state: "default" 0.0;
7031 normal: "vc_button_red_normal.png";
7035 color: 255 255 255 102;
7037 description { state: "clicked" 0.0;
7038 inherit: "default" 0.0;
7040 description { state: "disabled" 0.0;
7041 inherit: "default" 0.0;
7043 description { state: "focused" 0.0;
7044 inherit: "default" 0.0;
7048 name: "padding_left_top";
7052 description { state: "default" 0.0;
7054 rel1.relative: 0.0 0.0;
7055 rel2.relative: 0.0 0.0;
7062 name: "padding_right_bottom";
7066 description { state: "default" 0.0;
7068 rel1.relative: 1.0 1.0;
7069 rel2.relative: 1.0 1.0;
7080 description { state: "default" 0.0;
7084 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
7085 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
7089 description { state: "visible" 0.0;
7094 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
7095 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
7097 aspect_preference: VERTICAL;
7101 description { state: "icononly" 0.0;
7102 inherit: "default" 0.0;
7106 name: "padding_after_icon";
7110 description { state: "default" 0.0;
7112 rel1 { relative: 1.0 0.0; to: "icon_rect"; }
7113 rel2 { relative: 1.0 1.0; to: "icon_rect"; }
7118 description { state: "visible" 0.0;
7121 rel1 { relative: 1.0 0.0; to: "icon_rect"; }
7122 rel2 { relative: 1.0 1.0; to: "icon_rect"; }
7127 description { state: "icononly" 0.0;
7128 inherit: "default" 0.0;
7132 name: "padding_before_text";
7136 description { state: "default" 0.0;
7138 rel1 { relative: 0.0 1.0; to_x: "elm.text"; to_y: "padding_left_top"; }
7139 rel2 { relative: 0.0 0.0; to_x: "elm.text"; to_y: "padding_right_bottom"; }
7145 part { name: "elm.swallow.content";
7148 description { state: "default" 0.0;
7151 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
7152 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
7155 description { state: "visible" 0.0;
7161 rel1 { relative: 0.0 1.0; to_x: "padding_before_text"; to_y: "padding_left_top"; }
7162 rel2 { relative: 0.0 0.0; to_x: "padding_before_text"; to_y: "padding_right_bottom"; }
7164 aspect_preference: VERTICAL;
7166 description { state: "icononly" 0.0;
7170 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
7171 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
7174 aspect_preference: VERTICAL;
7177 part { name: "elm.text";
7181 description { state: "default" 0.0;
7183 rel1 { relative: 1.0 1.0; to_x: "padding_after_icon"; to_y: "padding_left_top"; }
7184 rel2 { relative: 0.0 0.0; to: "padding_right_bottom"; }
7186 color: 255 255 255 51; /*20%*/
7188 font: "SLP:style=Medium";
7195 description { state: "visible" 0.0;
7196 inherit: "default" 0.0;
7200 description { state: "clicked" 0.0;
7201 inherit: "default" 0.0;
7205 description { state: "disabled" 0.0;
7206 inherit: "default" 0.0;
7209 description { state: "disabled_visible" 0.0;
7210 inherit: "default" 0.0;
7214 description { state: "focused" 0.0;
7215 inherit: "default" 0.0;
7220 part { name: "over2";
7224 ignore_flags: ON_HOLD;
7225 description { state: "default" 0.0;
7229 part { name: "over3";
7233 description { state: "default" 0.0;
7237 part { name: "disabler";
7239 description { state: "default" 0.0;
7243 description { state: "disabled" 0.0;
7244 inherit: "default" 0.0;
7250 program { name: "button_click";
7251 signal: "mouse,down,1";
7253 action: SIGNAL_EMIT "elm,action,press" "";
7254 after: "button_click_anim";
7256 program { name: "button_click_anim";
7257 action: STATE_SET "clicked" 0.0;
7258 target: "button_image";
7259 after: "text_clicked";
7261 program { name: "text_clicked";
7265 get_state(PART:"elm.text", st, 30, vl);
7266 if (!strcmp(st, "visible"))
7267 set_state(PART:"elm.text", "clicked", 0.0);
7270 program { name: "button_unpress";
7271 action: SIGNAL_EMIT "elm,action,unpress" "";
7273 program { name: "button_mouseout_clicked";
7274 signal: "mouse,up,1";
7279 get_state(PART:"elm.swallow.content", st, 30, vl);
7280 if (strcmp(st, "icononly"))
7282 emit("elm,action,default,text,set", "");
7283 set_state(PART:"elm.text", "visible", 0.0);
7285 if(get_int(button_state) != BUTTON_STATE_DISABLED)
7286 set_state(PART:"button_image", "default", 0.0);
7288 after: button_unpress;
7290 program { name: "button_unclick3";
7291 signal: "mouse,clicked,1";
7293 action: SIGNAL_EMIT "elm,action,click" "";
7295 program { name: "text_show";
7296 signal: "elm,state,text,visible";
7301 get_state(PART:"elm.swallow.content", st, 30, vl);
7302 if (!strcmp(st, "icononly"))
7304 set_state(PART:"elm.swallow.content", "visible", 0.0);
7305 set_state(PART:"icon_rect", "visible", 0.0);
7306 set_state(PART:"padding_after_icon", "visible", 0.0);
7308 if(get_int(button_state) != BUTTON_STATE_DISABLED)
7309 set_state(PART:"elm.text", "visible", 0.0);
7311 set_state(PART:"elm.text", "disabled_visible", 0.0);
7314 program { name: "text_hide";
7315 signal: "elm,state,text,hidden";
7320 get_state(PART:"elm.swallow.content", st, 30, vl);
7321 if (!strcmp(st, "visible"))
7323 set_state(PART:"elm.swallow.content", "icononly", 0.0);
7324 set_state(PART:"icon_rect", "icononly", 0.0);
7325 set_state(PART:"padding_after_icon", "icononly", 0.0);
7327 set_state(PART:"elm.text", "default", 0.0);
7330 program { name: "icon_show";
7331 signal: "elm,state,icon,visible";
7336 get_state(PART:"elm.text", st, 30, vl);
7337 if (!strcmp(st, "visible"))
7339 set_state(PART:"elm.swallow.content", "visible", 0.0);
7340 set_state(PART:"icon_rect", "visible", 0.0);
7341 set_state(PART:"padding_after_icon", "visible", 0.0);
7345 set_state(PART:"elm.swallow.content", "icononly", 0.0);
7346 set_state(PART:"icon_rect", "icononly", 0.0);
7347 set_state(PART:"padding_after_icon", "icononly", 0.0);
7351 program { name: "icon_hide";
7352 signal: "elm,state,icon,hidden";
7354 action: STATE_SET "default" 0.0;
7355 target: "elm.swallow.content";
7357 program { name: "disable";
7358 signal: "elm,state,disabled";
7360 action: STATE_SET "disabled" 0.0;
7361 target: "button_image";
7363 after: "disable_text";
7365 program { name: "disable_text";
7369 get_state(PART:"elm.text", st, 30, vl);
7370 if (!strcmp(st, "visible"))
7371 set_state(PART:"elm.text", "disabled_visible", 0.0);
7373 set_state(PART:"elm.text", "disabled", 0.0);
7374 set_int(button_state, BUTTON_STATE_DISABLED);
7377 program { name: "enable";
7378 signal: "elm,state,enabled";
7380 action: STATE_SET "default" 0.0;
7381 target: "button_image";
7383 after: "enable_text";
7385 program { name: "enable_text";
7389 get_state(PART:"elm.text", st, 30, vl);
7390 if (!strcmp(st, "disabled_visible"))
7391 set_state(PART:"elm.text", "visible", 0.0);
7393 set_state(PART:"elm.text", "default", 0.0);
7394 set_int(button_state, BUTTON_STATE_ENABLED);
7397 program { name: "focused";
7398 action: STATE_SET "focused" 0.0;
7399 target: "button_image";
7402 program { name: "unfocused";
7403 action: STATE_SET "default" 0.0;
7404 target: "button_image";
7405 after: "unfocus_text";
7407 program { name: "unfocus_text";
7408 action: STATE_SET "visible" 0.0;
7414 ///////////////////////////////////////////////////////////////////////////////////////
7415 group { name: "elm/button/base/style_call_lscape_split";
7417 image: "vc_conference_call_btn_normal.png" COMP;
7418 image: "vc_conference_call_btn_press.png" COMP;
7421 public button_state = BUTTON_STATE_ENABLED;
7424 part { name: "button_image";
7427 description { state: "default" 0.0;
7430 normal: "vc_conference_call_btn_normal.png";
7435 description { state: "clicked" 0.0;
7436 inherit: "default" 0.0;
7437 image.normal: "vc_conference_call_btn_press.png";
7439 description { state: "disabled" 0.0;
7440 inherit: "default" 0.0;
7442 description { state: "focused" 0.0;
7443 inherit: "default" 0.0;
7447 name: "padding_left_top";
7451 description { state: "default" 0.0;
7453 rel1.relative: 0.0 0.0;
7454 rel2.relative: 0.0 0.0;
7461 name: "padding_right_bottom";
7465 description { state: "default" 0.0;
7467 rel1.relative: 1.0 1.0;
7468 rel2.relative: 1.0 1.0;
7479 description { state: "default" 0.0;
7483 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
7484 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
7488 description { state: "visible" 0.0;
7493 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
7494 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
7496 aspect_preference: VERTICAL;
7500 description { state: "icononly" 0.0;
7501 inherit: "default" 0.0;
7505 name: "padding_after_icon";
7509 description { state: "default" 0.0;
7511 rel1 { relative: 1.0 0.0; to: "icon_rect"; }
7512 rel2 { relative: 1.0 1.0; to: "icon_rect"; }
7517 description { state: "visible" 0.0;
7520 rel1 { relative: 1.0 0.0; to: "icon_rect"; }
7521 rel2 { relative: 1.0 1.0; to: "icon_rect"; }
7526 description { state: "icononly" 0.0;
7527 inherit: "default" 0.0;
7531 name: "padding_before_text";
7535 description { state: "default" 0.0;
7537 rel1 { relative: 0.0 1.0; to_x: "elm.text"; to_y: "padding_left_top"; }
7538 rel2 { relative: 0.0 0.0; to_x: "elm.text"; to_y: "padding_right_bottom"; }
7544 part { name: "elm.swallow.content";
7547 description { state: "default" 0.0;
7550 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
7551 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
7554 description { state: "visible" 0.0;
7560 rel1 { relative: 0.0 1.0; to_x: "padding_before_text"; to_y: "padding_left_top"; }
7561 rel2 { relative: 0.0 0.0; to_x: "padding_before_text"; to_y: "padding_right_bottom"; }
7563 aspect_preference: VERTICAL;
7565 description { state: "icononly" 0.0;
7569 rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
7570 rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
7573 aspect_preference: VERTICAL;
7576 part { name: "elm.text";
7580 description { state: "default" 0.0;
7582 rel1 { relative: 1.0 1.0; to_x: "padding_after_icon"; to_y: "padding_left_top"; }
7583 rel2 { relative: 0.0 0.0; to: "padding_right_bottom"; }
7586 font: "SLP:style=Medium";
7593 description { state: "visible" 0.0;
7594 inherit: "default" 0.0;
7598 description { state: "clicked" 0.0;
7599 inherit: "default" 0.0;
7603 description { state: "disabled" 0.0;
7604 inherit: "default" 0.0;
7607 description { state: "disabled_visible" 0.0;
7608 inherit: "default" 0.0;
7612 description { state: "focused" 0.0;
7613 inherit: "default" 0.0;
7618 part { name: "over2";
7622 ignore_flags: ON_HOLD;
7623 description { state: "default" 0.0;
7627 part { name: "over3";
7631 description { state: "default" 0.0;
7635 part { name: "disabler";
7637 description { state: "default" 0.0;
7641 description { state: "disabled" 0.0;
7642 inherit: "default" 0.0;
7648 program { name: "button_click";
7649 signal: "mouse,down,1";
7651 action: SIGNAL_EMIT "elm,action,press" "";
7652 after: "button_click_anim";
7654 program { name: "button_click_anim";
7655 action: STATE_SET "clicked" 0.0;
7656 target: "button_image";
7657 after: "text_clicked";
7659 program { name: "text_clicked";
7663 get_state(PART:"elm.text", st, 30, vl);
7664 if (!strcmp(st, "visible"))
7665 set_state(PART:"elm.text", "clicked", 0.0);
7668 program { name: "button_unpress";
7669 action: SIGNAL_EMIT "elm,action,unpress" "";
7671 program { name: "button_mouseout_clicked";
7672 signal: "mouse,up,1";
7677 get_state(PART:"elm.swallow.content", st, 30, vl);
7678 if (strcmp(st, "icononly"))
7680 emit("elm,action,default,text,set", "");
7681 set_state(PART:"elm.text", "visible", 0.0);
7683 if(get_int(button_state) != BUTTON_STATE_DISABLED)
7684 set_state(PART:"button_image", "default", 0.0);
7686 after: button_unpress;
7688 program { name: "button_unclick3";
7689 signal: "mouse,clicked,1";
7691 action: SIGNAL_EMIT "elm,action,click" "";
7693 program { name: "text_show";
7694 signal: "elm,state,text,visible";
7699 get_state(PART:"elm.swallow.content", st, 30, vl);
7700 if (!strcmp(st, "icononly"))
7702 set_state(PART:"elm.swallow.content", "visible", 0.0);
7703 set_state(PART:"icon_rect", "visible", 0.0);
7704 set_state(PART:"padding_after_icon", "visible", 0.0);
7706 if(get_int(button_state) != BUTTON_STATE_DISABLED)
7707 set_state(PART:"elm.text", "visible", 0.0);
7709 set_state(PART:"elm.text", "disabled_visible", 0.0);
7712 program { name: "text_hide";
7713 signal: "elm,state,text,hidden";
7718 get_state(PART:"elm.swallow.content", st, 30, vl);
7719 if (!strcmp(st, "visible"))
7721 set_state(PART:"elm.swallow.content", "icononly", 0.0);
7722 set_state(PART:"icon_rect", "icononly", 0.0);
7723 set_state(PART:"padding_after_icon", "icononly", 0.0);
7725 set_state(PART:"elm.text", "default", 0.0);
7728 program { name: "icon_show";
7729 signal: "elm,state,icon,visible";
7734 get_state(PART:"elm.text", st, 30, vl);
7735 if (!strcmp(st, "visible"))
7737 set_state(PART:"elm.swallow.content", "visible", 0.0);
7738 set_state(PART:"icon_rect", "visible", 0.0);
7739 set_state(PART:"padding_after_icon", "visible", 0.0);
7743 set_state(PART:"elm.swallow.content", "icononly", 0.0);
7744 set_state(PART:"icon_rect", "icononly", 0.0);
7745 set_state(PART:"padding_after_icon", "icononly", 0.0);
7749 program { name: "icon_hide";
7750 signal: "elm,state,icon,hidden";
7752 action: STATE_SET "default" 0.0;
7753 target: "elm.swallow.content";
7755 program { name: "disable";
7756 signal: "elm,state,disabled";
7758 action: STATE_SET "disabled" 0.0;
7759 target: "button_image";
7761 after: "disable_text";
7763 program { name: "disable_text";
7767 get_state(PART:"elm.text", st, 30, vl);
7768 if (!strcmp(st, "visible"))
7769 set_state(PART:"elm.text", "disabled_visible", 0.0);
7771 set_state(PART:"elm.text", "disabled", 0.0);
7772 set_int(button_state, BUTTON_STATE_DISABLED);
7775 program { name: "enable";
7776 signal: "elm,state,enabled";
7778 action: STATE_SET "default" 0.0;
7779 target: "button_image";
7781 after: "enable_text";
7783 program { name: "enable_text";
7787 get_state(PART:"elm.text", st, 30, vl);
7788 if (!strcmp(st, "disabled_visible"))
7789 set_state(PART:"elm.text", "visible", 0.0);
7791 set_state(PART:"elm.text", "default", 0.0);
7792 set_int(button_state, BUTTON_STATE_ENABLED);
7795 program { name: "focused";
7796 action: STATE_SET "focused" 0.0;
7797 target: "button_image";
7800 program { name: "unfocused";
7801 action: STATE_SET "default" 0.0;
7802 target: "button_image";
7803 after: "unfocus_text";
7805 program { name: "unfocus_text";
7806 action: STATE_SET "visible" 0.0;
7812 ////////////// elm/button/base/text_only/call_end_grey //////////////////////////////////////////////
7813 group { name: "elm/button/base/text_only/style_call_text_only_grey";
7815 image: "vc_second_mt_btn_normal.png" COMP;
7816 image: "vc_button_press.png" COMP;
7819 part { name: "button_image";
7822 effect: SOFT_SHADOW;
7823 description { state: "default" 0.0;
7826 normal: "vc_second_mt_btn_normal.png";
7831 description { state: "clicked" 0.0;
7834 normal: "vc_button_press.png";
7839 description { state: "disabled" 0.0;
7840 inherit: "clicked" 0.0;
7842 description { state: "focused" 0.0;
7843 inherit: "default" 0.0;
7844 image.normal: "vc_button_press.png";
7847 part { name: "elm.text";
7853 state: "default" 0.0;
7857 color: 255 255 255 255;
7861 font: FONT_SLP_Medium;
7867 description { state: "visible" 0.0;
7868 inherit: "default" 0.0;
7872 description { state: "clicked" 0.0;
7873 inherit: "default" 0.0;
7876 color: 255 255 255 255;
7880 description { state: "disabled" 0.0;
7881 inherit: "default" 0.0;
7885 description { state: "disabled_visible" 0.0;
7886 inherit: "default" 0.0;
7892 description { state: "focused" 0.0;
7893 inherit: "default" 0.0;
7896 color: 255 255 255 255;
7899 part { name: "over1";
7901 description { state: "default" 0.0;
7902 rel2.relative: 1.0 0.5;
7904 description { state: "disabled" 0.0;
7905 inherit: "default" 0.0;
7908 part { name: "over2";
7911 ignore_flags: ON_HOLD;
7912 description { state: "default" 0.0;
7914 description { state: "disabled" 0.0;
7915 inherit: "default" 0.0;
7919 part { name: "over3";
7922 description { state: "default" 0.0;
7923 color: 255 255 255 0;
7925 description { state: "clicked" 0.0;
7926 inherit: "default" 0.0;
7928 color: 255 255 255 0;
7931 part { name: "disabler";
7933 description { state: "default" 0.0;
7937 description { state: "disabled" 0.0;
7938 inherit: "default" 0.0;
7944 program { name: "button_click";
7945 signal: "mouse,down,1";
7947 action: SIGNAL_EMIT "elm,action,press" "";
7948 after: "button_click_anim";
7950 program { name: "button_click_anim";
7951 action: STATE_SET "clicked" 0.0;
7952 target: "button_image";
7955 program { name: "button_unclick";
7956 signal: "mouse,up,1";
7958 action: SIGNAL_EMIT "elm,action,unpress" "";
7959 after: "button_unclick_anim";
7961 program { name: "button_unclick_anim";
7962 action: STATE_SET "default" 0.0;
7963 target: "button_image";
7964 action: STATE_SET "visible" 0.0;
7967 program { name: "button_mouseout_clicked";
7968 signal: "mouse,out";
7973 get_state(PART:"elm.text", st, 30, vl);
7974 if (!strcmp(st, "clicked"))
7976 set_state(PART:"elm.text", "visible", 0.0);
7977 set_state(PART:"button_image", "visible", 0.0);
7981 program { name: "button_click2";
7982 signal: "mouse,down,1";
7984 action: STATE_SET "clicked" 0.0;
7987 program { name: "button_unclick2";
7988 signal: "mouse,up,1";
7990 action: STATE_SET "default" 0.0;
7993 program { name: "button_unclick3";
7994 signal: "mouse,up,1";
7996 action: SIGNAL_EMIT "elm,action,click" "";
7998 program { name: "text_show";
7999 signal: "elm,state,text,visible";
8001 action: STATE_SET "visible" 0.0;
8004 program { name: "text_hide";
8005 signal: "elm,state,text,hidden";
8007 action: STATE_SET "default" 0.0;
8011 program { name: "disable";
8012 signal: "elm,state,disabled";
8014 action: STATE_SET "disabled" 0.0;
8015 target: "button_image";
8019 after: "disable_text";
8021 program { name: "disable_text";
8025 get_state(PART:"elm.text", st, 30, vl);
8026 if (!strcmp(st, "visible"))
8027 set_state(PART:"elm.text", "disabled_visible", 0.0);
8029 set_state(PART:"elm.text", "disabled", 0.0);
8032 program { name: "enable";
8033 signal: "elm,state,enabled";
8035 action: STATE_SET "default" 0.0;
8036 target: "button_image";
8040 after: "enable_text";
8042 program { name: "enable_text";
8046 get_state(PART:"elm.text", st, 30, vl);
8047 if (!strcmp(st, "disabled_visible"))
8048 set_state(PART:"elm.text", "visible", 0.0);
8050 set_state(PART:"elm.text", "default", 0.0);
8053 program { name: "focused";
8054 signal: "elm,action,focus";
8056 action: STATE_SET "focused" 0.0;
8057 target: "button_image";
8060 program { name: "unfocused";
8061 signal: "elm,action,unfocus";
8063 action: STATE_SET "default" 0.0;
8064 target: "button_image";
8065 action: STATE_SET "visible" 0.0;