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_ICON_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;
3556 data.item: "item_max_size" CTXPOPUP_MORE_TEXT_MAX_INC;
3560 name: "event_blocker";
3564 state: "default" 0.0;
3574 state: "default" 0.0;
3576 min: (CTXPOPUP_MORE_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) 1;
3577 max: (CTXPOPUP_MORE_WIDTH_MAX_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3580 state: "clicked" 0.0;
3583 normal: "00_more_popup_press.png";
3584 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
3589 state: "clicked_separator" 0.0;
3590 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
3593 normal: "00_more_popup_press.png";
3594 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
3600 name:"separator_left_padding";
3605 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3606 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3613 name:"separator_right_padding";
3618 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3619 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
3626 name: "icon_left_padding";
3630 state: "default" 0.0;
3631 min: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3632 max: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3644 state: "default" 0.0;
3645 color: CTXPOPUP_SEPARATOR_COLOR_INC;
3646 rel1 { relative: 1.0 0.0; to_x: "separator_left_padding";}
3647 rel2 { relative: 0.0 1.0; to_x: "separator_right_padding"; offset: 0 0; }
3650 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3651 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3655 state: "visible" 0.0;
3656 inherit: "default" 0.0;
3666 state: "default" 0.0;
3667 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
3668 rel1 { relative: 0.0 1.0; to: "separator1"; }
3669 rel2.to: "separator1";
3673 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3674 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3678 state: "visible" 0.0;
3679 inherit: "default" 0.0;
3684 name: "elm.swallow.icon";
3688 state: "default" 0.0;
3689 min: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC;
3690 max: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC;
3693 rel1 { to:"icon_left_padding"; relative: 1 0; }
3697 name: "icon_right_padding";
3701 state: "default" 0.0;
3702 min: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3703 max: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3707 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
3716 state: "default" 0.0;
3717 min: 1 CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3719 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";}
3720 rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";}
3721 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
3723 font: "Tizen:style=Roman";
3724 size: CTXPOPUP_MORE_ITEM_TEXT_SIZE_INC;
3727 text_class: "list_item";
3731 state: "clicked" 0.0;
3732 inherit: "default" 0.0;
3733 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
3736 state: "disabled" 0.0;
3737 inherit: "default" 0.0;
3738 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3741 state: "ellipsis" 0.0;
3742 inherit: "default" 0.0;
3743 min: CTXPOPUP_MORE_TEXT_MAX_INC CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3747 state: "ellipsis_disabled" 0.0;
3748 inherit: "ellipsis" 0.0;
3749 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3753 name: "text_right_padding";
3758 state: "default" 0.0;
3760 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3761 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3772 state: "default" 0.0;
3786 state: "default" 0.0;
3796 state: "default" 0.0;
3800 state: "disabled" 0.0;
3802 color: CTXPOPUP_ITEM_DISABLED_COLOR;
3808 name: "text_ellipsis";
3809 signal: "elm,state,text,ellipsis";
3811 action: STATE_SET "ellipsis" 0.0;
3815 name: "item_unclick";
3816 signal: "mouse,clicked,1";
3818 action: SIGNAL_EMIT "elm,action,click" "";
3823 action: PLAY_SAMPLE "touch_sound" 1.0;
3827 signal: "elm,state,disabled";
3832 get_state(PART:"elm.text", st, 30, vl);
3833 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
3834 set_state(PART:"elm.text", "ellipsis_disabled", 0.0);
3836 set_state(PART:"elm.text", "disabled", 0.0);
3838 set_state(PART:"disclip", "disabled", 0.0);
3843 signal: "elm,state,enabled";
3848 get_state(PART:"elm.text", st, 30, vl);
3849 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
3850 set_state(PART:"elm.text", "ellipsis", 0.0);
3852 set_state(PART:"elm.text", "default", 0.0);
3854 set_state(PART:"disclip", "default", 0.0);
3859 signal: "elm,state,default";
3862 set_state(PART:"separator1", "default", 0.0);
3863 set_state(PART:"separator2", "default", 0.0);
3868 signal: "elm,state,separator";
3871 set_state(PART:"separator1", "visible", 0.0);
3872 set_state(PART:"separator2", "visible", 0.0);
3876 name: "item_click2";
3877 signal: "mouse,down,1";
3880 set_state(PART:"elm.text", "clicked", 0.0);
3884 get_state(PART:"separator2", st, 30, vl);
3885 if (!strcmp(st, "default"))
3886 set_state(PART:"bg", "clicked", 0.0);
3888 set_state(PART:"bg", "clicked_separator", 0.0);
3896 new Float:dx, Float:dy;
3897 get_drag(PART:"over2", dx, dy);
3898 if ((abs(dx) > 20) || (abs(dy) > 20))
3900 set_drag(PART:"over2", 0.0, 0.0);
3901 set_state(PART:"bg", "default", 0.0);
3903 set_drag(PART:"over2", 0.0, 0.0);
3907 name: "item_unclick2";
3908 signal: "mouse,up,1";
3911 set_drag(PART:"over2", 0.0, 0.0);
3912 set_state(PART:"bg", "default", 0.0);
3918 ///////////////////////////////////////////////////////////////////////////////////////
3919 #define CTXPOPUP_ENTRY_LIST_PADDING_LEFT 3
3920 #define CTXPOPUP_ENTRY_LIST_PADDING_TOP 6
3921 #define CTXPOPUP_ENTRY_LIST_PADDING_RIGHT 3
3922 #define CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM 6
3923 //////////////////////////////////////////////////////////////////////////////////////
3925 name: "elm/ctxpopup/base/extended/entry";
3926 alias: "elm/ctxpopup/base/extended/entry/pass_event";
3928 image: "copy&paste_bg_center.png" COMP;
3929 image: "ctxpopup_shadow.png" COMP;
3933 name:"frame_shadow_left_top_padding";
3938 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3939 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3946 name:"frame_shadow_right_bottom_padding";
3951 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3952 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
3953 rel1{relative: 1 1;}
3960 name: "frame_shadow";
3965 state: "default" 0.0;
3966 rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
3967 rel2 {to:"frame_shadow_right_bottom_padding";}
3969 normal: "ctxpopup_shadow.png";
3970 border: 10 10 10 10;
3981 state: "default" 0.0;
3982 rel1 {to:"elm.swallow.content";}
3983 rel2 {to:"elm.swallow.content";}
3985 normal: "copy&paste_bg_center.png";
3986 border: CTXPOPUP_ENTRY_CENTER_IMAGE_BORDER;
3992 name: "arrow_area_left";
3997 state: "default" 0.0;
3999 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
4004 to_y: "ctxpopup_frame_left_top";
4008 to:"ctxpopup_frame_left_bottom";
4013 name: "arrow_area_right";
4017 description { state: "default" 0.0;
4019 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
4024 to:"ctxpopup_frame_right_top";
4028 to_y: "ctxpopup_frame_right_bottom";
4033 name: "arrow_area_up";
4037 description { state: "default" 0.0;
4039 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4053 name: "arrow_area_down";
4058 state: "default" 0.0;
4060 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4074 name: "elm.swallow.arrow_up";
4081 confine: "arrow_area_up";
4084 state: "default" 0.0;
4085 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4091 name: "elm.swallow.arrow_down";
4098 confine: "arrow_area_down";
4101 state: "default" 0.0;
4102 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4108 name: "elm.swallow.arrow_left";
4115 confine: "arrow_area_left";
4118 state: "default" 0.0;
4119 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
4125 name: "elm.swallow.arrow_right";
4132 confine: "arrow_area_right";
4135 state: "default" 0.0;
4136 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
4142 name: "ctxpopup_frame_left_top";
4148 min: CTXPOPUP_FRAME_CORNER_SIZE;
4149 max: CTXPOPUP_FRAME_CORNER_SIZE;
4153 name: "ctxpopup_frame_right_top";
4159 min: CTXPOPUP_FRAME_CORNER_SIZE;
4160 max: CTXPOPUP_FRAME_CORNER_SIZE;
4164 name: "ctxpopup_frame_left_bottom";
4170 min: CTXPOPUP_FRAME_CORNER_SIZE;
4171 max: CTXPOPUP_FRAME_CORNER_SIZE;
4175 name: "ctxpopup_frame_right_bottom";
4181 min: CTXPOPUP_FRAME_CORNER_SIZE;
4182 max: CTXPOPUP_FRAME_CORNER_SIZE;
4186 name:"list_shadow_right_bottom_padding";
4191 min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
4192 max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
4196 rel1 {to:"elm.swallow.content"; relative: 1 1;}
4200 name:"content_left_top_padding";
4205 state: "default" 0.0;
4206 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4207 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4214 name:"content_right_bottom_padding";
4219 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4220 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
4221 rel1 { relative: 1 1;}
4222 rel2 { relative: 1 1;}
4229 name: "elm.swallow.content";
4232 state: "default" 0.0;
4234 rel1 {to:"ctxpopup_frame_left_top"; relative: 0.5 0.5;}
4235 rel2 {to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
4240 ///////////////////////////////////////////////////////////////////////////////////////
4242 name: "elm/ctxpopup/arrow/extended/entry";
4243 alias: "elm/ctxpopup/arrow/extended/entry/pass_event";
4245 image: "copy&paste_arrow_up.png" COMP;
4246 image: "copy&paste_arrow_left.png" COMP;
4247 image: "copy&paste_arrow_right.png" COMP;
4248 image: "copy&paste_arrow_down.png" COMP;
4252 name: "ctxpopup_arrow";
4256 state: "default" 0.0;
4257 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4258 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4265 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4266 max: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4270 normal: "copy&paste_arrow_left.png";
4275 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4276 max: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
4280 normal: "copy&paste_arrow_right.png";
4285 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4286 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4290 normal: "copy&paste_arrow_up.png";
4294 state: "bottom" 0.0;
4295 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4296 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
4300 normal: "copy&paste_arrow_down.png";
4307 name: "enable_left_arrow";
4308 signal: "elm,state,left";
4310 action: STATE_SET "left" 0.0;
4311 target: "ctxpopup_arrow";
4314 name: "enable_right_arrow";
4315 signal: "elm,state,right";
4317 action: STATE_SET "right" 0.0;
4318 target: "ctxpopup_arrow";
4321 name: "enable_top_arrow";
4322 signal: "elm,state,top";
4324 action: STATE_SET "top" 0.0;
4325 target: "ctxpopup_arrow";
4328 name: "enable_bottom_arrow";
4329 signal: "elm,state,bottom";
4331 action: STATE_SET "bottom" 0.0;
4332 target: "ctxpopup_arrow";
4336 ///////////////////////////////////////////////////////////////////////////////////////
4337 #define CTXPOPUP_ENTRY_ITEM_BG_PART \
4343 state: "default" 0.0;\
4345 rel1 {to:"left_bg_padding"; relative: 1 0;}\
4346 rel2 {to:"right_bg_padding"; relative: 0 1;}\
4348 normal: "copy&paste_press_center.png";\
4353 state: "clicked" 0.0;\
4354 inherit: "default" 0.0;\
4357 normal: "copy&paste_press_center.png";\
4362 #define CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART \
4364 name: "left_bg_padding";\
4369 state: "default" 0.0;\
4371 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4372 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4375 rel1 { to: "event_blocker"; relative: 0 0; }\
4376 rel2 { to: "event_blocker"; relative: 0 1; }\
4378 normal: "copy&paste_press_left.png";\
4379 border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
4384 state: "clicked" 0.0;\
4385 inherit: "default" 0.0;\
4388 normal: "copy&paste_press_left.png";\
4389 border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
4394 #define CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART \
4396 name: "right_bg_padding";\
4401 state: "default" 0.0;\
4403 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4404 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4407 rel1 { to: "event_blocker"; relative: 1 0; }\
4408 rel2 { to: "event_blocker"; relative: 1 1; }\
4410 normal: "copy&paste_press_right.png";\
4411 border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
4416 state: "clicked" 0.0;\
4417 inherit: "default" 0.0;\
4420 normal: "copy&paste_press_right.png";\
4421 border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
4426 #define CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART \
4428 name: "left_padding";\
4433 state: "default" 0.0;\
4435 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4436 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4441 #define CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART \
4443 name: "right_padding";\
4448 state: "default" 0.0;\
4450 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4451 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
4456 #define CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART \
4458 name: "left_separator";\
4463 state: "default" 0.0;\
4465 color: CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_COLOR;\
4466 min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4467 max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4474 state: "vertical" 0.0;\
4475 inherit: "default" 0.0;\
4479 state: "horizontal" 0.0;\
4480 inherit: "default" 0.0;\
4484 #define CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART \
4486 name: "right_separator";\
4491 state: "default" 0.0;\
4493 color: CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_COLOR;\
4494 min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4495 max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
4506 state: "vertical" 0.0;\
4507 inherit: "default" 0.0;\
4511 state: "horizontal" 0.0;\
4512 inherit: "default" 0.0;\
4516 ///////////////////////////////////////////////////////////////////////////////////////
4519 name: "elm/ctxpopup/text_style_item/extended/entry";
4520 alias: "elm/ctxpopup/text_style_item/extended/entry/pass_event";
4522 image: "copy&paste_press_center.png" COMP;
4523 image: "copy&paste_press_left.png" COMP;
4524 image: "copy&paste_press_right.png" COMP;
4528 name: "event_blocker";
4532 state: "default" 0.0;
4536 CTXPOPUP_ENTRY_ITEM_BG_PART
4537 CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART
4538 CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART
4539 CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
4540 CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
4541 CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
4542 CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
4549 state: "default" 0.0;
4550 min: 1 CTXPOPUP_ENTRY_ITEM_HEIGHT;
4551 max: CTXPOPUP_ENTRY_ITEM_WIDTH_MAX CTXPOPUP_ENTRY_ITEM_HEIGHT;
4554 rel1 {relative: 1.0 0.0; to: "left_padding";}
4555 rel2 {relative: 0.0 1.0; to: "right_padding";}
4556 color: CTXPOPUP_ENTRY_ITEM_TEXT_COLOR;
4558 font: "Tizen:style=Roman";
4559 size: CTXPOPUP_ENTRY_ITEM_FONT_SIZE;
4562 text_class: "list_item";
4566 state: "clicked" 0.0;
4567 inherit: "default" 0.0;
4568 color: CTXPOPUP_ENTRY_ITEM_TEXT_COLOR;
4576 ignore_flags: ON_HOLD;
4578 state: "default" 0.0;
4588 state: "default" 0.0;
4595 state: "default" 0.0;
4599 state: "disabled" 0.0;
4601 color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
4607 name: "item_unclick";
4608 signal: "mouse,up,1";
4610 action: SIGNAL_EMIT "elm,action,click" "";
4615 action: PLAY_SAMPLE "touch_sound" 1.0;
4619 signal: "elm,state,disabled";
4621 action: STATE_SET "disabled" 0.0;
4626 signal: "elm,state,enabled";
4628 action: STATE_SET "default" 0.0;
4632 name: "item_click2";
4633 signal: "mouse,down,1";
4636 set_state(PART:"elm.text", "clicked", 0.0);
4637 set_state(PART:"bg", "clicked", 0.0);
4638 set_state(PART:"left_bg_padding", "clicked", 0.0);
4639 set_state(PART:"right_bg_padding", "clicked", 0.0);
4643 name: "item_unclick2";
4644 signal: "mouse,up,1";
4647 set_state(PART:"elm.text", "default", 0.0);
4648 set_state(PART:"bg", "default", 0.0);
4649 set_state(PART:"left_bg_padding", "default", 0.0);
4650 set_state(PART:"right_bg_padding", "default", 0.0);
4655 signal: "elm,state,default";
4658 set_state(PART:"left_separator", "default", 0.0);
4659 set_state(PART:"right_separator", "default", 0.0);
4664 signal: "elm,state,vertical";
4667 set_state(PART:"left_separator", "vertical", 0.0);
4668 set_state(PART:"right_separator", "vertical", 0.0);
4673 signal: "elm,state,horizontal";
4676 set_state(PART:"left_separator", "horizontal", 0.0);
4677 set_state(PART:"right_separator", "horizontal", 0.0);
4682 ///////////////////////////////////////////////////////////////////////////////
4684 name: "elm/ctxpopup/icon_style_item/extended/entry";
4686 image: "copy&paste_press_center.png" COMP;
4687 image: "copy&paste_press_left.png" COMP;
4688 image: "copy&paste_press_right.png" COMP;
4692 name: "event_blocker";
4696 state: "default" 0.0;
4700 CTXPOPUP_ENTRY_ITEM_BG_PART
4701 CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART
4702 CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART
4703 CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
4704 CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
4705 CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
4706 CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
4708 name: "elm.swallow.icon";
4712 state: "default" 0.0;
4718 rel1 {relative: 1.0 0.0; to: "left_padding";}
4719 rel2 {relative: 0.0 1.0; to: "right_padding";}
4723 name: "elm.swallow.icon.paint";
4727 state: "default" 0.0;
4729 color: 255 255 0 255;
4730 rel1 { to: "elm.swallow.icon"; }
4731 rel2 { to: "elm.swallow.icon"; }
4739 ignore_flags: ON_HOLD;
4741 state: "default" 0.0;
4751 state: "default" 0.0;
4758 state: "default" 0.0;
4762 state: "disabled" 0.0;
4764 color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
4770 name: "item_unclick";
4771 signal: "mouse,up,1";
4773 action: SIGNAL_EMIT "elm,action,click" "";
4778 action: PLAY_SAMPLE "touch_sound" 1.0;
4782 signal: "elm,state,disabled";
4784 action: STATE_SET "disabled" 0.0;
4788 name: "item_click2";
4789 signal: "mouse,down,1";
4792 set_state(PART:"bg", "clicked", 0.0);
4793 set_state(PART:"left_bg_padding", "clicked", 0.0);
4794 set_state(PART:"right_bg_padding", "clicked", 0.0);
4798 name: "item_unclick2";
4799 signal: "mouse,up,1";
4802 set_state(PART:"bg", "default", 0.0);
4803 set_state(PART:"left_bg_padding", "default", 0.0);
4804 set_state(PART:"right_bg_padding", "default", 0.0);
4809 signal: "elm,state,default";
4812 set_state(PART:"left_separator", "default", 0.0);
4813 set_state(PART:"right_separator", "default", 0.0);
4818 signal: "elm,state,vertical";
4821 set_state(PART:"left_separator", "vertical", 0.0);
4822 set_state(PART:"right_separator", "vertical", 0.0);
4827 signal: "elm,state,horizontal";
4830 set_state(PART:"left_separator", "horizontal", 0.0);
4831 set_state(PART:"right_separator", "horizontal", 0.0);
4836 ///////////////////////////////////////////////////////////////////////////////////////
4837 #define CTXPOPUP_TP_TEXT_WIDTH 32
4838 #define CTXPOPUP_TP_PADDING 15
4839 #define CTXPOPUP_TP_FONT_COLOR 231 173 95 255
4840 #define CTXPOPUP_TP_CLICKED_FONT_COLOR 255 255 255 255
4841 #define CTXPOPUP_TP_FONT_SIZE 24
4842 ///////////////////////////////////////////////////////////////////////////////
4844 name: "elm/ctxpopup/base/datetime/default";
4845 alias: "elm/ctxpopup/base/timepicker";
4848 image: "00_time_picker_number_bg.png" COMP;
4853 name: "ctxpopup_frame";
4857 rel1 {to:"elm.swallow.content";}
4858 rel2 {to:"elm.swallow.content";}
4860 normal: "00_time_picker_number_bg.png";
4861 border: CTXPOPUP_TP_BG_IMAGE_BORDER;
4867 name: "elm.swallow.content";
4871 state: "default" 0.0;
4872 min: 1 CTXPOPUP_TP_HEIGHT_INC;
4875 part { name: "arrow_area_left";
4879 description { state: "default" 0.0;
4886 to_y: "ctxpopup_frame";
4890 to:"ctxpopup_frame";
4894 part { name: "arrow_area_right";
4898 description { state: "default" 0.0;
4905 to:"ctxpopup_frame";
4909 to_y: "ctxpopup_frame";
4913 part { name: "arrow_area_up";
4917 description { state: "default" 0.0;
4924 to_x: "ctxpopup_frame";
4928 to:"ctxpopup_frame";
4932 part { name: "arrow_area_down";
4936 description { state: "default" 0.0;
4943 to:"ctxpopup_frame";
4947 to_x: "ctxpopup_frame";
4951 part { name: "elm.swallow.arrow_up";
4958 confine: "arrow_area_up";
4961 state: "default" 0.0;
4967 part { name: "elm.swallow.arrow_down";
4974 confine: "arrow_area_down";
4977 state: "default" 0.0;
4983 part { name: "elm.swallow.arrow_left";
4990 confine: "arrow_area_left";
4993 state: "default" 0.0;
4999 part { name: "elm.swallow.arrow_right";
5006 confine: "arrow_area_right";
5009 state: "default" 0.0;
5017 ///////////////////////////////////////////////////////////////////////////////
5018 group { name: "elm/ctxpopup/arrow/datetime/default";
5019 alias: "elm/ctxpopup/arrow/timepicker";
5021 image: "00_time_picker_tail.png" COMP;
5022 image: "00_time_picker_tail_01.png" COMP;
5026 name: "ctxpopup_arrow";
5030 state: "default" 0.0;
5031 min: CTXPOPUP_TP_ARROW_SIZE_INC;
5032 max: CTXPOPUP_TP_ARROW_SIZE_INC;
5039 min: CTXPOPUP_TP_ARROW_SIZE_INC;
5040 max: CTXPOPUP_TP_ARROW_SIZE_INC;
5044 normal: "00_time_picker_tail.png";
5049 min: CTXPOPUP_TP_ARROW_SIZE_INC;
5050 max: CTXPOPUP_TP_ARROW_SIZE_INC;
5054 normal: "00_time_picker_tail.png";
5059 min: CTXPOPUP_TP_ARROW_SIZE_INC;
5060 max: CTXPOPUP_TP_ARROW_SIZE_INC;
5064 normal: "00_time_picker_tail.png";
5068 state: "bottom" 0.0;
5069 min: CTXPOPUP_TP_ARROW_SIZE_INC;
5070 max: CTXPOPUP_TP_ARROW_SIZE_INC;
5074 normal: "00_time_picker_tail_01.png";
5081 name: "enable_left_arrow";
5082 signal: "elm,state,left";
5084 action: STATE_SET "left" 0.0;
5085 target: "ctxpopup_arrow";
5088 name: "enable_right_arrow";
5089 signal: "elm,state,right";
5091 action: STATE_SET "right" 0.0;
5092 target: "ctxpopup_arrow";
5095 name: "enable_top_arrow";
5096 signal: "elm,state,top";
5098 action: STATE_SET "top" 0.0;
5099 target: "ctxpopup_arrow";
5102 name: "enable_bottom_arrow";
5103 signal: "elm,state,bottom";
5105 action: STATE_SET "bottom" 0.0;
5106 target: "ctxpopup_arrow";
5110 ///////////////////////////////////////////////////////////////////////////////
5112 name: "elm/ctxpopup/text_style_item/datetime/default";
5113 alias: "elm/ctxpopup/text_style_item/timepicker";
5116 name: "left_padding";
5121 state: "default" 0.0;
5122 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
5123 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
5135 state: "default" 0.0;
5136 min: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
5137 max: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
5140 rel1 {relative: 1.0 0.0; to: "left_padding";}
5141 color: CTXPOPUP_TP_FONT_COLOR;
5143 font: "Tizen:style=Medium";
5144 size: CTXPOPUP_TP_FONT_SIZE;
5147 text_class: "tizen";
5151 state: "clicked" 0.0;
5152 inherit: "default" 0.0;
5153 color: 255 255 255 255;
5157 name: "right_padding";
5161 state: "default" 0.0;
5162 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
5163 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
5165 rel1 {relative: 1.0 0.0; to: "elm.text";}
5174 ignore_flags: ON_HOLD;
5176 state: "default" 0.0;
5186 state: "default" 0.0;
5193 name: "item_unclick";
5194 signal: "mouse,up,1";
5196 action: SIGNAL_EMIT "elm,action,click" "";
5201 action: PLAY_SAMPLE "touch_sound" 1.0;
5205 signal: "mouse,down,1";
5208 set_state(PART:"elm.text", "clicked", 0.0);
5212 name: "item_unclick2";
5213 signal: "mouse,up,1";
5216 set_state(PART:"elm.text", "default", 0.0);
5221 ///////////////////////////////////////////////////////////////////////////////
5223 name: "elm/ctxpopup/text_style_item/toolbar_segmentedcontrol";
5226 image: "00_more_popup_press.png" COMP;
5229 data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC;
5233 name: "event_blocker";
5237 state: "default" 0.0;
5247 state: "default" 0.0;
5249 min: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) 1;
5250 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;
5253 state: "clicked" 0.0;
5256 normal: "00_more_popup_press.png";
5257 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
5262 state: "clicked_separator" 0.0;
5263 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
5266 normal: "00_more_popup_press.png";
5267 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
5278 state: "default" 0.0;
5279 color: CTXPOPUP_SEPARATOR_COLOR_INC;
5280 rel1 { relative: 1.0 0.0; to_x: "left_padding";}
5281 rel2 { relative: 0.0 1.0; to_x: "right_padding"; offset: 0 0;}
5283 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5284 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5288 state: "visible" 0.0;
5289 inherit: "default" 0.0;
5299 state: "default" 0.0;
5300 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
5301 rel1 { relative: 0.0 1.0; to: "separator1";}
5302 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
5305 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5306 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
5310 state: "visible" 0.0;
5311 inherit: "default" 0.0;
5316 name: "left_padding";
5321 state: "default" 0.0;
5322 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5323 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
5335 state: "default" 0.0;
5336 min: 1 CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5338 rel1 {relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg";}
5339 rel2 {relative: 0.0 1.0; to_x: "right_padding"; to_y: "bg";}
5340 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
5342 font: "Tizen:style=Roman";
5343 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
5346 text_class: "list_item";
5350 state: "clicked" 0.0;
5351 inherit: "default" 0.0;
5352 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
5356 state: "disabled" 0.0;
5357 inherit: "default" 0.0;
5358 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
5361 state: "ellipsis" 0.0;
5362 inherit: "default" 0.0;
5363 min: CTXPOPUP_TEXT_MAX_INC CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5367 state: "ellipsis_disabled" 0.0;
5368 inherit: "ellipsis" 0.0;
5369 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
5373 name: "right_padding";
5378 state: "default" 0.0;
5380 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
5381 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
5392 state: "default" 0.0;
5406 state: "default" 0.0;
5416 state: "default" 0.0;
5420 state: "disabled" 0.0;
5422 color: CTXPOPUP_ITEM_DISABLED_COLOR;
5428 name: "text_ellipsis";
5429 signal: "elm,state,text,ellipsis";
5431 action: STATE_SET "ellipsis" 0.0;
5435 name: "item_unclick";
5436 signal: "mouse,clicked,1";
5438 action: SIGNAL_EMIT "elm,action,click" "";
5443 action: PLAY_SAMPLE "touch_sound" 1.0;
5447 signal: "elm,state,disabled";
5452 get_state(PART:"elm.text", st, 30, vl);
5453 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
5454 set_state(PART:"elm.text", "ellipsis_disabled", 0.0);
5456 set_state(PART:"elm.text", "disabled", 0.0);
5458 set_state(PART:"disclip", "disabled", 0.0);
5463 signal: "elm,state,enabled";
5468 get_state(PART:"elm.text", st, 30, vl);
5469 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
5470 set_state(PART:"elm.text", "ellipsis", 0.0);
5472 set_state(PART:"elm.text", "default", 0.0);
5474 set_state(PART:"disclip", "default", 0.0);
5479 signal: "elm,state,default";
5482 set_state(PART:"separator1", "default", 0.0);
5483 set_state(PART:"separator2", "default", 0.0);
5488 signal: "elm,state,separator";
5491 set_state(PART:"separator1", "visible", 0.0);
5492 set_state(PART:"separator2", "visible", 0.0);
5496 name: "item_click2";
5497 signal: "mouse,down,1";
5500 set_state(PART:"elm.text", "clicked", 0.0);
5504 get_state(PART:"separator2", st, 30, vl);
5505 if (!strcmp(st, "default"))
5506 set_state(PART:"bg", "clicked", 0.0);
5508 set_state(PART:"bg", "clicked_separator", 0.0);
5516 new Float:dx, Float:dy;
5517 get_drag(PART:"over2", dx, dy);
5518 if ((abs(dx) > 20) || (abs(dy) > 20))
5520 set_drag(PART:"over2", 0.0, 0.0);
5521 set_state(PART:"bg", "default", 0.0);
5523 set_drag(PART:"over2", 0.0, 0.0);
5527 name: "item_unclick2";
5528 signal: "mouse,up,1";
5531 set_drag(PART:"over2", 0.0, 0.0);
5532 set_state(PART:"bg", "default", 0.0);