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 alias: "elm/ctxpopup/layout/copypaste";
43 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);
51 min: 0 CTXPOPUP_MOVE_PAD_INC;
55 rel1.relative: 0.0 0.0;
56 rel2.relative: 1.0 0.0;
60 inherit: "default" 0.0;
64 inherit: "default" 0.0;
69 name:"bottom_padding";
74 min: 0 CTXPOPUP_MOVE_PAD_INC;
78 rel1.relative: 0.0 1.0;
79 rel2.relative: 1.0 1.0;
82 state: "show_down" 0.0;
83 inherit: "default" 0.0;
87 inherit: "default" 0.0;
97 min: CTXPOPUP_MOVE_PAD_INC 0;
101 rel1.relative: 0.0 0.0;
102 rel2.relative: 0.0 1.0;
105 state: "show_left" 0.0;
106 inherit: "default" 0.0;
109 state: "visible" 0.0;
110 inherit: "default" 0.0;
115 name:"right_padding";
119 state: "default" 0.0;
120 min: CTXPOPUP_MOVE_PAD_INC 0;
124 rel1.relative: 1.0 0.0;
125 rel2.relative: 1.0 1.0;
128 state: "show_right" 0.0;
129 inherit: "default" 0.0;
132 state: "visible" 0.0;
133 inherit: "default" 0.0;
140 clip_to: "layout_clip";
142 state: "default" 0.0;
146 state: "show_up" 0.0;
147 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
148 rel2 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
152 state: "show_down" 0.0;
153 rel1 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
154 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
158 state: "show_left" 0.0;
159 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
160 rel2 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
164 state: "show_right" 0.0;
165 rel1 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
166 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
174 state: "default" 0.0;
175 color: 255 255 255 0;
176 rel1 {to: "swallow"; relative: -0.2 -0.2; }
177 rel2 {to: "swallow"; relative: 1.2 1.2;}
180 state: "show_up" 0.0;
181 inherit: "default" 0.0;
184 state: "show_down" 0.0;
185 inherit: "default" 0.0;
188 state: "show_left" 0.0;
189 inherit: "default" 0.0;
192 state: "show_right" 0.0;
193 inherit: "default" 0.0;
196 state: "visible" 0.0;
197 inherit: "default" 0.0;
198 color: 255 255 255 255;
205 signal: "elm,state,show,up";
207 action: STATE_SET "show_up" 0.0;
209 target: "top_padding";
210 target: "layout_clip";
215 signal: "elm,state,show,down";
217 action: STATE_SET "show_down" 0.0;
219 target: "bottom_padding";
220 target: "layout_clip";
221 after: "showdownend";
225 signal: "elm,state,show,left";
227 action: STATE_SET "show_left" 0.0;
229 target: "left_padding";
230 target: "layout_clip";
231 after: "showleftend";
235 signal: "elm,state,show,right";
237 action: STATE_SET "show_right" 0.0;
239 target: "right_padding";
240 target: "layout_clip";
241 after: "showrightend";
245 action: STATE_SET "visible" 0.0;
246 transition: SIN_FAC 0.33 1.1;
247 target: "top_padding";
248 target: "layout_clip";
252 action: STATE_SET "visible" 0.0;
253 transition: SIN_FAC 0.33 1.1;
254 target: "bottom_padding";
255 target: "layout_clip";
259 action: STATE_SET "visible" 0.0;
260 transition: SIN_FAC 0.33 1.1;
261 target: "left_padding";
262 target: "layout_clip";
265 name: "showrightend";
266 action: STATE_SET "visible" 0.0;
267 transition: SIN_FAC 0.33 1.1;
268 target: "right_padding";
269 target: "layout_clip";
273 signal: "elm,state,hide,up";
275 action: STATE_SET "show_up" 0.0;
277 target: "top_padding";
278 transition: SIN_FAC 0.33 1.1;
283 signal: "elm,state,hide,down";
285 action: STATE_SET "show_down" 0.0;
287 target: "bottom_padding";
288 transition: SIN_FAC 0.33 1.1;
293 signal: "elm,state,hide,left";
295 action: STATE_SET "show_left" 0.0;
297 target: "left_padding";
298 transition: SIN_FAC 0.33 1.1;
303 signal: "elm,state,hide,right";
305 action: STATE_SET "show_right" 0.0;
307 target: "right_padding";
308 transition: SIN_FAC 0.33 1.1;
313 signal: "elm,state,hide,up";
315 action: STATE_SET "default" 0.0;
316 target: "layout_clip";
317 transition: SIN_FAC 0.33 1.1;
321 name: "hidedown_clip";
322 signal: "elm,state,hide,down";
324 action: STATE_SET "default" 0.0;
325 target: "layout_clip";
326 transition: SIN_FAC 0.33 1.1;
330 name: "hideleft_clip";
331 signal: "elm,state,hide,left";
333 action: STATE_SET "default" 0.0;
334 target: "layout_clip";
335 transition: SIN_FAC 0.33 1.1;
339 name: "hideright_clip";
340 signal: "elm,state,hide,right";
342 action: STATE_SET "default" 0.0;
343 target: "layout_clip";
344 transition: SIN_FAC 0.33 1.1;
349 action: STATE_SET "default" 0.0;
351 target: "top_padding";
352 target: "bottom_padding";
353 target: "left_padding";
354 target: "right_padding";
355 after: "hidefinished";
358 name: "hidefinished";
359 action: SIGNAL_EMIT "elm,action,hide,finished" "";
363 ///////////////////////////////////////////////////////////////////////////////
365 name: "elm/ctxpopup/layout/landscape/default";
366 inherit: "elm/ctxpopup/layout/default";
367 max: (CTXPOPUP_WIDTH_MAX_INC+CTXPOPUP_SHADOW_LEFT_PADDING+CTXPOPUP_SHADOW_RIGHT_PADDING) ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*5)+CTXPOPUP_SHADOW_TOP_PADDING+CTXPOPUP_SHADOW_BOTTOM_PADDING+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*8)-CTXPOPUP_CONTENT_PADDING);
369 ///////////////////////////////////////////////////////////////////////////////
371 name: "elm/ctxpopup/layout/datetime/default";
372 alias: "elm/ctxpopup/layout/timepicker";
379 state: "default" 0.0;
384 rel1.relative: 0.0 0.0;
385 rel2.relative: 1.0 0.0;
388 state: "show_up" 0.0;
389 inherit: "default" 0.0;
392 state: "visible" 0.0;
393 inherit: "default" 0.0;
398 name:"bottom_padding";
402 state: "default" 0.0;
407 rel1.relative: 0.0 1.0;
408 rel2.relative: 1.0 1.0;
411 state: "show_down" 0.0;
412 inherit: "default" 0.0;
415 state: "visible" 0.0;
416 inherit: "default" 0.0;
425 state: "default" 0.0;
430 rel1.relative: 0.0 0.0;
431 rel2.relative: 0.0 1.0;
434 state: "show_left" 0.0;
435 inherit: "default" 0.0;
438 state: "visible" 0.0;
439 inherit: "default" 0.0;
444 name:"right_padding";
448 state: "default" 0.0;
453 rel1.relative: 1.0 0.0;
454 rel2.relative: 1.0 1.0;
457 state: "show_right" 0.0;
458 inherit: "default" 0.0;
461 state: "visible" 0.0;
462 inherit: "default" 0.0;
469 clip_to: "layout_clip";
471 state: "default" 0.0;
475 state: "show_up" 0.0;
476 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
477 rel2 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
481 state: "show_down" 0.0;
482 rel1 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
483 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
487 state: "show_left" 0.0;
488 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
489 rel2 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
493 state: "show_right" 0.0;
494 rel1 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
495 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
503 state: "default" 0.0;
504 color: 255 255 255 0;
505 rel1 {to: "swallow"; relative: -0.2 -0.2; }
506 rel2 {to: "swallow"; relative: 1.2 1.2;}
509 state: "show_up" 0.0;
510 inherit: "default" 0.0;
513 state: "show_down" 0.0;
514 inherit: "default" 0.0;
517 state: "show_left" 0.0;
518 inherit: "default" 0.0;
521 state: "show_right" 0.0;
522 inherit: "default" 0.0;
525 state: "visible" 0.0;
526 inherit: "default" 0.0;
527 color: 255 255 255 255;
534 signal: "elm,state,show,up";
536 action: STATE_SET "show_up" 0.0;
538 target: "top_padding";
539 target: "layout_clip";
544 signal: "elm,state,show,down";
546 action: STATE_SET "show_down" 0.0;
548 target: "bottom_padding";
549 target: "layout_clip";
550 after: "showdownend";
554 signal: "elm,state,show,left";
556 action: STATE_SET "show_left" 0.0;
558 target: "left_padding";
559 target: "layout_clip";
560 after: "showleftend";
564 signal: "elm,state,show,right";
566 action: STATE_SET "show_right" 0.0;
568 target: "right_padding";
569 target: "layout_clip";
570 after: "showrightend";
574 action: STATE_SET "visible" 0.0;
575 transition:LINEAR 0.25;
576 target: "top_padding";
577 target: "layout_clip";
581 action: STATE_SET "visible" 0.0;
582 transition:LINEAR 0.25;
583 target: "bottom_padding";
584 target: "layout_clip";
588 action: STATE_SET "visible" 0.0;
589 transition:LINEAR 0.25;
590 target: "left_padding";
591 target: "layout_clip";
594 name: "showrightend";
595 action: STATE_SET "visible" 0.0;
596 transition:LINEAR 0.25;
597 target: "right_padding";
598 target: "layout_clip";
602 signal: "elm,state,hide,up";
604 action: STATE_SET "show_up" 0.0;
606 target: "top_padding";
607 transition: LINEAR 0.25;
612 signal: "elm,state,hide,down";
614 action: STATE_SET "show_down" 0.0;
616 target: "bottom_padding";
617 transition: LINEAR 0.25;
622 signal: "elm,state,hide,left";
624 action: STATE_SET "show_left" 0.0;
626 target: "left_padding";
627 transition: LINEAR 0.25;
632 signal: "elm,state,hide,right";
634 action: STATE_SET "show_right" 0.0;
636 target: "right_padding";
637 transition: LINEAR 0.25;
642 signal: "elm,state,hide,up";
644 action: STATE_SET "default" 0.0;
645 target: "layout_clip";
646 transition: LINEAR 0.25;
650 name: "hidedown_clip";
651 signal: "elm,state,hide,down";
653 action: STATE_SET "default" 0.0;
654 target: "layout_clip";
655 transition: LINEAR 0.25;
659 name: "hideleft_clip";
660 signal: "elm,state,hide,left";
662 action: STATE_SET "default" 0.0;
663 target: "layout_clip";
664 transition: LINEAR 0.25;
668 name: "hideright_clip";
669 signal: "elm,state,hide,right";
671 action: STATE_SET "default" 0.0;
672 target: "layout_clip";
673 transition: LINEAR 0.25;
678 action: STATE_SET "default" 0.0;
680 target: "top_padding";
681 target: "bottom_padding";
682 target: "left_padding";
683 target: "right_padding";
684 after: "hidefinished";
687 name: "hidefinished";
688 action: SIGNAL_EMIT "elm,action,hide,finished" "";
692 ///////////////////////////////////////////////////////////////////////////////
694 name: "elm/ctxpopup/layout/more/default";
695 max: CTXPOPUP_MORE_WIDTH_MAX_INC ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*7)+CTXPOPUP_SHADOW_TOP_PADDING+CTXPOPUP_SHADOW_BOTTOM_PADDING+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*12)-CTXPOPUP_CONTENT_PADDING);
702 state: "default" 0.0;
703 min: 0 CTXPOPUP_MOVE_PAD_INC;
707 rel1.relative: 0.0 0.0;
708 rel2.relative: 1.0 0.0;
711 state: "show_up" 0.0;
712 inherit: "default" 0.0;
715 state: "visible" 0.0;
716 inherit: "default" 0.0;
721 name:"bottom_padding";
725 state: "default" 0.0;
726 min: 0 CTXPOPUP_MOVE_PAD_INC;
730 rel1.relative: 0.0 1.0;
731 rel2.relative: 1.0 1.0;
734 state: "show_down" 0.0;
735 inherit: "default" 0.0;
738 state: "visible" 0.0;
739 inherit: "default" 0.0;
748 state: "default" 0.0;
749 min: CTXPOPUP_MOVE_PAD_INC 0;
753 rel1.relative: 0.0 0.0;
754 rel2.relative: 0.0 1.0;
757 state: "show_left" 0.0;
758 inherit: "default" 0.0;
761 state: "visible" 0.0;
762 inherit: "default" 0.0;
767 name:"right_padding";
771 state: "default" 0.0;
772 min: CTXPOPUP_MOVE_PAD_INC 0;
776 rel1.relative: 1.0 0.0;
777 rel2.relative: 1.0 1.0;
780 state: "show_right" 0.0;
781 inherit: "default" 0.0;
784 state: "visible" 0.0;
785 inherit: "default" 0.0;
792 clip_to: "layout_clip";
794 state: "default" 0.0;
798 state: "show_up" 0.0;
799 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
800 rel2 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
804 state: "show_down" 0.0;
805 rel1 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
806 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
810 state: "show_left" 0.0;
811 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
812 rel2 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
816 state: "show_right" 0.0;
817 rel1 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
818 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
826 state: "default" 0.0;
827 color: 255 255 255 0;
828 rel1 {to: "swallow"; relative: -0.2 -0.2; }
829 rel2 {to: "swallow"; relative: 1.2 1.2;}
832 state: "show_up" 0.0;
833 inherit: "default" 0.0;
836 state: "show_down" 0.0;
837 inherit: "default" 0.0;
840 state: "show_left" 0.0;
841 inherit: "default" 0.0;
844 state: "show_right" 0.0;
845 inherit: "default" 0.0;
848 state: "visible" 0.0;
849 inherit: "default" 0.0;
850 color: 255 255 255 255;
857 signal: "elm,state,show,up";
859 action: STATE_SET "show_up" 0.0;
861 target: "top_padding";
862 target: "layout_clip";
867 signal: "elm,state,show,down";
869 action: STATE_SET "show_down" 0.0;
871 target: "bottom_padding";
872 target: "layout_clip";
873 after: "showdownend";
877 signal: "elm,state,show,left";
879 action: STATE_SET "show_left" 0.0;
881 target: "left_padding";
882 target: "layout_clip";
883 after: "showleftend";
887 signal: "elm,state,show,right";
889 action: STATE_SET "show_right" 0.0;
891 target: "right_padding";
892 target: "layout_clip";
893 after: "showrightend";
897 action: STATE_SET "visible" 0.0;
898 transition: SIN_FAC 0.33 1.1;
899 target: "top_padding";
900 target: "layout_clip";
904 action: STATE_SET "visible" 0.0;
905 transition: SIN_FAC 0.33 1.1;
906 target: "bottom_padding";
907 target: "layout_clip";
911 action: STATE_SET "visible" 0.0;
912 transition: SIN_FAC 0.33 1.1;
913 target: "left_padding";
914 target: "layout_clip";
917 name: "showrightend";
918 action: STATE_SET "visible" 0.0;
919 transition: SIN_FAC 0.33 1.1;
920 target: "right_padding";
921 target: "layout_clip";
925 signal: "elm,state,hide,up";
927 action: STATE_SET "show_up" 0.0;
929 target: "top_padding";
930 transition: SIN_FAC 0.33 1.1;
935 signal: "elm,state,hide,down";
937 action: STATE_SET "show_down" 0.0;
939 target: "bottom_padding";
940 transition: SIN_FAC 0.33 1.1;
945 signal: "elm,state,hide,left";
947 action: STATE_SET "show_left" 0.0;
949 target: "left_padding";
950 transition: SIN_FAC 0.33 1.1;
955 signal: "elm,state,hide,right";
957 action: STATE_SET "show_right" 0.0;
959 target: "right_padding";
960 transition: SIN_FAC 0.33 1.1;
965 signal: "elm,state,hide,up";
967 action: STATE_SET "default" 0.0;
968 target: "layout_clip";
969 transition: SIN_FAC 0.33 1.1;
973 name: "hidedown_clip";
974 signal: "elm,state,hide,down";
976 action: STATE_SET "default" 0.0;
977 target: "layout_clip";
978 transition: SIN_FAC 0.33 1.1;
982 name: "hideleft_clip";
983 signal: "elm,state,hide,left";
985 action: STATE_SET "default" 0.0;
986 target: "layout_clip";
987 transition: SIN_FAC 0.33 1.1;
991 name: "hideright_clip";
992 signal: "elm,state,hide,right";
994 action: STATE_SET "default" 0.0;
995 target: "layout_clip";
996 transition: SIN_FAC 0.33 1.1;
1001 action: STATE_SET "default" 0.0;
1003 target: "top_padding";
1004 target: "bottom_padding";
1005 target: "left_padding";
1006 target: "right_padding";
1007 after: "hidefinished";
1010 name: "hidefinished";
1011 action: SIGNAL_EMIT "elm,action,hide,finished" "";
1015 ///////////////////////////////////////////////////////////////////////////////
1017 name: "elm/ctxpopup/layout/landscape/more/default";
1018 inherit: "elm/ctxpopup/layout/landscape/default";
1019 max: CTXPOPUP_MORE_WIDTH_MAX_INC ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*5)+CTXPOPUP_SHADOW_TOP_PADDING+CTXPOPUP_SHADOW_BOTTOM_PADDING+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*8)-CTXPOPUP_CONTENT_PADDING);
1021 ///////////////////////////////////////////////////////////////////////////////
1023 name: "elm/scroller/base/ctxpopup";
1024 alias: "elm/scroller/base/more/default";
1026 public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
1027 public timer0(val) {
1029 v = get_int(sbvis_v);
1031 v = get_int(sbalways_v);
1033 emit("do-hide-vbar", "");
1034 set_int(sbvis_v, 0);
1037 v = get_int(sbvis_h);
1039 v = get_int(sbalways_h);
1041 emit("do-hide-hbar", "");
1042 set_int(sbvis_h, 0);
1045 set_int(sbvis_timer, 0);
1050 image: "00_popup_scroll_v.png" COMP;
1051 image: "00_popup_scroll_h.png" COMP;
1060 state: "default" 0.0;
1064 name: "elm.swallow.content";
1069 state: "default" 0.0;
1074 name: "sb_vbar_clip_master";
1078 state: "default" 0.0;
1081 state: "hidden" 0.0;
1083 color: 255 255 255 0;
1087 name: "sb_vbar_clip";
1088 clip_to:"sb_vbar_clip_master";
1093 state: "default" 0.0;
1095 rel2{ to:"clipper"; relative: 1.0 1.0;}
1098 state: "hidden" 0.0;
1100 color: 255 255 255 0;
1104 name: "sb_vbar_padding";
1109 state: "default" 0.0;
1111 min: (CTXPOPUP_SCROLLER_PADDING-CTXPOPUP_CONTENT_PADDING) 0;
1112 max: (CTXPOPUP_SCROLLER_PADDING-CTXPOPUP_CONTENT_PADDING) 0;
1115 rel1 { to:"clipper"; relative: 1.0 0.0; }
1116 rel2 { to:"clipper"; relative: 1.0 1.0; }
1125 state: "default" 0.0;
1129 rel1 { to_x:"sb_vbar_padding"; to_y:"clipper"; relative: 0.0 0.0; }
1130 rel2 { to_x:"sb_vbar_padding"; to_y:"clipper"; relative: 0.0 1.0; }
1134 name: "elm.dragable.vbar";
1135 clip_to: "sb_vbar_clip";
1144 state: "default" 0.0;
1146 min: CTXPOPUP_SCROLLER_V_MIN_SIZE_INC;
1156 normal: "00_popup_scroll_v.png";
1163 name: "sb_hbar_clip_master";
1167 state: "default" 0.0;
1170 state: "hidden" 0.0;
1172 color: 255 255 255 0;
1176 name: "sb_hbar_clip";
1177 clip_to: "sb_hbar_clip_master";
1182 state: "default" 0.0;
1184 rel2{ to:"clipper"; relative: 1.0 1.0;}
1187 state: "hidden" 0.0;
1189 color: 255 255 255 0;
1193 name: "sb_hbar_padding";
1198 state: "default" 0.0;
1200 min: 0 (CTXPOPUP_SCROLLER_PADDING-CTXPOPUP_CONTENT_PADDING);
1201 max: 0 (CTXPOPUP_SCROLLER_PADDING-CTXPOPUP_CONTENT_PADDING);
1204 rel1 { to:"clipper"; relative: 0.0 1.0; }
1205 rel2 { to:"clipper"; relative: 1.0 1.0; }
1214 state: "default" 0.0;
1218 rel1 {to_x:"clipper"; to_y: "sb_hbar_padding"; relative: 0.0 0.0;}
1219 rel2 {to_x:"clipper"; to_y: "sb_hbar_padding"; relative: 1.0 0.0;}
1223 name: "elm.dragable.hbar";
1224 clip_to: "sb_hbar_clip";
1233 state: "default" 0.0;
1235 min: CTXPOPUP_SCROLLER_H_MIN_SIZE_INC;
1236 rel1 {relative: 0.5 0.5; to: "sb_hbar";}
1237 rel2 {relative: 0.5 0.5; to: "sb_hbar";}
1239 normal: "00_popup_scroll_h.png";
1252 set_state(PART:"sb_vbar_clip", "hidden", 0.0);
1253 set_state(PART:"sb_hbar_clip", "hidden", 0.0);
1254 set_int(sbvis_v, 0);
1255 set_int(sbvis_h, 0);
1256 set_int(sbalways_v, 0);
1257 set_int(sbalways_h, 0);
1258 set_int(sbvis_timer, 0);
1259 emit("reload", "elm");
1264 signal: "elm,action,show,vbar";
1266 action: STATE_SET "default" 0.0;
1267 target: "sb_vbar_clip_master";
1271 signal: "elm,action,hide,vbar";
1273 action: STATE_SET "hidden" 0.0;
1274 target: "sb_vbar_clip_master";
1277 name: "vbar_show_always";
1278 signal: "elm,action,show_always,vbar";
1282 v = get_int(sbvis_v);
1283 v |= get_int(sbalways_v);
1285 set_int(sbalways_v, 1);
1286 emit("do-show-vbar", "");
1287 set_int(sbvis_v, 1);
1292 name: "vbar_show_notalways";
1293 signal: "elm,action,show_notalways,vbar";
1297 v = get_int(sbalways_v);
1299 set_int(sbalways_v, 0);
1300 v = get_int(sbvis_v);
1302 emit("do-hide-vbar", "");
1303 set_int(sbvis_v, 0);
1309 name: "sb_vbar_show";
1310 signal: "do-show-vbar";
1312 action: STATE_SET "default" 0.0;
1313 transition: LINEAR 1.0;
1314 target: "sb_vbar_clip";
1317 name: "sb_vbar_hide";
1318 signal: "do-hide-vbar";
1320 action: STATE_SET "hidden" 0.0;
1321 transition: LINEAR 1.0;
1322 target: "sb_vbar_clip";
1326 signal: "elm,action,show,hbar";
1328 action: STATE_SET "default" 0.0;
1329 target: "sb_hbar_clip_master";
1333 signal: "elm,action,hide,hbar";
1335 action: STATE_SET "hidden" 0.0;
1336 target: "sb_hbar_clip_master";
1339 name: "hbar_show_always";
1340 signal: "elm,action,show_always,hbar";
1344 v = get_int(sbvis_h);
1345 v |= get_int(sbalways_h);
1347 set_int(sbalways_h, 1);
1348 emit("do-show-hbar", "");
1349 set_int(sbvis_h, 1);
1354 name: "hbar_show_notalways";
1355 signal: "elm,action,show_notalways,hbar";
1359 v = get_int(sbalways_h);
1361 set_int(sbalways_h, 0);
1362 v = get_int(sbvis_h);
1364 emit("do-hide-hbar", "");
1365 set_int(sbvis_h, 0);
1371 name: "sb_hbar_show";
1372 signal: "do-show-hbar";
1374 action: STATE_SET "default" 0.0;
1375 transition: LINEAR 1.0;
1376 target: "sb_hbar_clip";
1379 name: "sb_hbar_hide";
1380 signal: "do-hide-hbar";
1382 action: STATE_SET "hidden" 0.0;
1383 transition: LINEAR 1.0;
1384 target: "sb_hbar_clip";
1388 signal: "elm,action,scroll";
1390 action: STATE_SET "default" 0.0;
1393 v = get_int(sbvis_v);
1394 v |= get_int(sbalways_v);
1396 emit("do-show-vbar", "");
1397 set_int(sbvis_v, 1);
1399 v = get_int(sbvis_h);
1400 v |= get_int(sbalways_h);
1402 emit("do-show-hbar", "");
1403 set_int(sbvis_h, 1);
1405 v = get_int(sbvis_timer);
1406 if (v > 0) cancel_timer(v);
1407 v = timer(2.0, "timer0", 0);
1408 set_int(sbvis_timer, v);
1413 ///////////////////////////////////////////////////////////////////////////////
1415 name: "elm/ctxpopup/bg/pass_event";
1416 alias: "elm/ctxpopup/bg/extended/entry/pass_event";
1417 alias: "elm/ctxpopup/bg/extended/entry";
1418 alias: "elm/ctxpopup/bg/timepicker";
1419 alias: "elm/ctxpopup/bg/datetime/default";
1426 state: "default" 0.0;
1430 state: "visible" 0.0;
1438 name: "clicked_event";
1439 signal: "mouse,clicked,1";
1441 action: SIGNAL_EMIT "elm,action,click" "";
1445 signal: "elm,state,show";
1447 action: STATE_SET "visible" 0.0;
1452 signal: "elm,state,hide";
1454 action: STATE_SET "default" 0.0;
1459 ///////////////////////////////////////////////////////////////////////////////
1461 name: "elm/ctxpopup/bg/default";
1468 state: "default" 0.0;
1472 state: "visible" 0.0;
1482 name: "clicked_event";
1483 signal: "mouse,clicked,1";
1485 action: SIGNAL_EMIT "elm,action,click" "";
1489 signal: "elm,state,show";
1491 action: STATE_SET "visible" 0.0;
1496 signal: "elm,state,hide";
1498 action: STATE_SET "default" 0.0;
1505 name: "elm/ctxpopup/bg/copypaste";
1506 inherit: "elm/ctxpopup/bg/default";
1515 ///////////////////////////////////////////////////////////////////////////////
1517 name: "elm/ctxpopup/base/no_bg_content";
1519 image: "ctxpopup_bg.png" COMP;
1520 image: "ctxpopup_shadow.png" COMP;
1524 name:"frame_shadow_left_top_padding";
1529 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1530 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1537 name:"frame_shadow_right_bottom_padding";
1542 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1543 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1544 rel1{relative: 1 1;}
1551 name: "frame_shadow";
1556 state: "default" 0.0;
1557 rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
1558 rel2 {to:"frame_shadow_right_bottom_padding";}
1560 normal: "ctxpopup_shadow.png";
1561 border: 10 10 10 10;
1564 color: 255 255 255 255;
1568 name: "ctxpopup_frame";
1573 normal: "ctxpopup_bg.png";
1574 border: 10 10 10 10;
1577 rel1 {to:"content_left_top_padding"; relative: 1 1;}
1578 rel2 {to:"content_right_bottom_padding"; relative: 0 0;}
1582 name:"list_shadow_right_bottom_padding";
1587 min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
1588 max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
1592 rel1 {to:"elm.swallow.content"; relative: 1 1;}
1596 name:"content_left_top_padding";
1601 state: "default" 0.0;
1602 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
1603 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
1610 name:"content_right_bottom_padding";
1615 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
1616 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
1617 rel1 { relative: 1 1;}
1618 rel2 { relative: 1 1;}
1625 name: "elm.swallow.content";
1628 state: "default" 0.0;
1629 rel1 {to:"content_left_top_padding"; relative: 1 1;}
1630 rel2 {to:"content_right_bottom_padding"; relative: 0 0;}
1635 ///////////////////////////////////////////////////////////////////////////////
1637 name: "elm/ctxpopup/base/default";
1638 alias: "elm/ctxpopup/base/copypaste";
1640 image: "00_popup_bubble_bg.png" COMP;
1644 name:"frame_shadow_left_top_padding";
1649 state: "default" 0.0;
1650 min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
1651 max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
1652 rel2 { relative: 0 0; }
1659 name:"frame_shadow_right_bottom_padding";
1664 state: "default" 0.0;
1665 min: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
1666 max: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
1667 rel1{relative: 1 1;}
1679 state: "default" 0.0;
1680 rel1 {to:"frame_shadow_left_top_padding";}
1681 rel2 {to:"frame_shadow_right_bottom_padding";}
1682 min: (CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC + CTXPOPUP_SHADOW_LEFT_PADDING + CTXPOPUP_SHADOW_RIGHT_PADDING) 0;
1684 normal: "00_popup_bubble_bg.png";
1685 border: CTXPOPUP_BUBBLE_BG_IMAGE_BORDER;
1690 part { name: "arrow_area_left";
1694 description { state: "default" 0.0;
1696 min: CTXPOPUP_ARROW_SIZE_INC;
1701 to_x:"arrow_left_top_padding";
1702 to_y: "ctxpopup_frame_left_top";
1706 to_x:"arrow_left_top_padding";
1707 to_y:"ctxpopup_frame_right_bottom";
1711 part { name: "arrow_area_right";
1715 description { state: "default" 0.0;
1717 min: CTXPOPUP_ARROW_SIZE_INC;
1722 to_x:"arrow_right_bottom_padding";
1723 to_y:"ctxpopup_frame_left_top";
1727 to_x:"arrow_right_bottom_padding";
1728 to_y: "ctxpopup_frame_right_bottom";
1732 part { name: "arrow_area_up";
1736 description { state: "default" 0.0;
1738 min: CTXPOPUP_ARROW_SIZE_INC;
1743 to_x: "ctxpopup_frame_left_top";
1744 to_y: "arrow_left_top_padding";
1748 to_x:"ctxpopup_frame_right_bottom";
1749 to_y: "arrow_left_top_padding";
1753 part { name: "arrow_area_down";
1757 description { state: "default" 0.0;
1759 min: CTXPOPUP_ARROW_SIZE_INC;
1764 to_x:"ctxpopup_frame_left_top";
1765 to_y:"arrow_right_bottom_padding";
1769 to_x: "ctxpopup_frame_right_bottom";
1770 to_y:"arrow_right_bottom_padding";
1774 part { name: "elm.swallow.arrow_up";
1781 confine: "arrow_area_up";
1784 state: "default" 0.0;
1785 min: CTXPOPUP_ARROW_SIZE_INC;
1790 part { name: "elm.swallow.arrow_down";
1797 confine: "arrow_area_down";
1800 state: "default" 0.0;
1801 min: CTXPOPUP_ARROW_SIZE_INC;
1806 part { name: "elm.swallow.arrow_left";
1813 confine: "arrow_area_left";
1816 state: "default" 0.0;
1817 min: CTXPOPUP_ARROW_SIZE_INC;
1822 part { name: "elm.swallow.arrow_right";
1829 confine: "arrow_area_right";
1832 state: "default" 0.0;
1833 min: CTXPOPUP_ARROW_SIZE_INC;
1839 name: "ctxpopup_frame_left_top";
1843 state: "default" 0.0;
1847 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1848 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1849 rel1 {relative: 0 0; to: "content_left_top_padding";}
1853 name: "ctxpopup_frame_right_bottom";
1857 state: "default" 0.0;
1861 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1862 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1863 rel2 {relative: 1 1; to: "content_right_bottom_padding";}
1867 name:"content_left_top_padding";
1872 state: "default" 0.0;
1873 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
1874 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
1875 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
1882 name:"content_right_bottom_padding";
1887 state: "default" 0.0;
1888 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
1889 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
1890 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
1897 name: "arrow_left_top_padding";
1901 state: "default" 0.0;
1902 min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
1903 max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
1904 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
1910 name: "arrow_right_bottom_padding";
1914 state: "default" 0.0;
1915 min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
1916 max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
1917 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
1923 name: "elm.swallow.content";
1926 state: "default" 0.0;
1928 rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;}
1929 rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;}
1932 part { name: "access.outline";
1935 description { state: "default" 0.0;
1937 rel1.to: "frame_bg";
1938 rel2.to: "frame_bg";
1945 ///////////////////////////////////////////////////////////////////////////////
1946 group { name: "elm/ctxpopup/arrow/default";
1947 alias: "elm/ctxpopup/arrow/more/default";
1949 image: "00_popup_bubble_tail_left.png" COMP;
1950 image: "00_popup_bubble_tail_right.png" COMP;
1951 image: "00_popup_bubble_tail_top.png" COMP;
1952 image: "00_popup_bubble_tail_bottom.png" COMP;
1956 name: "ctxpopup_arrow";
1960 state: "default" 0.0;
1961 min: CTXPOPUP_ARROW_SIZE_INC;
1962 max: CTXPOPUP_ARROW_SIZE_INC;
1969 min: CTXPOPUP_ARROW_SIZE_INC;
1970 max: CTXPOPUP_ARROW_SIZE_INC;
1974 normal: "00_popup_bubble_tail_left.png";
1979 min: CTXPOPUP_ARROW_SIZE_INC;
1980 max: CTXPOPUP_ARROW_SIZE_INC;
1984 normal: "00_popup_bubble_tail_right.png";
1989 min: CTXPOPUP_ARROW_SIZE_INC;
1990 max: CTXPOPUP_ARROW_SIZE_INC;
1994 normal: "00_popup_bubble_tail_top.png";
1998 state: "bottom" 0.0;
1999 min: CTXPOPUP_ARROW_SIZE_INC;
2000 max: CTXPOPUP_ARROW_SIZE_INC;
2004 normal: "00_popup_bubble_tail_bottom.png";
2011 name: "enable_left_arrow";
2012 signal: "elm,state,left";
2014 action: STATE_SET "left" 0.0;
2015 target: "ctxpopup_arrow";
2018 name: "enable_right_arrow";
2019 signal: "elm,state,right";
2021 action: STATE_SET "right" 0.0;
2022 target: "ctxpopup_arrow";
2025 name: "enable_top_arrow";
2026 signal: "elm,state,top";
2028 action: STATE_SET "top" 0.0;
2029 target: "ctxpopup_arrow";
2032 name: "enable_bottom_arrow";
2033 signal: "elm,state,bottom";
2035 action: STATE_SET "bottom" 0.0;
2036 target: "ctxpopup_arrow";
2040 ///////////////////////////////////////////////////////////////////////////////
2042 name: "elm/ctxpopup/text_style_item/default";
2045 image: "00_more_popup_press.png" COMP;
2048 data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC;
2052 name: "event_blocker";
2056 state: "default" 0.0;
2066 state: "default" 0.0;
2068 min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING*2) 1;
2069 max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2072 state: "clicked" 0.0;
2073 inherit: "default" 0.0;
2076 normal: "00_more_popup_press.png";
2077 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2082 state: "clicked_separator" 0.0;
2083 inherit: "default" 0.0;
2085 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
2087 normal: "00_more_popup_press.png";
2088 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2099 state: "default" 0.0;
2100 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2101 rel1 { relative: 1.0 0.0; to_x: "left_padding";}
2102 rel2 { relative: 0.0 1.0; to_x: "right_padding"; offset: 0 0; }
2104 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2105 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2109 state: "visible" 0.0;
2110 inherit: "default" 0.0;
2120 state: "default" 0.0;
2121 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2122 rel1 { relative: 0.0 1.0; to: "separator1";}
2123 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
2126 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2127 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2131 state: "visible" 0.0;
2132 inherit: "default" 0.0;
2137 name: "left_padding";
2142 state: "default" 0.0;
2143 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2144 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2156 state: "default" 0.0;
2157 min: 1 CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2159 rel1 {relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg";}
2160 rel2 {relative: 0.0 1.0; to_x: "right_padding"; to_y: "bg";}
2161 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
2163 font: "Tizen:style=Roman";
2164 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
2167 text_class: "list_item";
2171 state: "clicked" 0.0;
2172 inherit: "default" 0.0;
2173 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
2177 state: "disabled" 0.0;
2178 inherit: "default" 0.0;
2179 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
2182 state: "ellipsis" 0.0;
2183 inherit: "default" 0.0;
2184 min: CTXPOPUP_TEXT_MAX_INC CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2188 state: "ellipsis_disabled" 0.0;
2189 inherit: "ellipsis" 0.0;
2190 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
2194 name: "right_padding";
2199 state: "default" 0.0;
2201 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2202 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2213 state: "default" 0.0;
2227 state: "default" 0.0;
2237 state: "default" 0.0;
2241 state: "disabled" 0.0;
2243 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2249 name: "text_ellipsis";
2250 signal: "elm,state,text,ellipsis";
2252 action: STATE_SET "ellipsis" 0.0;
2256 name: "item_unclick";
2257 signal: "mouse,clicked,1";
2259 action: SIGNAL_EMIT "elm,action,click" "";
2264 action: PLAY_SAMPLE "touch_sound" 1.0;
2268 signal: "elm,state,disabled";
2273 get_state(PART:"elm.text", st, 30, vl);
2274 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
2275 set_state(PART:"elm.text", "ellipsis_disabled", 0.0);
2277 set_state(PART:"elm.text", "disabled", 0.0);
2279 set_state(PART:"disclip", "disabled", 0.0);
2284 signal: "elm,state,enabled";
2289 get_state(PART:"elm.text", st, 30, vl);
2290 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
2291 set_state(PART:"elm.text", "ellipsis", 0.0);
2293 set_state(PART:"elm.text", "default", 0.0);
2295 set_state(PART:"disclip", "default", 0.0);
2300 signal: "elm,state,default";
2303 set_state(PART:"separator1", "default", 0.0);
2304 set_state(PART:"separator2", "default", 0.0);
2309 signal: "elm,state,separator";
2312 set_state(PART:"separator1", "visible", 0.0);
2313 set_state(PART:"separator2", "visible", 0.0);
2317 name: "item_click2";
2318 signal: "mouse,down,1";
2321 set_state(PART:"elm.text", "clicked", 0.0);
2325 get_state(PART:"separator2", st, 30, vl);
2326 if (!strcmp(st, "default"))
2327 set_state(PART:"bg", "clicked", 0.0);
2329 set_state(PART:"bg", "clicked_separator", 0.0);
2337 new Float:dx, Float:dy;
2338 get_drag(PART:"over2", dx, dy);
2339 if ((abs(dx) > 20) || (abs(dy) > 20))
2341 set_drag(PART:"over2", 0.0, 0.0);
2342 set_state(PART:"bg", "default", 0.0);
2344 set_drag(PART:"over2", 0.0, 0.0);
2348 name: "item_unclick2";
2349 signal: "mouse,up,1";
2352 set_drag(PART:"over2", 0.0, 0.0);
2353 set_state(PART:"bg", "default", 0.0);
2358 ///////////////////////////////////////////////////////////////////////////////
2360 name: "elm/ctxpopup/text_style_item_horizontal/default";
2363 image: "00_more_popup_press.png" COMP;
2368 name: "event_blocker";
2372 state: "default" 0.0;
2382 state: "default" 0.0;
2384 min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2387 state: "clicked" 0.0;
2390 normal: "00_more_popup_press.png";
2391 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2396 state: "clicked_separator" 0.0;
2397 rel1 { relative: 1.0 0.0; to_x: "separator2"; }
2400 normal: "00_more_popup_press.png";
2401 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2412 state: "default" 0.0;
2413 color: CTXPOPUP_HORIZONTAL_SEPARATOR_1_COLOR_INC;
2415 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2416 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2420 state: "visible" 0.0;
2421 inherit: "default" 0.0;
2431 state: "default" 0.0;
2432 color: CTXPOPUP_HORIZONTAL_SEPARATOR_2_COLOR_INC;
2433 rel1 { relative: 1.0 0.0; to: "separator1"; to_y: "bg";}
2435 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2436 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2440 state: "visible" 0.0;
2441 inherit: "default" 0.0;
2446 name: "left_padding";
2451 state: "default" 0.0;
2452 min: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2453 max: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2466 state: "default" 0.0;
2467 min: (CTXPOPUP_TEXT_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ITEM_ICON_PADDING_INC*2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2469 rel1 {relative: 1.0 0.0; to: "left_padding"; }
2470 rel2 {relative: 0.0 1.0; to: "right_padding"; }
2471 color: CTXPOPUP_MAIN_TEXT_COLOR_INC;
2473 font: "Tizen:style=Roman";
2474 size: CTXPOPUP_MAIN_TEXT_SIZE_INC;
2477 text_class: "list_item";
2481 state: "clicked" 0.0;
2482 inherit: "default" 0.0;
2483 color: CTXPOPUP_MAIN_TEXT_PRESS_COLOR_INC;
2486 state: "disabled" 0.0;
2487 inherit: "default" 0.0;
2488 color: CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC;
2492 name: "right_padding";
2497 state: "default" 0.0;
2498 min: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2499 max: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2512 state: "default" 0.0;
2526 state: "default" 0.0;
2536 state: "default" 0.0;
2540 state: "disabled" 0.0;
2542 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2548 name: "item_unclick";
2549 signal: "mouse,clicked,1";
2551 action: SIGNAL_EMIT "elm,action,click" "";
2556 action: PLAY_SAMPLE "touch_sound" 1.0;
2560 signal: "elm,state,disabled";
2563 set_state(PART:"elm.text", "disabled", 0.0);
2564 set_state(PART:"disclip", "disabled", 0.0);
2569 signal: "elm,state,enabled";
2572 set_state(PART:"elm.text", "default", 0.0);
2573 set_state(PART:"disclip", "default", 0.0);
2578 signal: "elm,state,default";
2581 set_state(PART:"separator1", "default", 0.0);
2582 set_state(PART:"separator2", "default", 0.0);
2587 signal: "elm,state,separator";
2590 set_state(PART:"separator1", "visible", 0.0);
2591 set_state(PART:"separator2", "visible", 0.0);
2595 name: "item_click2";
2596 signal: "mouse,down,1";
2599 set_state(PART:"elm.text", "clicked", 0.0);
2603 get_state(PART:"separator2", st, 30, vl);
2604 if (!strcmp(st, "default"))
2605 set_state(PART:"bg", "clicked", 0.0);
2607 set_state(PART:"bg", "clicked_separator", 0.0);
2615 new Float:dx, Float:dy;
2616 get_drag(PART:"over2", dx, dy);
2617 if ((abs(dx) > 20) || (abs(dy) > 20))
2619 set_drag(PART:"over2", 0.0, 0.0);
2620 set_state(PART:"bg", "default", 0.0);
2622 set_drag(PART:"over2", 0.0, 0.0);
2626 name: "item_unclick2";
2627 signal: "mouse,up,1";
2630 set_drag(PART:"over2", 0.0, 0.0);
2631 set_state(PART:"bg", "default", 0.0);
2636 ///////////////////////////////////////////////////////////////////////////////
2638 name: "elm/ctxpopup/icon_style_item/default";
2641 image: "00_more_popup_press.png" COMP;
2646 name: "event_blocker";
2650 state: "default" 0.0;
2660 state: "default" 0.0;
2662 min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2663 max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2666 state: "clicked" 0.0;
2669 normal: "00_more_popup_press.png";
2670 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2675 state: "clicked_separator" 0.0;
2676 rel1 { relative: 1.0 0.0; to_x: "separator2"; }
2679 normal: "00_more_popup_press.png";
2680 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2686 name: "left_padding";
2689 min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2690 max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2702 state: "default" 0.0;
2703 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2705 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2706 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2710 state: "visible" 0.0;
2711 inherit: "default" 0.0;
2721 state: "default" 0.0;
2722 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2723 rel1 { relative: 1.0 0.0; to_x: "separator1"; }
2725 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2726 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2730 state: "visible" 0.0;
2731 inherit: "default" 0.0;
2736 name: "elm.swallow.icon";
2740 state: "default" 0.0;
2741 min: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC;
2742 max: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC;
2745 rel1 { relative: 1 0; to_x: "left_padding"; }
2746 rel2 { relative: 0 1; to_x: "right_padding"; }
2750 name: "right_padding";
2753 min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2754 max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2766 state: "default" 0.0;
2780 state: "default" 0.0;
2790 state: "default" 0.0;
2794 state: "disabled" 0.0;
2796 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2803 signal: "elm,state,default";
2806 set_state(PART:"separator1", "default", 0.0);
2807 set_state(PART:"separator2", "default", 0.0);
2812 signal: "elm,state,separator";
2815 set_state(PART:"separator1", "visible", 0.0);
2816 set_state(PART:"separator2", "visible", 0.0);
2820 name: "item_unclick";
2821 signal: "mouse,clicked,1";
2823 action: SIGNAL_EMIT "elm,action,click" "";
2828 action: PLAY_SAMPLE "touch_sound" 1.0;
2832 signal: "elm,state,disabled";
2834 action: STATE_SET "disabled" 0.0;
2839 signal: "elm,state,enabled";
2841 action: STATE_SET "default" 0.0;
2845 name: "item_click2";
2846 signal: "mouse,down,1";
2851 get_state(PART:"separator2", st, 30, vl);
2852 if (!strcmp(st, "default"))
2853 set_state(PART:"bg", "clicked", 0.0);
2855 set_state(PART:"bg", "clicked_separator", 0.0);
2863 new Float:dx, Float:dy;
2864 get_drag(PART:"over2", dx, dy);
2865 if ((abs(dx) > 20) || (abs(dy) > 20))
2867 set_drag(PART:"over2", 0.0, 0.0);
2868 set_state(PART:"bg", "default", 0.0);
2870 set_drag(PART:"over2", 0.0, 0.0);
2874 name: "item_unclick2";
2875 signal: "mouse,up,1";
2878 set_drag(PART:"over2", 0.0, 0.0);
2879 set_state(PART:"bg", "default", 0.0);
2884 ///////////////////////////////////////////////////////////////////////////////
2886 name: "elm/ctxpopup/icon_text_style_item/default";
2889 image: "00_more_popup_press.png" COMP;
2892 data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC;
2896 name: "event_blocker";
2900 state: "default" 0.0;
2909 state: "default" 0.0;
2913 state: "clicked" 0.0;
2916 normal: "00_more_popup_press.png";
2917 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2922 state: "clicked_separator" 0.0;
2923 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
2926 normal: "00_more_popup_press.png";
2927 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2933 name:"separator_left_padding";
2938 min: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2939 max: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2946 name:"separator_right_padding";
2951 min: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2952 max: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2959 name: "icon_left_padding";
2963 state: "default" 0.0;
2964 min: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2965 max: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2977 state: "default" 0.0;
2978 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2979 rel1 { relative: 1.0 0.0; to_x: "separator_left_padding";}
2980 rel2 { relative: 0.0 1.0; to_x: "separator_right_padding"; offset: 0 0; }
2982 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2983 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2987 state: "visible" 0.0;
2988 inherit: "default" 0.0;
2998 state: "default" 0.0;
2999 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
3000 rel1 { relative: 0.0 1.0; to: "separator1";}
3001 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
3004 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3005 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3009 state: "visible" 0.0;
3010 inherit: "default" 0.0;
3015 name: "elm.swallow.icon";
3019 state: "default" 0.0;
3020 min: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
3021 max: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
3024 rel1 { to:"icon_left_padding"; relative: 1 0; }
3028 name: "icon_right_padding";
3032 state: "default" 0.0;
3033 min: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3034 max: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_HEIGHT_MAX_INC;
3038 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
3047 state: "default" 0.0;
3048 min: 1 CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3050 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";}
3051 rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";}
3052 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
3054 font: "Tizen:style=Roman";
3055 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
3058 text_class: "list_item";
3062 state: "clicked" 0.0;
3063 inherit: "default" 0.0;
3064 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
3068 state: "disabled" 0.0;
3069 inherit: "default" 0.0;
3070 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3073 state: "ellipsis" 0.0;
3074 inherit: "default" 0.0;
3075 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 state: "ellipsis_disabled" 0.0;
3080 inherit: "ellipsis" 0.0;
3081 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3085 name: "text_right_padding";
3090 state: "default" 0.0;
3092 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3093 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
3104 state: "default" 0.0;
3118 state: "default" 0.0;
3128 state: "default" 0.0;
3132 state: "disabled" 0.0;
3134 color: CTXPOPUP_ITEM_DISABLED_COLOR;
3140 name: "text_ellipsis";
3141 signal: "elm,state,text,ellipsis";
3143 action: STATE_SET "ellipsis" 0.0;
3147 name: "item_unclick";
3148 signal: "mouse,clicked,1";
3150 action: SIGNAL_EMIT "elm,action,click" "";
3155 action: PLAY_SAMPLE "touch_sound" 1.0;
3159 signal: "elm,state,disabled";
3164 get_state(PART:"elm.text", st, 30, vl);
3165 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
3166 set_state(PART:"elm.text", "ellipsis_disabled", 0.0);
3168 set_state(PART:"elm.text", "disabled", 0.0);
3170 set_state(PART:"disclip", "disabled", 0.0);
3175 signal: "elm,state,enabled";
3180 get_state(PART:"elm.text", st, 30, vl);
3181 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
3182 set_state(PART:"elm.text", "ellipsis", 0.0);
3184 set_state(PART:"elm.text", "default", 0.0);
3186 set_state(PART:"disclip", "default", 0.0);
3191 signal: "elm,state,default";
3194 set_state(PART:"separator1", "default", 0.0);
3195 set_state(PART:"separator2", "default", 0.0);
3200 signal: "elm,state,separator";
3203 set_state(PART:"separator1", "visible", 0.0);
3204 set_state(PART:"separator2", "visible", 0.0);
3208 name: "item_click2";
3209 signal: "mouse,down,1";
3212 set_state(PART:"elm.text", "clicked", 0.0);
3216 get_state(PART:"separator2", st, 30, vl);
3217 if (!strcmp(st, "default"))
3218 set_state(PART:"bg", "clicked", 0.0);
3220 set_state(PART:"bg", "clicked_separator", 0.0);
3228 new Float:dx, Float:dy;
3229 get_drag(PART:"over2", dx, dy);
3230 if ((abs(dx) > 20) || (abs(dy) > 20))
3232 set_drag(PART:"over2", 0.0, 0.0);
3233 set_state(PART:"bg", "default", 0.0);
3235 set_drag(PART:"over2", 0.0, 0.0);
3239 name: "item_unclick2";
3240 signal: "mouse,up,1";
3243 set_drag(PART:"over2", 0.0, 0.0);
3244 set_state(PART:"bg", "default", 0.0);
3250 ///////////////////////////////////////////////////////////////////////////////
3252 name: "elm/ctxpopup/base/more/default";
3254 image: "00_popup_bubble_bg.png" COMP;
3258 name:"frame_shadow_left_top_padding";
3263 state: "default" 0.0;
3264 min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
3265 max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
3266 rel2 { relative: 0 0; }
3273 name:"frame_shadow_right_bottom_padding";
3278 state: "default" 0.0;
3279 min: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
3280 max: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
3281 rel1{relative: 1 1;}
3293 state: "default" 0.0;
3294 rel1 {to:"frame_shadow_left_top_padding";}
3295 rel2 {to:"frame_shadow_right_bottom_padding";}
3296 min: CTXPOPUP_MORE_WIDTH_MIN_INC 0;
3298 normal: "00_popup_bubble_bg.png";
3299 border: CTXPOPUP_BUBBLE_BG_IMAGE_BORDER;
3304 part { name: "arrow_area_left";
3308 description { state: "default" 0.0;
3310 min: CTXPOPUP_ARROW_SIZE_INC;
3315 to_x:"arrow_left_top_padding";
3316 to_y: "ctxpopup_frame_left_top";
3320 to_x:"arrow_left_top_padding";
3321 to_y:"ctxpopup_frame_right_bottom";
3325 part { name: "arrow_area_right";
3329 description { state: "default" 0.0;
3331 min: CTXPOPUP_ARROW_SIZE_INC;
3336 to_x:"arrow_right_bottom_padding";
3337 to_y:"ctxpopup_frame_left_top";
3341 to_x:"arrow_right_bottom_padding";
3342 to_y: "ctxpopup_frame_right_bottom";
3346 part { name: "arrow_area_up";
3350 description { state: "default" 0.0;
3352 min: CTXPOPUP_ARROW_SIZE_INC;
3357 to_x: "ctxpopup_frame_left_top";
3358 to_y: "arrow_left_top_padding";
3362 to_x:"ctxpopup_frame_right_bottom";
3363 to_y: "arrow_left_top_padding";
3367 part { name: "arrow_area_down";
3371 description { state: "default" 0.0;
3373 min: CTXPOPUP_ARROW_SIZE_INC;
3378 to_x:"ctxpopup_frame_left_top";
3379 to_y:"arrow_right_bottom_padding";
3383 to_x: "ctxpopup_frame_right_bottom";
3384 to_y:"arrow_right_bottom_padding";
3388 part { name: "elm.swallow.arrow_up";
3395 confine: "arrow_area_up";
3398 state: "default" 0.0;
3399 min: CTXPOPUP_ARROW_SIZE_INC;
3404 part { name: "elm.swallow.arrow_down";
3411 confine: "arrow_area_down";
3414 state: "default" 0.0;
3415 min: CTXPOPUP_ARROW_SIZE_INC;
3420 part { name: "elm.swallow.arrow_left";
3427 confine: "arrow_area_left";
3430 state: "default" 0.0;
3431 min: CTXPOPUP_ARROW_SIZE_INC;
3436 part { name: "elm.swallow.arrow_right";
3443 confine: "arrow_area_right";
3446 state: "default" 0.0;
3447 min: CTXPOPUP_ARROW_SIZE_INC;
3453 name: "ctxpopup_frame_left_top";
3457 state: "default" 0.0;
3461 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3462 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3463 rel1 {relative: 0 0; to: "content_left_top_padding";}
3467 name: "ctxpopup_frame_right_bottom";
3471 state: "default" 0.0;
3475 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3476 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3477 rel2 {relative: 1 1; to: "content_right_bottom_padding";}
3481 name:"content_left_top_padding";
3486 state: "default" 0.0;
3487 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3488 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3489 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
3496 name:"content_right_bottom_padding";
3501 state: "default" 0.0;
3502 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3503 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3504 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
3511 name: "arrow_left_top_padding";
3515 state: "default" 0.0;
3516 min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
3517 max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
3518 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
3524 name: "arrow_right_bottom_padding";
3528 state: "default" 0.0;
3529 min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
3530 max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
3531 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
3537 name: "elm.swallow.content";
3540 state: "default" 0.0;
3542 rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;}
3543 rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;}
3548 ///////////////////////////////////////////////////////////////////////////////
3550 name: "elm/ctxpopup/icon_text_style_item/more/default";
3553 image: "00_more_popup_press.png" COMP;
3558 name: "event_blocker";
3562 state: "default" 0.0;
3572 state: "default" 0.0;
3574 min: (CTXPOPUP_MORE_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) 1;
3575 max: (CTXPOPUP_MORE_WIDTH_MAX_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3578 state: "clicked" 0.0;
3581 normal: "00_more_popup_press.png";
3582 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
3587 state: "clicked_separator" 0.0;
3588 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
3591 normal: "00_more_popup_press.png";
3592 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
3598 name:"separator_left_padding";
3603 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3604 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3611 name:"separator_right_padding";
3616 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3617 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3624 name: "icon_left_padding";
3628 state: "default" 0.0;
3629 min: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3630 max: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3642 state: "default" 0.0;
3643 color: CTXPOPUP_SEPARATOR_COLOR_INC;
3644 rel1 { relative: 1.0 0.0; to_x: "separator_left_padding";}
3645 rel2 { relative: 0.0 1.0; to_x: "separator_right_padding"; offset: 0 0; }
3648 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3649 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3653 state: "visible" 0.0;
3654 inherit: "default" 0.0;
3664 state: "default" 0.0;
3665 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
3666 rel1 { relative: 0.0 1.0; to: "separator1"; }
3667 rel2.to: "separator1";
3671 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3672 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3676 state: "visible" 0.0;
3677 inherit: "default" 0.0;
3682 name: "elm.swallow.icon";
3686 state: "default" 0.0;
3687 min: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC;
3688 max: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC;
3691 rel1 { to:"icon_left_padding"; relative: 1 0; }
3695 name: "icon_right_padding";
3699 state: "default" 0.0;
3700 min: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3701 max: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3705 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
3714 state: "default" 0.0;
3715 min: 1 CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3717 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";}
3718 rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";}
3719 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
3721 font: "Tizen:style=Roman";
3722 size: CTXPOPUP_MORE_ITEM_TEXT_SIZE_INC;
3725 text_class: "list_item";
3729 state: "clicked" 0.0;
3730 inherit: "default" 0.0;
3731 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
3734 state: "disabled" 0.0;
3735 inherit: "default" 0.0;
3736 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3739 state: "ellipsis" 0.0;
3740 inherit: "default" 0.0;
3741 min: CTXPOPUP_MORE_TEXT_MAX_INC CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3745 state: "ellipsis_disabled" 0.0;
3746 inherit: "ellipsis" 0.0;
3747 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3751 name: "text_right_padding";
3756 state: "default" 0.0;
3758 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3759 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3770 state: "default" 0.0;
3784 state: "default" 0.0;
3794 state: "default" 0.0;
3798 state: "disabled" 0.0;
3800 color: CTXPOPUP_ITEM_DISABLED_COLOR;
3806 name: "text_ellipsis";
3807 signal: "elm,state,text,ellipsis";
3809 action: STATE_SET "ellipsis" 0.0;
3813 name: "item_unclick";
3814 signal: "mouse,clicked,1";
3816 action: SIGNAL_EMIT "elm,action,click" "";
3821 action: PLAY_SAMPLE "touch_sound" 1.0;
3825 signal: "elm,state,disabled";
3830 get_state(PART:"elm.text", st, 30, vl);
3831 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
3832 set_state(PART:"elm.text", "ellipsis_disabled", 0.0);
3834 set_state(PART:"elm.text", "disabled", 0.0);
3836 set_state(PART:"disclip", "disabled", 0.0);
3841 signal: "elm,state,enabled";
3846 get_state(PART:"elm.text", st, 30, vl);
3847 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
3848 set_state(PART:"elm.text", "ellipsis", 0.0);
3850 set_state(PART:"elm.text", "default", 0.0);
3852 set_state(PART:"disclip", "default", 0.0);
3857 signal: "elm,state,default";
3860 set_state(PART:"separator1", "default", 0.0);
3861 set_state(PART:"separator2", "default", 0.0);
3866 signal: "elm,state,separator";
3869 set_state(PART:"separator1", "visible", 0.0);
3870 set_state(PART:"separator2", "visible", 0.0);
3874 name: "item_click2";
3875 signal: "mouse,down,1";
3878 set_state(PART:"elm.text", "clicked", 0.0);
3882 get_state(PART:"separator2", st, 30, vl);
3883 if (!strcmp(st, "default"))
3884 set_state(PART:"bg", "clicked", 0.0);
3886 set_state(PART:"bg", "clicked_separator", 0.0);
3894 new Float:dx, Float:dy;
3895 get_drag(PART:"over2", dx, dy);
3896 if ((abs(dx) > 20) || (abs(dy) > 20))
3898 set_drag(PART:"over2", 0.0, 0.0);
3899 set_state(PART:"bg", "default", 0.0);
3901 set_drag(PART:"over2", 0.0, 0.0);
3905 name: "item_unclick2";
3906 signal: "mouse,up,1";
3909 set_drag(PART:"over2", 0.0, 0.0);
3910 set_state(PART:"bg", "default", 0.0);
3916 ///////////////////////////////////////////////////////////////////////////////////////
3917 #define CTXPOPUP_ENTRY_LIST_PADDING_LEFT 3
3918 #define CTXPOPUP_ENTRY_LIST_PADDING_TOP 6
3919 #define CTXPOPUP_ENTRY_LIST_PADDING_RIGHT 3
3920 #define CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM 6
3921 //////////////////////////////////////////////////////////////////////////////////////
3923 name: "elm/ctxpopup/base/extended/entry";
3924 alias: "elm/ctxpopup/base/extended/entry/pass_event";
3926 image: "copy&paste_bg_center.png" COMP;
3927 image: "ctxpopup_shadow.png" COMP;
3931 name:"frame_shadow_left_top_padding";
3936 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3937 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3944 name:"frame_shadow_right_bottom_padding";
3949 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3950 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3951 rel1{relative: 1 1;}
3958 name: "frame_shadow";
3963 state: "default" 0.0;
3964 rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
3965 rel2 {to:"frame_shadow_right_bottom_padding";}
3967 normal: "ctxpopup_shadow.png";
3968 border: 10 10 10 10;
3979 state: "default" 0.0;
3980 rel1 {to:"elm.swallow.content";}
3981 rel2 {to:"elm.swallow.content";}
3983 normal: "copy&paste_bg_center.png";
3984 border: CTXPOPUP_ENTRY_CENTER_IMAGE_BORDER;
3990 name: "arrow_area_left";
3995 state: "default" 0.0;
3997 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
4002 to_y: "ctxpopup_frame_left_top";
4006 to:"ctxpopup_frame_left_bottom";
4011 name: "arrow_area_right";
4015 description { state: "default" 0.0;
4017 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
4022 to:"ctxpopup_frame_right_top";
4026 to_y: "ctxpopup_frame_right_bottom";
4031 name: "arrow_area_up";
4035 description { state: "default" 0.0;
4037 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4051 name: "arrow_area_down";
4056 state: "default" 0.0;
4058 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4072 name: "elm.swallow.arrow_up";
4079 confine: "arrow_area_up";
4082 state: "default" 0.0;
4083 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4089 name: "elm.swallow.arrow_down";
4096 confine: "arrow_area_down";
4099 state: "default" 0.0;
4100 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4106 name: "elm.swallow.arrow_left";
4113 confine: "arrow_area_left";
4116 state: "default" 0.0;
4117 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
4123 name: "elm.swallow.arrow_right";
4130 confine: "arrow_area_right";
4133 state: "default" 0.0;
4134 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
4140 name: "ctxpopup_frame_left_top";
4146 min: CTXPOPUP_FRAME_CORNER_SIZE;
4147 max: CTXPOPUP_FRAME_CORNER_SIZE;
4151 name: "ctxpopup_frame_right_top";
4157 min: CTXPOPUP_FRAME_CORNER_SIZE;
4158 max: CTXPOPUP_FRAME_CORNER_SIZE;
4162 name: "ctxpopup_frame_left_bottom";
4168 min: CTXPOPUP_FRAME_CORNER_SIZE;
4169 max: CTXPOPUP_FRAME_CORNER_SIZE;
4173 name: "ctxpopup_frame_right_bottom";
4179 min: CTXPOPUP_FRAME_CORNER_SIZE;
4180 max: CTXPOPUP_FRAME_CORNER_SIZE;
4184 name:"list_shadow_right_bottom_padding";
4189 min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
4190 max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
4194 rel1 {to:"elm.swallow.content"; relative: 1 1;}
4198 name:"content_left_top_padding";
4203 state: "default" 0.0;
4204 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4205 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4212 name:"content_right_bottom_padding";
4217 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4218 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4219 rel1 { relative: 1 1;}
4220 rel2 { relative: 1 1;}
4227 name: "elm.swallow.content";
4230 state: "default" 0.0;
4232 rel1 {to:"ctxpopup_frame_left_top"; relative: 0.5 0.5;}
4233 rel2 {to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
4238 ///////////////////////////////////////////////////////////////////////////////////////
4240 name: "elm/ctxpopup/arrow/extended/entry";
4241 alias: "elm/ctxpopup/arrow/extended/entry/pass_event";
4243 image: "copy&paste_arrow_up.png" COMP;
4244 image: "copy&paste_arrow_left.png" COMP;
4245 image: "copy&paste_arrow_right.png" COMP;
4246 image: "copy&paste_arrow_down.png" COMP;
4250 name: "ctxpopup_arrow";
4254 state: "default" 0.0;
4255 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4256 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4263 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4264 max: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4268 normal: "copy&paste_arrow_left.png";
4273 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4274 max: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4278 normal: "copy&paste_arrow_right.png";
4283 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4284 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4288 normal: "copy&paste_arrow_up.png";
4292 state: "bottom" 0.0;
4293 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4294 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4298 normal: "copy&paste_arrow_down.png";
4305 name: "enable_left_arrow";
4306 signal: "elm,state,left";
4308 action: STATE_SET "left" 0.0;
4309 target: "ctxpopup_arrow";
4312 name: "enable_right_arrow";
4313 signal: "elm,state,right";
4315 action: STATE_SET "right" 0.0;
4316 target: "ctxpopup_arrow";
4319 name: "enable_top_arrow";
4320 signal: "elm,state,top";
4322 action: STATE_SET "top" 0.0;
4323 target: "ctxpopup_arrow";
4326 name: "enable_bottom_arrow";
4327 signal: "elm,state,bottom";
4329 action: STATE_SET "bottom" 0.0;
4330 target: "ctxpopup_arrow";
4334 ///////////////////////////////////////////////////////////////////////////////////////
4335 #define CTXPOPUP_ENTRY_ITEM_BG_PART \
4341 state: "default" 0.0;\
4343 rel1 {to:"left_bg_padding"; relative: 1 0;}\
4344 rel2 {to:"right_bg_padding"; relative: 0 1;}\
4346 normal: "copy&paste_press_center.png";\
4351 state: "clicked" 0.0;\
4352 inherit: "default" 0.0;\
4355 normal: "copy&paste_press_center.png";\
4360 #define CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART \
4362 name: "left_bg_padding";\
4367 state: "default" 0.0;\
4369 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4370 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4373 rel1 { to: "event_blocker"; relative: 0 0; }\
4374 rel2 { to: "event_blocker"; relative: 0 1; }\
4376 normal: "copy&paste_press_left.png";\
4377 border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
4382 state: "clicked" 0.0;\
4383 inherit: "default" 0.0;\
4386 normal: "copy&paste_press_left.png";\
4387 border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
4392 #define CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART \
4394 name: "right_bg_padding";\
4399 state: "default" 0.0;\
4401 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4402 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4405 rel1 { to: "event_blocker"; relative: 1 0; }\
4406 rel2 { to: "event_blocker"; relative: 1 1; }\
4408 normal: "copy&paste_press_right.png";\
4409 border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
4414 state: "clicked" 0.0;\
4415 inherit: "default" 0.0;\
4418 normal: "copy&paste_press_right.png";\
4419 border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
4424 #define CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART \
4426 name: "left_padding";\
4431 state: "default" 0.0;\
4433 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4434 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4439 #define CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART \
4441 name: "right_padding";\
4446 state: "default" 0.0;\
4448 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4449 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4454 #define CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART \
4456 name: "left_separator";\
4461 state: "default" 0.0;\
4463 color: CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_COLOR;\
4464 min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4465 max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4472 state: "vertical" 0.0;\
4473 inherit: "default" 0.0;\
4477 state: "horizontal" 0.0;\
4478 inherit: "default" 0.0;\
4482 #define CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART \
4484 name: "right_separator";\
4489 state: "default" 0.0;\
4491 color: CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_COLOR;\
4492 min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4493 max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4504 state: "vertical" 0.0;\
4505 inherit: "default" 0.0;\
4509 state: "horizontal" 0.0;\
4510 inherit: "default" 0.0;\
4514 ///////////////////////////////////////////////////////////////////////////////////////
4517 name: "elm/ctxpopup/text_style_item/extended/entry";
4518 alias: "elm/ctxpopup/text_style_item/extended/entry/pass_event";
4520 image: "copy&paste_press_center.png" COMP;
4521 image: "copy&paste_press_left.png" COMP;
4522 image: "copy&paste_press_right.png" COMP;
4526 name: "event_blocker";
4530 state: "default" 0.0;
4534 CTXPOPUP_ENTRY_ITEM_BG_PART
4535 CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART
4536 CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART
4537 CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
4538 CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
4539 CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
4540 CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
4547 state: "default" 0.0;
4548 min: 1 CTXPOPUP_ENTRY_ITEM_HEIGHT;
4549 max: CTXPOPUP_ENTRY_ITEM_WIDTH_MAX CTXPOPUP_ENTRY_ITEM_HEIGHT;
4552 rel1 {relative: 1.0 0.0; to: "left_padding";}
4553 rel2 {relative: 0.0 1.0; to: "right_padding";}
4554 color: CTXPOPUP_ENTRY_ITEM_TEXT_COLOR;
4556 font: "Tizen:style=Roman";
4557 size: CTXPOPUP_ENTRY_ITEM_FONT_SIZE;
4560 text_class: "list_item";
4564 state: "clicked" 0.0;
4565 inherit: "default" 0.0;
4566 color: CTXPOPUP_ENTRY_ITEM_TEXT_COLOR;
4574 ignore_flags: ON_HOLD;
4576 state: "default" 0.0;
4586 state: "default" 0.0;
4593 state: "default" 0.0;
4597 state: "disabled" 0.0;
4599 color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
4605 name: "item_unclick";
4606 signal: "mouse,up,1";
4608 action: SIGNAL_EMIT "elm,action,click" "";
4613 action: PLAY_SAMPLE "touch_sound" 1.0;
4617 signal: "elm,state,disabled";
4619 action: STATE_SET "disabled" 0.0;
4624 signal: "elm,state,enabled";
4626 action: STATE_SET "default" 0.0;
4630 name: "item_click2";
4631 signal: "mouse,down,1";
4634 set_state(PART:"elm.text", "clicked", 0.0);
4635 set_state(PART:"bg", "clicked", 0.0);
4636 set_state(PART:"left_bg_padding", "clicked", 0.0);
4637 set_state(PART:"right_bg_padding", "clicked", 0.0);
4641 name: "item_unclick2";
4642 signal: "mouse,up,1";
4645 set_state(PART:"elm.text", "default", 0.0);
4646 set_state(PART:"bg", "default", 0.0);
4647 set_state(PART:"left_bg_padding", "default", 0.0);
4648 set_state(PART:"right_bg_padding", "default", 0.0);
4653 signal: "elm,state,default";
4656 set_state(PART:"left_separator", "default", 0.0);
4657 set_state(PART:"right_separator", "default", 0.0);
4662 signal: "elm,state,vertical";
4665 set_state(PART:"left_separator", "vertical", 0.0);
4666 set_state(PART:"right_separator", "vertical", 0.0);
4671 signal: "elm,state,horizontal";
4674 set_state(PART:"left_separator", "horizontal", 0.0);
4675 set_state(PART:"right_separator", "horizontal", 0.0);
4680 ///////////////////////////////////////////////////////////////////////////////
4682 name: "elm/ctxpopup/icon_style_item/extended/entry";
4684 image: "copy&paste_press_center.png" COMP;
4685 image: "copy&paste_press_left.png" COMP;
4686 image: "copy&paste_press_right.png" COMP;
4690 name: "event_blocker";
4694 state: "default" 0.0;
4698 CTXPOPUP_ENTRY_ITEM_BG_PART
4699 CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART
4700 CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART
4701 CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
4702 CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
4703 CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
4704 CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
4706 name: "elm.swallow.icon";
4710 state: "default" 0.0;
4716 rel1 {relative: 1.0 0.0; to: "left_padding";}
4717 rel2 {relative: 0.0 1.0; to: "right_padding";}
4721 name: "elm.swallow.icon.paint";
4725 state: "default" 0.0;
4727 color: 255 255 0 255;
4728 rel1 { to: "elm.swallow.icon"; }
4729 rel2 { to: "elm.swallow.icon"; }
4737 ignore_flags: ON_HOLD;
4739 state: "default" 0.0;
4749 state: "default" 0.0;
4756 state: "default" 0.0;
4760 state: "disabled" 0.0;
4762 color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
4768 name: "item_unclick";
4769 signal: "mouse,up,1";
4771 action: SIGNAL_EMIT "elm,action,click" "";
4776 action: PLAY_SAMPLE "touch_sound" 1.0;
4780 signal: "elm,state,disabled";
4782 action: STATE_SET "disabled" 0.0;
4786 name: "item_click2";
4787 signal: "mouse,down,1";
4790 set_state(PART:"bg", "clicked", 0.0);
4791 set_state(PART:"left_bg_padding", "clicked", 0.0);
4792 set_state(PART:"right_bg_padding", "clicked", 0.0);
4796 name: "item_unclick2";
4797 signal: "mouse,up,1";
4800 set_state(PART:"bg", "default", 0.0);
4801 set_state(PART:"left_bg_padding", "default", 0.0);
4802 set_state(PART:"right_bg_padding", "default", 0.0);
4807 signal: "elm,state,default";
4810 set_state(PART:"left_separator", "default", 0.0);
4811 set_state(PART:"right_separator", "default", 0.0);
4816 signal: "elm,state,vertical";
4819 set_state(PART:"left_separator", "vertical", 0.0);
4820 set_state(PART:"right_separator", "vertical", 0.0);
4825 signal: "elm,state,horizontal";
4828 set_state(PART:"left_separator", "horizontal", 0.0);
4829 set_state(PART:"right_separator", "horizontal", 0.0);
4834 ///////////////////////////////////////////////////////////////////////////////////////
4835 #define CTXPOPUP_TP_TEXT_WIDTH 32
4836 #define CTXPOPUP_TP_PADDING 15
4837 #define CTXPOPUP_TP_FONT_COLOR 231 173 95 255
4838 #define CTXPOPUP_TP_CLICKED_FONT_COLOR 255 255 255 255
4839 #define CTXPOPUP_TP_FONT_SIZE 24
4840 ///////////////////////////////////////////////////////////////////////////////
4842 name: "elm/ctxpopup/base/datetime/default";
4843 alias: "elm/ctxpopup/base/timepicker";
4846 image: "00_time_picker_number_bg.png" COMP;
4851 name: "ctxpopup_frame";
4855 rel1 {to:"elm.swallow.content";}
4856 rel2 {to:"elm.swallow.content";}
4858 normal: "00_time_picker_number_bg.png";
4859 border: CTXPOPUP_TP_BG_IMAGE_BORDER;
4865 name: "elm.swallow.content";
4869 state: "default" 0.0;
4870 min: 1 CTXPOPUP_TP_HEIGHT_INC;
4873 part { name: "arrow_area_left";
4877 description { state: "default" 0.0;
4884 to_y: "ctxpopup_frame";
4888 to:"ctxpopup_frame";
4892 part { name: "arrow_area_right";
4896 description { state: "default" 0.0;
4903 to:"ctxpopup_frame";
4907 to_y: "ctxpopup_frame";
4911 part { name: "arrow_area_up";
4915 description { state: "default" 0.0;
4922 to_x: "ctxpopup_frame";
4926 to:"ctxpopup_frame";
4930 part { name: "arrow_area_down";
4934 description { state: "default" 0.0;
4941 to:"ctxpopup_frame";
4945 to_x: "ctxpopup_frame";
4949 part { name: "elm.swallow.arrow_up";
4956 confine: "arrow_area_up";
4959 state: "default" 0.0;
4965 part { name: "elm.swallow.arrow_down";
4972 confine: "arrow_area_down";
4975 state: "default" 0.0;
4981 part { name: "elm.swallow.arrow_left";
4988 confine: "arrow_area_left";
4991 state: "default" 0.0;
4997 part { name: "elm.swallow.arrow_right";
5004 confine: "arrow_area_right";
5007 state: "default" 0.0;
5015 ///////////////////////////////////////////////////////////////////////////////
5016 group { name: "elm/ctxpopup/arrow/datetime/default";
5017 alias: "elm/ctxpopup/arrow/timepicker";
5019 image: "00_time_picker_tail.png" COMP;
5020 image: "00_time_picker_tail_01.png" COMP;
5024 name: "ctxpopup_arrow";
5028 state: "default" 0.0;
5029 min: CTXPOPUP_TP_ARROW_SIZE_INC;
5030 max: CTXPOPUP_TP_ARROW_SIZE_INC;
5037 min: CTXPOPUP_TP_ARROW_SIZE_INC;
5038 max: CTXPOPUP_TP_ARROW_SIZE_INC;
5042 normal: "00_time_picker_tail.png";
5047 min: CTXPOPUP_TP_ARROW_SIZE_INC;
5048 max: CTXPOPUP_TP_ARROW_SIZE_INC;
5052 normal: "00_time_picker_tail.png";
5057 min: CTXPOPUP_TP_ARROW_SIZE_INC;
5058 max: CTXPOPUP_TP_ARROW_SIZE_INC;
5062 normal: "00_time_picker_tail.png";
5066 state: "bottom" 0.0;
5067 min: CTXPOPUP_TP_ARROW_SIZE_INC;
5068 max: CTXPOPUP_TP_ARROW_SIZE_INC;
5072 normal: "00_time_picker_tail_01.png";
5079 name: "enable_left_arrow";
5080 signal: "elm,state,left";
5082 action: STATE_SET "left" 0.0;
5083 target: "ctxpopup_arrow";
5086 name: "enable_right_arrow";
5087 signal: "elm,state,right";
5089 action: STATE_SET "right" 0.0;
5090 target: "ctxpopup_arrow";
5093 name: "enable_top_arrow";
5094 signal: "elm,state,top";
5096 action: STATE_SET "top" 0.0;
5097 target: "ctxpopup_arrow";
5100 name: "enable_bottom_arrow";
5101 signal: "elm,state,bottom";
5103 action: STATE_SET "bottom" 0.0;
5104 target: "ctxpopup_arrow";
5108 ///////////////////////////////////////////////////////////////////////////////
5110 name: "elm/ctxpopup/text_style_item/datetime/default";
5111 alias: "elm/ctxpopup/text_style_item/timepicker";
5114 name: "left_padding";
5119 state: "default" 0.0;
5120 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
5121 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
5133 state: "default" 0.0;
5134 min: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
5135 max: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
5138 rel1 {relative: 1.0 0.0; to: "left_padding";}
5139 color: CTXPOPUP_TP_FONT_COLOR;
5141 font: "Tizen:style=Medium";
5142 size: CTXPOPUP_TP_FONT_SIZE;
5145 text_class: "tizen";
5149 state: "clicked" 0.0;
5150 inherit: "default" 0.0;
5151 color: 255 255 255 255;
5155 name: "right_padding";
5159 state: "default" 0.0;
5160 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
5161 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
5163 rel1 {relative: 1.0 0.0; to: "elm.text";}
5172 ignore_flags: ON_HOLD;
5174 state: "default" 0.0;
5184 state: "default" 0.0;
5191 name: "item_unclick";
5192 signal: "mouse,up,1";
5194 action: SIGNAL_EMIT "elm,action,click" "";
5199 action: PLAY_SAMPLE "touch_sound" 1.0;
5203 signal: "mouse,down,1";
5206 set_state(PART:"elm.text", "clicked", 0.0);
5210 name: "item_unclick2";
5211 signal: "mouse,up,1";
5214 set_state(PART:"elm.text", "default", 0.0);
5219 ///////////////////////////////////////////////////////////////////////////////
5221 name: "elm/ctxpopup/text_style_item/toolbar_segmentedcontrol";
5224 image: "00_more_popup_press.png" COMP;
5227 data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC;
5231 name: "event_blocker";
5235 state: "default" 0.0;
5245 state: "default" 0.0;
5247 min: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) 1;
5248 max: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_MAX_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
5251 state: "clicked" 0.0;
5254 normal: "00_more_popup_press.png";
5255 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
5260 state: "clicked_separator" 0.0;
5261 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
5264 normal: "00_more_popup_press.png";
5265 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
5276 state: "default" 0.0;
5277 color: CTXPOPUP_SEPARATOR_COLOR_INC;
5278 rel1 { relative: 1.0 0.0; to_x: "left_padding";}
5279 rel2 { relative: 0.0 1.0; to_x: "right_padding"; offset: 0 0;}
5281 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5282 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5286 state: "visible" 0.0;
5287 inherit: "default" 0.0;
5297 state: "default" 0.0;
5298 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
5299 rel1 { relative: 0.0 1.0; to: "separator1";}
5300 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
5303 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5304 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5308 state: "visible" 0.0;
5309 inherit: "default" 0.0;
5314 name: "left_padding";
5319 state: "default" 0.0;
5320 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5321 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
5333 state: "default" 0.0;
5334 min: 1 CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5336 rel1 {relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg";}
5337 rel2 {relative: 0.0 1.0; to_x: "right_padding"; to_y: "bg";}
5338 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
5340 font: "Tizen:style=Roman";
5341 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
5344 text_class: "list_item";
5348 state: "clicked" 0.0;
5349 inherit: "default" 0.0;
5350 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
5354 state: "disabled" 0.0;
5355 inherit: "default" 0.0;
5356 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
5359 state: "ellipsis" 0.0;
5360 inherit: "default" 0.0;
5361 min: CTXPOPUP_TEXT_MAX_INC CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5365 state: "ellipsis_disabled" 0.0;
5366 inherit: "ellipsis" 0.0;
5367 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
5371 name: "right_padding";
5376 state: "default" 0.0;
5378 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5379 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
5390 state: "default" 0.0;
5404 state: "default" 0.0;
5414 state: "default" 0.0;
5418 state: "disabled" 0.0;
5420 color: CTXPOPUP_ITEM_DISABLED_COLOR;
5426 name: "text_ellipsis";
5427 signal: "elm,state,text,ellipsis";
5429 action: STATE_SET "ellipsis" 0.0;
5433 name: "item_unclick";
5434 signal: "mouse,clicked,1";
5436 action: SIGNAL_EMIT "elm,action,click" "";
5441 action: PLAY_SAMPLE "touch_sound" 1.0;
5445 signal: "elm,state,disabled";
5450 get_state(PART:"elm.text", st, 30, vl);
5451 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
5452 set_state(PART:"elm.text", "ellipsis_disabled", 0.0);
5454 set_state(PART:"elm.text", "disabled", 0.0);
5456 set_state(PART:"disclip", "disabled", 0.0);
5461 signal: "elm,state,enabled";
5466 get_state(PART:"elm.text", st, 30, vl);
5467 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
5468 set_state(PART:"elm.text", "ellipsis", 0.0);
5470 set_state(PART:"elm.text", "default", 0.0);
5472 set_state(PART:"disclip", "default", 0.0);
5477 signal: "elm,state,default";
5480 set_state(PART:"separator1", "default", 0.0);
5481 set_state(PART:"separator2", "default", 0.0);
5486 signal: "elm,state,separator";
5489 set_state(PART:"separator1", "visible", 0.0);
5490 set_state(PART:"separator2", "visible", 0.0);
5494 name: "item_click2";
5495 signal: "mouse,down,1";
5498 set_state(PART:"elm.text", "clicked", 0.0);
5502 get_state(PART:"separator2", st, 30, vl);
5503 if (!strcmp(st, "default"))
5504 set_state(PART:"bg", "clicked", 0.0);
5506 set_state(PART:"bg", "clicked_separator", 0.0);
5514 new Float:dx, Float:dy;
5515 get_drag(PART:"over2", dx, dy);
5516 if ((abs(dx) > 20) || (abs(dy) > 20))
5518 set_drag(PART:"over2", 0.0, 0.0);
5519 set_state(PART:"bg", "default", 0.0);
5521 set_drag(PART:"over2", 0.0, 0.0);
5525 name: "item_unclick2";
5526 signal: "mouse,up,1";
5529 set_drag(PART:"over2", 0.0, 0.0);
5530 set_state(PART:"bg", "default", 0.0);