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;
1573 name:"frame_shadow_left_top_padding";
1578 state: "default" 0.0;
1579 min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
1580 max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
1581 rel2 { relative: 0 0; }
1588 name:"frame_shadow_right_bottom_padding";
1593 state: "default" 0.0;
1594 min: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
1595 max: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
1596 rel1{relative: 1 1;}
1608 state: "default" 0.0;
1609 rel1 {to:"frame_shadow_left_top_padding";}
1610 rel2 {to:"frame_shadow_right_bottom_padding";}
1611 min: (CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC + CTXPOPUP_SHADOW_LEFT_PADDING + CTXPOPUP_SHADOW_RIGHT_PADDING) 0;
1613 normal: "00_popup_bubble_bg.png";
1614 border: CTXPOPUP_BUBBLE_BG_IMAGE_BORDER;
1619 part { name: "arrow_area_left";
1623 description { state: "default" 0.0;
1625 min: CTXPOPUP_ARROW_SIZE_INC;
1630 to_x:"arrow_left_top_padding";
1631 to_y: "ctxpopup_frame_left_top";
1635 to_x:"arrow_left_top_padding";
1636 to_y:"ctxpopup_frame_right_bottom";
1640 part { name: "arrow_area_right";
1644 description { state: "default" 0.0;
1646 min: CTXPOPUP_ARROW_SIZE_INC;
1651 to_x:"arrow_right_bottom_padding";
1652 to_y:"ctxpopup_frame_left_top";
1656 to_x:"arrow_right_bottom_padding";
1657 to_y: "ctxpopup_frame_right_bottom";
1661 part { name: "arrow_area_up";
1665 description { state: "default" 0.0;
1667 min: CTXPOPUP_ARROW_SIZE_INC;
1672 to_x: "ctxpopup_frame_left_top";
1673 to_y: "arrow_left_top_padding";
1677 to_x:"ctxpopup_frame_right_bottom";
1678 to_y: "arrow_left_top_padding";
1682 part { name: "arrow_area_down";
1686 description { state: "default" 0.0;
1688 min: CTXPOPUP_ARROW_SIZE_INC;
1693 to_x:"ctxpopup_frame_left_top";
1694 to_y:"arrow_right_bottom_padding";
1698 to_x: "ctxpopup_frame_right_bottom";
1699 to_y:"arrow_right_bottom_padding";
1703 part { name: "elm.swallow.arrow_up";
1710 confine: "arrow_area_up";
1713 state: "default" 0.0;
1714 min: CTXPOPUP_ARROW_SIZE_INC;
1719 part { name: "elm.swallow.arrow_down";
1726 confine: "arrow_area_down";
1729 state: "default" 0.0;
1730 min: CTXPOPUP_ARROW_SIZE_INC;
1735 part { name: "elm.swallow.arrow_left";
1742 confine: "arrow_area_left";
1745 state: "default" 0.0;
1746 min: CTXPOPUP_ARROW_SIZE_INC;
1751 part { name: "elm.swallow.arrow_right";
1758 confine: "arrow_area_right";
1761 state: "default" 0.0;
1762 min: CTXPOPUP_ARROW_SIZE_INC;
1768 name: "ctxpopup_frame_left_top";
1772 state: "default" 0.0;
1776 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1777 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1778 rel1 {relative: 0 0; to: "content_left_top_padding";}
1782 name: "ctxpopup_frame_right_bottom";
1786 state: "default" 0.0;
1790 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1791 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1792 rel2 {relative: 1 1; to: "content_right_bottom_padding";}
1796 name:"content_left_top_padding";
1801 state: "default" 0.0;
1802 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
1803 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
1804 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
1811 name:"content_right_bottom_padding";
1816 state: "default" 0.0;
1817 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
1818 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
1819 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
1826 name: "arrow_left_top_padding";
1830 state: "default" 0.0;
1831 min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
1832 max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
1833 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
1839 name: "arrow_right_bottom_padding";
1843 state: "default" 0.0;
1844 min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
1845 max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
1846 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
1852 name: "elm.swallow.content";
1855 state: "default" 0.0;
1857 rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;}
1858 rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;}
1864 ///////////////////////////////////////////////////////////////////////////////
1865 group { name: "elm/ctxpopup/arrow/default";
1866 alias: "elm/ctxpopup/arrow/more/default";
1868 image: "00_popup_bubble_tail_left.png" COMP;
1869 image: "00_popup_bubble_tail_right.png" COMP;
1870 image: "00_popup_bubble_tail_top.png" COMP;
1871 image: "00_popup_bubble_tail_bottom.png" COMP;
1875 name: "ctxpopup_arrow";
1879 state: "default" 0.0;
1880 min: CTXPOPUP_ARROW_SIZE_INC;
1881 max: CTXPOPUP_ARROW_SIZE_INC;
1888 min: CTXPOPUP_ARROW_SIZE_INC;
1889 max: CTXPOPUP_ARROW_SIZE_INC;
1893 normal: "00_popup_bubble_tail_left.png";
1898 min: CTXPOPUP_ARROW_SIZE_INC;
1899 max: CTXPOPUP_ARROW_SIZE_INC;
1903 normal: "00_popup_bubble_tail_right.png";
1908 min: CTXPOPUP_ARROW_SIZE_INC;
1909 max: CTXPOPUP_ARROW_SIZE_INC;
1913 normal: "00_popup_bubble_tail_top.png";
1917 state: "bottom" 0.0;
1918 min: CTXPOPUP_ARROW_SIZE_INC;
1919 max: CTXPOPUP_ARROW_SIZE_INC;
1923 normal: "00_popup_bubble_tail_bottom.png";
1930 name: "enable_left_arrow";
1931 signal: "elm,state,left";
1933 action: STATE_SET "left" 0.0;
1934 target: "ctxpopup_arrow";
1937 name: "enable_right_arrow";
1938 signal: "elm,state,right";
1940 action: STATE_SET "right" 0.0;
1941 target: "ctxpopup_arrow";
1944 name: "enable_top_arrow";
1945 signal: "elm,state,top";
1947 action: STATE_SET "top" 0.0;
1948 target: "ctxpopup_arrow";
1951 name: "enable_bottom_arrow";
1952 signal: "elm,state,bottom";
1954 action: STATE_SET "bottom" 0.0;
1955 target: "ctxpopup_arrow";
1959 ///////////////////////////////////////////////////////////////////////////////
1961 name: "elm/ctxpopup/text_style_item/default";
1964 image: "00_more_popup_press.png" COMP;
1967 data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC;
1971 name: "event_blocker";
1975 state: "default" 0.0;
1985 state: "default" 0.0;
1987 min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING*2) 1;
1988 max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
1991 state: "clicked" 0.0;
1992 inherit: "default" 0.0;
1995 normal: "00_more_popup_press.png";
1996 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2001 state: "clicked_separator" 0.0;
2002 inherit: "default" 0.0;
2004 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
2006 normal: "00_more_popup_press.png";
2007 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2018 state: "default" 0.0;
2019 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2020 rel1 { relative: 1.0 0.0; to_x: "left_padding";}
2021 rel2 { relative: 0.0 1.0; to_x: "right_padding"; offset: 0 0; }
2023 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2024 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2028 state: "visible" 0.0;
2029 inherit: "default" 0.0;
2039 state: "default" 0.0;
2040 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2041 rel1 { relative: 0.0 1.0; to: "separator1";}
2042 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
2045 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2046 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2050 state: "visible" 0.0;
2051 inherit: "default" 0.0;
2056 name: "left_padding";
2061 state: "default" 0.0;
2062 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2063 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2075 state: "default" 0.0;
2076 min: 1 CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2078 rel1 {relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg";}
2079 rel2 {relative: 0.0 1.0; to_x: "right_padding"; to_y: "bg";}
2080 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
2082 font: "Tizen:style=Roman";
2083 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
2086 text_class: "list_item";
2090 state: "compress" 0.0;
2091 inherit: "default" 0.0;
2098 state: "clicked" 0.0;
2099 inherit: "default" 0.0;
2100 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
2104 state: "disabled" 0.0;
2105 inherit: "default" 0.0;
2106 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
2109 state: "compress_disabled" 0.0;
2110 inherit: "compress" 0.0;
2111 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
2114 state: "ellipsis" 0.0;
2115 inherit: "default" 0.0;
2116 min: CTXPOPUP_TEXT_MAX_INC CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2121 name: "right_padding";
2126 state: "default" 0.0;
2128 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2129 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2140 state: "default" 0.0;
2154 state: "default" 0.0;
2164 state: "default" 0.0;
2168 state: "disabled" 0.0;
2170 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2176 name: "text_ellipsis";
2177 signal: "elm,state,text,ellipsis";
2179 action: STATE_SET "ellipsis" 0.0;
2183 name: "item_unclick";
2184 signal: "mouse,clicked,1";
2186 action: SIGNAL_EMIT "elm,action,click" "";
2191 action: PLAY_SAMPLE "touch_sound" 1.0;
2195 signal: "elm,state,disabled";
2200 get_state(PART:"elm.text", st, 30, vl);
2201 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
2202 set_state(PART:"elm.text", "compress_disabled", 0.0);
2204 set_state(PART:"elm.text", "disabled", 0.0);
2206 set_state(PART:"disclip", "disabled", 0.0);
2211 signal: "elm,state,enabled";
2216 get_state(PART:"elm.text", st, 30, vl);
2217 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
2218 set_state(PART:"elm.text", "compress", 0.0);
2220 set_state(PART:"elm.text", "default", 0.0);
2222 set_state(PART:"disclip", "default", 0.0);
2227 signal: "elm,state,default";
2230 set_state(PART:"separator1", "default", 0.0);
2231 set_state(PART:"separator2", "default", 0.0);
2236 signal: "elm,state,compress";
2241 get_state(PART:"disclip", st, 30, vl);
2242 if (!strcmp(st, "disabled"))
2243 set_state(PART:"elm.text", "compress_disabled", 0.0);
2245 set_state(PART:"elm.text", "compress", 0.0);
2250 signal: "elm,state,separator";
2253 set_state(PART:"separator1", "visible", 0.0);
2254 set_state(PART:"separator2", "visible", 0.0);
2258 name: "item_click2";
2259 signal: "mouse,down,1";
2262 set_state(PART:"elm.text", "clicked", 0.0);
2266 get_state(PART:"separator2", st, 30, vl);
2267 if (!strcmp(st, "default"))
2268 set_state(PART:"bg", "clicked", 0.0);
2270 set_state(PART:"bg", "clicked_separator", 0.0);
2278 new Float:dx, Float:dy;
2279 get_drag(PART:"over2", dx, dy);
2280 if ((abs(dx) > 20) || (abs(dy) > 20))
2282 set_drag(PART:"over2", 0.0, 0.0);
2283 set_state(PART:"elm.text", "compress", 0.0);
2284 set_state(PART:"bg", "default", 0.0);
2286 set_drag(PART:"over2", 0.0, 0.0);
2290 name: "item_unclick2";
2291 signal: "mouse,up,1";
2294 set_drag(PART:"over2", 0.0, 0.0);
2295 set_state(PART:"elm.text", "compress", 0.0);
2296 set_state(PART:"bg", "default", 0.0);
2301 ///////////////////////////////////////////////////////////////////////////////
2303 name: "elm/ctxpopup/text_style_item_horizontal/default";
2306 image: "00_more_popup_press.png" COMP;
2311 name: "event_blocker";
2315 state: "default" 0.0;
2325 state: "default" 0.0;
2327 min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2330 state: "clicked" 0.0;
2333 normal: "00_more_popup_press.png";
2334 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2339 state: "clicked_separator" 0.0;
2340 rel1 { relative: 1.0 0.0; to_x: "separator2"; }
2343 normal: "00_more_popup_press.png";
2344 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2355 state: "default" 0.0;
2356 color: CTXPOPUP_HORIZONTAL_SEPARATOR_1_COLOR_INC;
2358 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2359 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2363 state: "visible" 0.0;
2364 inherit: "default" 0.0;
2374 state: "default" 0.0;
2375 color: CTXPOPUP_HORIZONTAL_SEPARATOR_2_COLOR_INC;
2376 rel1 { relative: 1.0 0.0; to: "separator1"; to_y: "bg";}
2378 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2379 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2383 state: "visible" 0.0;
2384 inherit: "default" 0.0;
2389 name: "left_padding";
2394 state: "default" 0.0;
2395 min: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2396 max: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2409 state: "default" 0.0;
2410 min: (CTXPOPUP_TEXT_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ITEM_ICON_PADDING_INC*2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2412 rel1 {relative: 1.0 0.0; to: "left_padding"; }
2413 rel2 {relative: 0.0 1.0; to: "right_padding"; }
2414 color: CTXPOPUP_MAIN_TEXT_COLOR_INC;
2416 font: "Tizen:style=Roman";
2417 size: CTXPOPUP_MAIN_TEXT_SIZE_INC;
2420 text_class: "list_item";
2424 state: "compress" 0.0;
2425 inherit: "default" 0.0;
2432 state: "clicked" 0.0;
2433 inherit: "default" 0.0;
2434 color: CTXPOPUP_MAIN_TEXT_PRESS_COLOR_INC;
2437 state: "disabled" 0.0;
2438 inherit: "default" 0.0;
2439 color: CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC;
2442 state: "compress_disabled" 0.0;
2443 inherit: "compress" 0.0;
2444 color: CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC;
2448 name: "right_padding";
2453 state: "default" 0.0;
2454 min: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2455 max: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2468 state: "default" 0.0;
2482 state: "default" 0.0;
2492 state: "default" 0.0;
2496 state: "disabled" 0.0;
2498 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2504 name: "item_unclick";
2505 signal: "mouse,clicked,1";
2507 action: SIGNAL_EMIT "elm,action,click" "";
2512 action: PLAY_SAMPLE "touch_sound" 1.0;
2516 signal: "elm,state,disabled";
2521 get_state(PART:"elm.text", st, 30, vl);
2522 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
2523 set_state(PART:"elm.text", "compress_disabled", 0.0);
2525 set_state(PART:"elm.text", "disabled", 0.0);
2527 set_state(PART:"disclip", "disabled", 0.0);
2532 signal: "elm,state,enabled";
2537 get_state(PART:"elm.text", st, 30, vl);
2538 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
2539 set_state(PART:"elm.text", "compress", 0.0);
2541 set_state(PART:"elm.text", "default", 0.0);
2543 set_state(PART:"disclip", "default", 0.0);
2548 signal: "elm,state,default";
2551 set_state(PART:"separator1", "default", 0.0);
2552 set_state(PART:"separator2", "default", 0.0);
2557 signal: "elm,state,compress";
2562 get_state(PART:"disclip", st, 30, vl);
2563 if (!strcmp(st, "disabled"))
2564 set_state(PART:"elm.text", "compress_disabled", 0.0);
2566 set_state(PART:"elm.text", "compress", 0.0);
2571 signal: "elm,state,separator";
2574 set_state(PART:"separator1", "visible", 0.0);
2575 set_state(PART:"separator2", "visible", 0.0);
2579 name: "item_click2";
2580 signal: "mouse,down,1";
2583 set_state(PART:"elm.text", "clicked", 0.0);
2587 get_state(PART:"separator2", st, 30, vl);
2588 if (!strcmp(st, "default"))
2589 set_state(PART:"bg", "clicked", 0.0);
2591 set_state(PART:"bg", "clicked_separator", 0.0);
2599 new Float:dx, Float:dy;
2600 get_drag(PART:"over2", dx, dy);
2601 if ((abs(dx) > 20) || (abs(dy) > 20))
2603 set_drag(PART:"over2", 0.0, 0.0);
2604 set_state(PART:"elm.text", "compress", 0.0);
2605 set_state(PART:"bg", "default", 0.0);
2607 set_drag(PART:"over2", 0.0, 0.0);
2611 name: "item_unclick2";
2612 signal: "mouse,up,1";
2615 set_drag(PART:"over2", 0.0, 0.0);
2616 set_state(PART:"elm.text", "compress", 0.0);
2617 set_state(PART:"bg", "default", 0.0);
2622 ///////////////////////////////////////////////////////////////////////////////
2624 name: "elm/ctxpopup/icon_style_item/default";
2627 image: "00_more_popup_press.png" COMP;
2632 name: "event_blocker";
2636 state: "default" 0.0;
2646 state: "default" 0.0;
2648 min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2649 max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2652 state: "clicked" 0.0;
2655 normal: "00_more_popup_press.png";
2656 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2661 state: "clicked_separator" 0.0;
2662 rel1 { relative: 1.0 0.0; to_x: "separator2"; }
2665 normal: "00_more_popup_press.png";
2666 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2672 name: "left_padding";
2675 min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2676 max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2688 state: "default" 0.0;
2689 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2691 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2692 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2696 state: "visible" 0.0;
2697 inherit: "default" 0.0;
2707 state: "default" 0.0;
2708 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2709 rel1 { relative: 1.0 0.0; to_x: "separator1"; }
2711 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2712 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2716 state: "visible" 0.0;
2717 inherit: "default" 0.0;
2722 name: "elm.swallow.icon";
2726 state: "default" 0.0;
2727 min: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC;
2728 max: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC;
2731 rel1 { relative: 1 0; to_x: "left_padding"; }
2732 rel2 { relative: 0 1; to_x: "right_padding"; }
2736 name: "right_padding";
2739 min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2740 max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2752 state: "default" 0.0;
2766 state: "default" 0.0;
2776 state: "default" 0.0;
2780 state: "disabled" 0.0;
2782 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2789 signal: "elm,state,default";
2792 set_state(PART:"separator1", "default", 0.0);
2793 set_state(PART:"separator2", "default", 0.0);
2798 signal: "elm,state,separator";
2801 set_state(PART:"separator1", "visible", 0.0);
2802 set_state(PART:"separator2", "visible", 0.0);
2806 name: "item_unclick";
2807 signal: "mouse,clicked,1";
2809 action: SIGNAL_EMIT "elm,action,click" "";
2814 action: PLAY_SAMPLE "touch_sound" 1.0;
2818 signal: "elm,state,disabled";
2820 action: STATE_SET "disabled" 0.0;
2825 signal: "elm,state,enabled";
2827 action: STATE_SET "default" 0.0;
2831 name: "item_click2";
2832 signal: "mouse,down,1";
2837 get_state(PART:"separator2", st, 30, vl);
2838 if (!strcmp(st, "default"))
2839 set_state(PART:"bg", "clicked", 0.0);
2841 set_state(PART:"bg", "clicked_separator", 0.0);
2849 new Float:dx, Float:dy;
2850 get_drag(PART:"over2", dx, dy);
2851 if ((abs(dx) > 20) || (abs(dy) > 20))
2853 set_drag(PART:"over2", 0.0, 0.0);
2854 set_state(PART:"bg", "default", 0.0);
2856 set_drag(PART:"over2", 0.0, 0.0);
2860 name: "item_unclick2";
2861 signal: "mouse,up,1";
2864 set_drag(PART:"over2", 0.0, 0.0);
2865 set_state(PART:"bg", "default", 0.0);
2870 ///////////////////////////////////////////////////////////////////////////////
2872 name: "elm/ctxpopup/icon_text_style_item/default";
2875 image: "00_more_popup_press.png" COMP;
2878 data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC;
2882 name: "event_blocker";
2886 state: "default" 0.0;
2895 state: "default" 0.0;
2899 state: "clicked" 0.0;
2902 normal: "00_more_popup_press.png";
2903 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2908 state: "clicked_separator" 0.0;
2909 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
2912 normal: "00_more_popup_press.png";
2913 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2919 name:"separator_left_padding";
2924 min: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2925 max: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2932 name:"separator_right_padding";
2937 min: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2938 max: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2945 name: "icon_left_padding";
2949 state: "default" 0.0;
2950 min: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2951 max: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2963 state: "default" 0.0;
2964 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2965 rel1 { relative: 1.0 0.0; to_x: "separator_left_padding";}
2966 rel2 { relative: 0.0 1.0; to_x: "separator_right_padding"; offset: 0 0; }
2968 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2969 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2973 state: "visible" 0.0;
2974 inherit: "default" 0.0;
2984 state: "default" 0.0;
2985 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2986 rel1 { relative: 0.0 1.0; to: "separator1";}
2987 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
2990 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2991 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2995 state: "visible" 0.0;
2996 inherit: "default" 0.0;
3001 name: "elm.swallow.icon";
3005 state: "default" 0.0;
3006 min: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
3007 max: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
3010 rel1 { to:"icon_left_padding"; relative: 1 0; }
3014 name: "icon_right_padding";
3018 state: "default" 0.0;
3019 min: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3020 max: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_HEIGHT_MAX_INC;
3024 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
3033 state: "default" 0.0;
3034 min: 1 CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3036 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";}
3037 rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";}
3038 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
3040 font: "Tizen:style=Roman";
3041 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
3044 text_class: "list_item";
3048 state: "compress" 0.0;
3049 inherit: "default" 0.0;
3056 state: "clicked" 0.0;
3057 inherit: "default" 0.0;
3058 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
3062 state: "disabled" 0.0;
3063 inherit: "default" 0.0;
3064 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3067 state: "compress_disabled" 0.0;
3068 inherit: "compress" 0.0;
3069 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3072 state: "ellipsis" 0.0;
3073 inherit: "default" 0.0;
3074 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;
3079 name: "text_right_padding";
3084 state: "default" 0.0;
3086 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3087 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
3098 state: "default" 0.0;
3112 state: "default" 0.0;
3122 state: "default" 0.0;
3126 state: "disabled" 0.0;
3128 color: CTXPOPUP_ITEM_DISABLED_COLOR;
3134 name: "text_ellipsis";
3135 signal: "elm,state,text,ellipsis";
3137 action: STATE_SET "ellipsis" 0.0;
3141 name: "item_unclick";
3142 signal: "mouse,clicked,1";
3144 action: SIGNAL_EMIT "elm,action,click" "";
3149 action: PLAY_SAMPLE "touch_sound" 1.0;
3153 signal: "elm,state,disabled";
3158 get_state(PART:"elm.text", st, 30, vl);
3159 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
3160 set_state(PART:"elm.text", "compress_disabled", 0.0);
3162 set_state(PART:"elm.text", "disabled", 0.0);
3164 set_state(PART:"disclip", "disabled", 0.0);
3169 signal: "elm,state,enabled";
3174 get_state(PART:"elm.text", st, 30, vl);
3175 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
3176 set_state(PART:"elm.text", "compress", 0.0);
3178 set_state(PART:"elm.text", "default", 0.0);
3180 set_state(PART:"disclip", "default", 0.0);
3185 signal: "elm,state,default";
3188 set_state(PART:"separator1", "default", 0.0);
3189 set_state(PART:"separator2", "default", 0.0);
3194 signal: "elm,state,compress";
3199 get_state(PART:"disclip", st, 30, vl);
3200 if (!strcmp(st, "disabled"))
3201 set_state(PART:"elm.text", "compress_disabled", 0.0);
3203 set_state(PART:"elm.text", "compress", 0.0);
3208 signal: "elm,state,separator";
3211 set_state(PART:"separator1", "visible", 0.0);
3212 set_state(PART:"separator2", "visible", 0.0);
3216 name: "item_click2";
3217 signal: "mouse,down,1";
3220 set_state(PART:"elm.text", "clicked", 0.0);
3224 get_state(PART:"separator2", st, 30, vl);
3225 if (!strcmp(st, "default"))
3226 set_state(PART:"bg", "clicked", 0.0);
3228 set_state(PART:"bg", "clicked_separator", 0.0);
3236 new Float:dx, Float:dy;
3237 get_drag(PART:"over2", dx, dy);
3238 if ((abs(dx) > 20) || (abs(dy) > 20))
3240 set_drag(PART:"over2", 0.0, 0.0);
3241 set_state(PART:"elm.text", "compress", 0.0);
3242 set_state(PART:"bg", "default", 0.0);
3244 set_drag(PART:"over2", 0.0, 0.0);
3248 name: "item_unclick2";
3249 signal: "mouse,up,1";
3252 set_drag(PART:"over2", 0.0, 0.0);
3253 set_state(PART:"elm.text", "compress", 0.0);
3254 set_state(PART:"bg", "default", 0.0);
3260 ///////////////////////////////////////////////////////////////////////////////
3262 name: "elm/ctxpopup/base/more/default";
3264 image: "00_popup_bubble_bg.png" COMP;
3268 name:"frame_shadow_left_top_padding";
3273 state: "default" 0.0;
3274 min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
3275 max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
3276 rel2 { relative: 0 0; }
3283 name:"frame_shadow_right_bottom_padding";
3288 state: "default" 0.0;
3289 min: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
3290 max: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
3291 rel1{relative: 1 1;}
3303 state: "default" 0.0;
3304 rel1 {to:"frame_shadow_left_top_padding";}
3305 rel2 {to:"frame_shadow_right_bottom_padding";}
3306 min: CTXPOPUP_MORE_WIDTH_INC 0;
3308 normal: "00_popup_bubble_bg.png";
3309 border: CTXPOPUP_BUBBLE_BG_IMAGE_BORDER;
3314 part { name: "arrow_area_left";
3318 description { state: "default" 0.0;
3320 min: CTXPOPUP_ARROW_SIZE_INC;
3325 to_x:"arrow_left_top_padding";
3326 to_y: "ctxpopup_frame_left_top";
3330 to_x:"arrow_left_top_padding";
3331 to_y:"ctxpopup_frame_right_bottom";
3335 part { name: "arrow_area_right";
3339 description { state: "default" 0.0;
3341 min: CTXPOPUP_ARROW_SIZE_INC;
3346 to_x:"arrow_right_bottom_padding";
3347 to_y:"ctxpopup_frame_left_top";
3351 to_x:"arrow_right_bottom_padding";
3352 to_y: "ctxpopup_frame_right_bottom";
3356 part { name: "arrow_area_up";
3360 description { state: "default" 0.0;
3362 min: CTXPOPUP_ARROW_SIZE_INC;
3367 to_x: "ctxpopup_frame_left_top";
3368 to_y: "arrow_left_top_padding";
3372 to_x:"ctxpopup_frame_right_bottom";
3373 to_y: "arrow_left_top_padding";
3377 part { name: "arrow_area_down";
3381 description { state: "default" 0.0;
3383 min: CTXPOPUP_ARROW_SIZE_INC;
3388 to_x:"ctxpopup_frame_left_top";
3389 to_y:"arrow_right_bottom_padding";
3393 to_x: "ctxpopup_frame_right_bottom";
3394 to_y:"arrow_right_bottom_padding";
3398 part { name: "elm.swallow.arrow_up";
3405 confine: "arrow_area_up";
3408 state: "default" 0.0;
3409 min: CTXPOPUP_ARROW_SIZE_INC;
3414 part { name: "elm.swallow.arrow_down";
3421 confine: "arrow_area_down";
3424 state: "default" 0.0;
3425 min: CTXPOPUP_ARROW_SIZE_INC;
3430 part { name: "elm.swallow.arrow_left";
3437 confine: "arrow_area_left";
3440 state: "default" 0.0;
3441 min: CTXPOPUP_ARROW_SIZE_INC;
3446 part { name: "elm.swallow.arrow_right";
3453 confine: "arrow_area_right";
3456 state: "default" 0.0;
3457 min: CTXPOPUP_ARROW_SIZE_INC;
3463 name: "ctxpopup_frame_left_top";
3467 state: "default" 0.0;
3471 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3472 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3473 rel1 {relative: 0 0; to: "content_left_top_padding";}
3477 name: "ctxpopup_frame_right_bottom";
3481 state: "default" 0.0;
3485 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3486 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3487 rel2 {relative: 1 1; to: "content_right_bottom_padding";}
3491 name:"content_left_top_padding";
3496 state: "default" 0.0;
3497 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3498 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3499 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
3506 name:"content_right_bottom_padding";
3511 state: "default" 0.0;
3512 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3513 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3514 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
3521 name: "arrow_left_top_padding";
3525 state: "default" 0.0;
3526 min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
3527 max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
3528 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
3534 name: "arrow_right_bottom_padding";
3538 state: "default" 0.0;
3539 min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
3540 max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
3541 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
3547 name: "elm.swallow.content";
3550 state: "default" 0.0;
3552 rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;}
3553 rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;}
3558 ///////////////////////////////////////////////////////////////////////////////
3560 name: "elm/ctxpopup/icon_text_style_item/more/default";
3563 image: "00_more_popup_press.png" COMP;
3568 name: "event_blocker";
3572 state: "default" 0.0;
3582 state: "default" 0.0;
3584 min: (CTXPOPUP_MORE_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) 1;
3585 max: (CTXPOPUP_MORE_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3588 state: "clicked" 0.0;
3591 normal: "00_more_popup_press.png";
3592 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
3597 state: "clicked_separator" 0.0;
3598 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
3601 normal: "00_more_popup_press.png";
3602 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
3608 name:"separator_left_padding";
3613 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3614 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3621 name:"separator_right_padding";
3626 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3627 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3634 name: "icon_left_padding";
3638 state: "default" 0.0;
3639 min: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3640 max: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3652 state: "default" 0.0;
3653 color: CTXPOPUP_SEPARATOR_COLOR_INC;
3654 rel1 { relative: 1.0 0.0; to_x: "separator_left_padding";}
3655 rel2 { relative: 0.0 1.0; to_x: "separator_right_padding"; offset: 0 0; }
3658 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3659 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3663 state: "visible" 0.0;
3664 inherit: "default" 0.0;
3674 state: "default" 0.0;
3675 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
3676 rel1 { relative: 0.0 1.0; to: "separator1"; }
3677 rel2.to: "separator1";
3681 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3682 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3686 state: "visible" 0.0;
3687 inherit: "default" 0.0;
3692 name: "elm.swallow.icon";
3696 state: "default" 0.0;
3697 min: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC;
3698 max: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC;
3701 rel1 { to:"icon_left_padding"; relative: 1 0; }
3705 name: "icon_right_padding";
3709 state: "default" 0.0;
3710 min: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3711 max: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3715 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
3724 state: "default" 0.0;
3725 min: 1 CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3727 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";}
3728 rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";}
3729 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
3731 font: "Tizen:style=Roman";
3732 size: CTXPOPUP_MORE_ITEM_TEXT_SIZE_INC;
3735 text_class: "list_item";
3739 state: "compress" 0.0;
3740 inherit: "default" 0.0;
3747 state: "clicked" 0.0;
3748 inherit: "default" 0.0;
3749 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
3752 state: "disabled" 0.0;
3753 inherit: "default" 0.0;
3754 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3757 state: "compress_disabled" 0.0;
3758 inherit: "compress" 0.0;
3759 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3763 name: "text_right_padding";
3768 state: "default" 0.0;
3770 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3771 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3782 state: "default" 0.0;
3796 state: "default" 0.0;
3806 state: "default" 0.0;
3810 state: "disabled" 0.0;
3812 color: CTXPOPUP_ITEM_DISABLED_COLOR;
3818 name: "item_unclick";
3819 signal: "mouse,clicked,1";
3821 action: SIGNAL_EMIT "elm,action,click" "";
3826 action: PLAY_SAMPLE "touch_sound" 1.0;
3830 signal: "elm,state,disabled";
3835 get_state(PART:"elm.text", st, 30, vl);
3836 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
3837 set_state(PART:"elm.text", "compress_disabled", 0.0);
3839 set_state(PART:"elm.text", "disabled", 0.0);
3841 set_state(PART:"disclip", "disabled", 0.0);
3846 signal: "elm,state,enabled";
3851 get_state(PART:"elm.text", st, 30, vl);
3852 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
3853 set_state(PART:"elm.text", "compress", 0.0);
3855 set_state(PART:"elm.text", "default", 0.0);
3857 set_state(PART:"disclip", "default", 0.0);
3862 signal: "elm,state,default";
3865 set_state(PART:"separator1", "default", 0.0);
3866 set_state(PART:"separator2", "default", 0.0);
3871 signal: "elm,state,compress";
3876 get_state(PART:"disclip", st, 30, vl);
3877 if (!strcmp(st, "disabled"))
3878 set_state(PART:"elm.text", "compress_disabled", 0.0);
3880 set_state(PART:"elm.text", "compress", 0.0);
3885 signal: "elm,state,separator";
3888 set_state(PART:"separator1", "visible", 0.0);
3889 set_state(PART:"separator2", "visible", 0.0);
3893 name: "item_click2";
3894 signal: "mouse,down,1";
3897 set_state(PART:"elm.text", "clicked", 0.0);
3901 get_state(PART:"separator2", st, 30, vl);
3902 if (!strcmp(st, "default"))
3903 set_state(PART:"bg", "clicked", 0.0);
3905 set_state(PART:"bg", "clicked_separator", 0.0);
3913 new Float:dx, Float:dy;
3914 get_drag(PART:"over2", dx, dy);
3915 if ((abs(dx) > 20) || (abs(dy) > 20))
3917 set_drag(PART:"over2", 0.0, 0.0);
3918 set_state(PART:"elm.text", "compress", 0.0);
3919 set_state(PART:"bg", "default", 0.0);
3921 set_drag(PART:"over2", 0.0, 0.0);
3925 name: "item_unclick2";
3926 signal: "mouse,up,1";
3929 set_drag(PART:"over2", 0.0, 0.0);
3930 set_state(PART:"elm.text", "compress", 0.0);
3931 set_state(PART:"bg", "default", 0.0);
3937 ///////////////////////////////////////////////////////////////////////////////////////
3938 #define CTXPOPUP_ENTRY_LIST_PADDING_LEFT 3
3939 #define CTXPOPUP_ENTRY_LIST_PADDING_TOP 6
3940 #define CTXPOPUP_ENTRY_LIST_PADDING_RIGHT 3
3941 #define CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM 6
3942 //////////////////////////////////////////////////////////////////////////////////////
3944 name: "elm/ctxpopup/base/extended/entry";
3945 alias: "elm/ctxpopup/base/extended/entry/pass_event";
3947 image: "copy&paste_bg_center.png" COMP;
3948 image: "ctxpopup_shadow.png" COMP;
3952 name:"frame_shadow_left_top_padding";
3957 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3958 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3965 name:"frame_shadow_right_bottom_padding";
3970 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3971 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3972 rel1{relative: 1 1;}
3979 name: "frame_shadow";
3984 state: "default" 0.0;
3985 rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
3986 rel2 {to:"frame_shadow_right_bottom_padding";}
3988 normal: "ctxpopup_shadow.png";
3989 border: 10 10 10 10;
4000 state: "default" 0.0;
4001 rel1 {to:"elm.swallow.content";}
4002 rel2 {to:"elm.swallow.content";}
4004 normal: "copy&paste_bg_center.png";
4005 border: CTXPOPUP_ENTRY_CENTER_IMAGE_BORDER;
4011 name: "arrow_area_left";
4016 state: "default" 0.0;
4018 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
4023 to_y: "ctxpopup_frame_left_top";
4027 to:"ctxpopup_frame_left_bottom";
4032 name: "arrow_area_right";
4036 description { state: "default" 0.0;
4038 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
4043 to:"ctxpopup_frame_right_top";
4047 to_y: "ctxpopup_frame_right_bottom";
4052 name: "arrow_area_up";
4056 description { state: "default" 0.0;
4058 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4072 name: "arrow_area_down";
4077 state: "default" 0.0;
4079 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4093 name: "elm.swallow.arrow_up";
4100 confine: "arrow_area_up";
4103 state: "default" 0.0;
4104 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4110 name: "elm.swallow.arrow_down";
4117 confine: "arrow_area_down";
4120 state: "default" 0.0;
4121 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4127 name: "elm.swallow.arrow_left";
4134 confine: "arrow_area_left";
4137 state: "default" 0.0;
4138 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
4144 name: "elm.swallow.arrow_right";
4151 confine: "arrow_area_right";
4154 state: "default" 0.0;
4155 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
4161 name: "ctxpopup_frame_left_top";
4167 min: CTXPOPUP_FRAME_CORNER_SIZE;
4168 max: CTXPOPUP_FRAME_CORNER_SIZE;
4172 name: "ctxpopup_frame_right_top";
4178 min: CTXPOPUP_FRAME_CORNER_SIZE;
4179 max: CTXPOPUP_FRAME_CORNER_SIZE;
4183 name: "ctxpopup_frame_left_bottom";
4189 min: CTXPOPUP_FRAME_CORNER_SIZE;
4190 max: CTXPOPUP_FRAME_CORNER_SIZE;
4194 name: "ctxpopup_frame_right_bottom";
4200 min: CTXPOPUP_FRAME_CORNER_SIZE;
4201 max: CTXPOPUP_FRAME_CORNER_SIZE;
4205 name:"list_shadow_right_bottom_padding";
4210 min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
4211 max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
4215 rel1 {to:"elm.swallow.content"; relative: 1 1;}
4219 name:"content_left_top_padding";
4224 state: "default" 0.0;
4225 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4226 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4233 name:"content_right_bottom_padding";
4238 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4239 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4240 rel1 { relative: 1 1;}
4241 rel2 { relative: 1 1;}
4248 name: "elm.swallow.content";
4251 state: "default" 0.0;
4253 rel1 {to:"ctxpopup_frame_left_top"; relative: 0.5 0.5;}
4254 rel2 {to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
4259 ///////////////////////////////////////////////////////////////////////////////////////
4261 name: "elm/ctxpopup/arrow/extended/entry";
4262 alias: "elm/ctxpopup/arrow/extended/entry/pass_event";
4264 image: "copy&paste_arrow_up.png" COMP;
4265 image: "copy&paste_arrow_left.png" COMP;
4266 image: "copy&paste_arrow_right.png" COMP;
4267 image: "copy&paste_arrow_down.png" COMP;
4271 name: "ctxpopup_arrow";
4275 state: "default" 0.0;
4276 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4277 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4284 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4285 max: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4289 normal: "copy&paste_arrow_left.png";
4294 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4295 max: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4299 normal: "copy&paste_arrow_right.png";
4304 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4305 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4309 normal: "copy&paste_arrow_up.png";
4313 state: "bottom" 0.0;
4314 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4315 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4319 normal: "copy&paste_arrow_down.png";
4326 name: "enable_left_arrow";
4327 signal: "elm,state,left";
4329 action: STATE_SET "left" 0.0;
4330 target: "ctxpopup_arrow";
4333 name: "enable_right_arrow";
4334 signal: "elm,state,right";
4336 action: STATE_SET "right" 0.0;
4337 target: "ctxpopup_arrow";
4340 name: "enable_top_arrow";
4341 signal: "elm,state,top";
4343 action: STATE_SET "top" 0.0;
4344 target: "ctxpopup_arrow";
4347 name: "enable_bottom_arrow";
4348 signal: "elm,state,bottom";
4350 action: STATE_SET "bottom" 0.0;
4351 target: "ctxpopup_arrow";
4355 ///////////////////////////////////////////////////////////////////////////////////////
4356 #define CTXPOPUP_ENTRY_ITEM_BG_PART \
4362 state: "default" 0.0;\
4364 rel1 {to:"left_bg_padding"; relative: 1 0;}\
4365 rel2 {to:"right_bg_padding"; relative: 0 1;}\
4367 normal: "copy&paste_press_center.png";\
4372 state: "clicked" 0.0;\
4373 inherit: "default" 0.0;\
4376 normal: "copy&paste_press_center.png";\
4381 #define CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART \
4383 name: "left_bg_padding";\
4388 state: "default" 0.0;\
4390 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4391 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4394 rel1 { to: "event_blocker"; relative: 0 0; }\
4395 rel2 { to: "event_blocker"; relative: 0 1; }\
4397 normal: "copy&paste_press_left.png";\
4398 border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
4403 state: "clicked" 0.0;\
4404 inherit: "default" 0.0;\
4407 normal: "copy&paste_press_left.png";\
4408 border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
4413 #define CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART \
4415 name: "right_bg_padding";\
4420 state: "default" 0.0;\
4422 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4423 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4426 rel1 { to: "event_blocker"; relative: 1 0; }\
4427 rel2 { to: "event_blocker"; relative: 1 1; }\
4429 normal: "copy&paste_press_right.png";\
4430 border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
4435 state: "clicked" 0.0;\
4436 inherit: "default" 0.0;\
4439 normal: "copy&paste_press_right.png";\
4440 border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
4445 #define CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART \
4447 name: "left_padding";\
4452 state: "default" 0.0;\
4454 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4455 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4460 #define CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART \
4462 name: "right_padding";\
4467 state: "default" 0.0;\
4469 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4470 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4475 #define CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART \
4477 name: "left_separator";\
4482 state: "default" 0.0;\
4484 color: CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_COLOR;\
4485 min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4486 max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4493 state: "vertical" 0.0;\
4494 inherit: "default" 0.0;\
4498 state: "horizontal" 0.0;\
4499 inherit: "default" 0.0;\
4503 #define CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART \
4505 name: "right_separator";\
4510 state: "default" 0.0;\
4512 color: CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_COLOR;\
4513 min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4514 max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4525 state: "vertical" 0.0;\
4526 inherit: "default" 0.0;\
4530 state: "horizontal" 0.0;\
4531 inherit: "default" 0.0;\
4535 ///////////////////////////////////////////////////////////////////////////////////////
4538 name: "elm/ctxpopup/text_style_item/extended/entry";
4539 alias: "elm/ctxpopup/text_style_item/extended/entry/pass_event";
4541 image: "copy&paste_press_center.png" COMP;
4542 image: "copy&paste_press_left.png" COMP;
4543 image: "copy&paste_press_right.png" COMP;
4547 name: "event_blocker";
4551 state: "default" 0.0;
4555 CTXPOPUP_ENTRY_ITEM_BG_PART
4556 CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART
4557 CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART
4558 CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
4559 CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
4560 CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
4561 CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
4568 state: "default" 0.0;
4569 min: 1 CTXPOPUP_ENTRY_ITEM_HEIGHT;
4570 max: CTXPOPUP_ENTRY_ITEM_WIDTH_MAX CTXPOPUP_ENTRY_ITEM_HEIGHT;
4573 rel1 {relative: 1.0 0.0; to: "left_padding";}
4574 rel2 {relative: 0.0 1.0; to: "right_padding";}
4575 color: CTXPOPUP_ENTRY_ITEM_TEXT_COLOR;
4577 font: "Tizen:style=Roman";
4578 size: CTXPOPUP_ENTRY_ITEM_FONT_SIZE;
4581 text_class: "list_item";
4585 state: "clicked" 0.0;
4586 inherit: "default" 0.0;
4587 color: CTXPOPUP_ENTRY_ITEM_TEXT_COLOR;
4595 ignore_flags: ON_HOLD;
4597 state: "default" 0.0;
4607 state: "default" 0.0;
4614 state: "default" 0.0;
4618 state: "disabled" 0.0;
4620 color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
4626 name: "item_unclick";
4627 signal: "mouse,up,1";
4629 action: SIGNAL_EMIT "elm,action,click" "";
4634 action: PLAY_SAMPLE "touch_sound" 1.0;
4638 signal: "elm,state,disabled";
4640 action: STATE_SET "disabled" 0.0;
4645 signal: "elm,state,enabled";
4647 action: STATE_SET "default" 0.0;
4651 name: "item_click2";
4652 signal: "mouse,down,1";
4655 set_state(PART:"elm.text", "clicked", 0.0);
4656 set_state(PART:"bg", "clicked", 0.0);
4657 set_state(PART:"left_bg_padding", "clicked", 0.0);
4658 set_state(PART:"right_bg_padding", "clicked", 0.0);
4662 name: "item_unclick2";
4663 signal: "mouse,up,1";
4666 set_state(PART:"elm.text", "default", 0.0);
4667 set_state(PART:"bg", "default", 0.0);
4668 set_state(PART:"left_bg_padding", "default", 0.0);
4669 set_state(PART:"right_bg_padding", "default", 0.0);
4674 signal: "elm,state,default";
4677 set_state(PART:"left_separator", "default", 0.0);
4678 set_state(PART:"right_separator", "default", 0.0);
4683 signal: "elm,state,vertical";
4686 set_state(PART:"left_separator", "vertical", 0.0);
4687 set_state(PART:"right_separator", "vertical", 0.0);
4692 signal: "elm,state,horizontal";
4695 set_state(PART:"left_separator", "horizontal", 0.0);
4696 set_state(PART:"right_separator", "horizontal", 0.0);
4701 ///////////////////////////////////////////////////////////////////////////////
4703 name: "elm/ctxpopup/icon_style_item/extended/entry";
4705 image: "copy&paste_press_center.png" COMP;
4706 image: "copy&paste_press_left.png" COMP;
4707 image: "copy&paste_press_right.png" COMP;
4711 name: "event_blocker";
4715 state: "default" 0.0;
4719 CTXPOPUP_ENTRY_ITEM_BG_PART
4720 CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART
4721 CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART
4722 CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
4723 CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
4724 CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
4725 CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
4727 name: "elm.swallow.icon";
4731 state: "default" 0.0;
4737 rel1 {relative: 1.0 0.0; to: "left_padding";}
4738 rel2 {relative: 0.0 1.0; to: "right_padding";}
4742 name: "elm.swallow.icon.paint";
4746 state: "default" 0.0;
4748 color: 255 255 0 255;
4749 rel1 { to: "elm.swallow.icon"; }
4750 rel2 { to: "elm.swallow.icon"; }
4758 ignore_flags: ON_HOLD;
4760 state: "default" 0.0;
4770 state: "default" 0.0;
4777 state: "default" 0.0;
4781 state: "disabled" 0.0;
4783 color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
4789 name: "item_unclick";
4790 signal: "mouse,up,1";
4792 action: SIGNAL_EMIT "elm,action,click" "";
4797 action: PLAY_SAMPLE "touch_sound" 1.0;
4801 signal: "elm,state,disabled";
4803 action: STATE_SET "disabled" 0.0;
4807 name: "item_click2";
4808 signal: "mouse,down,1";
4811 set_state(PART:"bg", "clicked", 0.0);
4812 set_state(PART:"left_bg_padding", "clicked", 0.0);
4813 set_state(PART:"right_bg_padding", "clicked", 0.0);
4817 name: "item_unclick2";
4818 signal: "mouse,up,1";
4821 set_state(PART:"bg", "default", 0.0);
4822 set_state(PART:"left_bg_padding", "default", 0.0);
4823 set_state(PART:"right_bg_padding", "default", 0.0);
4828 signal: "elm,state,default";
4831 set_state(PART:"left_separator", "default", 0.0);
4832 set_state(PART:"right_separator", "default", 0.0);
4837 signal: "elm,state,vertical";
4840 set_state(PART:"left_separator", "vertical", 0.0);
4841 set_state(PART:"right_separator", "vertical", 0.0);
4846 signal: "elm,state,horizontal";
4849 set_state(PART:"left_separator", "horizontal", 0.0);
4850 set_state(PART:"right_separator", "horizontal", 0.0);
4855 ///////////////////////////////////////////////////////////////////////////////////////
4856 #define CTXPOPUP_TP_TEXT_WIDTH 32
4857 #define CTXPOPUP_TP_PADDING 15
4858 #define CTXPOPUP_TP_FONT_COLOR 231 173 95 255
4859 #define CTXPOPUP_TP_CLICKED_FONT_COLOR 255 255 255 255
4860 #define CTXPOPUP_TP_FONT_SIZE 24
4861 ///////////////////////////////////////////////////////////////////////////////
4863 name: "elm/ctxpopup/base/datetime/default";
4864 alias: "elm/ctxpopup/base/timepicker";
4867 image: "00_time_picker_number_bg.png" COMP;
4872 name: "ctxpopup_frame";
4876 rel1 {to:"elm.swallow.content";}
4877 rel2 {to:"elm.swallow.content";}
4879 normal: "00_time_picker_number_bg.png";
4880 border: CTXPOPUP_TP_BG_IMAGE_BORDER;
4886 name: "elm.swallow.content";
4890 state: "default" 0.0;
4891 min: 1 CTXPOPUP_TP_HEIGHT_INC;
4894 part { name: "arrow_area_left";
4898 description { state: "default" 0.0;
4905 to_y: "ctxpopup_frame";
4909 to:"ctxpopup_frame";
4913 part { name: "arrow_area_right";
4917 description { state: "default" 0.0;
4924 to:"ctxpopup_frame";
4928 to_y: "ctxpopup_frame";
4932 part { name: "arrow_area_up";
4936 description { state: "default" 0.0;
4943 to_x: "ctxpopup_frame";
4947 to:"ctxpopup_frame";
4951 part { name: "arrow_area_down";
4955 description { state: "default" 0.0;
4962 to:"ctxpopup_frame";
4966 to_x: "ctxpopup_frame";
4970 part { name: "elm.swallow.arrow_up";
4977 confine: "arrow_area_up";
4980 state: "default" 0.0;
4986 part { name: "elm.swallow.arrow_down";
4993 confine: "arrow_area_down";
4996 state: "default" 0.0;
5002 part { name: "elm.swallow.arrow_left";
5009 confine: "arrow_area_left";
5012 state: "default" 0.0;
5018 part { name: "elm.swallow.arrow_right";
5025 confine: "arrow_area_right";
5028 state: "default" 0.0;
5036 ///////////////////////////////////////////////////////////////////////////////
5037 group { name: "elm/ctxpopup/arrow/datetime/default";
5038 alias: "elm/ctxpopup/arrow/timepicker";
5040 image: "00_time_picker_tail.png" COMP;
5041 image: "00_time_picker_tail_01.png" COMP;
5045 name: "ctxpopup_arrow";
5049 state: "default" 0.0;
5050 min: CTXPOPUP_TP_ARROW_SIZE_INC;
5051 max: CTXPOPUP_TP_ARROW_SIZE_INC;
5058 min: CTXPOPUP_TP_ARROW_SIZE_INC;
5059 max: CTXPOPUP_TP_ARROW_SIZE_INC;
5063 normal: "00_time_picker_tail.png";
5068 min: CTXPOPUP_TP_ARROW_SIZE_INC;
5069 max: CTXPOPUP_TP_ARROW_SIZE_INC;
5073 normal: "00_time_picker_tail.png";
5078 min: CTXPOPUP_TP_ARROW_SIZE_INC;
5079 max: CTXPOPUP_TP_ARROW_SIZE_INC;
5083 normal: "00_time_picker_tail.png";
5087 state: "bottom" 0.0;
5088 min: CTXPOPUP_TP_ARROW_SIZE_INC;
5089 max: CTXPOPUP_TP_ARROW_SIZE_INC;
5093 normal: "00_time_picker_tail_01.png";
5100 name: "enable_left_arrow";
5101 signal: "elm,state,left";
5103 action: STATE_SET "left" 0.0;
5104 target: "ctxpopup_arrow";
5107 name: "enable_right_arrow";
5108 signal: "elm,state,right";
5110 action: STATE_SET "right" 0.0;
5111 target: "ctxpopup_arrow";
5114 name: "enable_top_arrow";
5115 signal: "elm,state,top";
5117 action: STATE_SET "top" 0.0;
5118 target: "ctxpopup_arrow";
5121 name: "enable_bottom_arrow";
5122 signal: "elm,state,bottom";
5124 action: STATE_SET "bottom" 0.0;
5125 target: "ctxpopup_arrow";
5129 ///////////////////////////////////////////////////////////////////////////////
5131 name: "elm/ctxpopup/text_style_item/datetime/default";
5132 alias: "elm/ctxpopup/text_style_item/timepicker";
5135 name: "left_padding";
5140 state: "default" 0.0;
5141 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
5142 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
5154 state: "default" 0.0;
5155 min: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
5156 max: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
5159 rel1 {relative: 1.0 0.0; to: "left_padding";}
5160 color: CTXPOPUP_TP_FONT_COLOR;
5162 font: "Tizen:style=Medium";
5163 size: CTXPOPUP_TP_FONT_SIZE;
5166 text_class: "tizen";
5170 state: "clicked" 0.0;
5171 inherit: "default" 0.0;
5172 color: 255 255 255 255;
5176 name: "right_padding";
5180 state: "default" 0.0;
5181 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
5182 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
5184 rel1 {relative: 1.0 0.0; to: "elm.text";}
5193 ignore_flags: ON_HOLD;
5195 state: "default" 0.0;
5205 state: "default" 0.0;
5212 name: "item_unclick";
5213 signal: "mouse,up,1";
5215 action: SIGNAL_EMIT "elm,action,click" "";
5220 action: PLAY_SAMPLE "touch_sound" 1.0;
5224 signal: "mouse,down,1";
5227 set_state(PART:"elm.text", "clicked", 0.0);
5231 name: "item_unclick2";
5232 signal: "mouse,up,1";
5235 set_state(PART:"elm.text", "default", 0.0);
5240 ///////////////////////////////////////////////////////////////////////////////
5242 name: "elm/ctxpopup/text_style_item/toolbar_segmentedcontrol";
5245 image: "00_more_popup_press.png" COMP;
5250 name: "event_blocker";
5254 state: "default" 0.0;
5264 state: "default" 0.0;
5266 min: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) 1;
5267 max: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
5270 state: "clicked" 0.0;
5273 normal: "00_more_popup_press.png";
5274 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
5279 state: "clicked_separator" 0.0;
5280 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
5283 normal: "00_more_popup_press.png";
5284 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
5295 state: "default" 0.0;
5296 color: CTXPOPUP_SEPARATOR_COLOR_INC;
5297 rel1 { relative: 1.0 0.0; to_x: "left_padding";}
5298 rel2 { relative: 0.0 1.0; to_x: "right_padding"; offset: 0 0;}
5300 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5301 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5305 state: "visible" 0.0;
5306 inherit: "default" 0.0;
5316 state: "default" 0.0;
5317 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
5318 rel1 { relative: 0.0 1.0; to: "separator1";}
5319 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
5322 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5323 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5327 state: "visible" 0.0;
5328 inherit: "default" 0.0;
5333 name: "left_padding";
5338 state: "default" 0.0;
5339 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5340 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
5352 state: "default" 0.0;
5353 min: 1 CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5355 rel1 {relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg";}
5356 rel2 {relative: 0.0 1.0; to_x: "right_padding"; to_y: "bg";}
5357 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
5359 font: "Tizen:style=Roman";
5360 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
5363 text_class: "list_item";
5367 state: "compress" 0.0;
5368 inherit: "default" 0.0;
5375 state: "clicked" 0.0;
5376 inherit: "default" 0.0;
5377 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
5380 state: "disabled" 0.0;
5381 inherit: "default" 0.0;
5382 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
5385 state: "compress_disabled" 0.0;
5386 inherit: "compress" 0.0;
5387 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
5391 name: "right_padding";
5396 state: "default" 0.0;
5398 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5399 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
5410 state: "default" 0.0;
5424 state: "default" 0.0;
5434 state: "default" 0.0;
5438 state: "disabled" 0.0;
5440 color: CTXPOPUP_ITEM_DISABLED_COLOR;
5446 name: "item_unclick";
5447 signal: "mouse,clicked,1";
5449 action: SIGNAL_EMIT "elm,action,click" "";
5454 action: PLAY_SAMPLE "touch_sound" 1.0;
5458 signal: "elm,state,disabled";
5463 get_state(PART:"elm.text", st, 30, vl);
5464 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
5465 set_state(PART:"elm.text", "compress_disabled", 0.0);
5467 set_state(PART:"elm.text", "disabled", 0.0);
5469 set_state(PART:"disclip", "disabled", 0.0);
5474 signal: "elm,state,enabled";
5479 get_state(PART:"elm.text", st, 30, vl);
5480 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
5481 set_state(PART:"elm.text", "compress", 0.0);
5483 set_state(PART:"elm.text", "default", 0.0);
5485 set_state(PART:"disclip", "default", 0.0);
5490 signal: "elm,state,default";
5493 set_state(PART:"separator1", "default", 0.0);
5494 set_state(PART:"separator2", "default", 0.0);
5499 signal: "elm,state,compress";
5504 get_state(PART:"disclip", st, 30, vl);
5505 if (!strcmp(st, "disabled"))
5506 set_state(PART:"elm.text", "compress_disabled", 0.0);
5508 set_state(PART:"elm.text", "compress", 0.0);
5513 signal: "elm,state,separator";
5516 set_state(PART:"separator1", "visible", 0.0);
5517 set_state(PART:"separator2", "visible", 0.0);
5521 name: "item_click2";
5522 signal: "mouse,down,1";
5525 set_state(PART:"elm.text", "clicked", 0.0);
5529 get_state(PART:"separator2", st, 30, vl);
5530 if (!strcmp(st, "default"))
5531 set_state(PART:"bg", "clicked", 0.0);
5533 set_state(PART:"bg", "clicked_separator", 0.0);
5541 new Float:dx, Float:dy;
5542 get_drag(PART:"over2", dx, dy);
5543 if ((abs(dx) > 20) || (abs(dy) > 20))
5545 set_drag(PART:"over2", 0.0, 0.0);
5546 set_state(PART:"elm.text", "compress", 0.0);
5547 set_state(PART:"bg", "default", 0.0);
5549 set_drag(PART:"over2", 0.0, 0.0);
5553 name: "item_unclick2";
5554 signal: "mouse,up,1";
5557 set_drag(PART:"over2", 0.0, 0.0);
5558 set_state(PART:"elm.text", "compress", 0.0);
5559 set_state(PART:"bg", "default", 0.0);