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 ///////////////////////////////////////////////////////////////////////////////
36 name: "touch_sound" RAW;
37 source: "button-pressed.wav";
41 name: "elm/ctxpopup/layout/default";
42 max: (CTXPOPUP_WIDTH_MAX_INC+CTXPOPUP_SHADOW_LEFT_PADDING+CTXPOPUP_SHADOW_RIGHT_PADDING) ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*7)+CTXPOPUP_SHADOW_TOP_PADDING+CTXPOPUP_SHADOW_BOTTOM_PADDING+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*12)-CTXPOPUP_CONTENT_PADDING);
50 min: 0 CTXPOPUP_MOVE_PAD_INC;
54 rel1.relative: 0.0 0.0;
55 rel2.relative: 1.0 0.0;
59 inherit: "default" 0.0;
63 inherit: "default" 0.0;
68 name:"bottom_padding";
73 min: 0 CTXPOPUP_MOVE_PAD_INC;
77 rel1.relative: 0.0 1.0;
78 rel2.relative: 1.0 1.0;
81 state: "show_down" 0.0;
82 inherit: "default" 0.0;
86 inherit: "default" 0.0;
96 min: CTXPOPUP_MOVE_PAD_INC 0;
100 rel1.relative: 0.0 0.0;
101 rel2.relative: 0.0 1.0;
104 state: "show_left" 0.0;
105 inherit: "default" 0.0;
108 state: "visible" 0.0;
109 inherit: "default" 0.0;
114 name:"right_padding";
118 state: "default" 0.0;
119 min: CTXPOPUP_MOVE_PAD_INC 0;
123 rel1.relative: 1.0 0.0;
124 rel2.relative: 1.0 1.0;
127 state: "show_right" 0.0;
128 inherit: "default" 0.0;
131 state: "visible" 0.0;
132 inherit: "default" 0.0;
139 clip_to: "layout_clip";
141 state: "default" 0.0;
145 state: "show_up" 0.0;
146 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
147 rel2 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
151 state: "show_down" 0.0;
152 rel1 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
153 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
157 state: "show_left" 0.0;
158 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
159 rel2 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
163 state: "show_right" 0.0;
164 rel1 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
165 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
173 state: "default" 0.0;
174 color: 255 255 255 0;
175 rel1 {to: "swallow"; relative: -0.2 -0.2; }
176 rel2 {to: "swallow"; relative: 1.2 1.2;}
179 state: "show_up" 0.0;
180 inherit: "default" 0.0;
183 state: "show_down" 0.0;
184 inherit: "default" 0.0;
187 state: "show_left" 0.0;
188 inherit: "default" 0.0;
191 state: "show_right" 0.0;
192 inherit: "default" 0.0;
195 state: "visible" 0.0;
196 inherit: "default" 0.0;
197 color: 255 255 255 255;
204 signal: "elm,state,show,up";
206 action: STATE_SET "show_up" 0.0;
208 target: "top_padding";
209 target: "layout_clip";
214 signal: "elm,state,show,down";
216 action: STATE_SET "show_down" 0.0;
218 target: "bottom_padding";
219 target: "layout_clip";
220 after: "showdownend";
224 signal: "elm,state,show,left";
226 action: STATE_SET "show_left" 0.0;
228 target: "left_padding";
229 target: "layout_clip";
230 after: "showleftend";
234 signal: "elm,state,show,right";
236 action: STATE_SET "show_right" 0.0;
238 target: "right_padding";
239 target: "layout_clip";
240 after: "showrightend";
244 action: STATE_SET "visible" 0.0;
245 transition: SIN_FAC 0.33 1.1;
246 target: "top_padding";
247 target: "layout_clip";
251 action: STATE_SET "visible" 0.0;
252 transition: SIN_FAC 0.33 1.1;
253 target: "bottom_padding";
254 target: "layout_clip";
258 action: STATE_SET "visible" 0.0;
259 transition: SIN_FAC 0.33 1.1;
260 target: "left_padding";
261 target: "layout_clip";
264 name: "showrightend";
265 action: STATE_SET "visible" 0.0;
266 transition: SIN_FAC 0.33 1.1;
267 target: "right_padding";
268 target: "layout_clip";
272 signal: "elm,state,hide,up";
274 action: STATE_SET "show_up" 0.0;
276 target: "top_padding";
277 transition: SIN_FAC 0.33 1.1;
278 after: "hidefinished";
282 signal: "elm,state,hide,down";
284 action: STATE_SET "show_down" 0.0;
286 target: "bottom_padding";
287 transition: SIN_FAC 0.33 1.1;
288 after: "hidefinished";
292 signal: "elm,state,hide,left";
294 action: STATE_SET "show_left" 0.0;
296 target: "left_padding";
297 transition: SIN_FAC 0.33 1.1;
298 after: "hidefinished";
302 signal: "elm,state,hide,right";
304 action: STATE_SET "show_right" 0.0;
306 target: "right_padding";
307 transition: SIN_FAC 0.33 1.1;
308 after: "hidefinished";
312 signal: "elm,state,hide,up";
314 action: STATE_SET "default" 0.0;
315 target: "layout_clip";
316 transition: SIN_FAC 0.33 1.1;
317 after: "hidefinished";
320 name: "hidedown_clip";
321 signal: "elm,state,hide,down";
323 action: STATE_SET "default" 0.0;
324 target: "layout_clip";
325 transition: SIN_FAC 0.33 1.1;
326 after: "hidefinished";
329 name: "hideleft_clip";
330 signal: "elm,state,hide,left";
332 action: STATE_SET "default" 0.0;
333 target: "layout_clip";
334 transition: SIN_FAC 0.33 1.1;
335 after: "hidefinished";
338 name: "hideright_clip";
339 signal: "elm,state,hide,right";
341 action: STATE_SET "default" 0.0;
342 target: "layout_clip";
343 transition: SIN_FAC 0.33 1.1;
344 after: "hidefinished";
347 name: "hidefinished";
348 action: SIGNAL_EMIT "elm,action,hide,finished" "";
352 ///////////////////////////////////////////////////////////////////////////////
354 name: "elm/ctxpopup/layout/datetime/default";
355 alias: "elm/ctxpopup/layout/timepicker";
362 state: "default" 0.0;
367 rel1.relative: 0.0 0.0;
368 rel2.relative: 1.0 0.0;
371 state: "show_up" 0.0;
372 inherit: "default" 0.0;
375 state: "visible" 0.0;
376 inherit: "default" 0.0;
381 name:"bottom_padding";
385 state: "default" 0.0;
390 rel1.relative: 0.0 1.0;
391 rel2.relative: 1.0 1.0;
394 state: "show_down" 0.0;
395 inherit: "default" 0.0;
398 state: "visible" 0.0;
399 inherit: "default" 0.0;
408 state: "default" 0.0;
413 rel1.relative: 0.0 0.0;
414 rel2.relative: 0.0 1.0;
417 state: "show_left" 0.0;
418 inherit: "default" 0.0;
421 state: "visible" 0.0;
422 inherit: "default" 0.0;
427 name:"right_padding";
431 state: "default" 0.0;
436 rel1.relative: 1.0 0.0;
437 rel2.relative: 1.0 1.0;
440 state: "show_right" 0.0;
441 inherit: "default" 0.0;
444 state: "visible" 0.0;
445 inherit: "default" 0.0;
452 clip_to: "layout_clip";
454 state: "default" 0.0;
458 state: "show_up" 0.0;
459 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
460 rel2 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
464 state: "show_down" 0.0;
465 rel1 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
466 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
470 state: "show_left" 0.0;
471 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
472 rel2 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
476 state: "show_right" 0.0;
477 rel1 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
478 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
486 state: "default" 0.0;
487 color: 255 255 255 0;
488 rel1 {to: "swallow"; relative: -0.2 -0.2; }
489 rel2 {to: "swallow"; relative: 1.2 1.2;}
492 state: "show_up" 0.0;
493 inherit: "default" 0.0;
496 state: "show_down" 0.0;
497 inherit: "default" 0.0;
500 state: "show_left" 0.0;
501 inherit: "default" 0.0;
504 state: "show_right" 0.0;
505 inherit: "default" 0.0;
508 state: "visible" 0.0;
509 inherit: "default" 0.0;
510 color: 255 255 255 255;
517 signal: "elm,state,show,up";
519 action: STATE_SET "show_up" 0.0;
521 target: "top_padding";
522 target: "layout_clip";
527 signal: "elm,state,show,down";
529 action: STATE_SET "show_down" 0.0;
531 target: "bottom_padding";
532 target: "layout_clip";
533 after: "showdownend";
537 signal: "elm,state,show,left";
539 action: STATE_SET "show_left" 0.0;
541 target: "left_padding";
542 target: "layout_clip";
543 after: "showleftend";
547 signal: "elm,state,show,right";
549 action: STATE_SET "show_right" 0.0;
551 target: "right_padding";
552 target: "layout_clip";
553 after: "showrightend";
557 action: STATE_SET "visible" 0.0;
558 transition:LINEAR 0.25;
559 target: "top_padding";
560 target: "layout_clip";
564 action: STATE_SET "visible" 0.0;
565 transition:LINEAR 0.25;
566 target: "bottom_padding";
567 target: "layout_clip";
571 action: STATE_SET "visible" 0.0;
572 transition:LINEAR 0.25;
573 target: "left_padding";
574 target: "layout_clip";
577 name: "showrightend";
578 action: STATE_SET "visible" 0.0;
579 transition:LINEAR 0.25;
580 target: "right_padding";
581 target: "layout_clip";
585 signal: "elm,state,hide,up";
587 action: STATE_SET "show_up" 0.0;
589 target: "top_padding";
590 transition: LINEAR 0.25;
591 after: "hidefinished";
595 signal: "elm,state,hide,down";
597 action: STATE_SET "show_down" 0.0;
599 target: "bottom_padding";
600 transition: LINEAR 0.25;
601 after: "hidefinished";
605 signal: "elm,state,hide,left";
607 action: STATE_SET "show_left" 0.0;
609 target: "left_padding";
610 transition: LINEAR 0.25;
611 after: "hidefinished";
615 signal: "elm,state,hide,right";
617 action: STATE_SET "show_right" 0.0;
619 target: "right_padding";
620 transition: LINEAR 0.25;
621 after: "hidefinished";
625 signal: "elm,state,hide,up";
627 action: STATE_SET "default" 0.0;
628 target: "layout_clip";
629 transition: LINEAR 0.25;
630 after: "hidefinished";
633 name: "hidedown_clip";
634 signal: "elm,state,hide,down";
636 action: STATE_SET "default" 0.0;
637 target: "layout_clip";
638 transition: LINEAR 0.25;
639 after: "hidefinished";
642 name: "hideleft_clip";
643 signal: "elm,state,hide,left";
645 action: STATE_SET "default" 0.0;
646 target: "layout_clip";
647 transition: LINEAR 0.25;
648 after: "hidefinished";
651 name: "hideright_clip";
652 signal: "elm,state,hide,right";
654 action: STATE_SET "default" 0.0;
655 target: "layout_clip";
656 transition: LINEAR 0.25;
657 after: "hidefinished";
660 name: "hidefinished";
661 action: SIGNAL_EMIT "elm,action,hide,finished" "";
665 ///////////////////////////////////////////////////////////////////////////////
667 name: "elm/ctxpopup/layout/more/default";
668 max: CTXPOPUP_MORE_WIDTH_INC ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*7)+CTXPOPUP_SHADOW_TOP_PADDING+CTXPOPUP_SHADOW_BOTTOM_PADDING+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*12)-CTXPOPUP_CONTENT_PADDING);
675 state: "default" 0.0;
676 min: 0 CTXPOPUP_MOVE_PAD_INC;
680 rel1.relative: 0.0 0.0;
681 rel2.relative: 1.0 0.0;
684 state: "show_up" 0.0;
685 inherit: "default" 0.0;
688 state: "visible" 0.0;
689 inherit: "default" 0.0;
694 name:"bottom_padding";
698 state: "default" 0.0;
699 min: 0 CTXPOPUP_MOVE_PAD_INC;
703 rel1.relative: 0.0 1.0;
704 rel2.relative: 1.0 1.0;
707 state: "show_down" 0.0;
708 inherit: "default" 0.0;
711 state: "visible" 0.0;
712 inherit: "default" 0.0;
721 state: "default" 0.0;
722 min: CTXPOPUP_MOVE_PAD_INC 0;
726 rel1.relative: 0.0 0.0;
727 rel2.relative: 0.0 1.0;
730 state: "show_left" 0.0;
731 inherit: "default" 0.0;
734 state: "visible" 0.0;
735 inherit: "default" 0.0;
740 name:"right_padding";
744 state: "default" 0.0;
745 min: CTXPOPUP_MOVE_PAD_INC 0;
749 rel1.relative: 1.0 0.0;
750 rel2.relative: 1.0 1.0;
753 state: "show_right" 0.0;
754 inherit: "default" 0.0;
757 state: "visible" 0.0;
758 inherit: "default" 0.0;
765 clip_to: "layout_clip";
767 state: "default" 0.0;
768 max: CTXPOPUP_MORE_WIDTH_INC 806;
772 state: "show_up" 0.0;
773 max: CTXPOPUP_MORE_WIDTH_INC 806;
774 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
775 rel2 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
779 state: "show_down" 0.0;
780 max: CTXPOPUP_MORE_WIDTH_INC 806;
781 rel1 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
782 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
786 state: "show_left" 0.0;
787 max: CTXPOPUP_MORE_WIDTH_INC 806;
788 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
789 rel2 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
793 state: "show_right" 0.0;
794 max: CTXPOPUP_MORE_WIDTH_INC 806;
795 rel1 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
796 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
804 state: "default" 0.0;
805 color: 255 255 255 0;
806 rel1 {to: "swallow"; relative: -0.2 -0.2; }
807 rel2 {to: "swallow"; relative: 1.2 1.2;}
810 state: "show_up" 0.0;
811 inherit: "default" 0.0;
814 state: "show_down" 0.0;
815 inherit: "default" 0.0;
818 state: "show_left" 0.0;
819 inherit: "default" 0.0;
822 state: "show_right" 0.0;
823 inherit: "default" 0.0;
826 state: "visible" 0.0;
827 inherit: "default" 0.0;
828 color: 255 255 255 255;
835 signal: "elm,state,show,up";
837 action: STATE_SET "show_up" 0.0;
839 target: "top_padding";
840 target: "layout_clip";
845 signal: "elm,state,show,down";
847 action: STATE_SET "show_down" 0.0;
849 target: "bottom_padding";
850 target: "layout_clip";
851 after: "showdownend";
855 signal: "elm,state,show,left";
857 action: STATE_SET "show_left" 0.0;
859 target: "left_padding";
860 target: "layout_clip";
861 after: "showleftend";
865 signal: "elm,state,show,right";
867 action: STATE_SET "show_right" 0.0;
869 target: "right_padding";
870 target: "layout_clip";
871 after: "showrightend";
875 action: STATE_SET "visible" 0.0;
876 transition: SIN_FAC 0.33 1.1;
877 target: "top_padding";
878 target: "layout_clip";
882 action: STATE_SET "visible" 0.0;
883 transition: SIN_FAC 0.33 1.1;
884 target: "bottom_padding";
885 target: "layout_clip";
889 action: STATE_SET "visible" 0.0;
890 transition: SIN_FAC 0.33 1.1;
891 target: "left_padding";
892 target: "layout_clip";
895 name: "showrightend";
896 action: STATE_SET "visible" 0.0;
897 transition: SIN_FAC 0.33 1.1;
898 target: "right_padding";
899 target: "layout_clip";
903 signal: "elm,state,hide,up";
905 action: STATE_SET "show_up" 0.0;
907 target: "top_padding";
908 transition: SIN_FAC 0.33 1.1;
909 after: "hidefinished";
913 signal: "elm,state,hide,down";
915 action: STATE_SET "show_down" 0.0;
917 target: "bottom_padding";
918 transition: SIN_FAC 0.33 1.1;
919 after: "hidefinished";
923 signal: "elm,state,hide,left";
925 action: STATE_SET "show_left" 0.0;
927 target: "left_padding";
928 transition: SIN_FAC 0.33 1.1;
929 after: "hidefinished";
933 signal: "elm,state,hide,right";
935 action: STATE_SET "show_right" 0.0;
937 target: "right_padding";
938 transition: SIN_FAC 0.33 1.1;
939 after: "hidefinished";
943 signal: "elm,state,hide,up";
945 action: STATE_SET "default" 0.0;
946 target: "layout_clip";
947 transition: SIN_FAC 0.33 1.1;
948 after: "hidefinished";
951 name: "hidedown_clip";
952 signal: "elm,state,hide,down";
954 action: STATE_SET "default" 0.0;
955 target: "layout_clip";
956 transition: SIN_FAC 0.33 1.1;
957 after: "hidefinished";
960 name: "hideleft_clip";
961 signal: "elm,state,hide,left";
963 action: STATE_SET "default" 0.0;
964 target: "layout_clip";
965 transition: SIN_FAC 0.33 1.1;
966 after: "hidefinished";
969 name: "hideright_clip";
970 signal: "elm,state,hide,right";
972 action: STATE_SET "default" 0.0;
973 target: "layout_clip";
974 transition: SIN_FAC 0.33 1.1;
975 after: "hidefinished";
978 name: "hidefinished";
979 action: SIGNAL_EMIT "elm,action,hide,finished" "";
983 ///////////////////////////////////////////////////////////////////////////////
985 name: "elm/scroller/base/ctxpopup";
987 public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
990 v = get_int(sbvis_v);
992 v = get_int(sbalways_v);
994 emit("do-hide-vbar", "");
998 v = get_int(sbvis_h);
1000 v = get_int(sbalways_h);
1002 emit("do-hide-hbar", "");
1003 set_int(sbvis_h, 0);
1006 set_int(sbvis_timer, 0);
1011 image: "00_popup_scroll.png" COMP;
1012 image: "01_scroller.png" COMP;
1021 state: "default" 0.0;
1025 name: "elm.swallow.content";
1030 state: "default" 0.0;
1035 name: "sb_vbar_clip_master";
1039 state: "default" 0.0;
1042 state: "hidden" 0.0;
1044 color: 255 255 255 0;
1048 name: "sb_vbar_clip";
1049 clip_to:"sb_vbar_clip_master";
1054 state: "default" 0.0;
1056 rel2{ to:"clipper"; relative: 1.0 1.0;}
1059 state: "hidden" 0.0;
1061 color: 255 255 255 0;
1065 name: "sb_vbar_padding";
1070 state: "default" 0.0;
1072 min: (CTXPOPUP_SCROLLER_PADDING-CTXPOPUP_CONTENT_PADDING) 0;
1073 max: (CTXPOPUP_SCROLLER_PADDING-CTXPOPUP_CONTENT_PADDING) 0;
1076 rel1 { to:"clipper"; relative: 1.0 0.0; }
1077 rel2 { to:"clipper"; relative: 1.0 1.0; }
1086 state: "default" 0.0;
1090 rel1 { to_x:"sb_vbar_padding"; to_y:"clipper"; relative: 0.0 0.0; }
1091 rel2 { to_x:"sb_vbar_padding"; to_y:"clipper"; relative: 0.0 1.0; }
1095 name: "elm.dragable.vbar";
1096 clip_to: "sb_vbar_clip";
1105 state: "default" 0.0;
1107 min: CTXPOPUP_SCROLLER_MIN_SIZE_INC;
1117 normal: "00_popup_scroll.png";
1124 name: "sb_hbar_clip_master";
1128 state: "default" 0.0;
1131 state: "hidden" 0.0;
1133 color: 255 255 255 0;
1137 name: "sb_hbar_clip";
1138 clip_to: "sb_hbar_clip_master";
1143 state: "default" 0.0;
1145 rel2{ to:"clipper"; relative: 1.0 1.0;}
1148 state: "hidden" 0.0;
1150 color: 255 255 255 0;
1159 state: "default" 0.0;
1163 rel1 {to:"clipper"; relative: 0.0 1.0;}
1164 rel2 {to:"clipper"; relative: 1.0 1.0;}
1168 name: "elm.dragable.hbar";
1169 clip_to: "sb_hbar_clip";
1178 state: "default" 0.0;
1181 rel1 {relative: 0.5 0.5; to: "sb_hbar";}
1182 rel2 {relative: 0.5 0.5; to: "sb_hbar";}
1184 normal: "01_scroller.png";
1197 set_state(PART:"sb_vbar_clip", "hidden", 0.0);
1198 set_state(PART:"sb_hbar_clip", "hidden", 0.0);
1199 set_int(sbvis_v, 0);
1200 set_int(sbvis_h, 0);
1201 set_int(sbalways_v, 0);
1202 set_int(sbalways_h, 0);
1203 set_int(sbvis_timer, 0);
1208 signal: "elm,action,show,vbar";
1210 action: STATE_SET "default" 0.0;
1211 target: "sb_vbar_clip_master";
1215 signal: "elm,action,hide,vbar";
1217 action: STATE_SET "hidden" 0.0;
1218 target: "sb_vbar_clip_master";
1221 name: "vbar_show_always";
1222 signal: "elm,action,show_always,vbar";
1226 v = get_int(sbvis_v);
1227 v |= get_int(sbalways_v);
1229 set_int(sbalways_v, 1);
1230 emit("do-show-vbar", "");
1231 set_int(sbvis_v, 1);
1236 name: "vbar_show_notalways";
1237 signal: "elm,action,show_notalways,vbar";
1241 v = get_int(sbalways_v);
1243 set_int(sbalways_v, 0);
1244 v = get_int(sbvis_v);
1246 emit("do-hide-vbar", "");
1247 set_int(sbvis_v, 0);
1253 name: "sb_vbar_show";
1254 signal: "do-show-vbar";
1256 action: STATE_SET "default" 0.0;
1257 transition: LINEAR 1.0;
1258 target: "sb_vbar_clip";
1261 name: "sb_vbar_hide";
1262 signal: "do-hide-vbar";
1264 action: STATE_SET "hidden" 0.0;
1265 transition: LINEAR 1.0;
1266 target: "sb_vbar_clip";
1270 signal: "elm,action,show,hbar";
1272 action: STATE_SET "default" 0.0;
1273 target: "sb_hbar_clip_master";
1277 signal: "elm,action,hide,hbar";
1279 action: STATE_SET "hidden" 0.0;
1280 target: "sb_hbar_clip_master";
1283 name: "hbar_show_always";
1284 signal: "elm,action,show_always,hbar";
1288 v = get_int(sbvis_h);
1289 v |= get_int(sbalways_h);
1291 set_int(sbalways_h, 1);
1292 emit("do-show-hbar", "");
1293 set_int(sbvis_h, 1);
1298 name: "hbar_show_notalways";
1299 signal: "elm,action,show_notalways,hbar";
1303 v = get_int(sbalways_h);
1305 set_int(sbalways_h, 0);
1306 v = get_int(sbvis_h);
1308 emit("do-hide-hbar", "");
1309 set_int(sbvis_h, 0);
1315 name: "sb_hbar_show";
1316 signal: "do-show-hbar";
1318 action: STATE_SET "default" 0.0;
1319 transition: LINEAR 1.0;
1320 target: "sb_hbar_clip";
1323 name: "sb_hbar_hide";
1324 signal: "do-hide-hbar";
1326 action: STATE_SET "hidden" 0.0;
1327 transition: LINEAR 1.0;
1328 target: "sb_hbar_clip";
1332 signal: "elm,action,scroll";
1334 action: STATE_SET "default" 0.0;
1337 v = get_int(sbvis_v);
1338 v |= get_int(sbalways_v);
1340 emit("do-show-vbar", "");
1341 set_int(sbvis_v, 1);
1343 v = get_int(sbvis_h);
1344 v |= get_int(sbalways_h);
1346 emit("do-show-hbar", "");
1347 set_int(sbvis_h, 1);
1349 v = get_int(sbvis_timer);
1350 if (v > 0) cancel_timer(v);
1351 v = timer(2.0, "timer0", 0);
1352 set_int(sbvis_timer, v);
1357 ///////////////////////////////////////////////////////////////////////////////
1359 name: "elm/ctxpopup/bg/pass_event";
1360 alias: "elm/ctxpopup/bg/extended/entry/pass_event";
1361 alias: "elm/ctxpopup/bg/extended/entry";
1362 alias: "elm/ctxpopup/bg/timepicker";
1363 alias: "elm/ctxpopup/bg/datetime/default";
1370 state: "default" 0.0;
1374 state: "visible" 0.0;
1382 name: "clicked_event";
1383 signal: "mouse,clicked,1";
1385 action: SIGNAL_EMIT "elm,action,click" "";
1389 signal: "elm,state,show";
1391 action: STATE_SET "visible" 0.0;
1396 signal: "elm,state,hide";
1398 action: STATE_SET "default" 0.0;
1403 ///////////////////////////////////////////////////////////////////////////////
1405 name: "elm/ctxpopup/bg/default";
1412 state: "default" 0.0;
1416 state: "visible" 0.0;
1424 name: "clicked_event";
1425 signal: "mouse,clicked,1";
1427 action: SIGNAL_EMIT "elm,action,click" "";
1431 signal: "elm,state,show";
1433 action: STATE_SET "visible" 0.0;
1438 signal: "elm,state,hide";
1440 action: STATE_SET "default" 0.0;
1445 ///////////////////////////////////////////////////////////////////////////////
1447 name: "elm/ctxpopup/base/no_bg_content";
1449 image: "ctxpopup_bg.png" COMP;
1450 image: "ctxpopup_shadow.png" COMP;
1454 name:"frame_shadow_left_top_padding";
1459 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1460 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1467 name:"frame_shadow_right_bottom_padding";
1472 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1473 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1474 rel1{relative: 1 1;}
1481 name: "frame_shadow";
1486 state: "default" 0.0;
1487 rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
1488 rel2 {to:"frame_shadow_right_bottom_padding";}
1490 normal: "ctxpopup_shadow.png";
1491 border: 10 10 10 10;
1494 color: 255 255 255 255;
1498 name: "ctxpopup_frame";
1503 normal: "ctxpopup_bg.png";
1504 border: 10 10 10 10;
1507 rel1 {to:"content_left_top_padding"; relative: 1 1;}
1508 rel2 {to:"content_right_bottom_padding"; relative: 0 0;}
1512 name:"list_shadow_right_bottom_padding";
1517 min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
1518 max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
1522 rel1 {to:"elm.swallow.content"; relative: 1 1;}
1526 name:"content_left_top_padding";
1531 state: "default" 0.0;
1532 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
1533 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
1540 name:"content_right_bottom_padding";
1545 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
1546 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
1547 rel1 { relative: 1 1;}
1548 rel2 { relative: 1 1;}
1555 name: "elm.swallow.content";
1558 state: "default" 0.0;
1559 rel1 {to:"content_left_top_padding"; relative: 1 1;}
1560 rel2 {to:"content_right_bottom_padding"; relative: 0 0;}
1565 ///////////////////////////////////////////////////////////////////////////////
1567 name: "elm/ctxpopup/base/default";
1569 image: "00_popup_bubble_bg.png" COMP;
1570 image: "00_popup_bubble_mask.png" COMP;
1574 name:"frame_shadow_left_top_padding";
1579 state: "default" 0.0;
1580 min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
1581 max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
1582 rel2 { relative: 0 0; }
1589 name:"frame_shadow_right_bottom_padding";
1594 state: "default" 0.0;
1595 min: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
1596 max: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
1597 rel1{relative: 1 1;}
1609 state: "default" 0.0;
1610 rel1 {to:"frame_shadow_left_top_padding";}
1611 rel2 {to:"frame_shadow_right_bottom_padding";}
1612 min: (CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC + CTXPOPUP_SHADOW_LEFT_PADDING + CTXPOPUP_SHADOW_RIGHT_PADDING) 0;
1614 normal: "00_popup_bubble_bg.png";
1615 border: CTXPOPUP_BUBBLE_BG_IMAGE_BORDER;
1620 part { name: "arrow_area_left";
1624 description { state: "default" 0.0;
1626 min: CTXPOPUP_ARROW_SIZE_INC;
1631 to_x:"arrow_left_top_padding";
1632 to_y: "ctxpopup_frame_left_top";
1636 to_x:"arrow_left_top_padding";
1637 to_y:"ctxpopup_frame_right_bottom";
1641 part { name: "arrow_area_right";
1645 description { state: "default" 0.0;
1647 min: CTXPOPUP_ARROW_SIZE_INC;
1652 to_x:"arrow_right_bottom_padding";
1653 to_y:"ctxpopup_frame_left_top";
1657 to_x:"arrow_right_bottom_padding";
1658 to_y: "ctxpopup_frame_right_bottom";
1662 part { name: "arrow_area_up";
1666 description { state: "default" 0.0;
1668 min: CTXPOPUP_ARROW_SIZE_INC;
1673 to_x: "ctxpopup_frame_left_top";
1674 to_y: "arrow_left_top_padding";
1678 to_x:"ctxpopup_frame_right_bottom";
1679 to_y: "arrow_left_top_padding";
1683 part { name: "arrow_area_down";
1687 description { state: "default" 0.0;
1689 min: CTXPOPUP_ARROW_SIZE_INC;
1694 to_x:"ctxpopup_frame_left_top";
1695 to_y:"arrow_right_bottom_padding";
1699 to_x: "ctxpopup_frame_right_bottom";
1700 to_y:"arrow_right_bottom_padding";
1704 part { name: "elm.swallow.arrow_up";
1711 confine: "arrow_area_up";
1714 state: "default" 0.0;
1715 min: CTXPOPUP_ARROW_SIZE_INC;
1720 part { name: "elm.swallow.arrow_down";
1727 confine: "arrow_area_down";
1730 state: "default" 0.0;
1731 min: CTXPOPUP_ARROW_SIZE_INC;
1736 part { name: "elm.swallow.arrow_left";
1743 confine: "arrow_area_left";
1746 state: "default" 0.0;
1747 min: CTXPOPUP_ARROW_SIZE_INC;
1752 part { name: "elm.swallow.arrow_right";
1759 confine: "arrow_area_right";
1762 state: "default" 0.0;
1763 min: CTXPOPUP_ARROW_SIZE_INC;
1769 name: "ctxpopup_frame_left_top";
1773 state: "default" 0.0;
1777 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1778 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1779 rel1 {relative: 0 0; to: "content_left_top_padding";}
1783 name: "ctxpopup_frame_right_bottom";
1787 state: "default" 0.0;
1791 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1792 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1793 rel2 {relative: 1 1; to: "content_right_bottom_padding";}
1797 name:"content_left_top_padding";
1802 state: "default" 0.0;
1803 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
1804 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
1805 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
1812 name:"content_right_bottom_padding";
1817 state: "default" 0.0;
1818 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
1819 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
1820 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
1827 name: "arrow_left_top_padding";
1831 state: "default" 0.0;
1832 min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
1833 max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
1834 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
1840 name: "arrow_right_bottom_padding";
1844 state: "default" 0.0;
1845 min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
1846 max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
1847 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
1853 name: "elm.swallow.content";
1856 state: "default" 0.0;
1858 rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;}
1859 rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;}
1867 state: "default" 0.0;
1869 rel1 {to:"elm.swallow.content";}
1870 rel2 {to:"elm.swallow.content";}
1872 normal: "00_popup_bubble_mask.png";
1873 border: CTXPOPUP_BUBBLE_MASK_IMAGE_BORDER;
1878 state: "visible" 0.0;
1879 inherit: "default" 0.0;
1881 rel1 {to:"elm.swallow.content";}
1882 rel2 {to:"elm.swallow.content";}
1889 signal: "mouse,down,1";
1890 source: "elm.swallow.content";
1891 action: STATE_SET "visible" 0.0;
1896 signal: "mouse,up,1";
1897 source: "elm.swallow.content";
1898 action: STATE_SET "default" 0.0;
1904 ///////////////////////////////////////////////////////////////////////////////
1905 group { name: "elm/ctxpopup/arrow/default";
1906 alias: "elm/ctxpopup/arrow/more/default";
1908 image: "00_popup_bubble_tail_left.png" COMP;
1909 image: "00_popup_bubble_tail_right.png" COMP;
1910 image: "00_popup_bubble_tail_top.png" COMP;
1911 image: "00_popup_bubble_tail_bottom.png" COMP;
1915 name: "ctxpopup_arrow";
1919 state: "default" 0.0;
1920 min: CTXPOPUP_ARROW_SIZE_INC;
1921 max: CTXPOPUP_ARROW_SIZE_INC;
1928 min: CTXPOPUP_ARROW_SIZE_INC;
1929 max: CTXPOPUP_ARROW_SIZE_INC;
1933 normal: "00_popup_bubble_tail_left.png";
1938 min: CTXPOPUP_ARROW_SIZE_INC;
1939 max: CTXPOPUP_ARROW_SIZE_INC;
1943 normal: "00_popup_bubble_tail_right.png";
1948 min: CTXPOPUP_ARROW_SIZE_INC;
1949 max: CTXPOPUP_ARROW_SIZE_INC;
1953 normal: "00_popup_bubble_tail_top.png";
1957 state: "bottom" 0.0;
1958 min: CTXPOPUP_ARROW_SIZE_INC;
1959 max: CTXPOPUP_ARROW_SIZE_INC;
1963 normal: "00_popup_bubble_tail_bottom.png";
1970 name: "enable_left_arrow";
1971 signal: "elm,state,left";
1973 action: STATE_SET "left" 0.0;
1974 target: "ctxpopup_arrow";
1977 name: "enable_right_arrow";
1978 signal: "elm,state,right";
1980 action: STATE_SET "right" 0.0;
1981 target: "ctxpopup_arrow";
1984 name: "enable_top_arrow";
1985 signal: "elm,state,top";
1987 action: STATE_SET "top" 0.0;
1988 target: "ctxpopup_arrow";
1991 name: "enable_bottom_arrow";
1992 signal: "elm,state,bottom";
1994 action: STATE_SET "bottom" 0.0;
1995 target: "ctxpopup_arrow";
1999 ///////////////////////////////////////////////////////////////////////////////
2001 name: "elm/ctxpopup/text_style_item/default";
2003 data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC;
2007 name: "event_blocker";
2011 state: "default" 0.0;
2021 state: "default" 0.0;
2022 color: CTXPOPUP_BG_COLOR_INC;
2024 min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING*2) 1;
2025 max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2028 state: "clicked" 0.0;
2029 inherit: "default" 0.0;
2030 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2033 state: "clicked_separator" 0.0;
2034 inherit: "default" 0.0;
2035 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
2036 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2045 state: "default" 0.0;
2046 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2047 rel1 { relative: 1.0 0.0; to_x: "left_padding";}
2048 rel2 { relative: 0.0 1.0; to_x: "right_padding"; offset: 0 0; }
2050 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2051 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2055 state: "visible" 0.0;
2056 inherit: "default" 0.0;
2066 state: "default" 0.0;
2067 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2068 rel1 { relative: 0.0 1.0; to: "separator1";}
2069 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
2072 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2073 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2077 state: "visible" 0.0;
2078 inherit: "default" 0.0;
2083 name: "left_padding";
2088 state: "default" 0.0;
2089 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2090 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2102 state: "default" 0.0;
2103 min: 1 CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2105 rel1 {relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg";}
2106 rel2 {relative: 0.0 1.0; to_x: "right_padding"; to_y: "bg";}
2107 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
2109 font: "Tizen:style=Roman";
2110 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
2113 text_class: "list_item";
2117 state: "compress" 0.0;
2118 inherit: "default" 0.0;
2125 state: "clicked" 0.0;
2126 inherit: "default" 0.0;
2127 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
2131 state: "disabled" 0.0;
2132 inherit: "default" 0.0;
2133 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
2136 state: "compress_disabled" 0.0;
2137 inherit: "compress" 0.0;
2138 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
2141 state: "ellipsis" 0.0;
2142 inherit: "default" 0.0;
2143 min: CTXPOPUP_TEXT_MAX_INC CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2148 name: "right_padding";
2153 state: "default" 0.0;
2155 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2156 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2167 state: "default" 0.0;
2181 state: "default" 0.0;
2191 state: "default" 0.0;
2195 state: "disabled" 0.0;
2197 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2203 name: "text_ellipsis";
2204 signal: "elm,state,text,ellipsis";
2206 action: STATE_SET "ellipsis" 0.0;
2210 name: "item_unclick";
2211 signal: "mouse,clicked,1";
2213 action: SIGNAL_EMIT "elm,action,click" "";
2218 action: PLAY_SAMPLE "touch_sound" 1.0;
2222 signal: "elm,state,disabled";
2227 get_state(PART:"elm.text", st, 30, vl);
2228 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
2229 set_state(PART:"elm.text", "compress_disabled", 0.0);
2231 set_state(PART:"elm.text", "disabled", 0.0);
2233 set_state(PART:"disclip", "disabled", 0.0);
2238 signal: "elm,state,enabled";
2243 get_state(PART:"elm.text", st, 30, vl);
2244 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
2245 set_state(PART:"elm.text", "compress", 0.0);
2247 set_state(PART:"elm.text", "default", 0.0);
2249 set_state(PART:"disclip", "default", 0.0);
2254 signal: "elm,state,default";
2257 set_state(PART:"separator1", "default", 0.0);
2258 set_state(PART:"separator2", "default", 0.0);
2263 signal: "elm,state,compress";
2268 get_state(PART:"disclip", st, 30, vl);
2269 if (!strcmp(st, "disabled"))
2270 set_state(PART:"elm.text", "compress_disabled", 0.0);
2272 set_state(PART:"elm.text", "compress", 0.0);
2277 signal: "elm,state,separator";
2280 set_state(PART:"separator1", "visible", 0.0);
2281 set_state(PART:"separator2", "visible", 0.0);
2285 name: "item_click2";
2286 signal: "mouse,down,1";
2289 set_state(PART:"elm.text", "clicked", 0.0);
2293 get_state(PART:"separator2", st, 30, vl);
2294 if (!strcmp(st, "default"))
2295 set_state(PART:"bg", "clicked", 0.0);
2297 set_state(PART:"bg", "clicked_separator", 0.0);
2305 new Float:dx, Float:dy;
2306 get_drag(PART:"over2", dx, dy);
2307 if ((abs(dx) > 20) || (abs(dy) > 20))
2309 set_drag(PART:"over2", 0.0, 0.0);
2310 set_state(PART:"elm.text", "compress", 0.0);
2311 set_state(PART:"bg", "default", 0.0);
2313 set_drag(PART:"over2", 0.0, 0.0);
2317 name: "item_unclick2";
2318 signal: "mouse,up,1";
2321 set_drag(PART:"over2", 0.0, 0.0);
2322 set_state(PART:"elm.text", "compress", 0.0);
2323 set_state(PART:"bg", "default", 0.0);
2328 ///////////////////////////////////////////////////////////////////////////////
2330 name: "elm/ctxpopup/text_style_item_horizontal/default";
2333 name: "event_blocker";
2337 state: "default" 0.0;
2347 state: "default" 0.0;
2348 color: CTXPOPUP_BG_COLOR_INC;
2350 min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2353 state: "clicked" 0.0;
2354 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2358 state: "clicked_separator" 0.0;
2359 rel1 { relative: 1.0 0.0; to_x: "separator2"; }
2360 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2370 state: "default" 0.0;
2371 color: CTXPOPUP_HORIZONTAL_SEPARATOR_1_COLOR_INC;
2373 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2374 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2378 state: "visible" 0.0;
2379 inherit: "default" 0.0;
2389 state: "default" 0.0;
2390 color: CTXPOPUP_HORIZONTAL_SEPARATOR_2_COLOR_INC;
2391 rel1 { relative: 1.0 0.0; to: "separator1"; to_y: "bg";}
2393 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2394 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2398 state: "visible" 0.0;
2399 inherit: "default" 0.0;
2404 name: "left_padding";
2409 state: "default" 0.0;
2410 min: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2411 max: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2424 state: "default" 0.0;
2425 min: (CTXPOPUP_TEXT_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ITEM_ICON_PADDING_INC*2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2427 rel1 {relative: 1.0 0.0; to: "left_padding"; }
2428 rel2 {relative: 0.0 1.0; to: "right_padding"; }
2429 color: CTXPOPUP_MAIN_TEXT_COLOR_INC;
2431 font: "Tizen:style=Roman";
2432 size: CTXPOPUP_MAIN_TEXT_SIZE_INC;
2435 text_class: "list_item";
2439 state: "compress" 0.0;
2440 inherit: "default" 0.0;
2447 state: "clicked" 0.0;
2448 inherit: "default" 0.0;
2449 color: CTXPOPUP_MAIN_TEXT_PRESS_COLOR_INC;
2452 state: "disabled" 0.0;
2453 inherit: "default" 0.0;
2454 color: CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC;
2457 state: "compress_disabled" 0.0;
2458 inherit: "compress" 0.0;
2459 color: CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC;
2463 name: "right_padding";
2468 state: "default" 0.0;
2469 min: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2470 max: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2483 state: "default" 0.0;
2497 state: "default" 0.0;
2507 state: "default" 0.0;
2511 state: "disabled" 0.0;
2513 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2519 name: "item_unclick";
2520 signal: "mouse,clicked,1";
2522 action: SIGNAL_EMIT "elm,action,click" "";
2527 action: PLAY_SAMPLE "touch_sound" 1.0;
2531 signal: "elm,state,disabled";
2536 get_state(PART:"elm.text", st, 30, vl);
2537 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
2538 set_state(PART:"elm.text", "compress_disabled", 0.0);
2540 set_state(PART:"elm.text", "disabled", 0.0);
2542 set_state(PART:"disclip", "disabled", 0.0);
2547 signal: "elm,state,enabled";
2552 get_state(PART:"elm.text", st, 30, vl);
2553 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
2554 set_state(PART:"elm.text", "compress", 0.0);
2556 set_state(PART:"elm.text", "default", 0.0);
2558 set_state(PART:"disclip", "default", 0.0);
2563 signal: "elm,state,default";
2566 set_state(PART:"separator1", "default", 0.0);
2567 set_state(PART:"separator2", "default", 0.0);
2572 signal: "elm,state,compress";
2577 get_state(PART:"disclip", st, 30, vl);
2578 if (!strcmp(st, "disabled"))
2579 set_state(PART:"elm.text", "compress_disabled", 0.0);
2581 set_state(PART:"elm.text", "compress", 0.0);
2586 signal: "elm,state,separator";
2589 set_state(PART:"separator1", "visible", 0.0);
2590 set_state(PART:"separator2", "visible", 0.0);
2594 name: "item_click2";
2595 signal: "mouse,down,1";
2598 set_state(PART:"elm.text", "clicked", 0.0);
2602 get_state(PART:"separator2", st, 30, vl);
2603 if (!strcmp(st, "default"))
2604 set_state(PART:"bg", "clicked", 0.0);
2606 set_state(PART:"bg", "clicked_separator", 0.0);
2614 new Float:dx, Float:dy;
2615 get_drag(PART:"over2", dx, dy);
2616 if ((abs(dx) > 20) || (abs(dy) > 20))
2618 set_drag(PART:"over2", 0.0, 0.0);
2619 set_state(PART:"elm.text", "compress", 0.0);
2620 set_state(PART:"bg", "default", 0.0);
2622 set_drag(PART:"over2", 0.0, 0.0);
2626 name: "item_unclick2";
2627 signal: "mouse,up,1";
2630 set_drag(PART:"over2", 0.0, 0.0);
2631 set_state(PART:"elm.text", "compress", 0.0);
2632 set_state(PART:"bg", "default", 0.0);
2637 ///////////////////////////////////////////////////////////////////////////////
2639 name: "elm/ctxpopup/icon_style_item/default";
2642 name: "event_blocker";
2646 state: "default" 0.0;
2656 state: "default" 0.0;
2657 color: CTXPOPUP_BG_COLOR_INC;
2659 min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2660 max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2663 state: "clicked" 0.0;
2664 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2668 state: "clicked_separator" 0.0;
2669 rel1 { relative: 1.0 0.0; to_x: "separator2"; }
2670 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2675 name: "left_padding";
2678 min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2679 max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2691 state: "default" 0.0;
2692 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2694 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2695 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2699 state: "visible" 0.0;
2700 inherit: "default" 0.0;
2710 state: "default" 0.0;
2711 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2712 rel1 { relative: 1.0 0.0; to_x: "separator1"; }
2714 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2715 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2719 state: "visible" 0.0;
2720 inherit: "default" 0.0;
2725 name: "elm.swallow.icon";
2729 state: "default" 0.0;
2730 min: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC;
2731 max: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC;
2734 rel1 { relative: 1 0; to_x: "left_padding"; }
2735 rel2 { relative: 0 1; to_x: "right_padding"; }
2739 name: "right_padding";
2742 min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2743 max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2755 state: "default" 0.0;
2769 state: "default" 0.0;
2779 state: "default" 0.0;
2783 state: "disabled" 0.0;
2785 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2792 signal: "elm,state,default";
2795 set_state(PART:"separator1", "default", 0.0);
2796 set_state(PART:"separator2", "default", 0.0);
2801 signal: "elm,state,separator";
2804 set_state(PART:"separator1", "visible", 0.0);
2805 set_state(PART:"separator2", "visible", 0.0);
2809 name: "item_unclick";
2810 signal: "mouse,clicked,1";
2812 action: SIGNAL_EMIT "elm,action,click" "";
2817 action: PLAY_SAMPLE "touch_sound" 1.0;
2821 signal: "elm,state,disabled";
2823 action: STATE_SET "disabled" 0.0;
2828 signal: "elm,state,enabled";
2830 action: STATE_SET "default" 0.0;
2834 name: "item_click2";
2835 signal: "mouse,down,1";
2840 get_state(PART:"separator2", st, 30, vl);
2841 if (!strcmp(st, "default"))
2842 set_state(PART:"bg", "clicked", 0.0);
2844 set_state(PART:"bg", "clicked_separator", 0.0);
2852 new Float:dx, Float:dy;
2853 get_drag(PART:"over2", dx, dy);
2854 if ((abs(dx) > 20) || (abs(dy) > 20))
2856 set_drag(PART:"over2", 0.0, 0.0);
2857 set_state(PART:"bg", "default", 0.0);
2859 set_drag(PART:"over2", 0.0, 0.0);
2863 name: "item_unclick2";
2864 signal: "mouse,up,1";
2867 set_drag(PART:"over2", 0.0, 0.0);
2868 set_state(PART:"bg", "default", 0.0);
2873 ///////////////////////////////////////////////////////////////////////////////
2875 name: "elm/ctxpopup/icon_text_style_item/default";
2877 data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC;
2881 name: "event_blocker";
2885 state: "default" 0.0;
2894 state: "default" 0.0;
2895 color: CTXPOPUP_BG_COLOR_INC;
2899 state: "clicked" 0.0;
2900 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2904 state: "clicked_separator" 0.0;
2905 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
2906 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2911 name:"separator_left_padding";
2916 min: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2917 max: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2924 name:"separator_right_padding";
2929 min: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2930 max: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2937 name: "icon_left_padding";
2941 state: "default" 0.0;
2942 min: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2943 max: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2955 state: "default" 0.0;
2956 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2957 rel1 { relative: 1.0 0.0; to_x: "separator_left_padding";}
2958 rel2 { relative: 0.0 1.0; to_x: "separator_right_padding"; offset: 0 0; }
2960 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2961 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2965 state: "visible" 0.0;
2966 inherit: "default" 0.0;
2976 state: "default" 0.0;
2977 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2978 rel1 { relative: 0.0 1.0; to: "separator1";}
2979 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
2982 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2983 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2987 state: "visible" 0.0;
2988 inherit: "default" 0.0;
2993 name: "elm.swallow.icon";
2997 state: "default" 0.0;
2998 min: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
2999 max: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
3002 rel1 { to:"icon_left_padding"; relative: 1 0; }
3006 name: "icon_right_padding";
3010 state: "default" 0.0;
3011 min: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3012 max: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_HEIGHT_MAX_INC;
3016 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
3025 state: "default" 0.0;
3026 min: 1 CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3028 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";}
3029 rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";}
3030 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
3032 font: "Tizen:style=Roman";
3033 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
3036 text_class: "list_item";
3040 state: "compress" 0.0;
3041 inherit: "default" 0.0;
3048 state: "clicked" 0.0;
3049 inherit: "default" 0.0;
3050 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
3054 state: "disabled" 0.0;
3055 inherit: "default" 0.0;
3056 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3059 state: "compress_disabled" 0.0;
3060 inherit: "compress" 0.0;
3061 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3064 state: "ellipsis" 0.0;
3065 inherit: "default" 0.0;
3066 min: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_ICON_WIDTH_INC-(CTXPOPUP_ITEM_ICON_PADDING_INC*2)) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3071 name: "text_right_padding";
3076 state: "default" 0.0;
3078 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3079 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
3090 state: "default" 0.0;
3104 state: "default" 0.0;
3114 state: "default" 0.0;
3118 state: "disabled" 0.0;
3120 color: CTXPOPUP_ITEM_DISABLED_COLOR;
3126 name: "text_ellipsis";
3127 signal: "elm,state,text,ellipsis";
3129 action: STATE_SET "ellipsis" 0.0;
3133 name: "item_unclick";
3134 signal: "mouse,clicked,1";
3136 action: SIGNAL_EMIT "elm,action,click" "";
3141 action: PLAY_SAMPLE "touch_sound" 1.0;
3145 signal: "elm,state,disabled";
3150 get_state(PART:"elm.text", st, 30, vl);
3151 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
3152 set_state(PART:"elm.text", "compress_disabled", 0.0);
3154 set_state(PART:"elm.text", "disabled", 0.0);
3156 set_state(PART:"disclip", "disabled", 0.0);
3161 signal: "elm,state,enabled";
3166 get_state(PART:"elm.text", st, 30, vl);
3167 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
3168 set_state(PART:"elm.text", "compress", 0.0);
3170 set_state(PART:"elm.text", "default", 0.0);
3172 set_state(PART:"disclip", "default", 0.0);
3177 signal: "elm,state,default";
3180 set_state(PART:"separator1", "default", 0.0);
3181 set_state(PART:"separator2", "default", 0.0);
3186 signal: "elm,state,compress";
3191 get_state(PART:"disclip", st, 30, vl);
3192 if (!strcmp(st, "disabled"))
3193 set_state(PART:"elm.text", "compress_disabled", 0.0);
3195 set_state(PART:"elm.text", "compress", 0.0);
3200 signal: "elm,state,separator";
3203 set_state(PART:"separator1", "visible", 0.0);
3204 set_state(PART:"separator2", "visible", 0.0);
3208 name: "item_click2";
3209 signal: "mouse,down,1";
3212 set_state(PART:"elm.text", "clicked", 0.0);
3216 get_state(PART:"separator2", st, 30, vl);
3217 if (!strcmp(st, "default"))
3218 set_state(PART:"bg", "clicked", 0.0);
3220 set_state(PART:"bg", "clicked_separator", 0.0);
3228 new Float:dx, Float:dy;
3229 get_drag(PART:"over2", dx, dy);
3230 if ((abs(dx) > 20) || (abs(dy) > 20))
3232 set_drag(PART:"over2", 0.0, 0.0);
3233 set_state(PART:"elm.text", "compress", 0.0);
3234 set_state(PART:"bg", "default", 0.0);
3236 set_drag(PART:"over2", 0.0, 0.0);
3240 name: "item_unclick2";
3241 signal: "mouse,up,1";
3244 set_drag(PART:"over2", 0.0, 0.0);
3245 set_state(PART:"elm.text", "compress", 0.0);
3246 set_state(PART:"bg", "default", 0.0);
3252 ///////////////////////////////////////////////////////////////////////////////
3254 name: "elm/ctxpopup/base/more/default";
3256 image: "00_popup_bubble_bg.png" COMP;
3257 image: "00_popup_bubble_mask.png" COMP;
3261 name:"frame_shadow_left_top_padding";
3266 state: "default" 0.0;
3267 min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
3268 max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
3269 rel2 { relative: 0 0; }
3276 name:"frame_shadow_right_bottom_padding";
3281 state: "default" 0.0;
3282 min: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
3283 max: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
3284 rel1{relative: 1 1;}
3296 state: "default" 0.0;
3297 rel1 {to:"frame_shadow_left_top_padding";}
3298 rel2 {to:"frame_shadow_right_bottom_padding";}
3299 min: CTXPOPUP_MORE_WIDTH_INC 0;
3301 normal: "00_popup_bubble_bg.png";
3302 border: CTXPOPUP_BUBBLE_BG_IMAGE_BORDER;
3307 part { name: "arrow_area_left";
3311 description { state: "default" 0.0;
3313 min: CTXPOPUP_ARROW_SIZE_INC;
3318 to_x:"arrow_left_top_padding";
3319 to_y: "ctxpopup_frame_left_top";
3323 to_x:"arrow_left_top_padding";
3324 to_y:"ctxpopup_frame_right_bottom";
3328 part { name: "arrow_area_right";
3332 description { state: "default" 0.0;
3334 min: CTXPOPUP_ARROW_SIZE_INC;
3339 to_x:"arrow_right_bottom_padding";
3340 to_y:"ctxpopup_frame_left_top";
3344 to_x:"arrow_right_bottom_padding";
3345 to_y: "ctxpopup_frame_right_bottom";
3349 part { name: "arrow_area_up";
3353 description { state: "default" 0.0;
3355 min: CTXPOPUP_ARROW_SIZE_INC;
3360 to_x: "ctxpopup_frame_left_top";
3361 to_y: "arrow_left_top_padding";
3365 to_x:"ctxpopup_frame_right_bottom";
3366 to_y: "arrow_left_top_padding";
3370 part { name: "arrow_area_down";
3374 description { state: "default" 0.0;
3376 min: CTXPOPUP_ARROW_SIZE_INC;
3381 to_x:"ctxpopup_frame_left_top";
3382 to_y:"arrow_right_bottom_padding";
3386 to_x: "ctxpopup_frame_right_bottom";
3387 to_y:"arrow_right_bottom_padding";
3391 part { name: "elm.swallow.arrow_up";
3398 confine: "arrow_area_up";
3401 state: "default" 0.0;
3402 min: CTXPOPUP_ARROW_SIZE_INC;
3407 part { name: "elm.swallow.arrow_down";
3414 confine: "arrow_area_down";
3417 state: "default" 0.0;
3418 min: CTXPOPUP_ARROW_SIZE_INC;
3423 part { name: "elm.swallow.arrow_left";
3430 confine: "arrow_area_left";
3433 state: "default" 0.0;
3434 min: CTXPOPUP_ARROW_SIZE_INC;
3439 part { name: "elm.swallow.arrow_right";
3446 confine: "arrow_area_right";
3449 state: "default" 0.0;
3450 min: CTXPOPUP_ARROW_SIZE_INC;
3456 name: "ctxpopup_frame_left_top";
3460 state: "default" 0.0;
3464 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3465 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3466 rel1 {relative: 0 0; to: "content_left_top_padding";}
3470 name: "ctxpopup_frame_right_bottom";
3474 state: "default" 0.0;
3478 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3479 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3480 rel2 {relative: 1 1; to: "content_right_bottom_padding";}
3484 name:"content_left_top_padding";
3489 state: "default" 0.0;
3490 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3491 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3492 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
3499 name:"content_right_bottom_padding";
3504 state: "default" 0.0;
3505 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3506 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3507 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
3514 name: "arrow_left_top_padding";
3518 state: "default" 0.0;
3519 min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
3520 max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
3521 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
3527 name: "arrow_right_bottom_padding";
3531 state: "default" 0.0;
3532 min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
3533 max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
3534 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
3540 name: "elm.swallow.content";
3543 state: "default" 0.0;
3545 rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;}
3546 rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;}
3554 state: "default" 0.0;
3556 rel1 {to:"elm.swallow.content";}
3557 rel2 {to:"elm.swallow.content";}
3559 normal: "00_popup_bubble_mask.png";
3560 border: CTXPOPUP_BUBBLE_MASK_IMAGE_BORDER;
3565 state: "visible" 0.0;
3566 inherit: "default" 0.0;
3568 rel1 {to:"elm.swallow.content";}
3569 rel2 {to:"elm.swallow.content";}
3576 signal: "mouse,down,1";
3577 source: "elm.swallow.content";
3578 action: STATE_SET "visible" 0.0;
3583 signal: "mouse,up,1";
3584 source: "elm.swallow.content";
3585 action: STATE_SET "default" 0.0;
3590 ///////////////////////////////////////////////////////////////////////////////
3592 name: "elm/ctxpopup/icon_text_style_item/more/default";
3595 name: "event_blocker";
3599 state: "default" 0.0;
3609 state: "default" 0.0;
3610 color: CTXPOPUP_BG_COLOR_INC;
3612 min: (CTXPOPUP_MORE_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) 1;
3613 max: (CTXPOPUP_MORE_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3616 state: "clicked" 0.0;
3617 color: CTXPOPUP_BG_PRESS_COLOR_INC;
3621 state: "clicked_separator" 0.0;
3622 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
3623 color: CTXPOPUP_BG_PRESS_COLOR_INC;
3628 name:"separator_left_padding";
3633 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3634 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3641 name:"separator_right_padding";
3646 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3647 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3654 name: "icon_left_padding";
3658 state: "default" 0.0;
3659 min: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3660 max: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3672 state: "default" 0.0;
3673 color: CTXPOPUP_SEPARATOR_COLOR_INC;
3674 rel1 { relative: 1.0 0.0; to_x: "separator_left_padding";}
3675 rel2 { relative: 0.0 1.0; to_x: "separator_right_padding"; offset: 0 0; }
3678 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3679 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3683 state: "visible" 0.0;
3684 inherit: "default" 0.0;
3694 state: "default" 0.0;
3695 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
3696 rel1 { relative: 0.0 1.0; to: "separator1"; }
3697 rel2.to: "separator1";
3701 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3702 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3706 state: "visible" 0.0;
3707 inherit: "default" 0.0;
3712 name: "elm.swallow.icon";
3716 state: "default" 0.0;
3717 min: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC;
3718 max: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC;
3721 rel1 { to:"icon_left_padding"; relative: 1 0; }
3725 name: "icon_right_padding";
3729 state: "default" 0.0;
3730 min: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3731 max: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3735 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
3744 state: "default" 0.0;
3745 min: 1 CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3747 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";}
3748 rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";}
3749 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
3751 font: "Tizen:style=Roman";
3752 size: CTXPOPUP_MORE_ITEM_TEXT_SIZE_INC;
3755 text_class: "list_item";
3759 state: "compress" 0.0;
3760 inherit: "default" 0.0;
3767 state: "clicked" 0.0;
3768 inherit: "default" 0.0;
3769 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
3772 state: "disabled" 0.0;
3773 inherit: "default" 0.0;
3774 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3777 state: "compress_disabled" 0.0;
3778 inherit: "compress" 0.0;
3779 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3783 name: "text_right_padding";
3788 state: "default" 0.0;
3790 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3791 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3802 state: "default" 0.0;
3816 state: "default" 0.0;
3826 state: "default" 0.0;
3830 state: "disabled" 0.0;
3832 color: CTXPOPUP_ITEM_DISABLED_COLOR;
3838 name: "item_unclick";
3839 signal: "mouse,clicked,1";
3841 action: SIGNAL_EMIT "elm,action,click" "";
3846 action: PLAY_SAMPLE "touch_sound" 1.0;
3850 signal: "elm,state,disabled";
3855 get_state(PART:"elm.text", st, 30, vl);
3856 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
3857 set_state(PART:"elm.text", "compress_disabled", 0.0);
3859 set_state(PART:"elm.text", "disabled", 0.0);
3861 set_state(PART:"disclip", "disabled", 0.0);
3866 signal: "elm,state,enabled";
3871 get_state(PART:"elm.text", st, 30, vl);
3872 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
3873 set_state(PART:"elm.text", "compress", 0.0);
3875 set_state(PART:"elm.text", "default", 0.0);
3877 set_state(PART:"disclip", "default", 0.0);
3882 signal: "elm,state,default";
3885 set_state(PART:"separator1", "default", 0.0);
3886 set_state(PART:"separator2", "default", 0.0);
3891 signal: "elm,state,compress";
3896 get_state(PART:"disclip", st, 30, vl);
3897 if (!strcmp(st, "disabled"))
3898 set_state(PART:"elm.text", "compress_disabled", 0.0);
3900 set_state(PART:"elm.text", "compress", 0.0);
3905 signal: "elm,state,separator";
3908 set_state(PART:"separator1", "visible", 0.0);
3909 set_state(PART:"separator2", "visible", 0.0);
3913 name: "item_click2";
3914 signal: "mouse,down,1";
3917 set_state(PART:"elm.text", "clicked", 0.0);
3921 get_state(PART:"separator2", st, 30, vl);
3922 if (!strcmp(st, "default"))
3923 set_state(PART:"bg", "clicked", 0.0);
3925 set_state(PART:"bg", "clicked_separator", 0.0);
3933 new Float:dx, Float:dy;
3934 get_drag(PART:"over2", dx, dy);
3935 if ((abs(dx) > 20) || (abs(dy) > 20))
3937 set_drag(PART:"over2", 0.0, 0.0);
3938 set_state(PART:"elm.text", "compress", 0.0);
3939 set_state(PART:"bg", "default", 0.0);
3941 set_drag(PART:"over2", 0.0, 0.0);
3945 name: "item_unclick2";
3946 signal: "mouse,up,1";
3949 set_drag(PART:"over2", 0.0, 0.0);
3950 set_state(PART:"elm.text", "compress", 0.0);
3951 set_state(PART:"bg", "default", 0.0);
3957 ///////////////////////////////////////////////////////////////////////////////////////
3958 #define CTXPOPUP_ENTRY_LIST_PADDING_LEFT 3
3959 #define CTXPOPUP_ENTRY_LIST_PADDING_TOP 6
3960 #define CTXPOPUP_ENTRY_LIST_PADDING_RIGHT 3
3961 #define CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM 6
3962 //////////////////////////////////////////////////////////////////////////////////////
3964 name: "elm/ctxpopup/base/extended/entry";
3965 alias: "elm/ctxpopup/base/extended/entry/pass_event";
3967 image: "copy&paste_bg_center.png" COMP;
3968 image: "ctxpopup_shadow.png" COMP;
3972 name:"frame_shadow_left_top_padding";
3977 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3978 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3985 name:"frame_shadow_right_bottom_padding";
3990 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3991 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3992 rel1{relative: 1 1;}
3999 name: "frame_shadow";
4004 state: "default" 0.0;
4005 rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
4006 rel2 {to:"frame_shadow_right_bottom_padding";}
4008 normal: "ctxpopup_shadow.png";
4009 border: 10 10 10 10;
4020 state: "default" 0.0;
4021 rel1 {to:"elm.swallow.content";}
4022 rel2 {to:"elm.swallow.content";}
4024 normal: "copy&paste_bg_center.png";
4025 border: CTXPOPUP_ENTRY_CENTER_IMAGE_BORDER;
4031 name: "arrow_area_left";
4036 state: "default" 0.0;
4038 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
4043 to_y: "ctxpopup_frame_left_top";
4047 to:"ctxpopup_frame_left_bottom";
4052 name: "arrow_area_right";
4056 description { state: "default" 0.0;
4058 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
4063 to:"ctxpopup_frame_right_top";
4067 to_y: "ctxpopup_frame_right_bottom";
4072 name: "arrow_area_up";
4076 description { state: "default" 0.0;
4078 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4092 name: "arrow_area_down";
4097 state: "default" 0.0;
4099 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4113 name: "elm.swallow.arrow_up";
4120 confine: "arrow_area_up";
4123 state: "default" 0.0;
4124 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4130 name: "elm.swallow.arrow_down";
4137 confine: "arrow_area_down";
4140 state: "default" 0.0;
4141 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4147 name: "elm.swallow.arrow_left";
4154 confine: "arrow_area_left";
4157 state: "default" 0.0;
4158 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
4164 name: "elm.swallow.arrow_right";
4171 confine: "arrow_area_right";
4174 state: "default" 0.0;
4175 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
4181 name: "ctxpopup_frame_left_top";
4187 min: CTXPOPUP_FRAME_CORNER_SIZE;
4188 max: CTXPOPUP_FRAME_CORNER_SIZE;
4192 name: "ctxpopup_frame_right_top";
4198 min: CTXPOPUP_FRAME_CORNER_SIZE;
4199 max: CTXPOPUP_FRAME_CORNER_SIZE;
4203 name: "ctxpopup_frame_left_bottom";
4209 min: CTXPOPUP_FRAME_CORNER_SIZE;
4210 max: CTXPOPUP_FRAME_CORNER_SIZE;
4214 name: "ctxpopup_frame_right_bottom";
4220 min: CTXPOPUP_FRAME_CORNER_SIZE;
4221 max: CTXPOPUP_FRAME_CORNER_SIZE;
4225 name:"list_shadow_right_bottom_padding";
4230 min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
4231 max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
4235 rel1 {to:"elm.swallow.content"; relative: 1 1;}
4239 name:"content_left_top_padding";
4244 state: "default" 0.0;
4245 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4246 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4253 name:"content_right_bottom_padding";
4258 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4259 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4260 rel1 { relative: 1 1;}
4261 rel2 { relative: 1 1;}
4268 name: "elm.swallow.content";
4271 state: "default" 0.0;
4273 rel1 {to:"ctxpopup_frame_left_top"; relative: 0.5 0.5;}
4274 rel2 {to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
4279 ///////////////////////////////////////////////////////////////////////////////////////
4281 name: "elm/ctxpopup/arrow/extended/entry";
4282 alias: "elm/ctxpopup/arrow/extended/entry/pass_event";
4284 image: "copy&paste_arrow_up.png" COMP;
4285 image: "copy&paste_arrow_left.png" COMP;
4286 image: "copy&paste_arrow_right.png" COMP;
4287 image: "copy&paste_arrow_down.png" COMP;
4291 name: "ctxpopup_arrow";
4295 state: "default" 0.0;
4296 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4297 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4304 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4305 max: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4309 normal: "copy&paste_arrow_left.png";
4314 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4315 max: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4319 normal: "copy&paste_arrow_right.png";
4324 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4325 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4329 normal: "copy&paste_arrow_up.png";
4333 state: "bottom" 0.0;
4334 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4335 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4339 normal: "copy&paste_arrow_down.png";
4346 name: "enable_left_arrow";
4347 signal: "elm,state,left";
4349 action: STATE_SET "left" 0.0;
4350 target: "ctxpopup_arrow";
4353 name: "enable_right_arrow";
4354 signal: "elm,state,right";
4356 action: STATE_SET "right" 0.0;
4357 target: "ctxpopup_arrow";
4360 name: "enable_top_arrow";
4361 signal: "elm,state,top";
4363 action: STATE_SET "top" 0.0;
4364 target: "ctxpopup_arrow";
4367 name: "enable_bottom_arrow";
4368 signal: "elm,state,bottom";
4370 action: STATE_SET "bottom" 0.0;
4371 target: "ctxpopup_arrow";
4375 ///////////////////////////////////////////////////////////////////////////////////////
4376 #define CTXPOPUP_ENTRY_ITEM_BG_PART \
4382 state: "default" 0.0;\
4384 rel1 {to:"left_bg_padding"; relative: 1 0;}\
4385 rel2 {to:"right_bg_padding"; relative: 0 1;}\
4387 normal: "copy&paste_press_center.png";\
4392 state: "clicked" 0.0;\
4393 inherit: "default" 0.0;\
4396 normal: "copy&paste_press_center.png";\
4401 #define CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART \
4403 name: "left_bg_padding";\
4408 state: "default" 0.0;\
4410 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4411 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4414 rel1 { to: "event_blocker"; relative: 0 0; }\
4415 rel2 { to: "event_blocker"; relative: 0 1; }\
4417 normal: "copy&paste_press_left.png";\
4418 border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
4423 state: "clicked" 0.0;\
4424 inherit: "default" 0.0;\
4427 normal: "copy&paste_press_left.png";\
4428 border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
4433 #define CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART \
4435 name: "right_bg_padding";\
4440 state: "default" 0.0;\
4442 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4443 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4446 rel1 { to: "event_blocker"; relative: 1 0; }\
4447 rel2 { to: "event_blocker"; relative: 1 1; }\
4449 normal: "copy&paste_press_right.png";\
4450 border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
4455 state: "clicked" 0.0;\
4456 inherit: "default" 0.0;\
4459 normal: "copy&paste_press_right.png";\
4460 border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
4465 #define CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART \
4467 name: "left_padding";\
4472 state: "default" 0.0;\
4474 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4475 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4480 #define CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART \
4482 name: "right_padding";\
4487 state: "default" 0.0;\
4489 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4490 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4495 #define CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART \
4497 name: "left_separator";\
4502 state: "default" 0.0;\
4504 color: CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_COLOR;\
4505 min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4506 max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4513 state: "vertical" 0.0;\
4514 inherit: "default" 0.0;\
4518 state: "horizontal" 0.0;\
4519 inherit: "default" 0.0;\
4523 #define CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART \
4525 name: "right_separator";\
4530 state: "default" 0.0;\
4532 color: CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_COLOR;\
4533 min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4534 max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4545 state: "vertical" 0.0;\
4546 inherit: "default" 0.0;\
4550 state: "horizontal" 0.0;\
4551 inherit: "default" 0.0;\
4555 ///////////////////////////////////////////////////////////////////////////////////////
4558 name: "elm/ctxpopup/text_style_item/extended/entry";
4559 alias: "elm/ctxpopup/text_style_item/extended/entry/pass_event";
4561 image: "copy&paste_press_center.png" COMP;
4562 image: "copy&paste_press_left.png" COMP;
4563 image: "copy&paste_press_right.png" COMP;
4567 name: "event_blocker";
4571 state: "default" 0.0;
4575 CTXPOPUP_ENTRY_ITEM_BG_PART
4576 CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART
4577 CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART
4578 CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
4579 CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
4580 CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
4581 CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
4588 state: "default" 0.0;
4589 min: 1 CTXPOPUP_ENTRY_ITEM_HEIGHT;
4590 max: CTXPOPUP_ENTRY_ITEM_WIDTH_MAX CTXPOPUP_ENTRY_ITEM_HEIGHT;
4593 rel1 {relative: 1.0 0.0; to: "left_padding";}
4594 rel2 {relative: 0.0 1.0; to: "right_padding";}
4595 color: CTXPOPUP_ENTRY_ITEM_TEXT_COLOR;
4597 font: "Tizen:style=Roman";
4598 size: CTXPOPUP_ENTRY_ITEM_FONT_SIZE;
4601 text_class: "list_item";
4605 state: "clicked" 0.0;
4606 inherit: "default" 0.0;
4607 color: CTXPOPUP_ENTRY_ITEM_TEXT_COLOR;
4615 ignore_flags: ON_HOLD;
4617 state: "default" 0.0;
4627 state: "default" 0.0;
4634 state: "default" 0.0;
4638 state: "disabled" 0.0;
4640 color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
4646 name: "item_unclick";
4647 signal: "mouse,up,1";
4649 action: SIGNAL_EMIT "elm,action,click" "";
4654 action: PLAY_SAMPLE "touch_sound" 1.0;
4658 signal: "elm,state,disabled";
4660 action: STATE_SET "disabled" 0.0;
4665 signal: "elm,state,enabled";
4667 action: STATE_SET "default" 0.0;
4671 name: "item_click2";
4672 signal: "mouse,down,1";
4675 set_state(PART:"elm.text", "clicked", 0.0);
4676 set_state(PART:"bg", "clicked", 0.0);
4677 set_state(PART:"left_bg_padding", "clicked", 0.0);
4678 set_state(PART:"right_bg_padding", "clicked", 0.0);
4682 name: "item_unclick2";
4683 signal: "mouse,up,1";
4686 set_state(PART:"elm.text", "default", 0.0);
4687 set_state(PART:"bg", "default", 0.0);
4688 set_state(PART:"left_bg_padding", "default", 0.0);
4689 set_state(PART:"right_bg_padding", "default", 0.0);
4694 signal: "elm,state,default";
4697 set_state(PART:"left_separator", "default", 0.0);
4698 set_state(PART:"right_separator", "default", 0.0);
4703 signal: "elm,state,vertical";
4706 set_state(PART:"left_separator", "vertical", 0.0);
4707 set_state(PART:"right_separator", "vertical", 0.0);
4712 signal: "elm,state,horizontal";
4715 set_state(PART:"left_separator", "horizontal", 0.0);
4716 set_state(PART:"right_separator", "horizontal", 0.0);
4721 ///////////////////////////////////////////////////////////////////////////////
4723 name: "elm/ctxpopup/icon_style_item/extended/entry";
4725 image: "copy&paste_press_center.png" COMP;
4726 image: "copy&paste_press_left.png" COMP;
4727 image: "copy&paste_press_right.png" COMP;
4731 name: "event_blocker";
4735 state: "default" 0.0;
4739 CTXPOPUP_ENTRY_ITEM_BG_PART
4740 CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART
4741 CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART
4742 CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
4743 CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
4744 CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
4745 CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
4747 name: "elm.swallow.icon";
4751 state: "default" 0.0;
4757 rel1 {relative: 1.0 0.0; to: "left_padding";}
4758 rel2 {relative: 0.0 1.0; to: "right_padding";}
4762 name: "elm.swallow.icon.paint";
4766 state: "default" 0.0;
4768 color: 255 255 0 255;
4769 rel1 { to: "elm.swallow.icon"; }
4770 rel2 { to: "elm.swallow.icon"; }
4778 ignore_flags: ON_HOLD;
4780 state: "default" 0.0;
4790 state: "default" 0.0;
4797 state: "default" 0.0;
4801 state: "disabled" 0.0;
4803 color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
4809 name: "item_unclick";
4810 signal: "mouse,up,1";
4812 action: SIGNAL_EMIT "elm,action,click" "";
4817 action: PLAY_SAMPLE "touch_sound" 1.0;
4821 signal: "elm,state,disabled";
4823 action: STATE_SET "disabled" 0.0;
4827 name: "item_click2";
4828 signal: "mouse,down,1";
4831 set_state(PART:"bg", "clicked", 0.0);
4832 set_state(PART:"left_bg_padding", "clicked", 0.0);
4833 set_state(PART:"right_bg_padding", "clicked", 0.0);
4837 name: "item_unclick2";
4838 signal: "mouse,up,1";
4841 set_state(PART:"bg", "default", 0.0);
4842 set_state(PART:"left_bg_padding", "default", 0.0);
4843 set_state(PART:"right_bg_padding", "default", 0.0);
4848 signal: "elm,state,default";
4851 set_state(PART:"left_separator", "default", 0.0);
4852 set_state(PART:"right_separator", "default", 0.0);
4857 signal: "elm,state,vertical";
4860 set_state(PART:"left_separator", "vertical", 0.0);
4861 set_state(PART:"right_separator", "vertical", 0.0);
4866 signal: "elm,state,horizontal";
4869 set_state(PART:"left_separator", "horizontal", 0.0);
4870 set_state(PART:"right_separator", "horizontal", 0.0);
4875 ///////////////////////////////////////////////////////////////////////////////////////
4876 #define CTXPOPUP_TP_TEXT_WIDTH 32
4877 #define CTXPOPUP_TP_PADDING 15
4878 #define CTXPOPUP_TP_FONT_COLOR 231 173 95 255
4879 #define CTXPOPUP_TP_CLICKED_FONT_COLOR 255 255 255 255
4880 #define CTXPOPUP_TP_FONT_SIZE 24
4881 ///////////////////////////////////////////////////////////////////////////////
4883 name: "elm/ctxpopup/base/datetime/default";
4884 alias: "elm/ctxpopup/base/timepicker";
4887 name: "ctxpopup_frame";
4891 color: CTXPOPUP_TP_BG_COLOR_INC;
4892 min: 1 CTXPOPUP_TP_HEIGHT_INC;
4893 rel1 { to: "elm.swallow.content"; }
4894 rel2 { to: "elm.swallow.content"; }
4898 name: "elm.swallow.content";
4902 state: "default" 0.0;
4903 min: 1 CTXPOPUP_TP_HEIGHT_INC;
4906 part { name: "arrow_area_left";
4910 description { state: "default" 0.0;
4917 to_y: "ctxpopup_frame";
4921 to:"ctxpopup_frame";
4925 part { name: "arrow_area_right";
4929 description { state: "default" 0.0;
4936 to:"ctxpopup_frame";
4940 to_y: "ctxpopup_frame";
4944 part { name: "arrow_area_up";
4948 description { state: "default" 0.0;
4955 to_x: "ctxpopup_frame";
4959 to:"ctxpopup_frame";
4963 part { name: "arrow_area_down";
4967 description { state: "default" 0.0;
4974 to:"ctxpopup_frame";
4978 to_x: "ctxpopup_frame";
4982 part { name: "elm.swallow.arrow_up";
4989 confine: "arrow_area_up";
4992 state: "default" 0.0;
4998 part { name: "elm.swallow.arrow_down";
5005 confine: "arrow_area_down";
5008 state: "default" 0.0;
5014 part { name: "elm.swallow.arrow_left";
5021 confine: "arrow_area_left";
5024 state: "default" 0.0;
5030 part { name: "elm.swallow.arrow_right";
5037 confine: "arrow_area_right";
5040 state: "default" 0.0;
5048 ///////////////////////////////////////////////////////////////////////////////
5049 group { name: "elm/ctxpopup/arrow/datetime/default";
5050 alias: "elm/ctxpopup/arrow/timepicker";
5052 image: "timepicker_left_arrow.png" COMP;
5053 image: "timepicker_right_arrow.png" COMP;
5054 image: "timepicker_top_arrow.png" COMP;
5055 image: "timepicker_bottom_arrow.png" COMP;
5059 name: "ctxpopup_arrow";
5063 state: "default" 0.0;
5064 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
5065 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
5072 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
5073 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
5077 normal: "timepicker_left_arrow.png";
5082 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
5083 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
5087 normal: "timepicker_right_arrow.png";
5092 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
5093 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
5097 normal: "timepicker_top_arrow.png";
5101 state: "bottom" 0.0;
5102 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
5103 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
5107 normal: "timepicker_bottom_arrow.png";
5114 name: "enable_left_arrow";
5115 signal: "elm,state,left";
5117 action: STATE_SET "left" 0.0;
5118 target: "ctxpopup_arrow";
5121 name: "enable_right_arrow";
5122 signal: "elm,state,right";
5124 action: STATE_SET "right" 0.0;
5125 target: "ctxpopup_arrow";
5128 name: "enable_top_arrow";
5129 signal: "elm,state,top";
5131 action: STATE_SET "top" 0.0;
5132 target: "ctxpopup_arrow";
5135 name: "enable_bottom_arrow";
5136 signal: "elm,state,bottom";
5138 action: STATE_SET "bottom" 0.0;
5139 target: "ctxpopup_arrow";
5143 ///////////////////////////////////////////////////////////////////////////////
5145 name: "elm/ctxpopup/text_style_item/datetime/default";
5146 alias: "elm/ctxpopup/text_style_item/timepicker";
5149 name: "left_padding";
5154 state: "default" 0.0;
5155 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
5156 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
5168 state: "default" 0.0;
5169 min: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
5170 max: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
5173 rel1 {relative: 1.0 0.0; to: "left_padding";}
5174 color: CTXPOPUP_TP_FONT_COLOR;
5176 font: "Tizen:style=Medium";
5177 size: CTXPOPUP_TP_FONT_SIZE;
5180 text_class: "tizen";
5184 state: "clicked" 0.0;
5185 inherit: "default" 0.0;
5186 color: 255 255 255 255;
5190 name: "right_padding";
5194 state: "default" 0.0;
5195 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
5196 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
5198 rel1 {relative: 1.0 0.0; to: "elm.text";}
5207 ignore_flags: ON_HOLD;
5209 state: "default" 0.0;
5219 state: "default" 0.0;
5226 name: "item_unclick";
5227 signal: "mouse,up,1";
5229 action: SIGNAL_EMIT "elm,action,click" "";
5234 action: PLAY_SAMPLE "touch_sound" 1.0;
5238 signal: "mouse,down,1";
5241 set_state(PART:"elm.text", "clicked", 0.0);
5245 name: "item_unclick2";
5246 signal: "mouse,up,1";
5249 set_state(PART:"elm.text", "default", 0.0);
5254 ///////////////////////////////////////////////////////////////////////////////
5256 name: "elm/ctxpopup/text_style_item/toolbar_segmentedcontrol";
5259 name: "event_blocker";
5263 state: "default" 0.0;
5273 state: "default" 0.0;
5274 color: CTXPOPUP_BG_COLOR_INC;
5276 min: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) 1;
5277 max: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
5280 state: "clicked" 0.0;
5281 color: CTXPOPUP_BG_PRESS_COLOR_INC;
5285 state: "clicked_separator" 0.0;
5286 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
5287 color: CTXPOPUP_BG_PRESS_COLOR_INC;
5297 state: "default" 0.0;
5298 color: CTXPOPUP_SEPARATOR_COLOR_INC;
5299 rel1 { relative: 1.0 0.0; to_x: "left_padding";}
5300 rel2 { relative: 0.0 1.0; to_x: "right_padding"; offset: 0 0;}
5302 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5303 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5307 state: "visible" 0.0;
5308 inherit: "default" 0.0;
5318 state: "default" 0.0;
5319 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
5320 rel1 { relative: 0.0 1.0; to: "separator1";}
5321 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
5324 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5325 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5329 state: "visible" 0.0;
5330 inherit: "default" 0.0;
5335 name: "left_padding";
5340 state: "default" 0.0;
5341 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5342 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
5354 state: "default" 0.0;
5355 min: 1 CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5357 rel1 {relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg";}
5358 rel2 {relative: 0.0 1.0; to_x: "right_padding"; to_y: "bg";}
5359 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
5361 font: "Tizen:style=Roman";
5362 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
5365 text_class: "list_item";
5369 state: "compress" 0.0;
5370 inherit: "default" 0.0;
5377 state: "clicked" 0.0;
5378 inherit: "default" 0.0;
5379 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
5382 state: "disabled" 0.0;
5383 inherit: "default" 0.0;
5384 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
5387 state: "compress_disabled" 0.0;
5388 inherit: "compress" 0.0;
5389 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
5393 name: "right_padding";
5398 state: "default" 0.0;
5400 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5401 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
5412 state: "default" 0.0;
5426 state: "default" 0.0;
5436 state: "default" 0.0;
5440 state: "disabled" 0.0;
5442 color: CTXPOPUP_ITEM_DISABLED_COLOR;
5448 name: "item_unclick";
5449 signal: "mouse,clicked,1";
5451 action: SIGNAL_EMIT "elm,action,click" "";
5456 action: PLAY_SAMPLE "touch_sound" 1.0;
5460 signal: "elm,state,disabled";
5465 get_state(PART:"elm.text", st, 30, vl);
5466 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
5467 set_state(PART:"elm.text", "compress_disabled", 0.0);
5469 set_state(PART:"elm.text", "disabled", 0.0);
5471 set_state(PART:"disclip", "disabled", 0.0);
5476 signal: "elm,state,enabled";
5481 get_state(PART:"elm.text", st, 30, vl);
5482 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
5483 set_state(PART:"elm.text", "compress", 0.0);
5485 set_state(PART:"elm.text", "default", 0.0);
5487 set_state(PART:"disclip", "default", 0.0);
5492 signal: "elm,state,default";
5495 set_state(PART:"separator1", "default", 0.0);
5496 set_state(PART:"separator2", "default", 0.0);
5501 signal: "elm,state,compress";
5506 get_state(PART:"disclip", st, 30, vl);
5507 if (!strcmp(st, "disabled"))
5508 set_state(PART:"elm.text", "compress_disabled", 0.0);
5510 set_state(PART:"elm.text", "compress", 0.0);
5515 signal: "elm,state,separator";
5518 set_state(PART:"separator1", "visible", 0.0);
5519 set_state(PART:"separator2", "visible", 0.0);
5523 name: "item_click2";
5524 signal: "mouse,down,1";
5527 set_state(PART:"elm.text", "clicked", 0.0);
5531 get_state(PART:"separator2", st, 30, vl);
5532 if (!strcmp(st, "default"))
5533 set_state(PART:"bg", "clicked", 0.0);
5535 set_state(PART:"bg", "clicked_separator", 0.0);
5543 new Float:dx, Float:dy;
5544 get_drag(PART:"over2", dx, dy);
5545 if ((abs(dx) > 20) || (abs(dy) > 20))
5547 set_drag(PART:"over2", 0.0, 0.0);
5548 set_state(PART:"elm.text", "compress", 0.0);
5549 set_state(PART:"bg", "default", 0.0);
5551 set_drag(PART:"over2", 0.0, 0.0);
5555 name: "item_unclick2";
5556 signal: "mouse,up,1";
5559 set_drag(PART:"over2", 0.0, 0.0);
5560 set_state(PART:"elm.text", "compress", 0.0);
5561 set_state(PART:"bg", "default", 0.0);