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);
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";
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;
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;
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 127;
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 0.6;
246 target: "top_padding";
247 target: "layout_clip";
251 action: STATE_SET "visible" 0.0;
252 transition:SIN_FAC 0.33 0.6;
253 target: "bottom_padding";
254 target: "layout_clip";
258 action: STATE_SET "visible" 0.0;
259 transition:SIN_FAC 0.33 0.6;
260 target: "left_padding";
261 target: "layout_clip";
264 name: "showrightend";
265 action: STATE_SET "visible" 0.0;
266 transition:SIN_FAC 0.33 0.6;
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 0.6;
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 0.6;
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 0.6;
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 0.6;
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 0.6;
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 0.6;
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 0.6;
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 0.6;
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_MORE_MOVE_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_MORE_MOVE_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_MORE_MOVE_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_MORE_MOVE_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:"content_left_top_padding";
1632 to_y: "ctxpopup_frame_left_top";
1636 to_x:"content_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:"content_right_bottom_padding";
1653 to_y:"ctxpopup_frame_left_top";
1657 to_x:"content_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: "content_left_top_padding";
1678 to_x:"ctxpopup_frame_right_bottom";
1679 to_y: "content_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:"content_right_bottom_padding";
1699 to_x: "ctxpopup_frame_right_bottom";
1700 to_y:"content_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: "elm.swallow.content";
1830 state: "default" 0.0;
1832 rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;}
1833 rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;}
1841 state: "default" 0.0;
1843 rel1 {to:"elm.swallow.content";}
1844 rel2 {to:"elm.swallow.content";}
1846 normal: "00_popup_bubble_mask.png";
1847 border: CTXPOPUP_BUBBLE_MASK_IMAGE_BORDER;
1852 state: "visible" 0.0;
1853 inherit: "default" 0.0;
1855 rel1 {to:"elm.swallow.content";}
1856 rel2 {to:"elm.swallow.content";}
1863 signal: "mouse,down,1";
1864 source: "elm.swallow.content";
1865 action: STATE_SET "visible" 0.0;
1870 signal: "mouse,up,1";
1871 source: "elm.swallow.content";
1872 action: STATE_SET "default" 0.0;
1878 ///////////////////////////////////////////////////////////////////////////////
1879 group { name: "elm/ctxpopup/arrow/default";
1881 image: "00_popup_bubble_tail_left.png" COMP;
1882 image: "00_popup_bubble_tail_right.png" COMP;
1883 image: "00_popup_bubble_tail_top.png" COMP;
1884 image: "00_popup_bubble_tail_bottom.png" COMP;
1888 name: "ctxpopup_arrow";
1892 state: "default" 0.0;
1893 min: CTXPOPUP_ARROW_SIZE_INC;
1894 max: CTXPOPUP_ARROW_SIZE_INC;
1901 min: CTXPOPUP_ARROW_SIZE_INC;
1902 max: CTXPOPUP_ARROW_SIZE_INC;
1906 normal: "00_popup_bubble_tail_left.png";
1911 min: CTXPOPUP_ARROW_SIZE_INC;
1912 max: CTXPOPUP_ARROW_SIZE_INC;
1916 normal: "00_popup_bubble_tail_right.png";
1921 min: CTXPOPUP_ARROW_SIZE_INC;
1922 max: CTXPOPUP_ARROW_SIZE_INC;
1926 normal: "00_popup_bubble_tail_top.png";
1930 state: "bottom" 0.0;
1931 min: CTXPOPUP_ARROW_SIZE_INC;
1932 max: CTXPOPUP_ARROW_SIZE_INC;
1936 normal: "00_popup_bubble_tail_bottom.png";
1943 name: "enable_left_arrow";
1944 signal: "elm,state,left";
1946 action: STATE_SET "left" 0.0;
1947 target: "ctxpopup_arrow";
1950 name: "enable_right_arrow";
1951 signal: "elm,state,right";
1953 action: STATE_SET "right" 0.0;
1954 target: "ctxpopup_arrow";
1957 name: "enable_top_arrow";
1958 signal: "elm,state,top";
1960 action: STATE_SET "top" 0.0;
1961 target: "ctxpopup_arrow";
1964 name: "enable_bottom_arrow";
1965 signal: "elm,state,bottom";
1967 action: STATE_SET "bottom" 0.0;
1968 target: "ctxpopup_arrow";
1972 ///////////////////////////////////////////////////////////////////////////////
1974 name: "elm/ctxpopup/text_style_item/default";
1976 data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC;
1980 name: "event_blocker";
1984 state: "default" 0.0;
1994 state: "default" 0.0;
1995 color: CTXPOPUP_BG_COLOR_INC;
1997 min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING*2) 1;
1998 max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2001 state: "clicked" 0.0;
2002 inherit: "default" 0.0;
2003 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2006 state: "clicked_separator" 0.0;
2007 inherit: "default" 0.0;
2008 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
2009 color: CTXPOPUP_BG_PRESS_COLOR_INC;
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);
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 name: "event_blocker";
2310 state: "default" 0.0;
2320 state: "default" 0.0;
2321 color: CTXPOPUP_BG_COLOR_INC;
2323 min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2326 state: "clicked" 0.0;
2327 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2331 state: "clicked_separator" 0.0;
2332 rel1 { relative: 1.0 0.0; to_x: "separator2"; }
2333 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2343 state: "default" 0.0;
2344 color: CTXPOPUP_HORIZONTAL_SEPARATOR_1_COLOR_INC;
2346 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2347 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2351 state: "visible" 0.0;
2352 inherit: "default" 0.0;
2362 state: "default" 0.0;
2363 color: CTXPOPUP_HORIZONTAL_SEPARATOR_2_COLOR_INC;
2364 rel1 { relative: 1.0 0.0; to: "separator1"; to_y: "bg";}
2366 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2367 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2371 state: "visible" 0.0;
2372 inherit: "default" 0.0;
2377 name: "left_padding";
2382 state: "default" 0.0;
2383 min: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2384 max: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2397 state: "default" 0.0;
2398 min: (CTXPOPUP_TEXT_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ITEM_ICON_PADDING_INC*2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2400 rel1 {relative: 1.0 0.0; to: "left_padding"; }
2401 rel2 {relative: 0.0 1.0; to: "right_padding"; }
2402 color: CTXPOPUP_MAIN_TEXT_COLOR_INC;
2404 font: "Tizen:style=Roman";
2405 size: CTXPOPUP_MAIN_TEXT_SIZE_INC;
2408 text_class: "list_item";
2412 state: "compress" 0.0;
2413 inherit: "default" 0.0;
2420 state: "clicked" 0.0;
2421 inherit: "default" 0.0;
2422 color: CTXPOPUP_MAIN_TEXT_PRESS_COLOR_INC;
2425 state: "disabled" 0.0;
2426 inherit: "default" 0.0;
2427 color: CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC;
2430 state: "compress_disabled" 0.0;
2431 inherit: "compress" 0.0;
2432 color: CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC;
2436 name: "right_padding";
2441 state: "default" 0.0;
2442 min: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2443 max: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2456 state: "default" 0.0;
2470 state: "default" 0.0;
2480 state: "default" 0.0;
2484 state: "disabled" 0.0;
2486 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2492 name: "item_unclick";
2493 signal: "mouse,clicked,1";
2495 action: SIGNAL_EMIT "elm,action,click" "";
2500 action: PLAY_SAMPLE "touch_sound" 1.0;
2504 signal: "elm,state,disabled";
2509 get_state(PART:"elm.text", st, 30, vl);
2510 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
2511 set_state(PART:"elm.text", "compress_disabled", 0.0);
2513 set_state(PART:"elm.text", "disabled", 0.0);
2515 set_state(PART:"disclip", "disabled", 0.0);
2520 signal: "elm,state,enabled";
2525 get_state(PART:"elm.text", st, 30, vl);
2526 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
2527 set_state(PART:"elm.text", "compress", 0.0);
2529 set_state(PART:"elm.text", "default", 0.0);
2531 set_state(PART:"disclip", "default", 0.0);
2536 signal: "elm,state,default";
2539 set_state(PART:"separator1", "default", 0.0);
2540 set_state(PART:"separator2", "default", 0.0);
2545 signal: "elm,state,compress";
2550 get_state(PART:"disclip", st, 30, vl);
2551 if (!strcmp(st, "disabled"))
2552 set_state(PART:"elm.text", "compress_disabled", 0.0);
2554 set_state(PART:"elm.text", "compress", 0.0);
2559 signal: "elm,state,separator";
2562 set_state(PART:"separator1", "visible", 0.0);
2563 set_state(PART:"separator2", "visible", 0.0);
2567 name: "item_click2";
2568 signal: "mouse,down,1";
2571 set_state(PART:"elm.text", "clicked", 0.0);
2575 get_state(PART:"separator2", st, 30, vl);
2576 if (!strcmp(st, "default"))
2577 set_state(PART:"bg", "clicked", 0.0);
2579 set_state(PART:"bg", "clicked_separator", 0.0);
2587 new Float:dx, Float:dy;
2588 get_drag(PART:"over2", dx, dy);
2591 set_drag(PART:"over2", 0.0, 0.0);
2592 set_state(PART:"elm.text", "compress", 0.0);
2593 set_state(PART:"bg", "default", 0.0);
2595 set_drag(PART:"over2", 0.0, 0.0);
2599 name: "item_unclick2";
2600 signal: "mouse,up,1";
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);
2610 ///////////////////////////////////////////////////////////////////////////////
2612 name: "elm/ctxpopup/icon_style_item/default";
2615 name: "event_blocker";
2619 state: "default" 0.0;
2629 state: "default" 0.0;
2630 color: CTXPOPUP_BG_COLOR_INC;
2632 min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2633 max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2636 state: "clicked" 0.0;
2637 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2641 state: "clicked_separator" 0.0;
2642 rel1 { relative: 1.0 0.0; to_x: "separator2"; }
2643 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2648 name: "left_padding";
2651 min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2652 max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2664 state: "default" 0.0;
2665 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2667 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2668 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2672 state: "visible" 0.0;
2673 inherit: "default" 0.0;
2683 state: "default" 0.0;
2684 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2685 rel1 { relative: 1.0 0.0; to_x: "separator1"; }
2687 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2688 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2692 state: "visible" 0.0;
2693 inherit: "default" 0.0;
2698 name: "elm.swallow.icon";
2702 state: "default" 0.0;
2703 min: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC;
2704 max: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC;
2707 rel1 { relative: 1 0; to_x: "left_padding"; }
2708 rel2 { relative: 0 1; to_x: "right_padding"; }
2712 name: "right_padding";
2715 min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2716 max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2728 state: "default" 0.0;
2742 state: "default" 0.0;
2752 state: "default" 0.0;
2756 state: "disabled" 0.0;
2758 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2765 signal: "elm,state,default";
2768 set_state(PART:"separator1", "default", 0.0);
2769 set_state(PART:"separator2", "default", 0.0);
2774 signal: "elm,state,separator";
2777 set_state(PART:"separator1", "visible", 0.0);
2778 set_state(PART:"separator2", "visible", 0.0);
2782 name: "item_unclick";
2783 signal: "mouse,clicked,1";
2785 action: SIGNAL_EMIT "elm,action,click" "";
2790 action: PLAY_SAMPLE "touch_sound" 1.0;
2794 signal: "elm,state,disabled";
2796 action: STATE_SET "disabled" 0.0;
2801 signal: "elm,state,enabled";
2803 action: STATE_SET "default" 0.0;
2807 name: "item_click2";
2808 signal: "mouse,down,1";
2813 get_state(PART:"separator2", st, 30, vl);
2814 if (!strcmp(st, "default"))
2815 set_state(PART:"bg", "clicked", 0.0);
2817 set_state(PART:"bg", "clicked_separator", 0.0);
2825 new Float:dx, Float:dy;
2826 get_drag(PART:"over2", dx, dy);
2829 set_drag(PART:"over2", 0.0, 0.0);
2830 set_state(PART:"bg", "default", 0.0);
2832 set_drag(PART:"over2", 0.0, 0.0);
2836 name: "item_unclick2";
2837 signal: "mouse,up,1";
2840 set_drag(PART:"over2", 0.0, 0.0);
2841 set_state(PART:"bg", "default", 0.0);
2846 ///////////////////////////////////////////////////////////////////////////////
2848 name: "elm/ctxpopup/icon_text_style_item/default";
2850 data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC;
2854 name: "event_blocker";
2858 state: "default" 0.0;
2867 state: "default" 0.0;
2868 color: CTXPOPUP_BG_COLOR_INC;
2872 state: "clicked" 0.0;
2873 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2877 state: "clicked_separator" 0.0;
2878 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
2879 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2884 name:"separator_left_padding";
2889 min: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2890 max: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2897 name:"separator_right_padding";
2902 min: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2903 max: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2910 name: "icon_left_padding";
2914 state: "default" 0.0;
2915 min: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2916 max: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2928 state: "default" 0.0;
2929 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2930 rel1 { relative: 1.0 0.0; to_x: "separator_left_padding";}
2931 rel2 { relative: 0.0 1.0; to_x: "separator_right_padding"; offset: 0 0; }
2933 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2934 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2938 state: "visible" 0.0;
2939 inherit: "default" 0.0;
2949 state: "default" 0.0;
2950 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2951 rel1 { relative: 0.0 1.0; to: "separator1";}
2952 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
2955 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2956 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2960 state: "visible" 0.0;
2961 inherit: "default" 0.0;
2966 name: "elm.swallow.icon";
2970 state: "default" 0.0;
2971 min: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
2972 max: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
2975 rel1 { to:"icon_left_padding"; relative: 1 0; }
2979 name: "icon_right_padding";
2983 state: "default" 0.0;
2984 min: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2985 max: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2989 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
2998 state: "default" 0.0;
2999 min: 1 CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3001 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";}
3002 rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";}
3003 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
3005 font: "Tizen:style=Roman";
3006 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
3009 text_class: "list_item";
3013 state: "compress" 0.0;
3014 inherit: "default" 0.0;
3021 state: "clicked" 0.0;
3022 inherit: "default" 0.0;
3023 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
3027 state: "disabled" 0.0;
3028 inherit: "default" 0.0;
3029 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3032 state: "compress_disabled" 0.0;
3033 inherit: "compress" 0.0;
3034 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3037 state: "ellipsis" 0.0;
3038 inherit: "default" 0.0;
3039 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;
3044 name: "text_right_padding";
3049 state: "default" 0.0;
3051 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3052 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
3063 state: "default" 0.0;
3077 state: "default" 0.0;
3087 state: "default" 0.0;
3091 state: "disabled" 0.0;
3093 color: CTXPOPUP_ITEM_DISABLED_COLOR;
3099 name: "text_ellipsis";
3100 signal: "elm,state,text,ellipsis";
3102 action: STATE_SET "ellipsis" 0.0;
3106 name: "item_unclick";
3107 signal: "mouse,clicked,1";
3109 action: SIGNAL_EMIT "elm,action,click" "";
3114 action: PLAY_SAMPLE "touch_sound" 1.0;
3118 signal: "elm,state,disabled";
3123 get_state(PART:"elm.text", st, 30, vl);
3124 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
3125 set_state(PART:"elm.text", "compress_disabled", 0.0);
3127 set_state(PART:"elm.text", "disabled", 0.0);
3129 set_state(PART:"disclip", "disabled", 0.0);
3134 signal: "elm,state,enabled";
3139 get_state(PART:"elm.text", st, 30, vl);
3140 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
3141 set_state(PART:"elm.text", "compress", 0.0);
3143 set_state(PART:"elm.text", "default", 0.0);
3145 set_state(PART:"disclip", "default", 0.0);
3150 signal: "elm,state,default";
3153 set_state(PART:"separator1", "default", 0.0);
3154 set_state(PART:"separator2", "default", 0.0);
3159 signal: "elm,state,compress";
3164 get_state(PART:"disclip", st, 30, vl);
3165 if (!strcmp(st, "disabled"))
3166 set_state(PART:"elm.text", "compress_disabled", 0.0);
3168 set_state(PART:"elm.text", "compress", 0.0);
3173 signal: "elm,state,separator";
3176 set_state(PART:"separator1", "visible", 0.0);
3177 set_state(PART:"separator2", "visible", 0.0);
3181 name: "item_click2";
3182 signal: "mouse,down,1";
3185 set_state(PART:"elm.text", "clicked", 0.0);
3189 get_state(PART:"separator2", st, 30, vl);
3190 if (!strcmp(st, "default"))
3191 set_state(PART:"bg", "clicked", 0.0);
3193 set_state(PART:"bg", "clicked_separator", 0.0);
3201 new Float:dx, Float:dy;
3202 get_drag(PART:"over2", dx, dy);
3205 set_drag(PART:"over2", 0.0, 0.0);
3206 set_state(PART:"elm.text", "compress", 0.0);
3207 set_state(PART:"bg", "default", 0.0);
3209 set_drag(PART:"over2", 0.0, 0.0);
3213 name: "item_unclick2";
3214 signal: "mouse,up,1";
3217 set_drag(PART:"over2", 0.0, 0.0);
3218 set_state(PART:"elm.text", "compress", 0.0);
3219 set_state(PART:"bg", "default", 0.0);
3225 ///////////////////////////////////////////////////////////////////////////////
3227 name: "elm/ctxpopup/base/more/default";
3229 image: "00_popup_bubble_bg.png" COMP;
3230 image: "00_popup_bubble_mask.png" COMP;
3234 name:"frame_shadow_left_top_padding";
3239 state: "default" 0.0;
3240 min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
3241 max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
3242 rel2 { relative: 0 0; }
3249 name:"frame_shadow_right_bottom_padding";
3254 state: "default" 0.0;
3255 min: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
3256 max: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
3257 rel1{relative: 1 1;}
3269 state: "default" 0.0;
3270 rel1 {to:"frame_shadow_left_top_padding";}
3271 rel2 {to:"frame_shadow_right_bottom_padding";}
3272 min: CTXPOPUP_MORE_WIDTH_INC 0;
3274 normal: "00_popup_bubble_bg.png";
3275 border: CTXPOPUP_BUBBLE_BG_IMAGE_BORDER;
3281 name: "ctxpopup_frame_left_top";
3285 state: "default" 0.0;
3289 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3290 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3291 rel1 {relative: 0 0; to: "content_left_top_padding";}
3295 name: "ctxpopup_frame_right_bottom";
3299 state: "default" 0.0;
3303 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3304 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3305 rel2 {relative: 1 1; to: "content_right_bottom_padding";}
3309 name:"content_left_top_padding";
3314 state: "default" 0.0;
3315 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3316 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3317 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
3324 name:"content_right_bottom_padding";
3329 state: "default" 0.0;
3330 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3331 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3332 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
3339 name: "elm.swallow.content";
3342 state: "default" 0.0;
3344 rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;}
3345 rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;}
3353 state: "default" 0.0;
3355 rel1 {to:"elm.swallow.content";}
3356 rel2 {to:"elm.swallow.content";}
3358 normal: "00_popup_bubble_mask.png";
3359 border: CTXPOPUP_BUBBLE_MASK_IMAGE_BORDER;
3364 state: "visible" 0.0;
3365 inherit: "default" 0.0;
3367 rel1 {to:"elm.swallow.content";}
3368 rel2 {to:"elm.swallow.content";}
3375 signal: "mouse,down,1";
3376 source: "elm.swallow.content";
3377 action: STATE_SET "visible" 0.0;
3382 signal: "mouse,up,1";
3383 source: "elm.swallow.content";
3384 action: STATE_SET "default" 0.0;
3389 ///////////////////////////////////////////////////////////////////////////////
3391 name: "elm/ctxpopup/icon_text_style_item/more/default";
3394 name: "event_blocker";
3398 state: "default" 0.0;
3408 state: "default" 0.0;
3409 color: CTXPOPUP_BG_COLOR_INC;
3411 min: (CTXPOPUP_MORE_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) 1;
3412 max: (CTXPOPUP_MORE_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3415 state: "clicked" 0.0;
3416 color: CTXPOPUP_BG_PRESS_COLOR_INC;
3420 state: "clicked_separator" 0.0;
3421 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
3422 color: CTXPOPUP_BG_PRESS_COLOR_INC;
3427 name:"separator_left_padding";
3432 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3433 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3440 name:"separator_right_padding";
3445 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3446 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3453 name: "icon_left_padding";
3457 state: "default" 0.0;
3458 min: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3459 max: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3471 state: "default" 0.0;
3472 color: CTXPOPUP_SEPARATOR_COLOR_INC;
3473 rel1 { relative: 1.0 0.0; to_x: "separator_left_padding";}
3474 rel2 { relative: 0.0 1.0; to_x: "separator_right_padding"; offset: 0 0; }
3477 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3478 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3482 state: "visible" 0.0;
3483 inherit: "default" 0.0;
3493 state: "default" 0.0;
3494 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
3495 rel1 { relative: 0.0 1.0; to: "separator1"; }
3496 rel2.to: "separator1";
3500 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3501 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3505 state: "visible" 0.0;
3506 inherit: "default" 0.0;
3511 name: "elm.swallow.icon";
3515 state: "default" 0.0;
3516 min: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC;
3517 max: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC;
3520 rel1 { to:"icon_left_padding"; relative: 1 0; }
3524 name: "icon_right_padding";
3528 state: "default" 0.0;
3529 min: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3530 max: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3534 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
3543 state: "default" 0.0;
3544 min: 1 CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3546 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";}
3547 rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";}
3548 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
3550 font: "Tizen:style=Roman";
3551 size: CTXPOPUP_MORE_ITEM_TEXT_SIZE_INC;
3554 text_class: "list_item";
3558 state: "compress" 0.0;
3559 inherit: "default" 0.0;
3566 state: "clicked" 0.0;
3567 inherit: "default" 0.0;
3568 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
3571 state: "disabled" 0.0;
3572 inherit: "default" 0.0;
3573 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3576 state: "compress_disabled" 0.0;
3577 inherit: "compress" 0.0;
3578 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3582 name: "text_right_padding";
3587 state: "default" 0.0;
3589 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3590 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3601 state: "default" 0.0;
3615 state: "default" 0.0;
3625 state: "default" 0.0;
3629 state: "disabled" 0.0;
3631 color: CTXPOPUP_ITEM_DISABLED_COLOR;
3637 name: "item_unclick";
3638 signal: "mouse,clicked,1";
3640 action: SIGNAL_EMIT "elm,action,click" "";
3645 action: PLAY_SAMPLE "touch_sound" 1.0;
3649 signal: "elm,state,disabled";
3654 get_state(PART:"elm.text", st, 30, vl);
3655 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
3656 set_state(PART:"elm.text", "compress_disabled", 0.0);
3658 set_state(PART:"elm.text", "disabled", 0.0);
3660 set_state(PART:"disclip", "disabled", 0.0);
3665 signal: "elm,state,enabled";
3670 get_state(PART:"elm.text", st, 30, vl);
3671 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
3672 set_state(PART:"elm.text", "compress", 0.0);
3674 set_state(PART:"elm.text", "default", 0.0);
3676 set_state(PART:"disclip", "default", 0.0);
3681 signal: "elm,state,default";
3684 set_state(PART:"separator1", "default", 0.0);
3685 set_state(PART:"separator2", "default", 0.0);
3690 signal: "elm,state,compress";
3695 get_state(PART:"disclip", st, 30, vl);
3696 if (!strcmp(st, "disabled"))
3697 set_state(PART:"elm.text", "compress_disabled", 0.0);
3699 set_state(PART:"elm.text", "compress", 0.0);
3704 signal: "elm,state,separator";
3707 set_state(PART:"separator1", "visible", 0.0);
3708 set_state(PART:"separator2", "visible", 0.0);
3712 name: "item_click2";
3713 signal: "mouse,down,1";
3716 set_state(PART:"elm.text", "clicked", 0.0);
3720 get_state(PART:"separator2", st, 30, vl);
3721 if (!strcmp(st, "default"))
3722 set_state(PART:"bg", "clicked", 0.0);
3724 set_state(PART:"bg", "clicked_separator", 0.0);
3732 new Float:dx, Float:dy;
3733 get_drag(PART:"over2", dx, dy);
3736 set_drag(PART:"over2", 0.0, 0.0);
3737 set_state(PART:"elm.text", "compress", 0.0);
3738 set_state(PART:"bg", "default", 0.0);
3740 set_drag(PART:"over2", 0.0, 0.0);
3744 name: "item_unclick2";
3745 signal: "mouse,up,1";
3748 set_drag(PART:"over2", 0.0, 0.0);
3749 set_state(PART:"elm.text", "compress", 0.0);
3750 set_state(PART:"bg", "default", 0.0);
3756 ///////////////////////////////////////////////////////////////////////////////////////
3757 #define CTXPOPUP_ENTRY_LIST_PADDING_LEFT 3
3758 #define CTXPOPUP_ENTRY_LIST_PADDING_TOP 6
3759 #define CTXPOPUP_ENTRY_LIST_PADDING_RIGHT 3
3760 #define CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM 6
3761 //////////////////////////////////////////////////////////////////////////////////////
3763 name: "elm/ctxpopup/base/extended/entry";
3764 alias: "elm/ctxpopup/base/extended/entry/pass_event";
3766 image: "copy&paste_bg_center.png" COMP;
3767 image: "ctxpopup_shadow.png" COMP;
3771 name:"frame_shadow_left_top_padding";
3776 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3777 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3784 name:"frame_shadow_right_bottom_padding";
3789 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3790 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3791 rel1{relative: 1 1;}
3798 name: "frame_shadow";
3803 state: "default" 0.0;
3804 rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
3805 rel2 {to:"frame_shadow_right_bottom_padding";}
3807 normal: "ctxpopup_shadow.png";
3808 border: 10 10 10 10;
3819 state: "default" 0.0;
3820 rel1 {to:"elm.swallow.content";}
3821 rel2 {to:"elm.swallow.content";}
3823 normal: "copy&paste_bg_center.png";
3824 border: CTXPOPUP_ENTRY_CENTER_IMAGE_BORDER;
3830 name: "arrow_area_left";
3835 state: "default" 0.0;
3837 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
3842 to_y: "ctxpopup_frame_left_top";
3846 to:"ctxpopup_frame_left_bottom";
3851 name: "arrow_area_right";
3855 description { state: "default" 0.0;
3857 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
3862 to:"ctxpopup_frame_right_top";
3866 to_y: "ctxpopup_frame_right_bottom";
3871 name: "arrow_area_up";
3875 description { state: "default" 0.0;
3877 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
3891 name: "arrow_area_down";
3896 state: "default" 0.0;
3898 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
3912 name: "elm.swallow.arrow_up";
3919 confine: "arrow_area_up";
3922 state: "default" 0.0;
3923 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
3929 name: "elm.swallow.arrow_down";
3936 confine: "arrow_area_down";
3939 state: "default" 0.0;
3940 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
3946 name: "elm.swallow.arrow_left";
3953 confine: "arrow_area_left";
3956 state: "default" 0.0;
3957 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
3963 name: "elm.swallow.arrow_right";
3970 confine: "arrow_area_right";
3973 state: "default" 0.0;
3974 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
3980 name: "ctxpopup_frame_left_top";
3986 min: CTXPOPUP_FRAME_CORNER_SIZE;
3987 max: CTXPOPUP_FRAME_CORNER_SIZE;
3991 name: "ctxpopup_frame_right_top";
3997 min: CTXPOPUP_FRAME_CORNER_SIZE;
3998 max: CTXPOPUP_FRAME_CORNER_SIZE;
4002 name: "ctxpopup_frame_left_bottom";
4008 min: CTXPOPUP_FRAME_CORNER_SIZE;
4009 max: CTXPOPUP_FRAME_CORNER_SIZE;
4013 name: "ctxpopup_frame_right_bottom";
4019 min: CTXPOPUP_FRAME_CORNER_SIZE;
4020 max: CTXPOPUP_FRAME_CORNER_SIZE;
4024 name:"list_shadow_right_bottom_padding";
4029 min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
4030 max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
4034 rel1 {to:"elm.swallow.content"; relative: 1 1;}
4038 name:"content_left_top_padding";
4043 state: "default" 0.0;
4044 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4045 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4052 name:"content_right_bottom_padding";
4057 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4058 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4059 rel1 { relative: 1 1;}
4060 rel2 { relative: 1 1;}
4067 name: "elm.swallow.content";
4070 state: "default" 0.0;
4072 rel1 {to:"ctxpopup_frame_left_top"; relative: 0.5 0.5;}
4073 rel2 {to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
4078 ///////////////////////////////////////////////////////////////////////////////////////
4080 name: "elm/ctxpopup/arrow/extended/entry";
4081 alias: "elm/ctxpopup/arrow/extended/entry/pass_event";
4083 image: "copy&paste_arrow_up.png" COMP;
4084 image: "copy&paste_arrow_left.png" COMP;
4085 image: "copy&paste_arrow_right.png" COMP;
4086 image: "copy&paste_arrow_down.png" COMP;
4090 name: "ctxpopup_arrow";
4094 state: "default" 0.0;
4095 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4096 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4103 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4104 max: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4108 normal: "copy&paste_arrow_left.png";
4113 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4114 max: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4118 normal: "copy&paste_arrow_right.png";
4123 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4124 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4128 normal: "copy&paste_arrow_up.png";
4132 state: "bottom" 0.0;
4133 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4134 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4138 normal: "copy&paste_arrow_down.png";
4145 name: "enable_left_arrow";
4146 signal: "elm,state,left";
4148 action: STATE_SET "left" 0.0;
4149 target: "ctxpopup_arrow";
4152 name: "enable_right_arrow";
4153 signal: "elm,state,right";
4155 action: STATE_SET "right" 0.0;
4156 target: "ctxpopup_arrow";
4159 name: "enable_top_arrow";
4160 signal: "elm,state,top";
4162 action: STATE_SET "top" 0.0;
4163 target: "ctxpopup_arrow";
4166 name: "enable_bottom_arrow";
4167 signal: "elm,state,bottom";
4169 action: STATE_SET "bottom" 0.0;
4170 target: "ctxpopup_arrow";
4174 ///////////////////////////////////////////////////////////////////////////////////////
4175 #define CTXPOPUP_ENTRY_ITEM_BG_PART \
4181 state: "default" 0.0;\
4183 rel1 {to:"left_bg_padding"; relative: 1 0;}\
4184 rel2 {to:"right_bg_padding"; relative: 0 1;}\
4186 normal: "copy&paste_press_center.png";\
4191 state: "clicked" 0.0;\
4192 inherit: "default" 0.0;\
4195 normal: "copy&paste_press_center.png";\
4200 #define CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART \
4202 name: "left_bg_padding";\
4207 state: "default" 0.0;\
4209 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4210 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4213 rel1 { to: "event_blocker"; relative: 0 0; }\
4214 rel2 { to: "event_blocker"; relative: 0 1; }\
4216 normal: "copy&paste_press_left.png";\
4217 border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
4222 state: "clicked" 0.0;\
4223 inherit: "default" 0.0;\
4226 normal: "copy&paste_press_left.png";\
4227 border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
4232 #define CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART \
4234 name: "right_bg_padding";\
4239 state: "default" 0.0;\
4241 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4242 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4245 rel1 { to: "event_blocker"; relative: 1 0; }\
4246 rel2 { to: "event_blocker"; relative: 1 1; }\
4248 normal: "copy&paste_press_right.png";\
4249 border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
4254 state: "clicked" 0.0;\
4255 inherit: "default" 0.0;\
4258 normal: "copy&paste_press_right.png";\
4259 border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
4264 #define CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART \
4266 name: "left_padding";\
4271 state: "default" 0.0;\
4273 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4274 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4279 #define CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART \
4281 name: "right_padding";\
4286 state: "default" 0.0;\
4288 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4289 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4294 #define CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART \
4296 name: "left_separator";\
4301 state: "default" 0.0;\
4303 color: CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_COLOR;\
4304 min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4305 max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4312 state: "vertical" 0.0;\
4313 inherit: "default" 0.0;\
4317 state: "horizontal" 0.0;\
4318 inherit: "default" 0.0;\
4322 #define CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART \
4324 name: "right_separator";\
4329 state: "default" 0.0;\
4331 color: CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_COLOR;\
4332 min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4333 max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4344 state: "vertical" 0.0;\
4345 inherit: "default" 0.0;\
4349 state: "horizontal" 0.0;\
4350 inherit: "default" 0.0;\
4354 ///////////////////////////////////////////////////////////////////////////////////////
4357 name: "elm/ctxpopup/text_style_item/extended/entry";
4358 alias: "elm/ctxpopup/text_style_item/extended/entry/pass_event";
4360 image: "copy&paste_press_center.png" COMP;
4361 image: "copy&paste_press_left.png" COMP;
4362 image: "copy&paste_press_right.png" COMP;
4366 name: "event_blocker";
4370 state: "default" 0.0;
4374 CTXPOPUP_ENTRY_ITEM_BG_PART
4375 CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART
4376 CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART
4377 CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
4378 CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
4379 CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
4380 CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
4387 state: "default" 0.0;
4388 min: 1 CTXPOPUP_ENTRY_ITEM_HEIGHT;
4389 max: CTXPOPUP_ENTRY_ITEM_WIDTH_MAX CTXPOPUP_ENTRY_ITEM_HEIGHT;
4392 rel1 {relative: 1.0 0.0; to: "left_padding";}
4393 rel2 {relative: 0.0 1.0; to: "right_padding";}
4394 color: CTXPOPUP_ENTRY_ITEM_TEXT_COLOR;
4396 font: "Tizen:style=Roman";
4397 size: CTXPOPUP_ENTRY_ITEM_FONT_SIZE;
4400 text_class: "list_item";
4404 state: "clicked" 0.0;
4405 inherit: "default" 0.0;
4406 color: CTXPOPUP_ENTRY_ITEM_TEXT_COLOR;
4414 ignore_flags: ON_HOLD;
4416 state: "default" 0.0;
4426 state: "default" 0.0;
4433 state: "default" 0.0;
4437 state: "disabled" 0.0;
4439 color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
4445 name: "item_unclick";
4446 signal: "mouse,up,1";
4448 action: SIGNAL_EMIT "elm,action,click" "";
4453 action: PLAY_SAMPLE "touch_sound" 1.0;
4457 signal: "elm,state,disabled";
4459 action: STATE_SET "disabled" 0.0;
4464 signal: "elm,state,enabled";
4466 action: STATE_SET "default" 0.0;
4470 name: "item_click2";
4471 signal: "mouse,down,1";
4474 set_state(PART:"elm.text", "clicked", 0.0);
4475 set_state(PART:"bg", "clicked", 0.0);
4476 set_state(PART:"left_bg_padding", "clicked", 0.0);
4477 set_state(PART:"right_bg_padding", "clicked", 0.0);
4481 name: "item_unclick2";
4482 signal: "mouse,up,1";
4485 set_state(PART:"elm.text", "default", 0.0);
4486 set_state(PART:"bg", "default", 0.0);
4487 set_state(PART:"left_bg_padding", "default", 0.0);
4488 set_state(PART:"right_bg_padding", "default", 0.0);
4493 signal: "elm,state,default";
4496 set_state(PART:"left_separator", "default", 0.0);
4497 set_state(PART:"right_separator", "default", 0.0);
4502 signal: "elm,state,vertical";
4505 set_state(PART:"left_separator", "vertical", 0.0);
4506 set_state(PART:"right_separator", "vertical", 0.0);
4511 signal: "elm,state,horizontal";
4514 set_state(PART:"left_separator", "horizontal", 0.0);
4515 set_state(PART:"right_separator", "horizontal", 0.0);
4520 ///////////////////////////////////////////////////////////////////////////////
4522 name: "elm/ctxpopup/icon_style_item/extended/entry";
4524 image: "copy&paste_press_center.png" COMP;
4525 image: "copy&paste_press_left.png" COMP;
4526 image: "copy&paste_press_right.png" COMP;
4530 name: "event_blocker";
4534 state: "default" 0.0;
4538 CTXPOPUP_ENTRY_ITEM_BG_PART
4539 CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART
4540 CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART
4541 CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
4542 CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
4543 CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
4544 CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
4546 name: "elm.swallow.icon";
4550 state: "default" 0.0;
4556 rel1 {relative: 1.0 0.0; to: "left_padding";}
4557 rel2 {relative: 0.0 1.0; to: "right_padding";}
4561 name: "elm.swallow.icon.paint";
4565 state: "default" 0.0;
4567 color: 255 255 0 255;
4568 rel1 { to: "elm.swallow.icon"; }
4569 rel2 { to: "elm.swallow.icon"; }
4577 ignore_flags: ON_HOLD;
4579 state: "default" 0.0;
4589 state: "default" 0.0;
4596 state: "default" 0.0;
4600 state: "disabled" 0.0;
4602 color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
4608 name: "item_unclick";
4609 signal: "mouse,up,1";
4611 action: SIGNAL_EMIT "elm,action,click" "";
4616 action: PLAY_SAMPLE "touch_sound" 1.0;
4620 signal: "elm,state,disabled";
4622 action: STATE_SET "disabled" 0.0;
4626 name: "item_click2";
4627 signal: "mouse,down,1";
4630 set_state(PART:"bg", "clicked", 0.0);
4631 set_state(PART:"left_bg_padding", "clicked", 0.0);
4632 set_state(PART:"right_bg_padding", "clicked", 0.0);
4636 name: "item_unclick2";
4637 signal: "mouse,up,1";
4640 set_state(PART:"bg", "default", 0.0);
4641 set_state(PART:"left_bg_padding", "default", 0.0);
4642 set_state(PART:"right_bg_padding", "default", 0.0);
4647 signal: "elm,state,default";
4650 set_state(PART:"left_separator", "default", 0.0);
4651 set_state(PART:"right_separator", "default", 0.0);
4656 signal: "elm,state,vertical";
4659 set_state(PART:"left_separator", "vertical", 0.0);
4660 set_state(PART:"right_separator", "vertical", 0.0);
4665 signal: "elm,state,horizontal";
4668 set_state(PART:"left_separator", "horizontal", 0.0);
4669 set_state(PART:"right_separator", "horizontal", 0.0);
4674 ///////////////////////////////////////////////////////////////////////////////////////
4675 #define CTXPOPUP_TP_TEXT_WIDTH 32
4676 #define CTXPOPUP_TP_PADDING 15
4677 #define CTXPOPUP_TP_FONT_COLOR 231 173 95 255
4678 #define CTXPOPUP_TP_CLICKED_FONT_COLOR 255 255 255 255
4679 #define CTXPOPUP_TP_FONT_SIZE 24
4680 ///////////////////////////////////////////////////////////////////////////////
4682 name: "elm/ctxpopup/base/datetime/default";
4683 alias: "elm/ctxpopup/base/timepicker";
4686 name: "ctxpopup_frame";
4690 color: CTXPOPUP_TP_BG_COLOR_INC;
4691 min: 1 CTXPOPUP_TP_HEIGHT_INC;
4692 rel1 { to: "elm.swallow.content"; }
4693 rel2 { to: "elm.swallow.content"; }
4697 name: "elm.swallow.content";
4701 state: "default" 0.0;
4702 min: 1 CTXPOPUP_TP_HEIGHT_INC;
4705 part { name: "arrow_area_left";
4709 description { state: "default" 0.0;
4716 to_y: "ctxpopup_frame";
4720 to:"ctxpopup_frame";
4724 part { name: "arrow_area_right";
4728 description { state: "default" 0.0;
4735 to:"ctxpopup_frame";
4739 to_y: "ctxpopup_frame";
4743 part { name: "arrow_area_up";
4747 description { state: "default" 0.0;
4754 to_x: "ctxpopup_frame";
4758 to:"ctxpopup_frame";
4762 part { name: "arrow_area_down";
4766 description { state: "default" 0.0;
4773 to:"ctxpopup_frame";
4777 to_x: "ctxpopup_frame";
4781 part { name: "elm.swallow.arrow_up";
4788 confine: "arrow_area_up";
4791 state: "default" 0.0;
4797 part { name: "elm.swallow.arrow_down";
4804 confine: "arrow_area_down";
4807 state: "default" 0.0;
4813 part { name: "elm.swallow.arrow_left";
4820 confine: "arrow_area_left";
4823 state: "default" 0.0;
4829 part { name: "elm.swallow.arrow_right";
4836 confine: "arrow_area_right";
4839 state: "default" 0.0;
4847 ///////////////////////////////////////////////////////////////////////////////
4848 group { name: "elm/ctxpopup/arrow/datetime/default";
4849 alias: "elm/ctxpopup/arrow/timepicker";
4851 image: "timepicker_left_arrow.png" COMP;
4852 image: "timepicker_right_arrow.png" COMP;
4853 image: "timepicker_top_arrow.png" COMP;
4854 image: "timepicker_bottom_arrow.png" COMP;
4858 name: "ctxpopup_arrow";
4862 state: "default" 0.0;
4863 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4864 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4871 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4872 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4876 normal: "timepicker_left_arrow.png";
4881 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4882 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4886 normal: "timepicker_right_arrow.png";
4891 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4892 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4896 normal: "timepicker_top_arrow.png";
4900 state: "bottom" 0.0;
4901 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4902 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4906 normal: "timepicker_bottom_arrow.png";
4913 name: "enable_left_arrow";
4914 signal: "elm,state,left";
4916 action: STATE_SET "left" 0.0;
4917 target: "ctxpopup_arrow";
4920 name: "enable_right_arrow";
4921 signal: "elm,state,right";
4923 action: STATE_SET "right" 0.0;
4924 target: "ctxpopup_arrow";
4927 name: "enable_top_arrow";
4928 signal: "elm,state,top";
4930 action: STATE_SET "top" 0.0;
4931 target: "ctxpopup_arrow";
4934 name: "enable_bottom_arrow";
4935 signal: "elm,state,bottom";
4937 action: STATE_SET "bottom" 0.0;
4938 target: "ctxpopup_arrow";
4942 ///////////////////////////////////////////////////////////////////////////////
4944 name: "elm/ctxpopup/text_style_item/datetime/default";
4945 alias: "elm/ctxpopup/text_style_item/timepicker";
4948 name: "left_padding";
4953 state: "default" 0.0;
4954 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
4955 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
4967 state: "default" 0.0;
4968 min: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
4969 max: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
4972 rel1 {relative: 1.0 0.0; to: "left_padding";}
4973 color: CTXPOPUP_TP_FONT_COLOR;
4975 font: "Tizen:style=Medium";
4976 size: CTXPOPUP_TP_FONT_SIZE;
4979 text_class: "tizen";
4983 state: "clicked" 0.0;
4984 inherit: "default" 0.0;
4985 color: 255 255 255 255;
4989 name: "right_padding";
4993 state: "default" 0.0;
4994 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
4995 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
4997 rel1 {relative: 1.0 0.0; to: "elm.text";}
5006 ignore_flags: ON_HOLD;
5008 state: "default" 0.0;
5018 state: "default" 0.0;
5025 name: "item_unclick";
5026 signal: "mouse,up,1";
5028 action: SIGNAL_EMIT "elm,action,click" "";
5033 action: PLAY_SAMPLE "touch_sound" 1.0;
5037 signal: "mouse,down,1";
5040 set_state(PART:"elm.text", "clicked", 0.0);
5044 name: "item_unclick2";
5045 signal: "mouse,up,1";
5048 set_state(PART:"elm.text", "default", 0.0);
5053 ///////////////////////////////////////////////////////////////////////////////
5055 name: "elm/ctxpopup/text_style_item/toolbar_segmentedcontrol";
5058 name: "event_blocker";
5062 state: "default" 0.0;
5072 state: "default" 0.0;
5073 color: CTXPOPUP_BG_COLOR_INC;
5075 min: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) 1;
5076 max: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
5079 state: "clicked" 0.0;
5080 color: CTXPOPUP_BG_PRESS_COLOR_INC;
5084 state: "clicked_separator" 0.0;
5085 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
5086 color: CTXPOPUP_BG_PRESS_COLOR_INC;
5096 state: "default" 0.0;
5097 color: CTXPOPUP_SEPARATOR_COLOR_INC;
5098 rel1 { relative: 1.0 0.0; to_x: "left_padding";}
5099 rel2 { relative: 0.0 1.0; to_x: "right_padding"; offset: 0 0;}
5101 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5102 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5106 state: "visible" 0.0;
5107 inherit: "default" 0.0;
5117 state: "default" 0.0;
5118 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
5119 rel1 { relative: 0.0 1.0; to: "separator1";}
5120 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
5123 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5124 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5128 state: "visible" 0.0;
5129 inherit: "default" 0.0;
5134 name: "left_padding";
5139 state: "default" 0.0;
5140 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5141 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
5153 state: "default" 0.0;
5154 min: 1 CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5156 rel1 {relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg";}
5157 rel2 {relative: 0.0 1.0; to_x: "right_padding"; to_y: "bg";}
5158 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
5160 font: "Tizen:style=Roman";
5161 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
5164 text_class: "list_item";
5168 state: "compress" 0.0;
5169 inherit: "default" 0.0;
5176 state: "clicked" 0.0;
5177 inherit: "default" 0.0;
5178 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
5181 state: "disabled" 0.0;
5182 inherit: "default" 0.0;
5183 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
5186 state: "compress_disabled" 0.0;
5187 inherit: "compress" 0.0;
5188 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
5192 name: "right_padding";
5197 state: "default" 0.0;
5199 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5200 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
5211 state: "default" 0.0;
5225 state: "default" 0.0;
5235 state: "default" 0.0;
5239 state: "disabled" 0.0;
5241 color: CTXPOPUP_ITEM_DISABLED_COLOR;
5247 name: "item_unclick";
5248 signal: "mouse,clicked,1";
5250 action: SIGNAL_EMIT "elm,action,click" "";
5255 action: PLAY_SAMPLE "touch_sound" 1.0;
5259 signal: "elm,state,disabled";
5264 get_state(PART:"elm.text", st, 30, vl);
5265 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
5266 set_state(PART:"elm.text", "compress_disabled", 0.0);
5268 set_state(PART:"elm.text", "disabled", 0.0);
5270 set_state(PART:"disclip", "disabled", 0.0);
5275 signal: "elm,state,enabled";
5280 get_state(PART:"elm.text", st, 30, vl);
5281 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
5282 set_state(PART:"elm.text", "compress", 0.0);
5284 set_state(PART:"elm.text", "default", 0.0);
5286 set_state(PART:"disclip", "default", 0.0);
5291 signal: "elm,state,default";
5294 set_state(PART:"separator1", "default", 0.0);
5295 set_state(PART:"separator2", "default", 0.0);
5300 signal: "elm,state,compress";
5305 get_state(PART:"disclip", st, 30, vl);
5306 if (!strcmp(st, "disabled"))
5307 set_state(PART:"elm.text", "compress_disabled", 0.0);
5309 set_state(PART:"elm.text", "compress", 0.0);
5314 signal: "elm,state,separator";
5317 set_state(PART:"separator1", "visible", 0.0);
5318 set_state(PART:"separator2", "visible", 0.0);
5322 name: "item_click2";
5323 signal: "mouse,down,1";
5326 set_state(PART:"elm.text", "clicked", 0.0);
5330 get_state(PART:"separator2", st, 30, vl);
5331 if (!strcmp(st, "default"))
5332 set_state(PART:"bg", "clicked", 0.0);
5334 set_state(PART:"bg", "clicked_separator", 0.0);
5342 new Float:dx, Float:dy;
5343 get_drag(PART:"over2", dx, dy);
5346 set_drag(PART:"over2", 0.0, 0.0);
5347 set_state(PART:"elm.text", "compress", 0.0);
5348 set_state(PART:"bg", "default", 0.0);
5350 set_drag(PART:"over2", 0.0, 0.0);
5354 name: "item_unclick2";
5355 signal: "mouse,up,1";
5358 set_drag(PART:"over2", 0.0, 0.0);
5359 set_state(PART:"elm.text", "compress", 0.0);
5360 set_state(PART:"bg", "default", 0.0);