3 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 * Licensed under the Apache License, Version 2.0 (the License);
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an AS IS BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
20 ///////////////////////////////////////////////////////////////////////////////////////
24 ///////////////////////////////////////////////////////////////////////////////////////
26 #define CTXPOPUP_SHADOW_PADDING 10
27 #define CTXPOPUP_FRAME_CORNER_SIZE 4 4
28 #define CTXPOPUP_FONT_COLOR 0 0 0 255
29 #define CTXPOPUP_CLICKED_FONT_COLOR 255 255 255 255
30 #define CTXPOPUP_LIST_PADDING 10
31 #define CTXPOPUP_LIST_SHADOW_PADDING 3
33 ///////////////////////////////////////////////////////////////////////////////
35 name: "elm/ctxpopup/layout/default";
36 max: CTXPOPUP_WIDTH_MAX_INC 802;
48 rel1.relative: 0.0 0.0;
49 rel2.relative: 1.0 0.0;
53 inherit: "default" 0.0;
57 inherit: "default" 0.0;
62 name:"bottom_padding";
71 rel1.relative: 0.0 1.0;
72 rel2.relative: 1.0 1.0;
75 state: "show_down" 0.0;
76 inherit: "default" 0.0;
80 inherit: "default" 0.0;
94 rel1.relative: 0.0 0.0;
95 rel2.relative: 0.0 1.0;
98 state: "show_left" 0.0;
99 inherit: "default" 0.0;
102 state: "visible" 0.0;
103 inherit: "default" 0.0;
108 name:"right_padding";
112 state: "default" 0.0;
117 rel1.relative: 1.0 0.0;
118 rel2.relative: 1.0 1.0;
121 state: "show_right" 0.0;
122 inherit: "default" 0.0;
125 state: "visible" 0.0;
126 inherit: "default" 0.0;
133 clip_to: "layout_clip";
135 state: "default" 0.0;
139 state: "show_up" 0.0;
140 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
141 rel2 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
145 state: "show_down" 0.0;
146 rel1 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
147 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
151 state: "show_left" 0.0;
152 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
153 rel2 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
157 state: "show_right" 0.0;
158 rel1 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
159 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
167 state: "default" 0.0;
168 color: 255 255 255 127;
169 rel1 {to: "swallow"; relative: -0.2 -0.2; }
170 rel2 {to: "swallow"; relative: 1.2 1.2;}
173 state: "show_up" 0.0;
174 inherit: "default" 0.0;
177 state: "show_down" 0.0;
178 inherit: "default" 0.0;
181 state: "show_left" 0.0;
182 inherit: "default" 0.0;
185 state: "show_right" 0.0;
186 inherit: "default" 0.0;
189 state: "visible" 0.0;
190 inherit: "default" 0.0;
191 color: 255 255 255 255;
198 signal: "elm,state,show,up";
200 action: STATE_SET "show_up" 0.0;
202 target: "top_padding";
203 target: "layout_clip";
208 signal: "elm,state,show,down";
210 action: STATE_SET "show_down" 0.0;
212 target: "bottom_padding";
213 target: "layout_clip";
214 after: "showdownend";
218 signal: "elm,state,show,left";
220 action: STATE_SET "show_left" 0.0;
222 target: "left_padding";
223 target: "layout_clip";
224 after: "showleftend";
228 signal: "elm,state,show,right";
230 action: STATE_SET "show_right" 0.0;
232 target: "right_padding";
233 target: "layout_clip";
234 after: "showrightend";
238 action: STATE_SET "visible" 0.0;
239 transition:SIN_FAC 0.33 0.6;
240 target: "top_padding";
241 target: "layout_clip";
245 action: STATE_SET "visible" 0.0;
246 transition:SIN_FAC 0.33 0.6;
247 target: "bottom_padding";
248 target: "layout_clip";
252 action: STATE_SET "visible" 0.0;
253 transition:SIN_FAC 0.33 0.6;
254 target: "left_padding";
255 target: "layout_clip";
258 name: "showrightend";
259 action: STATE_SET "visible" 0.0;
260 transition:SIN_FAC 0.33 0.6;
261 target: "right_padding";
262 target: "layout_clip";
266 signal: "elm,state,hide,up";
268 action: STATE_SET "show_up" 0.0;
270 target: "top_padding";
271 transition: SIN_FAC 0.33 0.6;
272 after: "hidefinished";
276 signal: "elm,state,hide,down";
278 action: STATE_SET "show_down" 0.0;
280 target: "bottom_padding";
281 transition: SIN_FAC 0.33 0.6;
282 after: "hidefinished";
286 signal: "elm,state,hide,left";
288 action: STATE_SET "show_left" 0.0;
290 target: "left_padding";
291 transition: SIN_FAC 0.33 0.6;
292 after: "hidefinished";
296 signal: "elm,state,hide,right";
298 action: STATE_SET "show_right" 0.0;
300 target: "right_padding";
301 transition: SIN_FAC 0.33 0.6;
302 after: "hidefinished";
306 signal: "elm,state,hide,up";
308 action: STATE_SET "default" 0.0;
309 target: "layout_clip";
310 transition: SIN_FAC 0.33 0.6;
311 after: "hidefinished";
314 name: "hidedown_clip";
315 signal: "elm,state,hide,down";
317 action: STATE_SET "default" 0.0;
318 target: "layout_clip";
319 transition: SIN_FAC 0.33 0.6;
320 after: "hidefinished";
323 name: "hideleft_clip";
324 signal: "elm,state,hide,left";
326 action: STATE_SET "default" 0.0;
327 target: "layout_clip";
328 transition: SIN_FAC 0.33 0.6;
329 after: "hidefinished";
332 name: "hideright_clip";
333 signal: "elm,state,hide,right";
335 action: STATE_SET "default" 0.0;
336 target: "layout_clip";
337 transition: SIN_FAC 0.33 0.6;
338 after: "hidefinished";
341 name: "hidefinished";
342 action: SIGNAL_EMIT "elm,action,hide,finished" "";
346 ///////////////////////////////////////////////////////////////////////////////
348 name: "elm/ctxpopup/layout/datetime/default";
349 alias: "elm/ctxpopup/layout/timepicker";
356 state: "default" 0.0;
361 rel1.relative: 0.0 0.0;
362 rel2.relative: 1.0 0.0;
365 state: "show_up" 0.0;
366 inherit: "default" 0.0;
369 state: "visible" 0.0;
370 inherit: "default" 0.0;
375 name:"bottom_padding";
379 state: "default" 0.0;
384 rel1.relative: 0.0 1.0;
385 rel2.relative: 1.0 1.0;
388 state: "show_down" 0.0;
389 inherit: "default" 0.0;
392 state: "visible" 0.0;
393 inherit: "default" 0.0;
402 state: "default" 0.0;
407 rel1.relative: 0.0 0.0;
408 rel2.relative: 0.0 1.0;
411 state: "show_left" 0.0;
412 inherit: "default" 0.0;
415 state: "visible" 0.0;
416 inherit: "default" 0.0;
421 name:"right_padding";
425 state: "default" 0.0;
430 rel1.relative: 1.0 0.0;
431 rel2.relative: 1.0 1.0;
434 state: "show_right" 0.0;
435 inherit: "default" 0.0;
438 state: "visible" 0.0;
439 inherit: "default" 0.0;
446 clip_to: "layout_clip";
448 state: "default" 0.0;
452 state: "show_up" 0.0;
453 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
454 rel2 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
458 state: "show_down" 0.0;
459 rel1 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
460 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
464 state: "show_left" 0.0;
465 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
466 rel2 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
470 state: "show_right" 0.0;
471 rel1 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
472 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
480 state: "default" 0.0;
481 color: 255 255 255 0;
482 rel1 {to: "swallow"; relative: -0.2 -0.2; }
483 rel2 {to: "swallow"; relative: 1.2 1.2;}
486 state: "show_up" 0.0;
487 inherit: "default" 0.0;
490 state: "show_down" 0.0;
491 inherit: "default" 0.0;
494 state: "show_left" 0.0;
495 inherit: "default" 0.0;
498 state: "show_right" 0.0;
499 inherit: "default" 0.0;
502 state: "visible" 0.0;
503 inherit: "default" 0.0;
504 color: 255 255 255 255;
511 signal: "elm,state,show,up";
513 action: STATE_SET "show_up" 0.0;
515 target: "top_padding";
516 target: "layout_clip";
521 signal: "elm,state,show,down";
523 action: STATE_SET "show_down" 0.0;
525 target: "bottom_padding";
526 target: "layout_clip";
527 after: "showdownend";
531 signal: "elm,state,show,left";
533 action: STATE_SET "show_left" 0.0;
535 target: "left_padding";
536 target: "layout_clip";
537 after: "showleftend";
541 signal: "elm,state,show,right";
543 action: STATE_SET "show_right" 0.0;
545 target: "right_padding";
546 target: "layout_clip";
547 after: "showrightend";
551 action: STATE_SET "visible" 0.0;
552 transition:LINEAR 0.25;
553 target: "top_padding";
554 target: "layout_clip";
558 action: STATE_SET "visible" 0.0;
559 transition:LINEAR 0.25;
560 target: "bottom_padding";
561 target: "layout_clip";
565 action: STATE_SET "visible" 0.0;
566 transition:LINEAR 0.25;
567 target: "left_padding";
568 target: "layout_clip";
571 name: "showrightend";
572 action: STATE_SET "visible" 0.0;
573 transition:LINEAR 0.25;
574 target: "right_padding";
575 target: "layout_clip";
579 signal: "elm,state,hide,up";
581 action: STATE_SET "show_up" 0.0;
583 target: "top_padding";
584 transition: LINEAR 0.25;
585 after: "hidefinished";
589 signal: "elm,state,hide,down";
591 action: STATE_SET "show_down" 0.0;
593 target: "bottom_padding";
594 transition: LINEAR 0.25;
595 after: "hidefinished";
599 signal: "elm,state,hide,left";
601 action: STATE_SET "show_left" 0.0;
603 target: "left_padding";
604 transition: LINEAR 0.25;
605 after: "hidefinished";
609 signal: "elm,state,hide,right";
611 action: STATE_SET "show_right" 0.0;
613 target: "right_padding";
614 transition: LINEAR 0.25;
615 after: "hidefinished";
619 signal: "elm,state,hide,up";
621 action: STATE_SET "default" 0.0;
622 target: "layout_clip";
623 transition: LINEAR 0.25;
624 after: "hidefinished";
627 name: "hidedown_clip";
628 signal: "elm,state,hide,down";
630 action: STATE_SET "default" 0.0;
631 target: "layout_clip";
632 transition: LINEAR 0.25;
633 after: "hidefinished";
636 name: "hideleft_clip";
637 signal: "elm,state,hide,left";
639 action: STATE_SET "default" 0.0;
640 target: "layout_clip";
641 transition: LINEAR 0.25;
642 after: "hidefinished";
645 name: "hideright_clip";
646 signal: "elm,state,hide,right";
648 action: STATE_SET "default" 0.0;
649 target: "layout_clip";
650 transition: LINEAR 0.25;
651 after: "hidefinished";
654 name: "hidefinished";
655 action: SIGNAL_EMIT "elm,action,hide,finished" "";
659 ///////////////////////////////////////////////////////////////////////////////
661 name: "elm/ctxpopup/layout/more/default";
662 max: CTXPOPUP_MORE_WIDTH_INC 802;
669 state: "default" 0.0;
670 min: 0 CTXPOPUP_MORE_MOVE_INC;
674 rel1.relative: 0.0 0.0;
675 rel2.relative: 1.0 0.0;
678 state: "show_up" 0.0;
679 inherit: "default" 0.0;
682 state: "visible" 0.0;
683 inherit: "default" 0.0;
688 name:"bottom_padding";
692 state: "default" 0.0;
693 min: 0 CTXPOPUP_MORE_MOVE_INC;
697 rel1.relative: 0.0 1.0;
698 rel2.relative: 1.0 1.0;
701 state: "show_down" 0.0;
702 inherit: "default" 0.0;
705 state: "visible" 0.0;
706 inherit: "default" 0.0;
715 state: "default" 0.0;
716 min: CTXPOPUP_MORE_MOVE_INC 0;
720 rel1.relative: 0.0 0.0;
721 rel2.relative: 0.0 1.0;
724 state: "show_left" 0.0;
725 inherit: "default" 0.0;
728 state: "visible" 0.0;
729 inherit: "default" 0.0;
734 name:"right_padding";
738 state: "default" 0.0;
739 min: CTXPOPUP_MORE_MOVE_INC 0;
743 rel1.relative: 1.0 0.0;
744 rel2.relative: 1.0 1.0;
747 state: "show_right" 0.0;
748 inherit: "default" 0.0;
751 state: "visible" 0.0;
752 inherit: "default" 0.0;
759 clip_to: "layout_clip";
761 state: "default" 0.0;
762 max: CTXPOPUP_MORE_WIDTH_INC 806;
766 state: "show_up" 0.0;
767 max: CTXPOPUP_MORE_WIDTH_INC 806;
768 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
769 rel2 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
773 state: "show_down" 0.0;
774 max: CTXPOPUP_MORE_WIDTH_INC 806;
775 rel1 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
776 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
780 state: "show_left" 0.0;
781 max: CTXPOPUP_MORE_WIDTH_INC 806;
782 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
783 rel2 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
787 state: "show_right" 0.0;
788 max: CTXPOPUP_MORE_WIDTH_INC 806;
789 rel1 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
790 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
798 state: "default" 0.0;
799 color: 255 255 255 0;
800 rel1 {to: "swallow"; relative: -0.2 -0.2; }
801 rel2 {to: "swallow"; relative: 1.2 1.2;}
804 state: "show_up" 0.0;
805 inherit: "default" 0.0;
808 state: "show_down" 0.0;
809 inherit: "default" 0.0;
812 state: "show_left" 0.0;
813 inherit: "default" 0.0;
816 state: "show_right" 0.0;
817 inherit: "default" 0.0;
820 state: "visible" 0.0;
821 inherit: "default" 0.0;
822 color: 255 255 255 255;
829 signal: "elm,state,show,up";
831 action: STATE_SET "show_up" 0.0;
833 target: "top_padding";
834 target: "layout_clip";
839 signal: "elm,state,show,down";
841 action: STATE_SET "show_down" 0.0;
843 target: "bottom_padding";
844 target: "layout_clip";
845 after: "showdownend";
849 signal: "elm,state,show,left";
851 action: STATE_SET "show_left" 0.0;
853 target: "left_padding";
854 target: "layout_clip";
855 after: "showleftend";
859 signal: "elm,state,show,right";
861 action: STATE_SET "show_right" 0.0;
863 target: "right_padding";
864 target: "layout_clip";
865 after: "showrightend";
869 action: STATE_SET "visible" 0.0;
870 transition:SIN_FAC 0.33 1.1;
871 target: "top_padding";
872 target: "layout_clip";
876 action: STATE_SET "visible" 0.0;
877 transition:SIN_FAC 0.33 1.1;
878 target: "bottom_padding";
879 target: "layout_clip";
883 action: STATE_SET "visible" 0.0;
884 transition:SIN_FAC 0.33 1.1;
885 target: "left_padding";
886 target: "layout_clip";
889 name: "showrightend";
890 action: STATE_SET "visible" 0.0;
891 transition:SIN_FAC 0.33 1.1;
892 target: "right_padding";
893 target: "layout_clip";
897 signal: "elm,state,hide,up";
899 action: STATE_SET "show_up" 0.0;
901 target: "top_padding";
902 transition: SIN_FAC 0.33 1.1;
903 after: "hidefinished";
907 signal: "elm,state,hide,down";
909 action: STATE_SET "show_down" 0.0;
911 target: "bottom_padding";
912 transition: SIN_FAC 0.33 1.1;
913 after: "hidefinished";
917 signal: "elm,state,hide,left";
919 action: STATE_SET "show_left" 0.0;
921 target: "left_padding";
922 transition: SIN_FAC 0.33 1.1;
923 after: "hidefinished";
927 signal: "elm,state,hide,right";
929 action: STATE_SET "show_right" 0.0;
931 target: "right_padding";
932 transition: SIN_FAC 0.33 1.1;
933 after: "hidefinished";
937 signal: "elm,state,hide,up";
939 action: STATE_SET "default" 0.0;
940 target: "layout_clip";
941 transition: SIN_FAC 0.33 1.1;
942 after: "hidefinished";
945 name: "hidedown_clip";
946 signal: "elm,state,hide,down";
948 action: STATE_SET "default" 0.0;
949 target: "layout_clip";
950 transition: SIN_FAC 0.33 1.1;
951 after: "hidefinished";
954 name: "hideleft_clip";
955 signal: "elm,state,hide,left";
957 action: STATE_SET "default" 0.0;
958 target: "layout_clip";
959 transition: SIN_FAC 0.33 1.1;
960 after: "hidefinished";
963 name: "hideright_clip";
964 signal: "elm,state,hide,right";
966 action: STATE_SET "default" 0.0;
967 target: "layout_clip";
968 transition: SIN_FAC 0.33 1.1;
969 after: "hidefinished";
972 name: "hidefinished";
973 action: SIGNAL_EMIT "elm,action,hide,finished" "";
977 ///////////////////////////////////////////////////////////////////////////////
979 name: "elm/scroller/base/ctxpopup";
981 public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
984 v = get_int(sbvis_v);
986 v = get_int(sbalways_v);
988 emit("do-hide-vbar", "");
992 v = get_int(sbvis_h);
994 v = get_int(sbalways_h);
996 emit("do-hide-hbar", "");
1000 set_int(sbvis_timer, 0);
1005 image: "00_popup_scroll.png" COMP;
1006 image: "01_scroller.png" COMP;
1015 state: "default" 0.0;
1019 name: "elm.swallow.content";
1024 state: "default" 0.0;
1029 name: "sb_vbar_clip_master";
1033 state: "default" 0.0;
1036 state: "hidden" 0.0;
1038 color: 255 255 255 0;
1042 name: "sb_vbar_clip";
1043 clip_to:"sb_vbar_clip_master";
1048 state: "default" 0.0;
1050 rel2{ to:"clipper"; relative: 1.0 1.0;}
1053 state: "hidden" 0.0;
1055 color: 255 255 255 0;
1059 name: "sb_vbar_padding";
1064 state: "default" 0.0;
1066 min: (CTXPOPUP_SCROLLER_PADDING-CTXPOPUP_CONTENT_PADDING) 0;
1067 max: (CTXPOPUP_SCROLLER_PADDING-CTXPOPUP_CONTENT_PADDING) 0;
1070 rel1 { to:"clipper"; relative: 1.0 0.0; }
1071 rel2 { to:"clipper"; relative: 1.0 1.0; }
1080 state: "default" 0.0;
1084 rel1 { to_x:"sb_vbar_padding"; to_y:"clipper"; relative: 0.0 0.0; }
1085 rel2 { to_x:"sb_vbar_padding"; to_y:"clipper"; relative: 0.0 1.0; }
1089 name: "elm.dragable.vbar";
1090 clip_to: "sb_vbar_clip";
1099 state: "default" 0.0;
1101 min: CTXPOPUP_SCROLLER_MIN_SIZE_INC;
1111 normal: "00_popup_scroll.png";
1118 name: "sb_hbar_clip_master";
1122 state: "default" 0.0;
1125 state: "hidden" 0.0;
1127 color: 255 255 255 0;
1131 name: "sb_hbar_clip";
1132 clip_to: "sb_hbar_clip_master";
1137 state: "default" 0.0;
1139 rel2{ to:"clipper"; relative: 1.0 1.0;}
1142 state: "hidden" 0.0;
1144 color: 255 255 255 0;
1153 state: "default" 0.0;
1157 rel1 {to:"clipper"; relative: 0.0 1.0;}
1158 rel2 {to:"clipper"; relative: 1.0 1.0;}
1162 name: "elm.dragable.hbar";
1163 clip_to: "sb_hbar_clip";
1172 state: "default" 0.0;
1175 rel1 {relative: 0.5 0.5; to: "sb_hbar";}
1176 rel2 {relative: 0.5 0.5; to: "sb_hbar";}
1178 normal: "01_scroller.png";
1191 set_state(PART:"sb_vbar_clip", "hidden", 0.0);
1192 set_state(PART:"sb_hbar_clip", "hidden", 0.0);
1193 set_int(sbvis_v, 0);
1194 set_int(sbvis_h, 0);
1195 set_int(sbalways_v, 0);
1196 set_int(sbalways_h, 0);
1197 set_int(sbvis_timer, 0);
1202 signal: "elm,action,show,vbar";
1204 action: STATE_SET "default" 0.0;
1205 target: "sb_vbar_clip_master";
1209 signal: "elm,action,hide,vbar";
1211 action: STATE_SET "hidden" 0.0;
1212 target: "sb_vbar_clip_master";
1215 name: "vbar_show_always";
1216 signal: "elm,action,show_always,vbar";
1220 v = get_int(sbvis_v);
1221 v |= get_int(sbalways_v);
1223 set_int(sbalways_v, 1);
1224 emit("do-show-vbar", "");
1225 set_int(sbvis_v, 1);
1230 name: "vbar_show_notalways";
1231 signal: "elm,action,show_notalways,vbar";
1235 v = get_int(sbalways_v);
1237 set_int(sbalways_v, 0);
1238 v = get_int(sbvis_v);
1240 emit("do-hide-vbar", "");
1241 set_int(sbvis_v, 0);
1247 name: "sb_vbar_show";
1248 signal: "do-show-vbar";
1250 action: STATE_SET "default" 0.0;
1251 transition: LINEAR 1.0;
1252 target: "sb_vbar_clip";
1255 name: "sb_vbar_hide";
1256 signal: "do-hide-vbar";
1258 action: STATE_SET "hidden" 0.0;
1259 transition: LINEAR 1.0;
1260 target: "sb_vbar_clip";
1264 signal: "elm,action,show,hbar";
1266 action: STATE_SET "default" 0.0;
1267 target: "sb_hbar_clip_master";
1271 signal: "elm,action,hide,hbar";
1273 action: STATE_SET "hidden" 0.0;
1274 target: "sb_hbar_clip_master";
1277 name: "hbar_show_always";
1278 signal: "elm,action,show_always,hbar";
1282 v = get_int(sbvis_h);
1283 v |= get_int(sbalways_h);
1285 set_int(sbalways_h, 1);
1286 emit("do-show-hbar", "");
1287 set_int(sbvis_h, 1);
1292 name: "hbar_show_notalways";
1293 signal: "elm,action,show_notalways,hbar";
1297 v = get_int(sbalways_h);
1299 set_int(sbalways_h, 0);
1300 v = get_int(sbvis_h);
1302 emit("do-hide-hbar", "");
1303 set_int(sbvis_h, 0);
1309 name: "sb_hbar_show";
1310 signal: "do-show-hbar";
1312 action: STATE_SET "default" 0.0;
1313 transition: LINEAR 1.0;
1314 target: "sb_hbar_clip";
1317 name: "sb_hbar_hide";
1318 signal: "do-hide-hbar";
1320 action: STATE_SET "hidden" 0.0;
1321 transition: LINEAR 1.0;
1322 target: "sb_hbar_clip";
1326 signal: "elm,action,scroll";
1328 action: STATE_SET "default" 0.0;
1331 v = get_int(sbvis_v);
1332 v |= get_int(sbalways_v);
1334 emit("do-show-vbar", "");
1335 set_int(sbvis_v, 1);
1337 v = get_int(sbvis_h);
1338 v |= get_int(sbalways_h);
1340 emit("do-show-hbar", "");
1341 set_int(sbvis_h, 1);
1343 v = get_int(sbvis_timer);
1344 if (v > 0) cancel_timer(v);
1345 v = timer(2.0, "timer0", 0);
1346 set_int(sbvis_timer, v);
1351 ///////////////////////////////////////////////////////////////////////////////
1353 name: "elm/ctxpopup/bg/pass_event";
1354 alias: "elm/ctxpopup/bg/extended/entry/pass_event";
1355 alias: "elm/ctxpopup/bg/extended/entry";
1356 alias: "elm/ctxpopup/bg/timepicker";
1357 alias: "elm/ctxpopup/bg/datetime/default";
1364 state: "default" 0.0;
1368 state: "visible" 0.0;
1376 name: "clicked_event";
1377 signal: "mouse,clicked,1";
1379 action: SIGNAL_EMIT "elm,action,click" "";
1383 signal: "elm,state,show";
1385 action: STATE_SET "visible" 0.0;
1390 signal: "elm,state,hide";
1392 action: STATE_SET "default" 0.0;
1397 ///////////////////////////////////////////////////////////////////////////////
1399 name: "elm/ctxpopup/bg/default";
1406 state: "default" 0.0;
1410 state: "visible" 0.0;
1418 name: "clicked_event";
1419 signal: "mouse,clicked,1";
1421 action: SIGNAL_EMIT "elm,action,click" "";
1425 signal: "elm,state,show";
1427 action: STATE_SET "visible" 0.0;
1432 signal: "elm,state,hide";
1434 action: STATE_SET "default" 0.0;
1439 ///////////////////////////////////////////////////////////////////////////////
1441 name: "elm/ctxpopup/base/no_bg_content";
1443 image: "ctxpopup_bg.png" COMP;
1444 image: "ctxpopup_shadow.png" COMP;
1448 name:"frame_shadow_left_top_padding";
1453 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1454 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1461 name:"frame_shadow_right_bottom_padding";
1466 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1467 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1468 rel1{relative: 1 1;}
1475 name: "frame_shadow";
1480 state: "default" 0.0;
1481 rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
1482 rel2 {to:"frame_shadow_right_bottom_padding";}
1484 normal: "ctxpopup_shadow.png";
1485 border: 10 10 10 10;
1488 color: 255 255 255 255;
1492 name: "ctxpopup_frame";
1497 normal: "ctxpopup_bg.png";
1498 border: 10 10 10 10;
1501 rel1 {to:"content_left_top_padding"; relative: 1 1;}
1502 rel2 {to:"content_right_bottom_padding"; relative: 0 0;}
1506 name:"list_shadow_right_bottom_padding";
1511 min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
1512 max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
1516 rel1 {to:"elm.swallow.content"; relative: 1 1;}
1520 name:"content_left_top_padding";
1525 state: "default" 0.0;
1526 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
1527 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
1534 name:"content_right_bottom_padding";
1539 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
1540 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
1541 rel1 { relative: 1 1;}
1542 rel2 { relative: 1 1;}
1549 name: "elm.swallow.content";
1552 state: "default" 0.0;
1553 rel1 {to:"content_left_top_padding"; relative: 1 1;}
1554 rel2 {to:"content_right_bottom_padding"; relative: 0 0;}
1559 ///////////////////////////////////////////////////////////////////////////////
1561 name: "elm/ctxpopup/base/default";
1563 image: "00_popup_bubble_bg.png" COMP;
1564 image: "00_popup_bubble_mask.png" COMP;
1568 name:"frame_shadow_left_top_padding";
1573 state: "default" 0.0;
1574 min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
1575 max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
1576 rel2 { relative: 0 0; }
1583 name:"frame_shadow_right_bottom_padding";
1588 state: "default" 0.0;
1589 min: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
1590 max: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
1591 rel1{relative: 1 1;}
1603 state: "default" 0.0;
1604 rel1 {to:"frame_shadow_left_top_padding";}
1605 rel2 {to:"frame_shadow_right_bottom_padding";}
1606 min: (CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC + CTXPOPUP_SHADOW_LEFT_PADDING + CTXPOPUP_SHADOW_RIGHT_PADDING) 0;
1608 normal: "00_popup_bubble_bg.png";
1609 border: CTXPOPUP_BUBBLE_BG_IMAGE_BORDER;
1614 part { name: "arrow_area_left";
1618 description { state: "default" 0.0;
1620 min: CTXPOPUP_ARROW_SIZE_INC;
1625 to_x:"content_left_top_padding";
1626 to_y: "ctxpopup_frame_left_top";
1630 to_x:"content_left_top_padding";
1631 to_y:"ctxpopup_frame_right_bottom";
1635 part { name: "arrow_area_right";
1639 description { state: "default" 0.0;
1641 min: CTXPOPUP_ARROW_SIZE_INC;
1646 to_x:"content_right_bottom_padding";
1647 to_y:"ctxpopup_frame_left_top";
1651 to_x:"content_right_bottom_padding";
1652 to_y: "ctxpopup_frame_right_bottom";
1656 part { name: "arrow_area_up";
1660 description { state: "default" 0.0;
1662 min: CTXPOPUP_ARROW_SIZE_INC;
1667 to_x: "ctxpopup_frame_left_top";
1668 to_y: "content_left_top_padding";
1672 to_x:"ctxpopup_frame_right_bottom";
1673 to_y: "content_left_top_padding";
1677 part { name: "arrow_area_down";
1681 description { state: "default" 0.0;
1683 min: CTXPOPUP_ARROW_SIZE_INC;
1688 to_x:"ctxpopup_frame_left_top";
1689 to_y:"content_right_bottom_padding";
1693 to_x: "ctxpopup_frame_right_bottom";
1694 to_y:"content_right_bottom_padding";
1698 part { name: "elm.swallow.arrow_up";
1705 confine: "arrow_area_up";
1708 state: "default" 0.0;
1709 min: CTXPOPUP_ARROW_SIZE_INC;
1714 part { name: "elm.swallow.arrow_down";
1721 confine: "arrow_area_down";
1724 state: "default" 0.0;
1725 min: CTXPOPUP_ARROW_SIZE_INC;
1730 part { name: "elm.swallow.arrow_left";
1737 confine: "arrow_area_left";
1740 state: "default" 0.0;
1741 min: CTXPOPUP_ARROW_SIZE_INC;
1746 part { name: "elm.swallow.arrow_right";
1753 confine: "arrow_area_right";
1756 state: "default" 0.0;
1757 min: CTXPOPUP_ARROW_SIZE_INC;
1763 name: "ctxpopup_frame_left_top";
1767 state: "default" 0.0;
1771 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1772 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1773 rel1 {relative: 0 0; to: "content_left_top_padding";}
1777 name: "ctxpopup_frame_right_bottom";
1781 state: "default" 0.0;
1785 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1786 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1787 rel2 {relative: 1 1; to: "content_right_bottom_padding";}
1791 name:"content_left_top_padding";
1796 state: "default" 0.0;
1797 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
1798 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
1799 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
1806 name:"content_right_bottom_padding";
1811 state: "default" 0.0;
1812 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
1813 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
1814 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
1821 name: "elm.swallow.content";
1824 state: "default" 0.0;
1826 rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;}
1827 rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;}
1835 state: "default" 0.0;
1837 rel1 {to:"elm.swallow.content";}
1838 rel2 {to:"elm.swallow.content";}
1840 normal: "00_popup_bubble_mask.png";
1841 border: CTXPOPUP_BUBBLE_MASK_IMAGE_BORDER;
1846 state: "visible" 0.0;
1847 inherit: "default" 0.0;
1849 rel1 {to:"elm.swallow.content";}
1850 rel2 {to:"elm.swallow.content";}
1857 signal: "mouse,down,1";
1858 source: "elm.swallow.content";
1859 action: STATE_SET "visible" 0.0;
1864 signal: "mouse,up,1";
1865 source: "elm.swallow.content";
1866 action: STATE_SET "default" 0.0;
1872 ///////////////////////////////////////////////////////////////////////////////
1873 group { name: "elm/ctxpopup/arrow/default";
1875 image: "00_popup_bubble_tail_left.png" COMP;
1876 image: "00_popup_bubble_tail_right.png" COMP;
1877 image: "00_popup_bubble_tail_top.png" COMP;
1878 image: "00_popup_bubble_tail_bottom.png" COMP;
1882 name: "ctxpopup_arrow";
1886 state: "default" 0.0;
1887 min: CTXPOPUP_ARROW_SIZE_INC;
1888 max: CTXPOPUP_ARROW_SIZE_INC;
1895 min: CTXPOPUP_ARROW_SIZE_INC;
1896 max: CTXPOPUP_ARROW_SIZE_INC;
1900 normal: "00_popup_bubble_tail_left.png";
1905 min: CTXPOPUP_ARROW_SIZE_INC;
1906 max: CTXPOPUP_ARROW_SIZE_INC;
1910 normal: "00_popup_bubble_tail_right.png";
1915 min: CTXPOPUP_ARROW_SIZE_INC;
1916 max: CTXPOPUP_ARROW_SIZE_INC;
1920 normal: "00_popup_bubble_tail_top.png";
1924 state: "bottom" 0.0;
1925 min: CTXPOPUP_ARROW_SIZE_INC;
1926 max: CTXPOPUP_ARROW_SIZE_INC;
1930 normal: "00_popup_bubble_tail_bottom.png";
1937 name: "enable_left_arrow";
1938 signal: "elm,state,left";
1940 action: STATE_SET "left" 0.0;
1941 target: "ctxpopup_arrow";
1944 name: "enable_right_arrow";
1945 signal: "elm,state,right";
1947 action: STATE_SET "right" 0.0;
1948 target: "ctxpopup_arrow";
1951 name: "enable_top_arrow";
1952 signal: "elm,state,top";
1954 action: STATE_SET "top" 0.0;
1955 target: "ctxpopup_arrow";
1958 name: "enable_bottom_arrow";
1959 signal: "elm,state,bottom";
1961 action: STATE_SET "bottom" 0.0;
1962 target: "ctxpopup_arrow";
1966 ///////////////////////////////////////////////////////////////////////////////
1968 name: "elm/ctxpopup/text_style_item/default";
1971 name: "event_blocker";
1975 state: "default" 0.0;
1985 state: "default" 0.0;
1986 color: CTXPOPUP_BG_COLOR_INC;
1988 min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING*2) 1;
1989 max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
1992 state: "clicked" 0.0;
1993 color: CTXPOPUP_BG_PRESS_COLOR_INC;
1997 state: "clicked_separator" 0.0;
1998 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
1999 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2009 state: "default" 0.0;
2010 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2011 rel1 { relative: 1.0 0.0; to_x: "left_padding";}
2012 rel2 { relative: 0.0 1.0; to_x: "right_padding"; offset: 0 0; }
2014 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2015 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2019 state: "visible" 0.0;
2020 inherit: "default" 0.0;
2030 state: "default" 0.0;
2031 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2032 rel1 { relative: 0.0 1.0; to: "separator1";}
2033 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
2036 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2037 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2041 state: "visible" 0.0;
2042 inherit: "default" 0.0;
2047 name: "left_padding";
2052 state: "default" 0.0;
2053 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2054 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2066 state: "default" 0.0;
2067 min: 1 CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2069 rel1 {relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg";}
2070 rel2 {relative: 0.0 1.0; to_x: "right_padding"; to_y: "bg";}
2071 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
2073 font: "Tizen:style=Roman";
2074 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
2077 text_class: "list_item";
2081 state: "compress" 0.0;
2082 inherit: "default" 0.0;
2089 state: "clicked" 0.0;
2090 inherit: "default" 0.0;
2091 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
2094 state: "disabled" 0.0;
2095 inherit: "default" 0.0;
2096 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
2099 state: "compress_disabled" 0.0;
2100 inherit: "compress" 0.0;
2101 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
2105 name: "right_padding";
2110 state: "default" 0.0;
2112 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2113 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2124 state: "default" 0.0;
2138 state: "default" 0.0;
2148 state: "default" 0.0;
2152 state: "disabled" 0.0;
2154 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2160 name: "item_unclick";
2161 signal: "mouse,clicked,1";
2163 action: SIGNAL_EMIT "elm,action,click" "";
2167 signal: "elm,state,disabled";
2172 get_state(PART:"elm.text", st, 30, vl);
2173 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
2174 set_state(PART:"elm.text", "compress_disabled", 0.0);
2176 set_state(PART:"elm.text", "disabled", 0.0);
2178 set_state(PART:"disclip", "disabled", 0.0);
2183 signal: "elm,state,enabled";
2188 get_state(PART:"elm.text", st, 30, vl);
2189 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
2190 set_state(PART:"elm.text", "compress", 0.0);
2192 set_state(PART:"elm.text", "default", 0.0);
2194 set_state(PART:"disclip", "default", 0.0);
2199 signal: "elm,state,default";
2202 set_state(PART:"separator1", "default", 0.0);
2203 set_state(PART:"separator2", "default", 0.0);
2208 signal: "elm,state,compress";
2213 get_state(PART:"disclip", st, 30, vl);
2214 if (!strcmp(st, "disabled"))
2215 set_state(PART:"elm.text", "compress_disabled", 0.0);
2217 set_state(PART:"elm.text", "compress", 0.0);
2222 signal: "elm,state,separator";
2225 set_state(PART:"separator1", "visible", 0.0);
2226 set_state(PART:"separator2", "visible", 0.0);
2230 name: "item_click2";
2231 signal: "mouse,down,1";
2234 set_state(PART:"elm.text", "clicked", 0.0);
2238 get_state(PART:"separator2", st, 30, vl);
2239 if (!strcmp(st, "default"))
2240 set_state(PART:"bg", "clicked", 0.0);
2242 set_state(PART:"bg", "clicked_separator", 0.0);
2250 new Float:dx, Float:dy;
2251 get_drag(PART:"over2", dx, dy);
2254 set_drag(PART:"over2", 0.0, 0.0);
2255 set_state(PART:"elm.text", "compress", 0.0);
2256 set_state(PART:"bg", "default", 0.0);
2258 set_drag(PART:"over2", 0.0, 0.0);
2262 name: "item_unclick2";
2263 signal: "mouse,up,1";
2266 set_drag(PART:"over2", 0.0, 0.0);
2267 set_state(PART:"elm.text", "compress", 0.0);
2268 set_state(PART:"bg", "default", 0.0);
2273 ///////////////////////////////////////////////////////////////////////////////
2275 name: "elm/ctxpopup/text_style_item_horizontal/default";
2278 name: "event_blocker";
2282 state: "default" 0.0;
2292 state: "default" 0.0;
2293 color: CTXPOPUP_BG_COLOR_INC;
2295 min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2298 state: "clicked" 0.0;
2299 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2303 state: "clicked_separator" 0.0;
2304 rel1 { relative: 1.0 0.0; to_x: "separator2"; }
2305 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2315 state: "default" 0.0;
2316 color: CTXPOPUP_HORIZONTAL_SEPARATOR_1_COLOR_INC;
2318 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2319 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2323 state: "visible" 0.0;
2324 inherit: "default" 0.0;
2334 state: "default" 0.0;
2335 color: CTXPOPUP_HORIZONTAL_SEPARATOR_2_COLOR_INC;
2336 rel1 { relative: 1.0 0.0; to: "separator1"; to_y: "bg";}
2338 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2339 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2343 state: "visible" 0.0;
2344 inherit: "default" 0.0;
2349 name: "left_padding";
2354 state: "default" 0.0;
2355 min: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2356 max: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2369 state: "default" 0.0;
2370 min: (CTXPOPUP_TEXT_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ITEM_ICON_PADDING_INC*2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2372 rel1 {relative: 1.0 0.0; to: "left_padding"; }
2373 rel2 {relative: 0.0 1.0; to: "right_padding"; }
2374 color: CTXPOPUP_MAIN_TEXT_COLOR_INC;
2376 font: "Tizen:style=Roman";
2377 size: CTXPOPUP_MAIN_TEXT_SIZE_INC;
2380 text_class: "list_item";
2384 state: "compress" 0.0;
2385 inherit: "default" 0.0;
2392 state: "clicked" 0.0;
2393 inherit: "default" 0.0;
2394 color: CTXPOPUP_MAIN_TEXT_PRESS_COLOR_INC;
2397 state: "disabled" 0.0;
2398 inherit: "default" 0.0;
2399 color: CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC;
2402 state: "compress_disabled" 0.0;
2403 inherit: "compress" 0.0;
2404 color: CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC;
2408 name: "right_padding";
2413 state: "default" 0.0;
2414 min: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2415 max: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2428 state: "default" 0.0;
2442 state: "default" 0.0;
2452 state: "default" 0.0;
2456 state: "disabled" 0.0;
2458 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2464 name: "item_unclick";
2465 signal: "mouse,clicked,1";
2467 action: SIGNAL_EMIT "elm,action,click" "";
2471 signal: "elm,state,disabled";
2476 get_state(PART:"elm.text", st, 30, vl);
2477 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
2478 set_state(PART:"elm.text", "compress_disabled", 0.0);
2480 set_state(PART:"elm.text", "disabled", 0.0);
2482 set_state(PART:"disclip", "disabled", 0.0);
2487 signal: "elm,state,enabled";
2492 get_state(PART:"elm.text", st, 30, vl);
2493 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
2494 set_state(PART:"elm.text", "compress", 0.0);
2496 set_state(PART:"elm.text", "default", 0.0);
2498 set_state(PART:"disclip", "default", 0.0);
2503 signal: "elm,state,default";
2506 set_state(PART:"separator1", "default", 0.0);
2507 set_state(PART:"separator2", "default", 0.0);
2512 signal: "elm,state,compress";
2517 get_state(PART:"disclip", st, 30, vl);
2518 if (!strcmp(st, "disabled"))
2519 set_state(PART:"elm.text", "compress_disabled", 0.0);
2521 set_state(PART:"elm.text", "compress", 0.0);
2526 signal: "elm,state,separator";
2529 set_state(PART:"separator1", "visible", 0.0);
2530 set_state(PART:"separator2", "visible", 0.0);
2534 name: "item_click2";
2535 signal: "mouse,down,1";
2538 set_state(PART:"elm.text", "clicked", 0.0);
2542 get_state(PART:"separator2", st, 30, vl);
2543 if (!strcmp(st, "default"))
2544 set_state(PART:"bg", "clicked", 0.0);
2546 set_state(PART:"bg", "clicked_separator", 0.0);
2554 new Float:dx, Float:dy;
2555 get_drag(PART:"over2", dx, dy);
2558 set_drag(PART:"over2", 0.0, 0.0);
2559 set_state(PART:"elm.text", "compress", 0.0);
2560 set_state(PART:"bg", "default", 0.0);
2562 set_drag(PART:"over2", 0.0, 0.0);
2566 name: "item_unclick2";
2567 signal: "mouse,up,1";
2570 set_drag(PART:"over2", 0.0, 0.0);
2571 set_state(PART:"elm.text", "compress", 0.0);
2572 set_state(PART:"bg", "default", 0.0);
2577 ///////////////////////////////////////////////////////////////////////////////
2579 name: "elm/ctxpopup/icon_style_item/default";
2582 name: "event_blocker";
2586 state: "default" 0.0;
2596 state: "default" 0.0;
2597 color: CTXPOPUP_BG_COLOR_INC;
2599 min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2600 max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2603 state: "clicked" 0.0;
2604 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2608 state: "clicked_separator" 0.0;
2609 rel1 { relative: 1.0 0.0; to_x: "separator2"; }
2610 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2615 name: "left_padding";
2618 min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2619 max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2631 state: "default" 0.0;
2632 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2634 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2635 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2639 state: "visible" 0.0;
2640 inherit: "default" 0.0;
2650 state: "default" 0.0;
2651 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2652 rel1 { relative: 1.0 0.0; to_x: "separator1"; }
2654 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2655 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2659 state: "visible" 0.0;
2660 inherit: "default" 0.0;
2665 name: "elm.swallow.icon";
2669 state: "default" 0.0;
2670 min: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC;
2671 max: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC;
2674 rel1 { relative: 1 0; to_x: "left_padding"; }
2675 rel2 { relative: 0 1; to_x: "right_padding"; }
2679 name: "right_padding";
2682 min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2683 max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2695 state: "default" 0.0;
2709 state: "default" 0.0;
2719 state: "default" 0.0;
2723 state: "disabled" 0.0;
2725 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2732 signal: "elm,state,default";
2735 set_state(PART:"separator1", "default", 0.0);
2736 set_state(PART:"separator2", "default", 0.0);
2741 signal: "elm,state,separator";
2744 set_state(PART:"separator1", "visible", 0.0);
2745 set_state(PART:"separator2", "visible", 0.0);
2749 name: "item_unclick";
2750 signal: "mouse,clicked,1";
2752 action: SIGNAL_EMIT "elm,action,click" "";
2756 signal: "elm,state,disabled";
2758 action: STATE_SET "disabled" 0.0;
2763 signal: "elm,state,enabled";
2765 action: STATE_SET "default" 0.0;
2769 name: "item_click2";
2770 signal: "mouse,down,1";
2775 get_state(PART:"separator2", st, 30, vl);
2776 if (!strcmp(st, "default"))
2777 set_state(PART:"bg", "clicked", 0.0);
2779 set_state(PART:"bg", "clicked_separator", 0.0);
2787 new Float:dx, Float:dy;
2788 get_drag(PART:"over2", dx, dy);
2791 set_drag(PART:"over2", 0.0, 0.0);
2792 set_state(PART:"bg", "default", 0.0);
2794 set_drag(PART:"over2", 0.0, 0.0);
2798 name: "item_unclick2";
2799 signal: "mouse,up,1";
2802 set_drag(PART:"over2", 0.0, 0.0);
2803 set_state(PART:"bg", "default", 0.0);
2808 ///////////////////////////////////////////////////////////////////////////////
2810 name: "elm/ctxpopup/icon_text_style_item/default";
2813 name: "event_blocker";
2817 state: "default" 0.0;
2826 state: "default" 0.0;
2827 color: CTXPOPUP_BG_COLOR_INC;
2831 state: "clicked" 0.0;
2832 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2836 state: "clicked_separator" 0.0;
2837 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
2838 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2843 name:"separator_left_padding";
2848 min: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2849 max: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2856 name:"separator_right_padding";
2861 min: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2862 max: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2869 name: "icon_left_padding";
2873 state: "default" 0.0;
2874 min: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2875 max: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2887 state: "default" 0.0;
2888 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2889 rel1 { relative: 1.0 0.0; to_x: "separator_left_padding";}
2890 rel2 { relative: 0.0 1.0; to_x: "separator_right_padding"; offset: 0 0; }
2892 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2893 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2897 state: "visible" 0.0;
2898 inherit: "default" 0.0;
2908 state: "default" 0.0;
2909 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2910 rel1 { relative: 0.0 1.0; to: "separator1";}
2911 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
2914 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2915 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2919 state: "visible" 0.0;
2920 inherit: "default" 0.0;
2925 name: "elm.swallow.icon";
2929 state: "default" 0.0;
2930 min: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
2931 max: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
2934 rel1 { to:"icon_left_padding"; relative: 1 0; }
2938 name: "icon_right_padding";
2942 state: "default" 0.0;
2943 min: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2944 max: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2948 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
2957 state: "default" 0.0;
2958 min: 1 CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2960 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";}
2961 rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";}
2962 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
2964 font: "Tizen:style=Roman";
2965 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
2968 text_class: "list_item";
2972 state: "compress" 0.0;
2973 inherit: "default" 0.0;
2980 state: "clicked" 0.0;
2981 inherit: "default" 0.0;
2982 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
2985 state: "disabled" 0.0;
2986 inherit: "default" 0.0;
2987 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
2990 state: "compress_disabled" 0.0;
2991 inherit: "compress" 0.0;
2992 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
2996 name: "text_right_padding";
3001 state: "default" 0.0;
3003 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3004 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
3015 state: "default" 0.0;
3029 state: "default" 0.0;
3039 state: "default" 0.0;
3043 state: "disabled" 0.0;
3045 color: CTXPOPUP_ITEM_DISABLED_COLOR;
3051 name: "item_unclick";
3052 signal: "mouse,clicked,1";
3054 action: SIGNAL_EMIT "elm,action,click" "";
3058 signal: "elm,state,disabled";
3063 get_state(PART:"elm.text", st, 30, vl);
3064 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
3065 set_state(PART:"elm.text", "compress_disabled", 0.0);
3067 set_state(PART:"elm.text", "disabled", 0.0);
3069 set_state(PART:"disclip", "disabled", 0.0);
3074 signal: "elm,state,enabled";
3079 get_state(PART:"elm.text", st, 30, vl);
3080 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
3081 set_state(PART:"elm.text", "compress", 0.0);
3083 set_state(PART:"elm.text", "default", 0.0);
3085 set_state(PART:"disclip", "default", 0.0);
3090 signal: "elm,state,default";
3093 set_state(PART:"separator1", "default", 0.0);
3094 set_state(PART:"separator2", "default", 0.0);
3099 signal: "elm,state,compress";
3104 get_state(PART:"disclip", st, 30, vl);
3105 if (!strcmp(st, "disabled"))
3106 set_state(PART:"elm.text", "compress_disabled", 0.0);
3108 set_state(PART:"elm.text", "compress", 0.0);
3113 signal: "elm,state,separator";
3116 set_state(PART:"separator1", "visible", 0.0);
3117 set_state(PART:"separator2", "visible", 0.0);
3121 name: "item_click2";
3122 signal: "mouse,down,1";
3125 set_state(PART:"elm.text", "clicked", 0.0);
3129 get_state(PART:"separator2", st, 30, vl);
3130 if (!strcmp(st, "default"))
3131 set_state(PART:"bg", "clicked", 0.0);
3133 set_state(PART:"bg", "clicked_separator", 0.0);
3141 new Float:dx, Float:dy;
3142 get_drag(PART:"over2", dx, dy);
3145 set_drag(PART:"over2", 0.0, 0.0);
3146 set_state(PART:"elm.text", "compress", 0.0);
3147 set_state(PART:"bg", "default", 0.0);
3149 set_drag(PART:"over2", 0.0, 0.0);
3153 name: "item_unclick2";
3154 signal: "mouse,up,1";
3157 set_drag(PART:"over2", 0.0, 0.0);
3158 set_state(PART:"elm.text", "compress", 0.0);
3159 set_state(PART:"bg", "default", 0.0);
3165 ///////////////////////////////////////////////////////////////////////////////
3167 name: "elm/ctxpopup/base/more/default";
3169 image: "00_popup_bubble_bg.png" COMP;
3170 image: "00_popup_bubble_mask.png" COMP;
3174 name:"frame_shadow_left_top_padding";
3179 state: "default" 0.0;
3180 min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
3181 max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
3182 rel2 { relative: 0 0; }
3189 name:"frame_shadow_right_bottom_padding";
3194 state: "default" 0.0;
3195 min: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
3196 max: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
3197 rel1{relative: 1 1;}
3209 state: "default" 0.0;
3210 rel1 {to:"frame_shadow_left_top_padding";}
3211 rel2 {to:"frame_shadow_right_bottom_padding";}
3212 min: CTXPOPUP_MORE_WIDTH_INC 0;
3213 //max: CTXPOPUP_MORE_WIDTH_INC 806;
3215 normal: "00_popup_bubble_bg.png";
3216 border: CTXPOPUP_BUBBLE_BG_IMAGE_BORDER;
3222 name: "ctxpopup_frame_left_top";
3226 state: "default" 0.0;
3230 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3231 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3232 rel1 {relative: 0 0; to: "content_left_top_padding";}
3236 name: "ctxpopup_frame_right_bottom";
3240 state: "default" 0.0;
3244 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3245 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3246 rel2 {relative: 1 1; to: "content_right_bottom_padding";}
3250 name:"content_left_top_padding";
3255 state: "default" 0.0;
3256 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3257 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3258 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
3265 name:"content_right_bottom_padding";
3270 state: "default" 0.0;
3271 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3272 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3273 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
3280 name: "elm.swallow.content";
3283 state: "default" 0.0;
3285 rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;}
3286 rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;}
3294 state: "default" 0.0;
3296 rel1 {to:"elm.swallow.content";}
3297 rel2 {to:"elm.swallow.content";}
3299 normal: "00_popup_bubble_mask.png";
3300 border: CTXPOPUP_BUBBLE_MASK_IMAGE_BORDER;
3305 state: "visible" 0.0;
3306 inherit: "default" 0.0;
3308 rel1 {to:"elm.swallow.content";}
3309 rel2 {to:"elm.swallow.content";}
3316 signal: "mouse,down,1";
3317 source: "elm.swallow.content";
3318 action: STATE_SET "visible" 0.0;
3323 signal: "mouse,up,1";
3324 source: "elm.swallow.content";
3325 action: STATE_SET "default" 0.0;
3330 ///////////////////////////////////////////////////////////////////////////////
3332 name: "elm/ctxpopup/icon_text_style_item/more/default";
3335 name: "event_blocker";
3339 state: "default" 0.0;
3349 state: "default" 0.0;
3350 color: CTXPOPUP_BG_COLOR_INC;
3352 min: (CTXPOPUP_MORE_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) 1;
3353 max: (CTXPOPUP_MORE_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3356 state: "clicked" 0.0;
3357 color: CTXPOPUP_BG_PRESS_COLOR_INC;
3361 state: "clicked_separator" 0.0;
3362 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
3363 color: CTXPOPUP_BG_PRESS_COLOR_INC;
3368 name:"separator_left_padding";
3373 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3374 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3381 name:"separator_right_padding";
3386 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3387 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3394 name: "icon_left_padding";
3398 state: "default" 0.0;
3399 min: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3400 max: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3412 state: "default" 0.0;
3413 color: CTXPOPUP_SEPARATOR_COLOR_INC;
3414 rel1 { relative: 1.0 0.0; to_x: "separator_left_padding";}
3415 rel2 { relative: 0.0 1.0; to_x: "separator_right_padding"; offset: 0 0; }
3418 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3419 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3423 state: "visible" 0.0;
3424 inherit: "default" 0.0;
3434 state: "default" 0.0;
3435 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
3436 rel1 { relative: 0.0 1.0; to: "separator1"; }
3437 rel2.to: "separator1";
3441 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3442 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3446 state: "visible" 0.0;
3447 inherit: "default" 0.0;
3452 name: "elm.swallow.icon";
3456 state: "default" 0.0;
3457 min: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC;
3458 max: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC;
3461 rel1 { to:"icon_left_padding"; relative: 1 0; }
3465 name: "icon_right_padding";
3469 state: "default" 0.0;
3470 min: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3471 max: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3475 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
3484 state: "default" 0.0;
3485 min: 1 CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3487 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";}
3488 rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";}
3489 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
3491 font: "Tizen:style=Roman";
3492 size: CTXPOPUP_MORE_ITEM_TEXT_SIZE_INC;
3495 text_class: "list_item";
3499 state: "compress" 0.0;
3500 inherit: "default" 0.0;
3507 state: "clicked" 0.0;
3508 inherit: "default" 0.0;
3509 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
3512 state: "disabled" 0.0;
3513 inherit: "default" 0.0;
3514 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3517 state: "compress_disabled" 0.0;
3518 inherit: "compress" 0.0;
3519 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3523 name: "text_right_padding";
3528 state: "default" 0.0;
3530 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3531 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3542 state: "default" 0.0;
3556 state: "default" 0.0;
3566 state: "default" 0.0;
3570 state: "disabled" 0.0;
3572 color: CTXPOPUP_ITEM_DISABLED_COLOR;
3578 name: "item_unclick";
3579 signal: "mouse,clicked,1";
3581 action: SIGNAL_EMIT "elm,action,click" "";
3585 signal: "elm,state,disabled";
3590 get_state(PART:"elm.text", st, 30, vl);
3591 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
3592 set_state(PART:"elm.text", "compress_disabled", 0.0);
3594 set_state(PART:"elm.text", "disabled", 0.0);
3596 set_state(PART:"disclip", "disabled", 0.0);
3601 signal: "elm,state,enabled";
3606 get_state(PART:"elm.text", st, 30, vl);
3607 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
3608 set_state(PART:"elm.text", "compress", 0.0);
3610 set_state(PART:"elm.text", "default", 0.0);
3612 set_state(PART:"disclip", "default", 0.0);
3617 signal: "elm,state,default";
3620 set_state(PART:"separator1", "default", 0.0);
3621 set_state(PART:"separator2", "default", 0.0);
3626 signal: "elm,state,compress";
3631 get_state(PART:"disclip", st, 30, vl);
3632 if (!strcmp(st, "disabled"))
3633 set_state(PART:"elm.text", "compress_disabled", 0.0);
3635 set_state(PART:"elm.text", "compress", 0.0);
3640 signal: "elm,state,separator";
3643 set_state(PART:"separator1", "visible", 0.0);
3644 set_state(PART:"separator2", "visible", 0.0);
3648 name: "item_click2";
3649 signal: "mouse,down,1";
3652 set_state(PART:"elm.text", "clicked", 0.0);
3656 get_state(PART:"separator2", st, 30, vl);
3657 if (!strcmp(st, "default"))
3658 set_state(PART:"bg", "clicked", 0.0);
3660 set_state(PART:"bg", "clicked_separator", 0.0);
3668 new Float:dx, Float:dy;
3669 get_drag(PART:"over2", dx, dy);
3672 set_drag(PART:"over2", 0.0, 0.0);
3673 set_state(PART:"elm.text", "compress", 0.0);
3674 set_state(PART:"bg", "default", 0.0);
3676 set_drag(PART:"over2", 0.0, 0.0);
3680 name: "item_unclick2";
3681 signal: "mouse,up,1";
3684 set_drag(PART:"over2", 0.0, 0.0);
3685 set_state(PART:"elm.text", "compress", 0.0);
3686 set_state(PART:"bg", "default", 0.0);
3692 ///////////////////////////////////////////////////////////////////////////////////////
3693 #define CTXPOPUP_ENTRY_LIST_PADDING_LEFT 3
3694 #define CTXPOPUP_ENTRY_LIST_PADDING_TOP 6
3695 #define CTXPOPUP_ENTRY_LIST_PADDING_RIGHT 3
3696 #define CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM 6
3697 //////////////////////////////////////////////////////////////////////////////////////
3699 name: "elm/ctxpopup/base/extended/entry";
3700 alias: "elm/ctxpopup/base/extended/entry/pass_event";
3702 image: "copy&paste_bg_center.png" COMP;
3703 image: "ctxpopup_shadow.png" COMP;
3707 name:"frame_shadow_left_top_padding";
3712 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3713 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3720 name:"frame_shadow_right_bottom_padding";
3725 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3726 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3727 rel1{relative: 1 1;}
3734 name: "frame_shadow";
3739 state: "default" 0.0;
3740 rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
3741 rel2 {to:"frame_shadow_right_bottom_padding";}
3743 normal: "ctxpopup_shadow.png";
3744 border: 10 10 10 10;
3755 state: "default" 0.0;
3756 rel1 {to:"elm.swallow.content";}
3757 rel2 {to:"elm.swallow.content";}
3759 normal: "copy&paste_bg_center.png";
3760 border: CTXPOPUP_ENTRY_CENTER_IMAGE_BORDER;
3766 name: "arrow_area_left";
3771 state: "default" 0.0;
3773 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
3778 to_y: "ctxpopup_frame_left_top";
3782 to:"ctxpopup_frame_left_bottom";
3787 name: "arrow_area_right";
3791 description { state: "default" 0.0;
3793 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
3798 to:"ctxpopup_frame_right_top";
3802 to_y: "ctxpopup_frame_right_bottom";
3807 name: "arrow_area_up";
3811 description { state: "default" 0.0;
3813 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
3827 name: "arrow_area_down";
3832 state: "default" 0.0;
3834 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
3848 name: "elm.swallow.arrow_up";
3855 confine: "arrow_area_up";
3858 state: "default" 0.0;
3859 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
3865 name: "elm.swallow.arrow_down";
3872 confine: "arrow_area_down";
3875 state: "default" 0.0;
3876 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
3882 name: "elm.swallow.arrow_left";
3889 confine: "arrow_area_left";
3892 state: "default" 0.0;
3893 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
3899 name: "elm.swallow.arrow_right";
3906 confine: "arrow_area_right";
3909 state: "default" 0.0;
3910 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
3916 name: "ctxpopup_frame_left_top";
3922 min: CTXPOPUP_FRAME_CORNER_SIZE;
3923 max: CTXPOPUP_FRAME_CORNER_SIZE;
3927 name: "ctxpopup_frame_right_top";
3933 min: CTXPOPUP_FRAME_CORNER_SIZE;
3934 max: CTXPOPUP_FRAME_CORNER_SIZE;
3938 name: "ctxpopup_frame_left_bottom";
3944 min: CTXPOPUP_FRAME_CORNER_SIZE;
3945 max: CTXPOPUP_FRAME_CORNER_SIZE;
3949 name: "ctxpopup_frame_right_bottom";
3955 min: CTXPOPUP_FRAME_CORNER_SIZE;
3956 max: CTXPOPUP_FRAME_CORNER_SIZE;
3960 name:"list_shadow_right_bottom_padding";
3965 min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
3966 max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
3970 rel1 {to:"elm.swallow.content"; relative: 1 1;}
3974 name:"content_left_top_padding";
3979 state: "default" 0.0;
3980 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
3981 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
3988 name:"content_right_bottom_padding";
3993 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
3994 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
3995 rel1 { relative: 1 1;}
3996 rel2 { relative: 1 1;}
4003 name: "elm.swallow.content";
4006 state: "default" 0.0;
4008 rel1 {to:"ctxpopup_frame_left_top"; relative: 0.5 0.5;}
4009 rel2 {to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
4014 ///////////////////////////////////////////////////////////////////////////////////////
4016 name: "elm/ctxpopup/arrow/extended/entry";
4017 alias: "elm/ctxpopup/arrow/extended/entry/pass_event";
4019 image: "copy&paste_arrow_up.png" COMP;
4020 image: "copy&paste_arrow_left.png" COMP;
4021 image: "copy&paste_arrow_right.png" COMP;
4022 image: "copy&paste_arrow_down.png" COMP;
4026 name: "ctxpopup_arrow";
4030 state: "default" 0.0;
4031 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4032 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4039 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4040 max: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4044 normal: "copy&paste_arrow_left.png";
4049 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4050 max: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4054 normal: "copy&paste_arrow_right.png";
4059 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4060 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4064 normal: "copy&paste_arrow_up.png";
4068 state: "bottom" 0.0;
4069 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4070 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4074 normal: "copy&paste_arrow_down.png";
4081 name: "enable_left_arrow";
4082 signal: "elm,state,left";
4084 action: STATE_SET "left" 0.0;
4085 target: "ctxpopup_arrow";
4088 name: "enable_right_arrow";
4089 signal: "elm,state,right";
4091 action: STATE_SET "right" 0.0;
4092 target: "ctxpopup_arrow";
4095 name: "enable_top_arrow";
4096 signal: "elm,state,top";
4098 action: STATE_SET "top" 0.0;
4099 target: "ctxpopup_arrow";
4102 name: "enable_bottom_arrow";
4103 signal: "elm,state,bottom";
4105 action: STATE_SET "bottom" 0.0;
4106 target: "ctxpopup_arrow";
4110 ///////////////////////////////////////////////////////////////////////////////////////
4111 #define CTXPOPUP_ENTRY_ITEM_BG_PART \
4117 state: "default" 0.0;\
4119 rel1 {to:"left_bg_padding"; relative: 1 0;}\
4120 rel2 {to:"right_bg_padding"; relative: 0 1;}\
4122 normal: "copy&paste_press_center.png";\
4127 state: "clicked" 0.0;\
4128 inherit: "default" 0.0;\
4131 normal: "copy&paste_press_center.png";\
4136 #define CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART \
4138 name: "left_bg_padding";\
4143 state: "default" 0.0;\
4145 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4146 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4149 rel1 { to: "event_blocker"; relative: 0 0; }\
4150 rel2 { to: "event_blocker"; relative: 0 1; }\
4152 normal: "copy&paste_press_left.png";\
4153 border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
4158 state: "clicked" 0.0;\
4159 inherit: "default" 0.0;\
4162 normal: "copy&paste_press_left.png";\
4163 border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
4168 #define CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART \
4170 name: "right_bg_padding";\
4175 state: "default" 0.0;\
4177 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4178 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4181 rel1 { to: "event_blocker"; relative: 1 0; }\
4182 rel2 { to: "event_blocker"; relative: 1 1; }\
4184 normal: "copy&paste_press_right.png";\
4185 border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
4190 state: "clicked" 0.0;\
4191 inherit: "default" 0.0;\
4194 normal: "copy&paste_press_right.png";\
4195 border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
4200 #define CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART \
4202 name: "left_padding";\
4207 state: "default" 0.0;\
4209 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4210 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4215 #define CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART \
4217 name: "right_padding";\
4222 state: "default" 0.0;\
4224 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4225 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4230 #define CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART \
4232 name: "left_separator";\
4237 state: "default" 0.0;\
4239 color: CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_COLOR;\
4240 min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4241 max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4248 state: "vertical" 0.0;\
4249 inherit: "default" 0.0;\
4253 state: "horizontal" 0.0;\
4254 inherit: "default" 0.0;\
4258 #define CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART \
4260 name: "right_separator";\
4265 state: "default" 0.0;\
4267 color: CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_COLOR;\
4268 min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4269 max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4280 state: "vertical" 0.0;\
4281 inherit: "default" 0.0;\
4285 state: "horizontal" 0.0;\
4286 inherit: "default" 0.0;\
4290 ///////////////////////////////////////////////////////////////////////////////////////
4293 name: "elm/ctxpopup/text_style_item/extended/entry";
4294 alias: "elm/ctxpopup/text_style_item/extended/entry/pass_event";
4296 image: "copy&paste_press_center.png" COMP;
4297 image: "copy&paste_press_left.png" COMP;
4298 image: "copy&paste_press_right.png" COMP;
4302 name: "event_blocker";
4306 state: "default" 0.0;
4310 CTXPOPUP_ENTRY_ITEM_BG_PART
4311 CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART
4312 CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART
4313 CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
4314 CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
4315 CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
4316 CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
4323 state: "default" 0.0;
4324 min: 1 CTXPOPUP_ENTRY_ITEM_HEIGHT;
4325 max: CTXPOPUP_ENTRY_ITEM_WIDTH_MAX CTXPOPUP_ENTRY_ITEM_HEIGHT;
4328 rel1 {relative: 1.0 0.0; to: "left_padding";}
4329 rel2 {relative: 0.0 1.0; to: "right_padding";}
4330 color: CTXPOPUP_ENTRY_ITEM_TEXT_COLOR;
4332 font: "Tizen:style=Roman";
4333 size: CTXPOPUP_ENTRY_ITEM_FONT_SIZE;
4336 text_class: "list_item";
4340 state: "clicked" 0.0;
4341 inherit: "default" 0.0;
4342 color: CTXPOPUP_ENTRY_ITEM_TEXT_COLOR;
4350 ignore_flags: ON_HOLD;
4352 state: "default" 0.0;
4362 state: "default" 0.0;
4369 state: "default" 0.0;
4373 state: "disabled" 0.0;
4375 color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
4381 name: "item_unclick";
4382 signal: "mouse,up,1";
4384 action: SIGNAL_EMIT "elm,action,click" "";
4388 signal: "elm,state,disabled";
4390 action: STATE_SET "disabled" 0.0;
4395 signal: "elm,state,enabled";
4397 action: STATE_SET "default" 0.0;
4401 name: "item_click2";
4402 signal: "mouse,down,1";
4405 set_state(PART:"elm.text", "clicked", 0.0);
4406 set_state(PART:"bg", "clicked", 0.0);
4407 set_state(PART:"left_bg_padding", "clicked", 0.0);
4408 set_state(PART:"right_bg_padding", "clicked", 0.0);
4412 name: "item_unclick2";
4413 signal: "mouse,up,1";
4416 set_state(PART:"elm.text", "default", 0.0);
4417 set_state(PART:"bg", "default", 0.0);
4418 set_state(PART:"left_bg_padding", "default", 0.0);
4419 set_state(PART:"right_bg_padding", "default", 0.0);
4424 signal: "elm,state,default";
4427 set_state(PART:"left_separator", "default", 0.0);
4428 set_state(PART:"right_separator", "default", 0.0);
4433 signal: "elm,state,vertical";
4436 set_state(PART:"left_separator", "vertical", 0.0);
4437 set_state(PART:"right_separator", "vertical", 0.0);
4442 signal: "elm,state,horizontal";
4445 set_state(PART:"left_separator", "horizontal", 0.0);
4446 set_state(PART:"right_separator", "horizontal", 0.0);
4451 ///////////////////////////////////////////////////////////////////////////////
4453 name: "elm/ctxpopup/icon_style_item/extended/entry";
4455 image: "copy&paste_press_center.png" COMP;
4456 image: "copy&paste_press_left.png" COMP;
4457 image: "copy&paste_press_right.png" COMP;
4461 name: "event_blocker";
4465 state: "default" 0.0;
4469 CTXPOPUP_ENTRY_ITEM_BG_PART
4470 CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART
4471 CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART
4472 CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
4473 CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
4474 CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
4475 CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
4477 name: "elm.swallow.icon";
4481 state: "default" 0.0;
4487 rel1 {relative: 1.0 0.0; to: "left_padding";}
4488 rel2 {relative: 0.0 1.0; to: "right_padding";}
4492 name: "elm.swallow.icon.paint";
4496 state: "default" 0.0;
4498 color: 255 255 0 255;
4499 rel1 { to: "elm.swallow.icon"; }
4500 rel2 { to: "elm.swallow.icon"; }
4508 ignore_flags: ON_HOLD;
4510 state: "default" 0.0;
4520 state: "default" 0.0;
4527 state: "default" 0.0;
4531 state: "disabled" 0.0;
4533 color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
4539 name: "item_unclick";
4540 signal: "mouse,up,1";
4542 action: SIGNAL_EMIT "elm,action,click" "";
4546 signal: "elm,state,disabled";
4548 action: STATE_SET "disabled" 0.0;
4552 name: "item_click2";
4553 signal: "mouse,down,1";
4556 set_state(PART:"bg", "clicked", 0.0);
4557 set_state(PART:"left_bg_padding", "clicked", 0.0);
4558 set_state(PART:"right_bg_padding", "clicked", 0.0);
4562 name: "item_unclick2";
4563 signal: "mouse,up,1";
4566 set_state(PART:"bg", "default", 0.0);
4567 set_state(PART:"left_bg_padding", "default", 0.0);
4568 set_state(PART:"right_bg_padding", "default", 0.0);
4573 signal: "elm,state,default";
4576 set_state(PART:"left_separator", "default", 0.0);
4577 set_state(PART:"right_separator", "default", 0.0);
4582 signal: "elm,state,vertical";
4585 set_state(PART:"left_separator", "vertical", 0.0);
4586 set_state(PART:"right_separator", "vertical", 0.0);
4591 signal: "elm,state,horizontal";
4594 set_state(PART:"left_separator", "horizontal", 0.0);
4595 set_state(PART:"right_separator", "horizontal", 0.0);
4600 ///////////////////////////////////////////////////////////////////////////////////////
4601 #define CTXPOPUP_TP_TEXT_WIDTH 32
4602 #define CTXPOPUP_TP_PADDING 15
4603 #define CTXPOPUP_TP_FONT_COLOR 231 173 95 255
4604 #define CTXPOPUP_TP_CLICKED_FONT_COLOR 255 255 255 255
4605 #define CTXPOPUP_TP_FONT_SIZE 24
4606 ///////////////////////////////////////////////////////////////////////////////
4608 name: "elm/ctxpopup/base/datetime/default";
4609 alias: "elm/ctxpopup/base/timepicker";
4612 name: "ctxpopup_frame";
4616 color: CTXPOPUP_TP_BG_COLOR_INC;
4617 min: 1 CTXPOPUP_TP_HEIGHT_INC;
4618 rel1 { to: "elm.swallow.content"; }
4619 rel2 { to: "elm.swallow.content"; }
4623 name: "elm.swallow.content";
4627 state: "default" 0.0;
4628 min: 1 CTXPOPUP_TP_HEIGHT_INC;
4631 part { name: "arrow_area_left";
4635 description { state: "default" 0.0;
4642 to_y: "ctxpopup_frame";
4646 to:"ctxpopup_frame";
4650 part { name: "arrow_area_right";
4654 description { state: "default" 0.0;
4661 to:"ctxpopup_frame";
4665 to_y: "ctxpopup_frame";
4669 part { name: "arrow_area_up";
4673 description { state: "default" 0.0;
4680 to_x: "ctxpopup_frame";
4684 to:"ctxpopup_frame";
4688 part { name: "arrow_area_down";
4692 description { state: "default" 0.0;
4699 to:"ctxpopup_frame";
4703 to_x: "ctxpopup_frame";
4707 part { name: "elm.swallow.arrow_up";
4714 confine: "arrow_area_up";
4717 state: "default" 0.0;
4723 part { name: "elm.swallow.arrow_down";
4730 confine: "arrow_area_down";
4733 state: "default" 0.0;
4739 part { name: "elm.swallow.arrow_left";
4746 confine: "arrow_area_left";
4749 state: "default" 0.0;
4755 part { name: "elm.swallow.arrow_right";
4762 confine: "arrow_area_right";
4765 state: "default" 0.0;
4773 ///////////////////////////////////////////////////////////////////////////////
4774 group { name: "elm/ctxpopup/arrow/datetime/default";
4775 alias: "elm/ctxpopup/arrow/timepicker";
4777 image: "timepicker_left_arrow.png" COMP;
4778 image: "timepicker_right_arrow.png" COMP;
4779 image: "timepicker_top_arrow.png" COMP;
4780 image: "timepicker_bottom_arrow.png" COMP;
4784 name: "ctxpopup_arrow";
4788 state: "default" 0.0;
4789 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4790 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4797 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4798 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4802 normal: "timepicker_left_arrow.png";
4807 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4808 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4812 normal: "timepicker_right_arrow.png";
4817 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4818 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4822 normal: "timepicker_top_arrow.png";
4826 state: "bottom" 0.0;
4827 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4828 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4832 normal: "timepicker_bottom_arrow.png";
4839 name: "enable_left_arrow";
4840 signal: "elm,state,left";
4842 action: STATE_SET "left" 0.0;
4843 target: "ctxpopup_arrow";
4846 name: "enable_right_arrow";
4847 signal: "elm,state,right";
4849 action: STATE_SET "right" 0.0;
4850 target: "ctxpopup_arrow";
4853 name: "enable_top_arrow";
4854 signal: "elm,state,top";
4856 action: STATE_SET "top" 0.0;
4857 target: "ctxpopup_arrow";
4860 name: "enable_bottom_arrow";
4861 signal: "elm,state,bottom";
4863 action: STATE_SET "bottom" 0.0;
4864 target: "ctxpopup_arrow";
4868 ///////////////////////////////////////////////////////////////////////////////
4870 name: "elm/ctxpopup/text_style_item/datetime/default";
4871 alias: "elm/ctxpopup/text_style_item/timepicker";
4874 name: "left_padding";
4879 state: "default" 0.0;
4880 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
4881 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
4893 state: "default" 0.0;
4894 min: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
4895 max: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
4898 rel1 {relative: 1.0 0.0; to: "left_padding";}
4899 color: CTXPOPUP_TP_FONT_COLOR;
4901 font: "Tizen:style=Medium";
4902 size: CTXPOPUP_TP_FONT_SIZE;
4905 text_class: "tizen";
4909 state: "clicked" 0.0;
4910 inherit: "default" 0.0;
4911 color: 255 255 255 255;
4915 name: "right_padding";
4919 state: "default" 0.0;
4920 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
4921 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
4923 rel1 {relative: 1.0 0.0; to: "elm.text";}
4932 ignore_flags: ON_HOLD;
4934 state: "default" 0.0;
4944 state: "default" 0.0;
4951 name: "item_unclick";
4952 signal: "mouse,up,1";
4954 action: SIGNAL_EMIT "elm,action,click" "";
4958 signal: "mouse,down,1";
4961 set_state(PART:"elm.text", "clicked", 0.0);
4965 name: "item_unclick2";
4966 signal: "mouse,up,1";
4969 set_state(PART:"elm.text", "default", 0.0);
4974 ///////////////////////////////////////////////////////////////////////////////
4976 name: "elm/ctxpopup/text_style_item/toolbar_segmentedcontrol";
4979 name: "event_blocker";
4983 state: "default" 0.0;
4993 state: "default" 0.0;
4994 color: CTXPOPUP_BG_COLOR_INC;
4996 min: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) 1;
4997 max: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
5000 state: "clicked" 0.0;
5001 color: CTXPOPUP_BG_PRESS_COLOR_INC;
5005 state: "clicked_separator" 0.0;
5006 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
5007 color: CTXPOPUP_BG_PRESS_COLOR_INC;
5017 state: "default" 0.0;
5018 color: CTXPOPUP_SEPARATOR_COLOR_INC;
5019 rel1 { relative: 1.0 0.0; to_x: "left_padding";}
5020 rel2 { relative: 0.0 1.0; to_x: "right_padding"; offset: 0 0;}
5022 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5023 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5027 state: "visible" 0.0;
5028 inherit: "default" 0.0;
5038 state: "default" 0.0;
5039 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
5040 rel1 { relative: 0.0 1.0; to: "separator1";}
5041 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
5044 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5045 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5049 state: "visible" 0.0;
5050 inherit: "default" 0.0;
5055 name: "left_padding";
5060 state: "default" 0.0;
5061 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5062 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
5074 state: "default" 0.0;
5075 min: 1 CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5077 rel1 {relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg";}
5078 rel2 {relative: 0.0 1.0; to_x: "right_padding"; to_y: "bg";}
5079 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
5081 font: "Tizen:style=Roman";
5082 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
5085 text_class: "list_item";
5089 state: "compress" 0.0;
5090 inherit: "default" 0.0;
5097 state: "clicked" 0.0;
5098 inherit: "default" 0.0;
5099 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
5102 state: "disabled" 0.0;
5103 inherit: "default" 0.0;
5104 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
5107 state: "compress_disabled" 0.0;
5108 inherit: "compress" 0.0;
5109 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
5113 name: "right_padding";
5118 state: "default" 0.0;
5120 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5121 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
5132 state: "default" 0.0;
5146 state: "default" 0.0;
5156 state: "default" 0.0;
5160 state: "disabled" 0.0;
5162 color: CTXPOPUP_ITEM_DISABLED_COLOR;
5168 name: "item_unclick";
5169 signal: "mouse,clicked,1";
5171 action: SIGNAL_EMIT "elm,action,click" "";
5175 signal: "elm,state,disabled";
5180 get_state(PART:"elm.text", st, 30, vl);
5181 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
5182 set_state(PART:"elm.text", "compress_disabled", 0.0);
5184 set_state(PART:"elm.text", "disabled", 0.0);
5186 set_state(PART:"disclip", "disabled", 0.0);
5191 signal: "elm,state,enabled";
5196 get_state(PART:"elm.text", st, 30, vl);
5197 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
5198 set_state(PART:"elm.text", "compress", 0.0);
5200 set_state(PART:"elm.text", "default", 0.0);
5202 set_state(PART:"disclip", "default", 0.0);
5207 signal: "elm,state,default";
5210 set_state(PART:"separator1", "default", 0.0);
5211 set_state(PART:"separator2", "default", 0.0);
5216 signal: "elm,state,compress";
5221 get_state(PART:"disclip", st, 30, vl);
5222 if (!strcmp(st, "disabled"))
5223 set_state(PART:"elm.text", "compress_disabled", 0.0);
5225 set_state(PART:"elm.text", "compress", 0.0);
5230 signal: "elm,state,separator";
5233 set_state(PART:"separator1", "visible", 0.0);
5234 set_state(PART:"separator2", "visible", 0.0);
5238 name: "item_click2";
5239 signal: "mouse,down,1";
5242 set_state(PART:"elm.text", "clicked", 0.0);
5246 get_state(PART:"separator2", st, 30, vl);
5247 if (!strcmp(st, "default"))
5248 set_state(PART:"bg", "clicked", 0.0);
5250 set_state(PART:"bg", "clicked_separator", 0.0);
5258 new Float:dx, Float:dy;
5259 get_drag(PART:"over2", dx, dy);
5262 set_drag(PART:"over2", 0.0, 0.0);
5263 set_state(PART:"elm.text", "compress", 0.0);
5264 set_state(PART:"bg", "default", 0.0);
5266 set_drag(PART:"over2", 0.0, 0.0);
5270 name: "item_unclick2";
5271 signal: "mouse,up,1";
5274 set_drag(PART:"over2", 0.0, 0.0);
5275 set_state(PART:"elm.text", "compress", 0.0);
5276 set_state(PART:"bg", "default", 0.0);