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);
1263 signal: "elm,action,show,vbar";
1265 action: STATE_SET "default" 0.0;
1266 target: "sb_vbar_clip_master";
1270 signal: "elm,action,hide,vbar";
1272 action: STATE_SET "hidden" 0.0;
1273 target: "sb_vbar_clip_master";
1276 name: "vbar_show_always";
1277 signal: "elm,action,show_always,vbar";
1281 v = get_int(sbvis_v);
1282 v |= get_int(sbalways_v);
1284 set_int(sbalways_v, 1);
1285 emit("do-show-vbar", "");
1286 set_int(sbvis_v, 1);
1291 name: "vbar_show_notalways";
1292 signal: "elm,action,show_notalways,vbar";
1296 v = get_int(sbalways_v);
1298 set_int(sbalways_v, 0);
1299 v = get_int(sbvis_v);
1301 emit("do-hide-vbar", "");
1302 set_int(sbvis_v, 0);
1308 name: "sb_vbar_show";
1309 signal: "do-show-vbar";
1311 action: STATE_SET "default" 0.0;
1312 transition: LINEAR 1.0;
1313 target: "sb_vbar_clip";
1316 name: "sb_vbar_hide";
1317 signal: "do-hide-vbar";
1319 action: STATE_SET "hidden" 0.0;
1320 transition: LINEAR 1.0;
1321 target: "sb_vbar_clip";
1325 signal: "elm,action,show,hbar";
1327 action: STATE_SET "default" 0.0;
1328 target: "sb_hbar_clip_master";
1332 signal: "elm,action,hide,hbar";
1334 action: STATE_SET "hidden" 0.0;
1335 target: "sb_hbar_clip_master";
1338 name: "hbar_show_always";
1339 signal: "elm,action,show_always,hbar";
1343 v = get_int(sbvis_h);
1344 v |= get_int(sbalways_h);
1346 set_int(sbalways_h, 1);
1347 emit("do-show-hbar", "");
1348 set_int(sbvis_h, 1);
1353 name: "hbar_show_notalways";
1354 signal: "elm,action,show_notalways,hbar";
1358 v = get_int(sbalways_h);
1360 set_int(sbalways_h, 0);
1361 v = get_int(sbvis_h);
1363 emit("do-hide-hbar", "");
1364 set_int(sbvis_h, 0);
1370 name: "sb_hbar_show";
1371 signal: "do-show-hbar";
1373 action: STATE_SET "default" 0.0;
1374 transition: LINEAR 1.0;
1375 target: "sb_hbar_clip";
1378 name: "sb_hbar_hide";
1379 signal: "do-hide-hbar";
1381 action: STATE_SET "hidden" 0.0;
1382 transition: LINEAR 1.0;
1383 target: "sb_hbar_clip";
1387 signal: "elm,action,scroll";
1389 action: STATE_SET "default" 0.0;
1392 v = get_int(sbvis_v);
1393 v |= get_int(sbalways_v);
1395 emit("do-show-vbar", "");
1396 set_int(sbvis_v, 1);
1398 v = get_int(sbvis_h);
1399 v |= get_int(sbalways_h);
1401 emit("do-show-hbar", "");
1402 set_int(sbvis_h, 1);
1404 v = get_int(sbvis_timer);
1405 if (v > 0) cancel_timer(v);
1406 v = timer(2.0, "timer0", 0);
1407 set_int(sbvis_timer, v);
1412 ///////////////////////////////////////////////////////////////////////////////
1414 name: "elm/ctxpopup/bg/pass_event";
1415 alias: "elm/ctxpopup/bg/extended/entry/pass_event";
1416 alias: "elm/ctxpopup/bg/extended/entry";
1417 alias: "elm/ctxpopup/bg/timepicker";
1418 alias: "elm/ctxpopup/bg/datetime/default";
1425 state: "default" 0.0;
1429 state: "visible" 0.0;
1437 name: "clicked_event";
1438 signal: "mouse,clicked,1";
1440 action: SIGNAL_EMIT "elm,action,click" "";
1444 signal: "elm,state,show";
1446 action: STATE_SET "visible" 0.0;
1451 signal: "elm,state,hide";
1453 action: STATE_SET "default" 0.0;
1458 ///////////////////////////////////////////////////////////////////////////////
1460 name: "elm/ctxpopup/bg/default";
1467 state: "default" 0.0;
1471 state: "visible" 0.0;
1481 name: "clicked_event";
1482 signal: "mouse,clicked,1";
1484 action: SIGNAL_EMIT "elm,action,click" "";
1488 signal: "elm,state,show";
1490 action: STATE_SET "visible" 0.0;
1495 signal: "elm,state,hide";
1497 action: STATE_SET "default" 0.0;
1504 name: "elm/ctxpopup/bg/copypaste";
1505 inherit: "elm/ctxpopup/bg/default";
1514 ///////////////////////////////////////////////////////////////////////////////
1516 name: "elm/ctxpopup/base/no_bg_content";
1518 image: "ctxpopup_bg.png" COMP;
1519 image: "ctxpopup_shadow.png" COMP;
1523 name:"frame_shadow_left_top_padding";
1528 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1529 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1536 name:"frame_shadow_right_bottom_padding";
1541 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1542 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1543 rel1{relative: 1 1;}
1550 name: "frame_shadow";
1555 state: "default" 0.0;
1556 rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
1557 rel2 {to:"frame_shadow_right_bottom_padding";}
1559 normal: "ctxpopup_shadow.png";
1560 border: 10 10 10 10;
1563 color: 255 255 255 255;
1567 name: "ctxpopup_frame";
1572 normal: "ctxpopup_bg.png";
1573 border: 10 10 10 10;
1576 rel1 {to:"content_left_top_padding"; relative: 1 1;}
1577 rel2 {to:"content_right_bottom_padding"; relative: 0 0;}
1581 name:"list_shadow_right_bottom_padding";
1586 min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
1587 max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
1591 rel1 {to:"elm.swallow.content"; relative: 1 1;}
1595 name:"content_left_top_padding";
1600 state: "default" 0.0;
1601 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
1602 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
1609 name:"content_right_bottom_padding";
1614 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
1615 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
1616 rel1 { relative: 1 1;}
1617 rel2 { relative: 1 1;}
1624 name: "elm.swallow.content";
1627 state: "default" 0.0;
1628 rel1 {to:"content_left_top_padding"; relative: 1 1;}
1629 rel2 {to:"content_right_bottom_padding"; relative: 0 0;}
1634 ///////////////////////////////////////////////////////////////////////////////
1636 name: "elm/ctxpopup/base/default";
1637 alias: "elm/ctxpopup/base/copypaste";
1639 image: "00_popup_bubble_bg.png" COMP;
1643 name:"frame_shadow_left_top_padding";
1648 state: "default" 0.0;
1649 min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
1650 max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
1651 rel2 { relative: 0 0; }
1658 name:"frame_shadow_right_bottom_padding";
1663 state: "default" 0.0;
1664 min: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
1665 max: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
1666 rel1{relative: 1 1;}
1678 state: "default" 0.0;
1679 rel1 {to:"frame_shadow_left_top_padding";}
1680 rel2 {to:"frame_shadow_right_bottom_padding";}
1681 min: (CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC + CTXPOPUP_SHADOW_LEFT_PADDING + CTXPOPUP_SHADOW_RIGHT_PADDING) 0;
1683 normal: "00_popup_bubble_bg.png";
1684 border: CTXPOPUP_BUBBLE_BG_IMAGE_BORDER;
1689 part { name: "arrow_area_left";
1693 description { state: "default" 0.0;
1695 min: CTXPOPUP_ARROW_SIZE_INC;
1700 to_x:"arrow_left_top_padding";
1701 to_y: "ctxpopup_frame_left_top";
1705 to_x:"arrow_left_top_padding";
1706 to_y:"ctxpopup_frame_right_bottom";
1710 part { name: "arrow_area_right";
1714 description { state: "default" 0.0;
1716 min: CTXPOPUP_ARROW_SIZE_INC;
1721 to_x:"arrow_right_bottom_padding";
1722 to_y:"ctxpopup_frame_left_top";
1726 to_x:"arrow_right_bottom_padding";
1727 to_y: "ctxpopup_frame_right_bottom";
1731 part { name: "arrow_area_up";
1735 description { state: "default" 0.0;
1737 min: CTXPOPUP_ARROW_SIZE_INC;
1742 to_x: "ctxpopup_frame_left_top";
1743 to_y: "arrow_left_top_padding";
1747 to_x:"ctxpopup_frame_right_bottom";
1748 to_y: "arrow_left_top_padding";
1752 part { name: "arrow_area_down";
1756 description { state: "default" 0.0;
1758 min: CTXPOPUP_ARROW_SIZE_INC;
1763 to_x:"ctxpopup_frame_left_top";
1764 to_y:"arrow_right_bottom_padding";
1768 to_x: "ctxpopup_frame_right_bottom";
1769 to_y:"arrow_right_bottom_padding";
1773 part { name: "elm.swallow.arrow_up";
1780 confine: "arrow_area_up";
1783 state: "default" 0.0;
1784 min: CTXPOPUP_ARROW_SIZE_INC;
1789 part { name: "elm.swallow.arrow_down";
1796 confine: "arrow_area_down";
1799 state: "default" 0.0;
1800 min: CTXPOPUP_ARROW_SIZE_INC;
1805 part { name: "elm.swallow.arrow_left";
1812 confine: "arrow_area_left";
1815 state: "default" 0.0;
1816 min: CTXPOPUP_ARROW_SIZE_INC;
1821 part { name: "elm.swallow.arrow_right";
1828 confine: "arrow_area_right";
1831 state: "default" 0.0;
1832 min: CTXPOPUP_ARROW_SIZE_INC;
1838 name: "ctxpopup_frame_left_top";
1842 state: "default" 0.0;
1846 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1847 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1848 rel1 {relative: 0 0; to: "content_left_top_padding";}
1852 name: "ctxpopup_frame_right_bottom";
1856 state: "default" 0.0;
1860 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1861 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1862 rel2 {relative: 1 1; to: "content_right_bottom_padding";}
1866 name:"content_left_top_padding";
1871 state: "default" 0.0;
1872 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
1873 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
1874 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
1881 name:"content_right_bottom_padding";
1886 state: "default" 0.0;
1887 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
1888 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
1889 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
1896 name: "arrow_left_top_padding";
1900 state: "default" 0.0;
1901 min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
1902 max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
1903 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
1909 name: "arrow_right_bottom_padding";
1913 state: "default" 0.0;
1914 min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
1915 max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
1916 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
1922 name: "elm.swallow.content";
1925 state: "default" 0.0;
1927 rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;}
1928 rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;}
1931 part { name: "access.outline";
1934 description { state: "default" 0.0;
1936 rel1.to: "frame_bg";
1937 rel2.to: "frame_bg";
1944 ///////////////////////////////////////////////////////////////////////////////
1945 group { name: "elm/ctxpopup/arrow/default";
1946 alias: "elm/ctxpopup/arrow/more/default";
1948 image: "00_popup_bubble_tail_left.png" COMP;
1949 image: "00_popup_bubble_tail_right.png" COMP;
1950 image: "00_popup_bubble_tail_top.png" COMP;
1951 image: "00_popup_bubble_tail_bottom.png" COMP;
1955 name: "ctxpopup_arrow";
1959 state: "default" 0.0;
1960 min: CTXPOPUP_ARROW_SIZE_INC;
1961 max: CTXPOPUP_ARROW_SIZE_INC;
1968 min: CTXPOPUP_ARROW_SIZE_INC;
1969 max: CTXPOPUP_ARROW_SIZE_INC;
1973 normal: "00_popup_bubble_tail_left.png";
1978 min: CTXPOPUP_ARROW_SIZE_INC;
1979 max: CTXPOPUP_ARROW_SIZE_INC;
1983 normal: "00_popup_bubble_tail_right.png";
1988 min: CTXPOPUP_ARROW_SIZE_INC;
1989 max: CTXPOPUP_ARROW_SIZE_INC;
1993 normal: "00_popup_bubble_tail_top.png";
1997 state: "bottom" 0.0;
1998 min: CTXPOPUP_ARROW_SIZE_INC;
1999 max: CTXPOPUP_ARROW_SIZE_INC;
2003 normal: "00_popup_bubble_tail_bottom.png";
2010 name: "enable_left_arrow";
2011 signal: "elm,state,left";
2013 action: STATE_SET "left" 0.0;
2014 target: "ctxpopup_arrow";
2017 name: "enable_right_arrow";
2018 signal: "elm,state,right";
2020 action: STATE_SET "right" 0.0;
2021 target: "ctxpopup_arrow";
2024 name: "enable_top_arrow";
2025 signal: "elm,state,top";
2027 action: STATE_SET "top" 0.0;
2028 target: "ctxpopup_arrow";
2031 name: "enable_bottom_arrow";
2032 signal: "elm,state,bottom";
2034 action: STATE_SET "bottom" 0.0;
2035 target: "ctxpopup_arrow";
2039 ///////////////////////////////////////////////////////////////////////////////
2041 name: "elm/ctxpopup/text_style_item/default";
2044 image: "00_more_popup_press.png" COMP;
2047 data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC;
2051 name: "event_blocker";
2055 state: "default" 0.0;
2065 state: "default" 0.0;
2067 min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING*2) 1;
2068 max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2071 state: "clicked" 0.0;
2072 inherit: "default" 0.0;
2075 normal: "00_more_popup_press.png";
2076 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2081 state: "clicked_separator" 0.0;
2082 inherit: "default" 0.0;
2084 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
2086 normal: "00_more_popup_press.png";
2087 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2098 state: "default" 0.0;
2099 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2100 rel1 { relative: 1.0 0.0; to_x: "left_padding";}
2101 rel2 { relative: 0.0 1.0; to_x: "right_padding"; offset: 0 0; }
2103 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2104 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2108 state: "visible" 0.0;
2109 inherit: "default" 0.0;
2119 state: "default" 0.0;
2120 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2121 rel1 { relative: 0.0 1.0; to: "separator1";}
2122 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
2125 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2126 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2130 state: "visible" 0.0;
2131 inherit: "default" 0.0;
2136 name: "left_padding";
2141 state: "default" 0.0;
2142 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2143 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2155 state: "default" 0.0;
2156 min: 1 CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2158 rel1 {relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg";}
2159 rel2 {relative: 0.0 1.0; to_x: "right_padding"; to_y: "bg";}
2160 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
2162 font: "Tizen:style=Roman";
2163 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
2166 text_class: "list_item";
2170 state: "clicked" 0.0;
2171 inherit: "default" 0.0;
2172 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
2176 state: "disabled" 0.0;
2177 inherit: "default" 0.0;
2178 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
2181 state: "ellipsis" 0.0;
2182 inherit: "default" 0.0;
2183 min: CTXPOPUP_TEXT_MAX_INC CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2187 state: "ellipsis_disabled" 0.0;
2188 inherit: "ellipsis" 0.0;
2189 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
2193 name: "right_padding";
2198 state: "default" 0.0;
2200 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2201 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2212 state: "default" 0.0;
2226 state: "default" 0.0;
2236 state: "default" 0.0;
2240 state: "disabled" 0.0;
2242 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2248 name: "text_ellipsis";
2249 signal: "elm,state,text,ellipsis";
2251 action: STATE_SET "ellipsis" 0.0;
2255 name: "item_unclick";
2256 signal: "mouse,clicked,1";
2258 action: SIGNAL_EMIT "elm,action,click" "";
2263 action: PLAY_SAMPLE "touch_sound" 1.0;
2267 signal: "elm,state,disabled";
2272 get_state(PART:"elm.text", st, 30, vl);
2273 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
2274 set_state(PART:"elm.text", "ellipsis_disabled", 0.0);
2276 set_state(PART:"elm.text", "disabled", 0.0);
2278 set_state(PART:"disclip", "disabled", 0.0);
2283 signal: "elm,state,enabled";
2288 get_state(PART:"elm.text", st, 30, vl);
2289 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
2290 set_state(PART:"elm.text", "ellipsis", 0.0);
2292 set_state(PART:"elm.text", "default", 0.0);
2294 set_state(PART:"disclip", "default", 0.0);
2299 signal: "elm,state,default";
2302 set_state(PART:"separator1", "default", 0.0);
2303 set_state(PART:"separator2", "default", 0.0);
2308 signal: "elm,state,separator";
2311 set_state(PART:"separator1", "visible", 0.0);
2312 set_state(PART:"separator2", "visible", 0.0);
2316 name: "item_click2";
2317 signal: "mouse,down,1";
2320 set_state(PART:"elm.text", "clicked", 0.0);
2324 get_state(PART:"separator2", st, 30, vl);
2325 if (!strcmp(st, "default"))
2326 set_state(PART:"bg", "clicked", 0.0);
2328 set_state(PART:"bg", "clicked_separator", 0.0);
2336 new Float:dx, Float:dy;
2337 get_drag(PART:"over2", dx, dy);
2338 if ((abs(dx) > 20) || (abs(dy) > 20))
2340 set_drag(PART:"over2", 0.0, 0.0);
2341 set_state(PART:"bg", "default", 0.0);
2343 set_drag(PART:"over2", 0.0, 0.0);
2347 name: "item_unclick2";
2348 signal: "mouse,up,1";
2351 set_drag(PART:"over2", 0.0, 0.0);
2352 set_state(PART:"bg", "default", 0.0);
2357 ///////////////////////////////////////////////////////////////////////////////
2359 name: "elm/ctxpopup/text_style_item_horizontal/default";
2362 image: "00_more_popup_press.png" COMP;
2367 name: "event_blocker";
2371 state: "default" 0.0;
2381 state: "default" 0.0;
2383 min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2386 state: "clicked" 0.0;
2389 normal: "00_more_popup_press.png";
2390 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2395 state: "clicked_separator" 0.0;
2396 rel1 { relative: 1.0 0.0; to_x: "separator2"; }
2399 normal: "00_more_popup_press.png";
2400 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2411 state: "default" 0.0;
2412 color: CTXPOPUP_HORIZONTAL_SEPARATOR_1_COLOR_INC;
2414 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2415 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2419 state: "visible" 0.0;
2420 inherit: "default" 0.0;
2430 state: "default" 0.0;
2431 color: CTXPOPUP_HORIZONTAL_SEPARATOR_2_COLOR_INC;
2432 rel1 { relative: 1.0 0.0; to: "separator1"; to_y: "bg";}
2434 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2435 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2439 state: "visible" 0.0;
2440 inherit: "default" 0.0;
2445 name: "left_padding";
2450 state: "default" 0.0;
2451 min: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2452 max: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2465 state: "default" 0.0;
2466 min: (CTXPOPUP_TEXT_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ITEM_ICON_PADDING_INC*2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2468 rel1 {relative: 1.0 0.0; to: "left_padding"; }
2469 rel2 {relative: 0.0 1.0; to: "right_padding"; }
2470 color: CTXPOPUP_MAIN_TEXT_COLOR_INC;
2472 font: "Tizen:style=Roman";
2473 size: CTXPOPUP_MAIN_TEXT_SIZE_INC;
2476 text_class: "list_item";
2480 state: "clicked" 0.0;
2481 inherit: "default" 0.0;
2482 color: CTXPOPUP_MAIN_TEXT_PRESS_COLOR_INC;
2485 state: "disabled" 0.0;
2486 inherit: "default" 0.0;
2487 color: CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC;
2491 name: "right_padding";
2496 state: "default" 0.0;
2497 min: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2498 max: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2511 state: "default" 0.0;
2525 state: "default" 0.0;
2535 state: "default" 0.0;
2539 state: "disabled" 0.0;
2541 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2547 name: "item_unclick";
2548 signal: "mouse,clicked,1";
2550 action: SIGNAL_EMIT "elm,action,click" "";
2555 action: PLAY_SAMPLE "touch_sound" 1.0;
2559 signal: "elm,state,disabled";
2562 set_state(PART:"elm.text", "disabled", 0.0);
2563 set_state(PART:"disclip", "disabled", 0.0);
2568 signal: "elm,state,enabled";
2571 set_state(PART:"elm.text", "default", 0.0);
2572 set_state(PART:"disclip", "default", 0.0);
2577 signal: "elm,state,default";
2580 set_state(PART:"separator1", "default", 0.0);
2581 set_state(PART:"separator2", "default", 0.0);
2586 signal: "elm,state,separator";
2589 set_state(PART:"separator1", "visible", 0.0);
2590 set_state(PART:"separator2", "visible", 0.0);
2594 name: "item_click2";
2595 signal: "mouse,down,1";
2598 set_state(PART:"elm.text", "clicked", 0.0);
2602 get_state(PART:"separator2", st, 30, vl);
2603 if (!strcmp(st, "default"))
2604 set_state(PART:"bg", "clicked", 0.0);
2606 set_state(PART:"bg", "clicked_separator", 0.0);
2614 new Float:dx, Float:dy;
2615 get_drag(PART:"over2", dx, dy);
2616 if ((abs(dx) > 20) || (abs(dy) > 20))
2618 set_drag(PART:"over2", 0.0, 0.0);
2619 set_state(PART:"bg", "default", 0.0);
2621 set_drag(PART:"over2", 0.0, 0.0);
2625 name: "item_unclick2";
2626 signal: "mouse,up,1";
2629 set_drag(PART:"over2", 0.0, 0.0);
2630 set_state(PART:"bg", "default", 0.0);
2635 ///////////////////////////////////////////////////////////////////////////////
2637 name: "elm/ctxpopup/icon_style_item/default";
2640 image: "00_more_popup_press.png" COMP;
2645 name: "event_blocker";
2649 state: "default" 0.0;
2659 state: "default" 0.0;
2661 min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2662 max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2665 state: "clicked" 0.0;
2668 normal: "00_more_popup_press.png";
2669 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2674 state: "clicked_separator" 0.0;
2675 rel1 { relative: 1.0 0.0; to_x: "separator2"; }
2678 normal: "00_more_popup_press.png";
2679 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2685 name: "left_padding";
2688 min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2689 max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2701 state: "default" 0.0;
2702 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2704 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2705 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2709 state: "visible" 0.0;
2710 inherit: "default" 0.0;
2720 state: "default" 0.0;
2721 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2722 rel1 { relative: 1.0 0.0; to_x: "separator1"; }
2724 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2725 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2729 state: "visible" 0.0;
2730 inherit: "default" 0.0;
2735 name: "elm.swallow.icon";
2739 state: "default" 0.0;
2740 min: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC;
2741 max: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC;
2744 rel1 { relative: 1 0; to_x: "left_padding"; }
2745 rel2 { relative: 0 1; to_x: "right_padding"; }
2749 name: "right_padding";
2752 min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2753 max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
2765 state: "default" 0.0;
2779 state: "default" 0.0;
2789 state: "default" 0.0;
2793 state: "disabled" 0.0;
2795 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2802 signal: "elm,state,default";
2805 set_state(PART:"separator1", "default", 0.0);
2806 set_state(PART:"separator2", "default", 0.0);
2811 signal: "elm,state,separator";
2814 set_state(PART:"separator1", "visible", 0.0);
2815 set_state(PART:"separator2", "visible", 0.0);
2819 name: "item_unclick";
2820 signal: "mouse,clicked,1";
2822 action: SIGNAL_EMIT "elm,action,click" "";
2827 action: PLAY_SAMPLE "touch_sound" 1.0;
2831 signal: "elm,state,disabled";
2833 action: STATE_SET "disabled" 0.0;
2838 signal: "elm,state,enabled";
2840 action: STATE_SET "default" 0.0;
2844 name: "item_click2";
2845 signal: "mouse,down,1";
2850 get_state(PART:"separator2", st, 30, vl);
2851 if (!strcmp(st, "default"))
2852 set_state(PART:"bg", "clicked", 0.0);
2854 set_state(PART:"bg", "clicked_separator", 0.0);
2862 new Float:dx, Float:dy;
2863 get_drag(PART:"over2", dx, dy);
2864 if ((abs(dx) > 20) || (abs(dy) > 20))
2866 set_drag(PART:"over2", 0.0, 0.0);
2867 set_state(PART:"bg", "default", 0.0);
2869 set_drag(PART:"over2", 0.0, 0.0);
2873 name: "item_unclick2";
2874 signal: "mouse,up,1";
2877 set_drag(PART:"over2", 0.0, 0.0);
2878 set_state(PART:"bg", "default", 0.0);
2883 ///////////////////////////////////////////////////////////////////////////////
2885 name: "elm/ctxpopup/icon_text_style_item/default";
2888 image: "00_more_popup_press.png" COMP;
2891 data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC;
2895 name: "event_blocker";
2899 state: "default" 0.0;
2908 state: "default" 0.0;
2912 state: "clicked" 0.0;
2915 normal: "00_more_popup_press.png";
2916 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2921 state: "clicked_separator" 0.0;
2922 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
2925 normal: "00_more_popup_press.png";
2926 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2932 name:"separator_left_padding";
2937 min: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2938 max: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2945 name:"separator_right_padding";
2950 min: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2951 max: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2958 name: "icon_left_padding";
2962 state: "default" 0.0;
2963 min: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2964 max: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2976 state: "default" 0.0;
2977 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2978 rel1 { relative: 1.0 0.0; to_x: "separator_left_padding";}
2979 rel2 { relative: 0.0 1.0; to_x: "separator_right_padding"; offset: 0 0; }
2981 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2982 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2986 state: "visible" 0.0;
2987 inherit: "default" 0.0;
2997 state: "default" 0.0;
2998 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2999 rel1 { relative: 0.0 1.0; to: "separator1";}
3000 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
3003 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3004 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3008 state: "visible" 0.0;
3009 inherit: "default" 0.0;
3014 name: "elm.swallow.icon";
3018 state: "default" 0.0;
3019 min: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
3020 max: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
3023 rel1 { to:"icon_left_padding"; relative: 1 0; }
3027 name: "icon_right_padding";
3031 state: "default" 0.0;
3032 min: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3033 max: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_HEIGHT_MAX_INC;
3037 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
3046 state: "default" 0.0;
3047 min: 1 CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3049 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";}
3050 rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";}
3051 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
3053 font: "Tizen:style=Roman";
3054 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
3057 text_class: "list_item";
3061 state: "clicked" 0.0;
3062 inherit: "default" 0.0;
3063 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
3067 state: "disabled" 0.0;
3068 inherit: "default" 0.0;
3069 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3072 state: "ellipsis" 0.0;
3073 inherit: "default" 0.0;
3074 min: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_ICON_WIDTH_INC-(CTXPOPUP_ITEM_ICON_PADDING_INC*2)) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3078 state: "ellipsis_disabled" 0.0;
3079 inherit: "ellipsis" 0.0;
3080 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3084 name: "text_right_padding";
3089 state: "default" 0.0;
3091 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3092 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
3103 state: "default" 0.0;
3117 state: "default" 0.0;
3127 state: "default" 0.0;
3131 state: "disabled" 0.0;
3133 color: CTXPOPUP_ITEM_DISABLED_COLOR;
3139 name: "text_ellipsis";
3140 signal: "elm,state,text,ellipsis";
3142 action: STATE_SET "ellipsis" 0.0;
3146 name: "item_unclick";
3147 signal: "mouse,clicked,1";
3149 action: SIGNAL_EMIT "elm,action,click" "";
3154 action: PLAY_SAMPLE "touch_sound" 1.0;
3158 signal: "elm,state,disabled";
3163 get_state(PART:"elm.text", st, 30, vl);
3164 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
3165 set_state(PART:"elm.text", "ellipsis_disabled", 0.0);
3167 set_state(PART:"elm.text", "disabled", 0.0);
3169 set_state(PART:"disclip", "disabled", 0.0);
3174 signal: "elm,state,enabled";
3179 get_state(PART:"elm.text", st, 30, vl);
3180 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
3181 set_state(PART:"elm.text", "ellipsis", 0.0);
3183 set_state(PART:"elm.text", "default", 0.0);
3185 set_state(PART:"disclip", "default", 0.0);
3190 signal: "elm,state,default";
3193 set_state(PART:"separator1", "default", 0.0);
3194 set_state(PART:"separator2", "default", 0.0);
3199 signal: "elm,state,separator";
3202 set_state(PART:"separator1", "visible", 0.0);
3203 set_state(PART:"separator2", "visible", 0.0);
3207 name: "item_click2";
3208 signal: "mouse,down,1";
3211 set_state(PART:"elm.text", "clicked", 0.0);
3215 get_state(PART:"separator2", st, 30, vl);
3216 if (!strcmp(st, "default"))
3217 set_state(PART:"bg", "clicked", 0.0);
3219 set_state(PART:"bg", "clicked_separator", 0.0);
3227 new Float:dx, Float:dy;
3228 get_drag(PART:"over2", dx, dy);
3229 if ((abs(dx) > 20) || (abs(dy) > 20))
3231 set_drag(PART:"over2", 0.0, 0.0);
3232 set_state(PART:"bg", "default", 0.0);
3234 set_drag(PART:"over2", 0.0, 0.0);
3238 name: "item_unclick2";
3239 signal: "mouse,up,1";
3242 set_drag(PART:"over2", 0.0, 0.0);
3243 set_state(PART:"bg", "default", 0.0);
3249 ///////////////////////////////////////////////////////////////////////////////
3251 name: "elm/ctxpopup/base/more/default";
3253 image: "00_popup_bubble_bg.png" COMP;
3257 name:"frame_shadow_left_top_padding";
3262 state: "default" 0.0;
3263 min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
3264 max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
3265 rel2 { relative: 0 0; }
3272 name:"frame_shadow_right_bottom_padding";
3277 state: "default" 0.0;
3278 min: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
3279 max: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
3280 rel1{relative: 1 1;}
3292 state: "default" 0.0;
3293 rel1 {to:"frame_shadow_left_top_padding";}
3294 rel2 {to:"frame_shadow_right_bottom_padding";}
3295 min: CTXPOPUP_MORE_WIDTH_MIN_INC 0;
3297 normal: "00_popup_bubble_bg.png";
3298 border: CTXPOPUP_BUBBLE_BG_IMAGE_BORDER;
3303 part { name: "arrow_area_left";
3307 description { state: "default" 0.0;
3309 min: CTXPOPUP_ARROW_SIZE_INC;
3314 to_x:"arrow_left_top_padding";
3315 to_y: "ctxpopup_frame_left_top";
3319 to_x:"arrow_left_top_padding";
3320 to_y:"ctxpopup_frame_right_bottom";
3324 part { name: "arrow_area_right";
3328 description { state: "default" 0.0;
3330 min: CTXPOPUP_ARROW_SIZE_INC;
3335 to_x:"arrow_right_bottom_padding";
3336 to_y:"ctxpopup_frame_left_top";
3340 to_x:"arrow_right_bottom_padding";
3341 to_y: "ctxpopup_frame_right_bottom";
3345 part { name: "arrow_area_up";
3349 description { state: "default" 0.0;
3351 min: CTXPOPUP_ARROW_SIZE_INC;
3356 to_x: "ctxpopup_frame_left_top";
3357 to_y: "arrow_left_top_padding";
3361 to_x:"ctxpopup_frame_right_bottom";
3362 to_y: "arrow_left_top_padding";
3366 part { name: "arrow_area_down";
3370 description { state: "default" 0.0;
3372 min: CTXPOPUP_ARROW_SIZE_INC;
3377 to_x:"ctxpopup_frame_left_top";
3378 to_y:"arrow_right_bottom_padding";
3382 to_x: "ctxpopup_frame_right_bottom";
3383 to_y:"arrow_right_bottom_padding";
3387 part { name: "elm.swallow.arrow_up";
3394 confine: "arrow_area_up";
3397 state: "default" 0.0;
3398 min: CTXPOPUP_ARROW_SIZE_INC;
3403 part { name: "elm.swallow.arrow_down";
3410 confine: "arrow_area_down";
3413 state: "default" 0.0;
3414 min: CTXPOPUP_ARROW_SIZE_INC;
3419 part { name: "elm.swallow.arrow_left";
3426 confine: "arrow_area_left";
3429 state: "default" 0.0;
3430 min: CTXPOPUP_ARROW_SIZE_INC;
3435 part { name: "elm.swallow.arrow_right";
3442 confine: "arrow_area_right";
3445 state: "default" 0.0;
3446 min: CTXPOPUP_ARROW_SIZE_INC;
3452 name: "ctxpopup_frame_left_top";
3456 state: "default" 0.0;
3460 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3461 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3462 rel1 {relative: 0 0; to: "content_left_top_padding";}
3466 name: "ctxpopup_frame_right_bottom";
3470 state: "default" 0.0;
3474 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3475 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
3476 rel2 {relative: 1 1; to: "content_right_bottom_padding";}
3480 name:"content_left_top_padding";
3485 state: "default" 0.0;
3486 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3487 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3488 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
3495 name:"content_right_bottom_padding";
3500 state: "default" 0.0;
3501 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3502 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
3503 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
3510 name: "arrow_left_top_padding";
3514 state: "default" 0.0;
3515 min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
3516 max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
3517 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
3523 name: "arrow_right_bottom_padding";
3527 state: "default" 0.0;
3528 min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
3529 max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
3530 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
3536 name: "elm.swallow.content";
3539 state: "default" 0.0;
3541 rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;}
3542 rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;}
3547 ///////////////////////////////////////////////////////////////////////////////
3549 name: "elm/ctxpopup/icon_text_style_item/more/default";
3552 image: "00_more_popup_press.png" COMP;
3557 name: "event_blocker";
3561 state: "default" 0.0;
3571 state: "default" 0.0;
3573 min: (CTXPOPUP_MORE_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) 1;
3574 max: (CTXPOPUP_MORE_WIDTH_MAX_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3577 state: "clicked" 0.0;
3580 normal: "00_more_popup_press.png";
3581 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
3586 state: "clicked_separator" 0.0;
3587 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
3590 normal: "00_more_popup_press.png";
3591 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
3597 name:"separator_left_padding";
3602 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3603 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3610 name:"separator_right_padding";
3615 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3616 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3623 name: "icon_left_padding";
3627 state: "default" 0.0;
3628 min: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3629 max: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3641 state: "default" 0.0;
3642 color: CTXPOPUP_SEPARATOR_COLOR_INC;
3643 rel1 { relative: 1.0 0.0; to_x: "separator_left_padding";}
3644 rel2 { relative: 0.0 1.0; to_x: "separator_right_padding"; offset: 0 0; }
3647 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3648 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3652 state: "visible" 0.0;
3653 inherit: "default" 0.0;
3663 state: "default" 0.0;
3664 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
3665 rel1 { relative: 0.0 1.0; to: "separator1"; }
3666 rel2.to: "separator1";
3670 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3671 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3675 state: "visible" 0.0;
3676 inherit: "default" 0.0;
3681 name: "elm.swallow.icon";
3685 state: "default" 0.0;
3686 min: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC;
3687 max: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC;
3690 rel1 { to:"icon_left_padding"; relative: 1 0; }
3694 name: "icon_right_padding";
3698 state: "default" 0.0;
3699 min: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3700 max: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3704 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
3713 state: "default" 0.0;
3714 min: 1 CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3716 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";}
3717 rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";}
3718 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
3720 font: "Tizen:style=Roman";
3721 size: CTXPOPUP_MORE_ITEM_TEXT_SIZE_INC;
3724 text_class: "list_item";
3728 state: "clicked" 0.0;
3729 inherit: "default" 0.0;
3730 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
3733 state: "disabled" 0.0;
3734 inherit: "default" 0.0;
3735 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3738 state: "ellipsis" 0.0;
3739 inherit: "default" 0.0;
3740 min: CTXPOPUP_MORE_TEXT_MAX_INC CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3744 state: "ellipsis_disabled" 0.0;
3745 inherit: "ellipsis" 0.0;
3746 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3750 name: "text_right_padding";
3755 state: "default" 0.0;
3757 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3758 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3769 state: "default" 0.0;
3783 state: "default" 0.0;
3793 state: "default" 0.0;
3797 state: "disabled" 0.0;
3799 color: CTXPOPUP_ITEM_DISABLED_COLOR;
3805 name: "text_ellipsis";
3806 signal: "elm,state,text,ellipsis";
3808 action: STATE_SET "ellipsis" 0.0;
3812 name: "item_unclick";
3813 signal: "mouse,clicked,1";
3815 action: SIGNAL_EMIT "elm,action,click" "";
3820 action: PLAY_SAMPLE "touch_sound" 1.0;
3824 signal: "elm,state,disabled";
3829 get_state(PART:"elm.text", st, 30, vl);
3830 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
3831 set_state(PART:"elm.text", "ellipsis_disabled", 0.0);
3833 set_state(PART:"elm.text", "disabled", 0.0);
3835 set_state(PART:"disclip", "disabled", 0.0);
3840 signal: "elm,state,enabled";
3845 get_state(PART:"elm.text", st, 30, vl);
3846 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
3847 set_state(PART:"elm.text", "ellipsis", 0.0);
3849 set_state(PART:"elm.text", "default", 0.0);
3851 set_state(PART:"disclip", "default", 0.0);
3856 signal: "elm,state,default";
3859 set_state(PART:"separator1", "default", 0.0);
3860 set_state(PART:"separator2", "default", 0.0);
3865 signal: "elm,state,separator";
3868 set_state(PART:"separator1", "visible", 0.0);
3869 set_state(PART:"separator2", "visible", 0.0);
3873 name: "item_click2";
3874 signal: "mouse,down,1";
3877 set_state(PART:"elm.text", "clicked", 0.0);
3881 get_state(PART:"separator2", st, 30, vl);
3882 if (!strcmp(st, "default"))
3883 set_state(PART:"bg", "clicked", 0.0);
3885 set_state(PART:"bg", "clicked_separator", 0.0);
3893 new Float:dx, Float:dy;
3894 get_drag(PART:"over2", dx, dy);
3895 if ((abs(dx) > 20) || (abs(dy) > 20))
3897 set_drag(PART:"over2", 0.0, 0.0);
3898 set_state(PART:"bg", "default", 0.0);
3900 set_drag(PART:"over2", 0.0, 0.0);
3904 name: "item_unclick2";
3905 signal: "mouse,up,1";
3908 set_drag(PART:"over2", 0.0, 0.0);
3909 set_state(PART:"bg", "default", 0.0);
3915 ///////////////////////////////////////////////////////////////////////////////////////
3916 #define CTXPOPUP_ENTRY_LIST_PADDING_LEFT 3
3917 #define CTXPOPUP_ENTRY_LIST_PADDING_TOP 6
3918 #define CTXPOPUP_ENTRY_LIST_PADDING_RIGHT 3
3919 #define CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM 6
3920 //////////////////////////////////////////////////////////////////////////////////////
3922 name: "elm/ctxpopup/base/extended/entry";
3923 alias: "elm/ctxpopup/base/extended/entry/pass_event";
3925 image: "copy&paste_bg_center.png" COMP;
3926 image: "ctxpopup_shadow.png" COMP;
3930 name:"frame_shadow_left_top_padding";
3935 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3936 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3943 name:"frame_shadow_right_bottom_padding";
3948 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3949 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3950 rel1{relative: 1 1;}
3957 name: "frame_shadow";
3962 state: "default" 0.0;
3963 rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
3964 rel2 {to:"frame_shadow_right_bottom_padding";}
3966 normal: "ctxpopup_shadow.png";
3967 border: 10 10 10 10;
3978 state: "default" 0.0;
3979 rel1 {to:"elm.swallow.content";}
3980 rel2 {to:"elm.swallow.content";}
3982 normal: "copy&paste_bg_center.png";
3983 border: CTXPOPUP_ENTRY_CENTER_IMAGE_BORDER;
3989 name: "arrow_area_left";
3994 state: "default" 0.0;
3996 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
4001 to_y: "ctxpopup_frame_left_top";
4005 to:"ctxpopup_frame_left_bottom";
4010 name: "arrow_area_right";
4014 description { state: "default" 0.0;
4016 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
4021 to:"ctxpopup_frame_right_top";
4025 to_y: "ctxpopup_frame_right_bottom";
4030 name: "arrow_area_up";
4034 description { state: "default" 0.0;
4036 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4050 name: "arrow_area_down";
4055 state: "default" 0.0;
4057 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4071 name: "elm.swallow.arrow_up";
4078 confine: "arrow_area_up";
4081 state: "default" 0.0;
4082 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4088 name: "elm.swallow.arrow_down";
4095 confine: "arrow_area_down";
4098 state: "default" 0.0;
4099 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4105 name: "elm.swallow.arrow_left";
4112 confine: "arrow_area_left";
4115 state: "default" 0.0;
4116 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
4122 name: "elm.swallow.arrow_right";
4129 confine: "arrow_area_right";
4132 state: "default" 0.0;
4133 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
4139 name: "ctxpopup_frame_left_top";
4145 min: CTXPOPUP_FRAME_CORNER_SIZE;
4146 max: CTXPOPUP_FRAME_CORNER_SIZE;
4150 name: "ctxpopup_frame_right_top";
4156 min: CTXPOPUP_FRAME_CORNER_SIZE;
4157 max: CTXPOPUP_FRAME_CORNER_SIZE;
4161 name: "ctxpopup_frame_left_bottom";
4167 min: CTXPOPUP_FRAME_CORNER_SIZE;
4168 max: CTXPOPUP_FRAME_CORNER_SIZE;
4172 name: "ctxpopup_frame_right_bottom";
4178 min: CTXPOPUP_FRAME_CORNER_SIZE;
4179 max: CTXPOPUP_FRAME_CORNER_SIZE;
4183 name:"list_shadow_right_bottom_padding";
4188 min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
4189 max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
4193 rel1 {to:"elm.swallow.content"; relative: 1 1;}
4197 name:"content_left_top_padding";
4202 state: "default" 0.0;
4203 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4204 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4211 name:"content_right_bottom_padding";
4216 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4217 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4218 rel1 { relative: 1 1;}
4219 rel2 { relative: 1 1;}
4226 name: "elm.swallow.content";
4229 state: "default" 0.0;
4231 rel1 {to:"ctxpopup_frame_left_top"; relative: 0.5 0.5;}
4232 rel2 {to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
4237 ///////////////////////////////////////////////////////////////////////////////////////
4239 name: "elm/ctxpopup/arrow/extended/entry";
4240 alias: "elm/ctxpopup/arrow/extended/entry/pass_event";
4242 image: "copy&paste_arrow_up.png" COMP;
4243 image: "copy&paste_arrow_left.png" COMP;
4244 image: "copy&paste_arrow_right.png" COMP;
4245 image: "copy&paste_arrow_down.png" COMP;
4249 name: "ctxpopup_arrow";
4253 state: "default" 0.0;
4254 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4255 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4262 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4263 max: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4267 normal: "copy&paste_arrow_left.png";
4272 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4273 max: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4277 normal: "copy&paste_arrow_right.png";
4282 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4283 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4287 normal: "copy&paste_arrow_up.png";
4291 state: "bottom" 0.0;
4292 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4293 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4297 normal: "copy&paste_arrow_down.png";
4304 name: "enable_left_arrow";
4305 signal: "elm,state,left";
4307 action: STATE_SET "left" 0.0;
4308 target: "ctxpopup_arrow";
4311 name: "enable_right_arrow";
4312 signal: "elm,state,right";
4314 action: STATE_SET "right" 0.0;
4315 target: "ctxpopup_arrow";
4318 name: "enable_top_arrow";
4319 signal: "elm,state,top";
4321 action: STATE_SET "top" 0.0;
4322 target: "ctxpopup_arrow";
4325 name: "enable_bottom_arrow";
4326 signal: "elm,state,bottom";
4328 action: STATE_SET "bottom" 0.0;
4329 target: "ctxpopup_arrow";
4333 ///////////////////////////////////////////////////////////////////////////////////////
4334 #define CTXPOPUP_ENTRY_ITEM_BG_PART \
4340 state: "default" 0.0;\
4342 rel1 {to:"left_bg_padding"; relative: 1 0;}\
4343 rel2 {to:"right_bg_padding"; relative: 0 1;}\
4345 normal: "copy&paste_press_center.png";\
4350 state: "clicked" 0.0;\
4351 inherit: "default" 0.0;\
4354 normal: "copy&paste_press_center.png";\
4359 #define CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART \
4361 name: "left_bg_padding";\
4366 state: "default" 0.0;\
4368 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4369 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4372 rel1 { to: "event_blocker"; relative: 0 0; }\
4373 rel2 { to: "event_blocker"; relative: 0 1; }\
4375 normal: "copy&paste_press_left.png";\
4376 border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
4381 state: "clicked" 0.0;\
4382 inherit: "default" 0.0;\
4385 normal: "copy&paste_press_left.png";\
4386 border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
4391 #define CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART \
4393 name: "right_bg_padding";\
4398 state: "default" 0.0;\
4400 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4401 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4404 rel1 { to: "event_blocker"; relative: 1 0; }\
4405 rel2 { to: "event_blocker"; relative: 1 1; }\
4407 normal: "copy&paste_press_right.png";\
4408 border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
4413 state: "clicked" 0.0;\
4414 inherit: "default" 0.0;\
4417 normal: "copy&paste_press_right.png";\
4418 border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
4423 #define CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART \
4425 name: "left_padding";\
4430 state: "default" 0.0;\
4432 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4433 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4438 #define CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART \
4440 name: "right_padding";\
4445 state: "default" 0.0;\
4447 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4448 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4453 #define CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART \
4455 name: "left_separator";\
4460 state: "default" 0.0;\
4462 color: CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_COLOR;\
4463 min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4464 max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4471 state: "vertical" 0.0;\
4472 inherit: "default" 0.0;\
4476 state: "horizontal" 0.0;\
4477 inherit: "default" 0.0;\
4481 #define CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART \
4483 name: "right_separator";\
4488 state: "default" 0.0;\
4490 color: CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_COLOR;\
4491 min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4492 max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4503 state: "vertical" 0.0;\
4504 inherit: "default" 0.0;\
4508 state: "horizontal" 0.0;\
4509 inherit: "default" 0.0;\
4513 ///////////////////////////////////////////////////////////////////////////////////////
4516 name: "elm/ctxpopup/text_style_item/extended/entry";
4517 alias: "elm/ctxpopup/text_style_item/extended/entry/pass_event";
4519 image: "copy&paste_press_center.png" COMP;
4520 image: "copy&paste_press_left.png" COMP;
4521 image: "copy&paste_press_right.png" COMP;
4525 name: "event_blocker";
4529 state: "default" 0.0;
4533 CTXPOPUP_ENTRY_ITEM_BG_PART
4534 CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART
4535 CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART
4536 CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
4537 CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
4538 CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
4539 CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
4546 state: "default" 0.0;
4547 min: 1 CTXPOPUP_ENTRY_ITEM_HEIGHT;
4548 max: CTXPOPUP_ENTRY_ITEM_WIDTH_MAX CTXPOPUP_ENTRY_ITEM_HEIGHT;
4551 rel1 {relative: 1.0 0.0; to: "left_padding";}
4552 rel2 {relative: 0.0 1.0; to: "right_padding";}
4553 color: CTXPOPUP_ENTRY_ITEM_TEXT_COLOR;
4555 font: "Tizen:style=Roman";
4556 size: CTXPOPUP_ENTRY_ITEM_FONT_SIZE;
4559 text_class: "list_item";
4563 state: "clicked" 0.0;
4564 inherit: "default" 0.0;
4565 color: CTXPOPUP_ENTRY_ITEM_TEXT_COLOR;
4573 ignore_flags: ON_HOLD;
4575 state: "default" 0.0;
4585 state: "default" 0.0;
4592 state: "default" 0.0;
4596 state: "disabled" 0.0;
4598 color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
4604 name: "item_unclick";
4605 signal: "mouse,up,1";
4607 action: SIGNAL_EMIT "elm,action,click" "";
4612 action: PLAY_SAMPLE "touch_sound" 1.0;
4616 signal: "elm,state,disabled";
4618 action: STATE_SET "disabled" 0.0;
4623 signal: "elm,state,enabled";
4625 action: STATE_SET "default" 0.0;
4629 name: "item_click2";
4630 signal: "mouse,down,1";
4633 set_state(PART:"elm.text", "clicked", 0.0);
4634 set_state(PART:"bg", "clicked", 0.0);
4635 set_state(PART:"left_bg_padding", "clicked", 0.0);
4636 set_state(PART:"right_bg_padding", "clicked", 0.0);
4640 name: "item_unclick2";
4641 signal: "mouse,up,1";
4644 set_state(PART:"elm.text", "default", 0.0);
4645 set_state(PART:"bg", "default", 0.0);
4646 set_state(PART:"left_bg_padding", "default", 0.0);
4647 set_state(PART:"right_bg_padding", "default", 0.0);
4652 signal: "elm,state,default";
4655 set_state(PART:"left_separator", "default", 0.0);
4656 set_state(PART:"right_separator", "default", 0.0);
4661 signal: "elm,state,vertical";
4664 set_state(PART:"left_separator", "vertical", 0.0);
4665 set_state(PART:"right_separator", "vertical", 0.0);
4670 signal: "elm,state,horizontal";
4673 set_state(PART:"left_separator", "horizontal", 0.0);
4674 set_state(PART:"right_separator", "horizontal", 0.0);
4679 ///////////////////////////////////////////////////////////////////////////////
4681 name: "elm/ctxpopup/icon_style_item/extended/entry";
4683 image: "copy&paste_press_center.png" COMP;
4684 image: "copy&paste_press_left.png" COMP;
4685 image: "copy&paste_press_right.png" COMP;
4689 name: "event_blocker";
4693 state: "default" 0.0;
4697 CTXPOPUP_ENTRY_ITEM_BG_PART
4698 CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART
4699 CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART
4700 CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
4701 CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
4702 CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
4703 CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
4705 name: "elm.swallow.icon";
4709 state: "default" 0.0;
4715 rel1 {relative: 1.0 0.0; to: "left_padding";}
4716 rel2 {relative: 0.0 1.0; to: "right_padding";}
4720 name: "elm.swallow.icon.paint";
4724 state: "default" 0.0;
4726 color: 255 255 0 255;
4727 rel1 { to: "elm.swallow.icon"; }
4728 rel2 { to: "elm.swallow.icon"; }
4736 ignore_flags: ON_HOLD;
4738 state: "default" 0.0;
4748 state: "default" 0.0;
4755 state: "default" 0.0;
4759 state: "disabled" 0.0;
4761 color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
4767 name: "item_unclick";
4768 signal: "mouse,up,1";
4770 action: SIGNAL_EMIT "elm,action,click" "";
4775 action: PLAY_SAMPLE "touch_sound" 1.0;
4779 signal: "elm,state,disabled";
4781 action: STATE_SET "disabled" 0.0;
4785 name: "item_click2";
4786 signal: "mouse,down,1";
4789 set_state(PART:"bg", "clicked", 0.0);
4790 set_state(PART:"left_bg_padding", "clicked", 0.0);
4791 set_state(PART:"right_bg_padding", "clicked", 0.0);
4795 name: "item_unclick2";
4796 signal: "mouse,up,1";
4799 set_state(PART:"bg", "default", 0.0);
4800 set_state(PART:"left_bg_padding", "default", 0.0);
4801 set_state(PART:"right_bg_padding", "default", 0.0);
4806 signal: "elm,state,default";
4809 set_state(PART:"left_separator", "default", 0.0);
4810 set_state(PART:"right_separator", "default", 0.0);
4815 signal: "elm,state,vertical";
4818 set_state(PART:"left_separator", "vertical", 0.0);
4819 set_state(PART:"right_separator", "vertical", 0.0);
4824 signal: "elm,state,horizontal";
4827 set_state(PART:"left_separator", "horizontal", 0.0);
4828 set_state(PART:"right_separator", "horizontal", 0.0);
4833 ///////////////////////////////////////////////////////////////////////////////////////
4834 #define CTXPOPUP_TP_TEXT_WIDTH 32
4835 #define CTXPOPUP_TP_PADDING 15
4836 #define CTXPOPUP_TP_FONT_COLOR 231 173 95 255
4837 #define CTXPOPUP_TP_CLICKED_FONT_COLOR 255 255 255 255
4838 #define CTXPOPUP_TP_FONT_SIZE 24
4839 ///////////////////////////////////////////////////////////////////////////////
4841 name: "elm/ctxpopup/base/datetime/default";
4842 alias: "elm/ctxpopup/base/timepicker";
4845 image: "00_time_picker_number_bg.png" COMP;
4850 name: "ctxpopup_frame";
4854 rel1 {to:"elm.swallow.content";}
4855 rel2 {to:"elm.swallow.content";}
4857 normal: "00_time_picker_number_bg.png";
4858 border: CTXPOPUP_TP_BG_IMAGE_BORDER;
4864 name: "elm.swallow.content";
4868 state: "default" 0.0;
4869 min: 1 CTXPOPUP_TP_HEIGHT_INC;
4872 part { name: "arrow_area_left";
4876 description { state: "default" 0.0;
4883 to_y: "ctxpopup_frame";
4887 to:"ctxpopup_frame";
4891 part { name: "arrow_area_right";
4895 description { state: "default" 0.0;
4902 to:"ctxpopup_frame";
4906 to_y: "ctxpopup_frame";
4910 part { name: "arrow_area_up";
4914 description { state: "default" 0.0;
4921 to_x: "ctxpopup_frame";
4925 to:"ctxpopup_frame";
4929 part { name: "arrow_area_down";
4933 description { state: "default" 0.0;
4940 to:"ctxpopup_frame";
4944 to_x: "ctxpopup_frame";
4948 part { name: "elm.swallow.arrow_up";
4955 confine: "arrow_area_up";
4958 state: "default" 0.0;
4964 part { name: "elm.swallow.arrow_down";
4971 confine: "arrow_area_down";
4974 state: "default" 0.0;
4980 part { name: "elm.swallow.arrow_left";
4987 confine: "arrow_area_left";
4990 state: "default" 0.0;
4996 part { name: "elm.swallow.arrow_right";
5003 confine: "arrow_area_right";
5006 state: "default" 0.0;
5014 ///////////////////////////////////////////////////////////////////////////////
5015 group { name: "elm/ctxpopup/arrow/datetime/default";
5016 alias: "elm/ctxpopup/arrow/timepicker";
5018 image: "00_time_picker_tail.png" COMP;
5019 image: "00_time_picker_tail_01.png" COMP;
5023 name: "ctxpopup_arrow";
5027 state: "default" 0.0;
5028 min: CTXPOPUP_TP_ARROW_SIZE_INC;
5029 max: CTXPOPUP_TP_ARROW_SIZE_INC;
5036 min: CTXPOPUP_TP_ARROW_SIZE_INC;
5037 max: CTXPOPUP_TP_ARROW_SIZE_INC;
5041 normal: "00_time_picker_tail.png";
5046 min: CTXPOPUP_TP_ARROW_SIZE_INC;
5047 max: CTXPOPUP_TP_ARROW_SIZE_INC;
5051 normal: "00_time_picker_tail.png";
5056 min: CTXPOPUP_TP_ARROW_SIZE_INC;
5057 max: CTXPOPUP_TP_ARROW_SIZE_INC;
5061 normal: "00_time_picker_tail.png";
5065 state: "bottom" 0.0;
5066 min: CTXPOPUP_TP_ARROW_SIZE_INC;
5067 max: CTXPOPUP_TP_ARROW_SIZE_INC;
5071 normal: "00_time_picker_tail_01.png";
5078 name: "enable_left_arrow";
5079 signal: "elm,state,left";
5081 action: STATE_SET "left" 0.0;
5082 target: "ctxpopup_arrow";
5085 name: "enable_right_arrow";
5086 signal: "elm,state,right";
5088 action: STATE_SET "right" 0.0;
5089 target: "ctxpopup_arrow";
5092 name: "enable_top_arrow";
5093 signal: "elm,state,top";
5095 action: STATE_SET "top" 0.0;
5096 target: "ctxpopup_arrow";
5099 name: "enable_bottom_arrow";
5100 signal: "elm,state,bottom";
5102 action: STATE_SET "bottom" 0.0;
5103 target: "ctxpopup_arrow";
5107 ///////////////////////////////////////////////////////////////////////////////
5109 name: "elm/ctxpopup/text_style_item/datetime/default";
5110 alias: "elm/ctxpopup/text_style_item/timepicker";
5113 name: "left_padding";
5118 state: "default" 0.0;
5119 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
5120 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
5132 state: "default" 0.0;
5133 min: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
5134 max: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
5137 rel1 {relative: 1.0 0.0; to: "left_padding";}
5138 color: CTXPOPUP_TP_FONT_COLOR;
5140 font: "Tizen:style=Medium";
5141 size: CTXPOPUP_TP_FONT_SIZE;
5144 text_class: "tizen";
5148 state: "clicked" 0.0;
5149 inherit: "default" 0.0;
5150 color: 255 255 255 255;
5154 name: "right_padding";
5158 state: "default" 0.0;
5159 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
5160 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
5162 rel1 {relative: 1.0 0.0; to: "elm.text";}
5171 ignore_flags: ON_HOLD;
5173 state: "default" 0.0;
5183 state: "default" 0.0;
5190 name: "item_unclick";
5191 signal: "mouse,up,1";
5193 action: SIGNAL_EMIT "elm,action,click" "";
5198 action: PLAY_SAMPLE "touch_sound" 1.0;
5202 signal: "mouse,down,1";
5205 set_state(PART:"elm.text", "clicked", 0.0);
5209 name: "item_unclick2";
5210 signal: "mouse,up,1";
5213 set_state(PART:"elm.text", "default", 0.0);
5218 ///////////////////////////////////////////////////////////////////////////////
5220 name: "elm/ctxpopup/text_style_item/toolbar_segmentedcontrol";
5223 image: "00_more_popup_press.png" COMP;
5226 data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC;
5230 name: "event_blocker";
5234 state: "default" 0.0;
5244 state: "default" 0.0;
5246 min: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) 1;
5247 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;
5250 state: "clicked" 0.0;
5253 normal: "00_more_popup_press.png";
5254 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
5259 state: "clicked_separator" 0.0;
5260 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
5263 normal: "00_more_popup_press.png";
5264 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
5275 state: "default" 0.0;
5276 color: CTXPOPUP_SEPARATOR_COLOR_INC;
5277 rel1 { relative: 1.0 0.0; to_x: "left_padding";}
5278 rel2 { relative: 0.0 1.0; to_x: "right_padding"; offset: 0 0;}
5280 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5281 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5285 state: "visible" 0.0;
5286 inherit: "default" 0.0;
5296 state: "default" 0.0;
5297 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
5298 rel1 { relative: 0.0 1.0; to: "separator1";}
5299 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
5302 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5303 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5307 state: "visible" 0.0;
5308 inherit: "default" 0.0;
5313 name: "left_padding";
5318 state: "default" 0.0;
5319 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5320 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
5332 state: "default" 0.0;
5333 min: 1 CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5335 rel1 {relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg";}
5336 rel2 {relative: 0.0 1.0; to_x: "right_padding"; to_y: "bg";}
5337 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
5339 font: "Tizen:style=Roman";
5340 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
5343 text_class: "list_item";
5347 state: "clicked" 0.0;
5348 inherit: "default" 0.0;
5349 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
5353 state: "disabled" 0.0;
5354 inherit: "default" 0.0;
5355 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
5358 state: "ellipsis" 0.0;
5359 inherit: "default" 0.0;
5360 min: CTXPOPUP_TEXT_MAX_INC CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5364 state: "ellipsis_disabled" 0.0;
5365 inherit: "ellipsis" 0.0;
5366 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
5370 name: "right_padding";
5375 state: "default" 0.0;
5377 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5378 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
5389 state: "default" 0.0;
5403 state: "default" 0.0;
5413 state: "default" 0.0;
5417 state: "disabled" 0.0;
5419 color: CTXPOPUP_ITEM_DISABLED_COLOR;
5425 name: "text_ellipsis";
5426 signal: "elm,state,text,ellipsis";
5428 action: STATE_SET "ellipsis" 0.0;
5432 name: "item_unclick";
5433 signal: "mouse,clicked,1";
5435 action: SIGNAL_EMIT "elm,action,click" "";
5440 action: PLAY_SAMPLE "touch_sound" 1.0;
5444 signal: "elm,state,disabled";
5449 get_state(PART:"elm.text", st, 30, vl);
5450 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
5451 set_state(PART:"elm.text", "ellipsis_disabled", 0.0);
5453 set_state(PART:"elm.text", "disabled", 0.0);
5455 set_state(PART:"disclip", "disabled", 0.0);
5460 signal: "elm,state,enabled";
5465 get_state(PART:"elm.text", st, 30, vl);
5466 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
5467 set_state(PART:"elm.text", "ellipsis", 0.0);
5469 set_state(PART:"elm.text", "default", 0.0);
5471 set_state(PART:"disclip", "default", 0.0);
5476 signal: "elm,state,default";
5479 set_state(PART:"separator1", "default", 0.0);
5480 set_state(PART:"separator2", "default", 0.0);
5485 signal: "elm,state,separator";
5488 set_state(PART:"separator1", "visible", 0.0);
5489 set_state(PART:"separator2", "visible", 0.0);
5493 name: "item_click2";
5494 signal: "mouse,down,1";
5497 set_state(PART:"elm.text", "clicked", 0.0);
5501 get_state(PART:"separator2", st, 30, vl);
5502 if (!strcmp(st, "default"))
5503 set_state(PART:"bg", "clicked", 0.0);
5505 set_state(PART:"bg", "clicked_separator", 0.0);
5513 new Float:dx, Float:dy;
5514 get_drag(PART:"over2", dx, dy);
5515 if ((abs(dx) > 20) || (abs(dy) > 20))
5517 set_drag(PART:"over2", 0.0, 0.0);
5518 set_state(PART:"bg", "default", 0.0);
5520 set_drag(PART:"over2", 0.0, 0.0);
5524 name: "item_unclick2";
5525 signal: "mouse,up,1";
5528 set_drag(PART:"over2", 0.0, 0.0);
5529 set_state(PART:"bg", "default", 0.0);