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));
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";
143 state: "default" 0.0;
147 state: "show_up" 0.0;
148 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
149 rel2 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
153 state: "show_down" 0.0;
154 rel1 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
155 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
159 state: "show_left" 0.0;
160 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
161 rel2 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
165 state: "show_right" 0.0;
166 rel1 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
167 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
176 state: "default" 0.0;
177 color: 255 255 255 0;
178 rel1 {to: "swallow"; relative: -0.2 -0.2; }
179 rel2 {to: "swallow"; relative: 1.2 1.2;}
182 state: "show_up" 0.0;
183 inherit: "default" 0.0;
186 state: "show_down" 0.0;
187 inherit: "default" 0.0;
190 state: "show_left" 0.0;
191 inherit: "default" 0.0;
194 state: "show_right" 0.0;
195 inherit: "default" 0.0;
198 state: "visible" 0.0;
199 inherit: "default" 0.0;
200 color: 255 255 255 255;
207 signal: "elm,state,show,up";
209 action: STATE_SET "show_up" 0.0;
211 target: "top_padding";
212 target: "layout_clip";
217 signal: "elm,state,show,down";
219 action: STATE_SET "show_down" 0.0;
221 target: "bottom_padding";
222 target: "layout_clip";
223 after: "showdownend";
227 signal: "elm,state,show,left";
229 action: STATE_SET "show_left" 0.0;
231 target: "left_padding";
232 target: "layout_clip";
233 after: "showleftend";
237 signal: "elm,state,show,right";
239 action: STATE_SET "show_right" 0.0;
241 target: "right_padding";
242 target: "layout_clip";
243 after: "showrightend";
247 action: STATE_SET "visible" 0.0;
248 transition: SIN_FAC 0.33 1.1;
249 target: "top_padding";
250 target: "layout_clip";
254 action: STATE_SET "visible" 0.0;
255 transition: SIN_FAC 0.33 1.1;
256 target: "bottom_padding";
257 target: "layout_clip";
261 action: STATE_SET "visible" 0.0;
262 transition: SIN_FAC 0.33 1.1;
263 target: "left_padding";
264 target: "layout_clip";
267 name: "showrightend";
268 action: STATE_SET "visible" 0.0;
269 transition: SIN_FAC 0.33 1.1;
270 target: "right_padding";
271 target: "layout_clip";
275 signal: "elm,state,hide,up";
277 action: STATE_SET "show_up" 0.0;
279 target: "top_padding";
280 transition: SIN_FAC 0.33 1.1;
285 signal: "elm,state,hide,down";
287 action: STATE_SET "show_down" 0.0;
289 target: "bottom_padding";
290 transition: SIN_FAC 0.33 1.1;
295 signal: "elm,state,hide,left";
297 action: STATE_SET "show_left" 0.0;
299 target: "left_padding";
300 transition: SIN_FAC 0.33 1.1;
305 signal: "elm,state,hide,right";
307 action: STATE_SET "show_right" 0.0;
309 target: "right_padding";
310 transition: SIN_FAC 0.33 1.1;
315 signal: "elm,state,hide,up";
317 action: STATE_SET "default" 0.0;
318 target: "layout_clip";
319 transition: SIN_FAC 0.33 1.1;
323 name: "hidedown_clip";
324 signal: "elm,state,hide,down";
326 action: STATE_SET "default" 0.0;
327 target: "layout_clip";
328 transition: SIN_FAC 0.33 1.1;
332 name: "hideleft_clip";
333 signal: "elm,state,hide,left";
335 action: STATE_SET "default" 0.0;
336 target: "layout_clip";
337 transition: SIN_FAC 0.33 1.1;
341 name: "hideright_clip";
342 signal: "elm,state,hide,right";
344 action: STATE_SET "default" 0.0;
345 target: "layout_clip";
346 transition: SIN_FAC 0.33 1.1;
351 action: STATE_SET "default" 0.0;
353 target: "top_padding";
354 target: "bottom_padding";
355 target: "left_padding";
356 target: "right_padding";
357 after: "hidefinished";
360 name: "hidefinished";
361 action: SIGNAL_EMIT "elm,action,hide,finished" "";
365 ///////////////////////////////////////////////////////////////////////////////
367 name: "elm/ctxpopup/layout/landscape/default";
368 inherit: "elm/ctxpopup/layout/default";
369 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));
371 ///////////////////////////////////////////////////////////////////////////////
373 name: "elm/ctxpopup/layout/datetime/default";
374 alias: "elm/ctxpopup/layout/timepicker";
381 state: "default" 0.0;
386 rel1.relative: 0.0 0.0;
387 rel2.relative: 1.0 0.0;
390 state: "show_up" 0.0;
391 inherit: "default" 0.0;
394 state: "visible" 0.0;
395 inherit: "default" 0.0;
400 name:"bottom_padding";
404 state: "default" 0.0;
409 rel1.relative: 0.0 1.0;
410 rel2.relative: 1.0 1.0;
413 state: "show_down" 0.0;
414 inherit: "default" 0.0;
417 state: "visible" 0.0;
418 inherit: "default" 0.0;
427 state: "default" 0.0;
432 rel1.relative: 0.0 0.0;
433 rel2.relative: 0.0 1.0;
436 state: "show_left" 0.0;
437 inherit: "default" 0.0;
440 state: "visible" 0.0;
441 inherit: "default" 0.0;
446 name:"right_padding";
450 state: "default" 0.0;
455 rel1.relative: 1.0 0.0;
456 rel2.relative: 1.0 1.0;
459 state: "show_right" 0.0;
460 inherit: "default" 0.0;
463 state: "visible" 0.0;
464 inherit: "default" 0.0;
471 clip_to: "layout_clip";
474 state: "default" 0.0;
478 state: "show_up" 0.0;
479 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
480 rel2 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
484 state: "show_down" 0.0;
485 rel1 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
486 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
490 state: "show_left" 0.0;
491 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
492 rel2 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
496 state: "show_right" 0.0;
497 rel1 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
498 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
507 state: "default" 0.0;
508 color: 255 255 255 0;
509 rel1 {to: "swallow"; relative: -0.2 -0.2; }
510 rel2 {to: "swallow"; relative: 1.2 1.2;}
513 state: "show_up" 0.0;
514 inherit: "default" 0.0;
517 state: "show_down" 0.0;
518 inherit: "default" 0.0;
521 state: "show_left" 0.0;
522 inherit: "default" 0.0;
525 state: "show_right" 0.0;
526 inherit: "default" 0.0;
529 state: "visible" 0.0;
530 inherit: "default" 0.0;
531 color: 255 255 255 255;
538 signal: "elm,state,show,up";
540 action: STATE_SET "show_up" 0.0;
542 target: "top_padding";
543 target: "layout_clip";
548 signal: "elm,state,show,down";
550 action: STATE_SET "show_down" 0.0;
552 target: "bottom_padding";
553 target: "layout_clip";
554 after: "showdownend";
558 signal: "elm,state,show,left";
560 action: STATE_SET "show_left" 0.0;
562 target: "left_padding";
563 target: "layout_clip";
564 after: "showleftend";
568 signal: "elm,state,show,right";
570 action: STATE_SET "show_right" 0.0;
572 target: "right_padding";
573 target: "layout_clip";
574 after: "showrightend";
578 action: STATE_SET "visible" 0.0;
579 transition:LINEAR 0.25;
580 target: "top_padding";
581 target: "layout_clip";
585 action: STATE_SET "visible" 0.0;
586 transition:LINEAR 0.25;
587 target: "bottom_padding";
588 target: "layout_clip";
592 action: STATE_SET "visible" 0.0;
593 transition:LINEAR 0.25;
594 target: "left_padding";
595 target: "layout_clip";
598 name: "showrightend";
599 action: STATE_SET "visible" 0.0;
600 transition:LINEAR 0.25;
601 target: "right_padding";
602 target: "layout_clip";
606 signal: "elm,state,hide,up";
608 action: STATE_SET "show_up" 0.0;
610 target: "top_padding";
611 transition: LINEAR 0.25;
616 signal: "elm,state,hide,down";
618 action: STATE_SET "show_down" 0.0;
620 target: "bottom_padding";
621 transition: LINEAR 0.25;
626 signal: "elm,state,hide,left";
628 action: STATE_SET "show_left" 0.0;
630 target: "left_padding";
631 transition: LINEAR 0.25;
636 signal: "elm,state,hide,right";
638 action: STATE_SET "show_right" 0.0;
640 target: "right_padding";
641 transition: LINEAR 0.25;
646 signal: "elm,state,hide,up";
648 action: STATE_SET "default" 0.0;
649 target: "layout_clip";
650 transition: LINEAR 0.25;
654 name: "hidedown_clip";
655 signal: "elm,state,hide,down";
657 action: STATE_SET "default" 0.0;
658 target: "layout_clip";
659 transition: LINEAR 0.25;
663 name: "hideleft_clip";
664 signal: "elm,state,hide,left";
666 action: STATE_SET "default" 0.0;
667 target: "layout_clip";
668 transition: LINEAR 0.25;
672 name: "hideright_clip";
673 signal: "elm,state,hide,right";
675 action: STATE_SET "default" 0.0;
676 target: "layout_clip";
677 transition: LINEAR 0.25;
682 action: STATE_SET "default" 0.0;
684 target: "top_padding";
685 target: "bottom_padding";
686 target: "left_padding";
687 target: "right_padding";
688 after: "hidefinished";
691 name: "hidefinished";
692 action: SIGNAL_EMIT "elm,action,hide,finished" "";
696 ///////////////////////////////////////////////////////////////////////////////
698 name: "elm/ctxpopup/layout/more/default";
699 max: CTXPOPUP_MORE_WIDTH_MAX_INC ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*7)+CTXPOPUP_SHADOW_TOP_PADDING+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*12));
706 state: "default" 0.0;
707 min: 0 CTXPOPUP_MOVE_PAD_INC;
711 rel1.relative: 0.0 0.0;
712 rel2.relative: 1.0 0.0;
715 state: "show_up" 0.0;
716 inherit: "default" 0.0;
719 state: "visible" 0.0;
720 inherit: "default" 0.0;
725 name:"bottom_padding";
729 state: "default" 0.0;
730 min: 0 CTXPOPUP_MOVE_PAD_INC;
734 rel1.relative: 0.0 1.0;
735 rel2.relative: 1.0 1.0;
738 state: "show_down" 0.0;
739 inherit: "default" 0.0;
742 state: "visible" 0.0;
743 inherit: "default" 0.0;
752 state: "default" 0.0;
753 min: CTXPOPUP_MOVE_PAD_INC 0;
757 rel1.relative: 0.0 0.0;
758 rel2.relative: 0.0 1.0;
761 state: "show_left" 0.0;
762 inherit: "default" 0.0;
765 state: "visible" 0.0;
766 inherit: "default" 0.0;
771 name:"right_padding";
775 state: "default" 0.0;
776 min: CTXPOPUP_MOVE_PAD_INC 0;
780 rel1.relative: 1.0 0.0;
781 rel2.relative: 1.0 1.0;
784 state: "show_right" 0.0;
785 inherit: "default" 0.0;
788 state: "visible" 0.0;
789 inherit: "default" 0.0;
796 clip_to: "layout_clip";
799 state: "default" 0.0;
803 state: "show_up" 0.0;
804 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
805 rel2 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
809 state: "show_down" 0.0;
810 rel1 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
811 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
815 state: "show_left" 0.0;
816 rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
817 rel2 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
821 state: "show_right" 0.0;
822 rel1 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
823 rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
832 state: "default" 0.0;
833 color: 255 255 255 0;
834 rel1 {to: "swallow"; relative: -0.2 -0.2; }
835 rel2 {to: "swallow"; relative: 1.2 1.2;}
838 state: "show_up" 0.0;
839 inherit: "default" 0.0;
842 state: "show_down" 0.0;
843 inherit: "default" 0.0;
846 state: "show_left" 0.0;
847 inherit: "default" 0.0;
850 state: "show_right" 0.0;
851 inherit: "default" 0.0;
854 state: "visible" 0.0;
855 inherit: "default" 0.0;
856 color: 255 255 255 255;
863 signal: "elm,state,show,up";
865 action: STATE_SET "show_up" 0.0;
867 target: "top_padding";
868 target: "layout_clip";
873 signal: "elm,state,show,down";
875 action: STATE_SET "show_down" 0.0;
877 target: "bottom_padding";
878 target: "layout_clip";
879 after: "showdownend";
883 signal: "elm,state,show,left";
885 action: STATE_SET "show_left" 0.0;
887 target: "left_padding";
888 target: "layout_clip";
889 after: "showleftend";
893 signal: "elm,state,show,right";
895 action: STATE_SET "show_right" 0.0;
897 target: "right_padding";
898 target: "layout_clip";
899 after: "showrightend";
903 action: STATE_SET "visible" 0.0;
904 transition: SIN_FAC 0.33 1.1;
905 target: "top_padding";
906 target: "layout_clip";
910 action: STATE_SET "visible" 0.0;
911 transition: SIN_FAC 0.33 1.1;
912 target: "bottom_padding";
913 target: "layout_clip";
917 action: STATE_SET "visible" 0.0;
918 transition: SIN_FAC 0.33 1.1;
919 target: "left_padding";
920 target: "layout_clip";
923 name: "showrightend";
924 action: STATE_SET "visible" 0.0;
925 transition: SIN_FAC 0.33 1.1;
926 target: "right_padding";
927 target: "layout_clip";
931 signal: "elm,state,hide,up";
933 action: STATE_SET "show_up" 0.0;
935 target: "top_padding";
936 transition: SIN_FAC 0.33 1.1;
941 signal: "elm,state,hide,down";
943 action: STATE_SET "show_down" 0.0;
945 target: "bottom_padding";
946 transition: SIN_FAC 0.33 1.1;
951 signal: "elm,state,hide,left";
953 action: STATE_SET "show_left" 0.0;
955 target: "left_padding";
956 transition: SIN_FAC 0.33 1.1;
961 signal: "elm,state,hide,right";
963 action: STATE_SET "show_right" 0.0;
965 target: "right_padding";
966 transition: SIN_FAC 0.33 1.1;
971 signal: "elm,state,hide,up";
973 action: STATE_SET "default" 0.0;
974 target: "layout_clip";
975 transition: SIN_FAC 0.33 1.1;
979 name: "hidedown_clip";
980 signal: "elm,state,hide,down";
982 action: STATE_SET "default" 0.0;
983 target: "layout_clip";
984 transition: SIN_FAC 0.33 1.1;
988 name: "hideleft_clip";
989 signal: "elm,state,hide,left";
991 action: STATE_SET "default" 0.0;
992 target: "layout_clip";
993 transition: SIN_FAC 0.33 1.1;
997 name: "hideright_clip";
998 signal: "elm,state,hide,right";
1000 action: STATE_SET "default" 0.0;
1001 target: "layout_clip";
1002 transition: SIN_FAC 0.33 1.1;
1003 after: "be_default";
1007 action: STATE_SET "default" 0.0;
1009 target: "top_padding";
1010 target: "bottom_padding";
1011 target: "left_padding";
1012 target: "right_padding";
1013 after: "hidefinished";
1016 name: "hidefinished";
1017 action: SIGNAL_EMIT "elm,action,hide,finished" "";
1021 ///////////////////////////////////////////////////////////////////////////////
1023 name: "elm/ctxpopup/layout/landscape/more/default";
1024 inherit: "elm/ctxpopup/layout/landscape/default";
1025 max: CTXPOPUP_MORE_WIDTH_LANDSCAPE_MAX_INC ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*5)+CTXPOPUP_SHADOW_TOP_PADDING+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*8));
1027 ///////////////////////////////////////////////////////////////////////////////
1029 name: "elm/scroller/base/ctxpopup";
1030 alias: "elm/scroller/base/more/default";
1032 public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
1033 public timer0(val) {
1035 v = get_int(sbvis_v);
1037 v = get_int(sbalways_v);
1039 emit("do-hide-vbar", "");
1040 set_int(sbvis_v, 0);
1043 v = get_int(sbvis_h);
1045 v = get_int(sbalways_h);
1047 emit("do-hide-hbar", "");
1048 set_int(sbvis_h, 0);
1051 set_int(sbvis_timer, 0);
1056 image: "00_popup_scroll_v.png" COMP;
1057 image: "00_popup_scroll_h.png" COMP;
1066 state: "default" 0.0;
1070 name: "elm.swallow.content";
1075 state: "default" 0.0;
1080 name: "sb_vbar_clip_master";
1084 state: "default" 0.0;
1087 state: "hidden" 0.0;
1089 color: 255 255 255 0;
1093 name: "sb_vbar_clip";
1094 clip_to:"sb_vbar_clip_master";
1099 state: "default" 0.0;
1101 rel2{ to:"clipper"; relative: 1.0 1.0;}
1104 state: "hidden" 0.0;
1106 color: 255 255 255 0;
1110 name: "sb_vbar_padding";
1115 state: "default" 0.0;
1117 min: (CTXPOPUP_SCROLLER_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH) 0;
1118 max: (CTXPOPUP_SCROLLER_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH) 0;
1121 rel1 { to:"clipper"; relative: 1.0 0.0; }
1122 rel2 { to:"clipper"; relative: 1.0 1.0; }
1131 state: "default" 0.0;
1135 rel1 { to_x:"sb_vbar_padding"; to_y:"clipper"; relative: 0.0 0.0; }
1136 rel2 { to_x:"sb_vbar_padding"; to_y:"clipper"; relative: 0.0 1.0; }
1140 name: "elm.dragable.vbar";
1141 clip_to: "sb_vbar_clip";
1150 state: "default" 0.0;
1152 min: CTXPOPUP_SCROLLER_V_MIN_SIZE_INC;
1162 normal: "00_popup_scroll_v.png";
1169 name: "sb_hbar_clip_master";
1173 state: "default" 0.0;
1176 state: "hidden" 0.0;
1178 color: 255 255 255 0;
1182 name: "sb_hbar_clip";
1183 clip_to: "sb_hbar_clip_master";
1188 state: "default" 0.0;
1190 rel2{ to:"clipper"; relative: 1.0 1.0;}
1193 state: "hidden" 0.0;
1195 color: 255 255 255 0;
1199 name: "sb_hbar_padding";
1204 state: "default" 0.0;
1206 min: 0 (CTXPOPUP_SCROLLER_PADDING-CTXPOPUP_CONTENT_PADDING_HEIGHT);
1207 max: 0 (CTXPOPUP_SCROLLER_PADDING-CTXPOPUP_CONTENT_PADDING_HEIGHT);
1210 rel1 { to:"clipper"; relative: 0.0 1.0; }
1211 rel2 { to:"clipper"; relative: 1.0 1.0; }
1220 state: "default" 0.0;
1224 rel1 {to_x:"clipper"; to_y: "sb_hbar_padding"; relative: 0.0 0.0;}
1225 rel2 {to_x:"clipper"; to_y: "sb_hbar_padding"; relative: 1.0 0.0;}
1229 name: "elm.dragable.hbar";
1230 clip_to: "sb_hbar_clip";
1239 state: "default" 0.0;
1241 min: CTXPOPUP_SCROLLER_H_MIN_SIZE_INC;
1242 rel1 {relative: 0.5 0.5; to: "sb_hbar";}
1243 rel2 {relative: 0.5 0.5; to: "sb_hbar";}
1245 normal: "00_popup_scroll_h.png";
1258 set_state(PART:"sb_vbar_clip", "hidden", 0.0);
1259 set_state(PART:"sb_hbar_clip", "hidden", 0.0);
1260 set_int(sbvis_v, 0);
1261 set_int(sbvis_h, 0);
1262 set_int(sbalways_v, 0);
1263 set_int(sbalways_h, 0);
1264 set_int(sbvis_timer, 0);
1265 emit("reload", "elm");
1270 signal: "elm,action,show,vbar";
1272 action: STATE_SET "default" 0.0;
1273 target: "sb_vbar_clip_master";
1277 signal: "elm,action,hide,vbar";
1279 action: STATE_SET "hidden" 0.0;
1280 target: "sb_vbar_clip_master";
1283 name: "vbar_show_always";
1284 signal: "elm,action,show_always,vbar";
1288 v = get_int(sbvis_v);
1289 v |= get_int(sbalways_v);
1291 set_int(sbalways_v, 1);
1292 emit("do-show-vbar", "");
1293 set_int(sbvis_v, 1);
1298 name: "vbar_show_notalways";
1299 signal: "elm,action,show_notalways,vbar";
1303 v = get_int(sbalways_v);
1305 set_int(sbalways_v, 0);
1306 v = get_int(sbvis_v);
1308 emit("do-hide-vbar", "");
1309 set_int(sbvis_v, 0);
1315 name: "sb_vbar_show";
1316 signal: "do-show-vbar";
1318 action: STATE_SET "default" 0.0;
1319 transition: LINEAR 1.0;
1320 target: "sb_vbar_clip";
1323 name: "sb_vbar_hide";
1324 signal: "do-hide-vbar";
1326 action: STATE_SET "hidden" 0.0;
1327 transition: LINEAR 1.0;
1328 target: "sb_vbar_clip";
1332 signal: "elm,action,show,hbar";
1334 action: STATE_SET "default" 0.0;
1335 target: "sb_hbar_clip_master";
1339 signal: "elm,action,hide,hbar";
1341 action: STATE_SET "hidden" 0.0;
1342 target: "sb_hbar_clip_master";
1345 name: "hbar_show_always";
1346 signal: "elm,action,show_always,hbar";
1350 v = get_int(sbvis_h);
1351 v |= get_int(sbalways_h);
1353 set_int(sbalways_h, 1);
1354 emit("do-show-hbar", "");
1355 set_int(sbvis_h, 1);
1360 name: "hbar_show_notalways";
1361 signal: "elm,action,show_notalways,hbar";
1365 v = get_int(sbalways_h);
1367 set_int(sbalways_h, 0);
1368 v = get_int(sbvis_h);
1370 emit("do-hide-hbar", "");
1371 set_int(sbvis_h, 0);
1377 name: "sb_hbar_show";
1378 signal: "do-show-hbar";
1380 action: STATE_SET "default" 0.0;
1381 transition: LINEAR 1.0;
1382 target: "sb_hbar_clip";
1385 name: "sb_hbar_hide";
1386 signal: "do-hide-hbar";
1388 action: STATE_SET "hidden" 0.0;
1389 transition: LINEAR 1.0;
1390 target: "sb_hbar_clip";
1394 signal: "elm,action,scroll";
1396 action: STATE_SET "default" 0.0;
1399 v = get_int(sbvis_v);
1400 v |= get_int(sbalways_v);
1402 emit("do-show-vbar", "");
1403 set_int(sbvis_v, 1);
1405 v = get_int(sbvis_h);
1406 v |= get_int(sbalways_h);
1408 emit("do-show-hbar", "");
1409 set_int(sbvis_h, 1);
1411 v = get_int(sbvis_timer);
1412 if (v > 0) cancel_timer(v);
1413 v = timer(2.0, "timer0", 0);
1414 set_int(sbvis_timer, v);
1417 program { name: "show";
1422 emit("do-show-vbar", "");
1423 set_int(sbvis_v, 1);
1424 v = get_int(sbalways_v);
1426 v = get_int(sbvis_timer);
1427 if (v > 0) cancel_timer(v);
1428 v = timer(1.0, "timer0", 0);
1429 set_int(sbvis_timer, v);
1431 emit("do-show-hbar", "");
1432 set_int(sbvis_h, 1);
1433 v = get_int(sbalways_h);
1435 v = get_int(sbvis_timer);
1436 if (v > 0) cancel_timer(v);
1437 v = timer(1.0, "timer0", 0);
1438 set_int(sbvis_timer, v);
1444 ///////////////////////////////////////////////////////////////////////////////
1446 name: "elm/ctxpopup/bg/timepicker";
1447 alias: "elm/ctxpopup/bg/datetime/default";
1454 state: "default" 0.0;
1458 state: "visible" 0.0;
1466 name: "clicked_event";
1467 signal: "mouse,clicked,1";
1469 action: SIGNAL_EMIT "elm,action,click" "";
1473 signal: "elm,state,show";
1475 action: STATE_SET "visible" 0.0;
1480 signal: "elm,state,hide";
1482 action: STATE_SET "default" 0.0;
1487 ///////////////////////////////////////////////////////////////////////////////
1489 name: "elm/ctxpopup/bg/default";
1496 state: "default" 0.0;
1500 state: "visible" 0.0;
1510 name: "clicked_event";
1511 signal: "mouse,clicked,1";
1513 action: SIGNAL_EMIT "elm,action,click" "";
1517 signal: "elm,state,show";
1519 action: STATE_SET "visible" 0.0;
1524 signal: "elm,state,hide";
1526 action: STATE_SET "default" 0.0;
1533 name: "elm/ctxpopup/bg/copypaste";
1534 inherit: "elm/ctxpopup/bg/default";
1543 ///////////////////////////////////////////////////////////////////////////////
1545 name: "elm/ctxpopup/base/default";
1546 alias: "elm/ctxpopup/base/copypaste";
1548 image: "00_popup_bubble_bg.png" COMP;
1552 name:"frame_shadow_left_top_padding";
1557 state: "default" 0.0;
1558 min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
1559 max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
1560 rel2 { relative: 0 0; }
1567 name:"frame_shadow_right_bottom_padding";
1572 state: "default" 0.0;
1573 min: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
1574 max: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
1575 rel1{relative: 1 1;}
1587 state: "default" 0.0;
1588 rel1 {to:"frame_shadow_left_top_padding";}
1589 rel2 {to:"frame_shadow_right_bottom_padding";}
1590 min: (CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC + CTXPOPUP_SHADOW_LEFT_PADDING + CTXPOPUP_SHADOW_RIGHT_PADDING) 0;
1592 normal: "00_popup_bubble_bg.png";
1593 border: CTXPOPUP_BUBBLE_BG_IMAGE_BORDER;
1598 part { name: "arrow_area_left";
1602 description { state: "default" 0.0;
1604 min: CTXPOPUP_ARROW_SIZE_INC;
1609 to_x:"arrow_left_top_padding";
1610 to_y: "ctxpopup_frame_left_top";
1614 to_x:"arrow_left_top_padding";
1615 to_y:"ctxpopup_frame_right_bottom";
1619 part { name: "arrow_area_right";
1623 description { state: "default" 0.0;
1625 min: CTXPOPUP_ARROW_SIZE_INC;
1630 to_x:"arrow_right_bottom_padding";
1631 to_y:"ctxpopup_frame_left_top";
1635 to_x:"arrow_right_bottom_padding";
1636 to_y: "ctxpopup_frame_right_bottom";
1640 part { name: "arrow_area_up";
1644 description { state: "default" 0.0;
1646 min: CTXPOPUP_ARROW_SIZE_INC;
1651 to_x: "ctxpopup_frame_left_top";
1652 to_y: "arrow_left_top_padding";
1656 to_x:"ctxpopup_frame_right_bottom";
1657 to_y: "arrow_left_top_padding";
1661 part { name: "arrow_area_down";
1665 description { state: "default" 0.0;
1667 min: CTXPOPUP_ARROW_SIZE_INC;
1672 to_x:"ctxpopup_frame_left_top";
1673 to_y:"arrow_right_bottom_padding";
1677 to_x: "ctxpopup_frame_right_bottom";
1678 to_y:"arrow_right_bottom_padding";
1682 part { name: "elm.swallow.arrow_up";
1689 confine: "arrow_area_up";
1692 state: "default" 0.0;
1693 min: CTXPOPUP_ARROW_SIZE_INC;
1698 part { name: "elm.swallow.arrow_down";
1705 confine: "arrow_area_down";
1708 state: "default" 0.0;
1709 min: CTXPOPUP_ARROW_SIZE_INC;
1714 part { name: "elm.swallow.arrow_left";
1721 confine: "arrow_area_left";
1724 state: "default" 0.0;
1725 min: CTXPOPUP_ARROW_SIZE_INC;
1730 part { name: "elm.swallow.arrow_right";
1737 confine: "arrow_area_right";
1740 state: "default" 0.0;
1741 min: CTXPOPUP_ARROW_SIZE_INC;
1747 name: "ctxpopup_frame_left_top";
1751 state: "default" 0.0;
1755 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1756 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1757 rel1 {relative: 1 1; to: "frame_shadow_left_top_padding";}
1761 name: "ctxpopup_frame_right_bottom";
1765 state: "default" 0.0;
1769 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1770 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
1771 rel2 {relative: 0 0; to: "frame_shadow_right_bottom_padding";}
1775 name:"content_left_top_padding";
1780 state: "default" 0.0;
1781 min: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT;
1782 max: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT;
1783 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
1790 name:"content_right_bottom_padding";
1795 state: "default" 0.0;
1796 min: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT;
1797 max: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT;
1798 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
1805 name: "arrow_left_top_padding";
1810 state: "default" 0.0;
1811 min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
1812 max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
1813 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
1819 name: "arrow_right_bottom_padding";
1824 state: "default" 0.0;
1825 min: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
1826 max: CTXPOPUP_ARROW_PADDING CTXPOPUP_ARROW_PADDING;
1827 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
1833 name: "elm.swallow.content";
1837 state: "default" 0.0;
1839 rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;}
1840 rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;}
1843 part { name: "access.outline";
1847 description { state: "default" 0.0;
1849 rel1.to: "frame_bg";
1850 rel2.to: "frame_bg";
1857 ///////////////////////////////////////////////////////////////////////////////
1858 group { name: "elm/ctxpopup/arrow/default";
1860 image: "00_popup_bubble_tail_left.png" COMP;
1861 image: "00_popup_bubble_tail_right.png" COMP;
1862 image: "00_popup_bubble_tail_top.png" COMP;
1863 image: "00_popup_bubble_tail_bottom.png" COMP;
1867 name: "ctxpopup_arrow";
1871 state: "default" 0.0;
1872 min: CTXPOPUP_ARROW_SIZE_INC;
1873 max: CTXPOPUP_ARROW_SIZE_INC;
1880 min: CTXPOPUP_ARROW_SIZE_INC;
1881 max: CTXPOPUP_ARROW_SIZE_INC;
1885 normal: "00_popup_bubble_tail_left.png";
1890 min: CTXPOPUP_ARROW_SIZE_INC;
1891 max: CTXPOPUP_ARROW_SIZE_INC;
1895 normal: "00_popup_bubble_tail_right.png";
1900 min: CTXPOPUP_ARROW_SIZE_INC;
1901 max: CTXPOPUP_ARROW_SIZE_INC;
1905 normal: "00_popup_bubble_tail_top.png";
1909 state: "bottom" 0.0;
1910 min: CTXPOPUP_ARROW_SIZE_INC;
1911 max: CTXPOPUP_ARROW_SIZE_INC;
1915 normal: "00_popup_bubble_tail_bottom.png";
1922 name: "enable_left_arrow";
1923 signal: "elm,state,left";
1925 action: STATE_SET "left" 0.0;
1926 target: "ctxpopup_arrow";
1929 name: "enable_right_arrow";
1930 signal: "elm,state,right";
1932 action: STATE_SET "right" 0.0;
1933 target: "ctxpopup_arrow";
1936 name: "enable_top_arrow";
1937 signal: "elm,state,top";
1939 action: STATE_SET "top" 0.0;
1940 target: "ctxpopup_arrow";
1943 name: "enable_bottom_arrow";
1944 signal: "elm,state,bottom";
1946 action: STATE_SET "bottom" 0.0;
1947 target: "ctxpopup_arrow";
1951 ///////////////////////////////////////////////////////////////////////////////
1953 name: "elm/ctxpopup/text_style_item/default";
1956 image: "00_more_popup_press.png" COMP;
1959 data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC;
1963 name: "event_blocker";
1967 state: "default" 0.0;
1977 state: "default" 0.0;
1979 min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) 1;
1980 max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
1983 state: "clicked" 0.0;
1984 rel1 {to_x: "bg_press_left_padding"; to_y: "bg_press_top_padding"; relative: 1.0 1.0;}
1985 rel2 {to_x: "bg_press_right_padding"; to_y: "bg_press_bottom_padding"; relative: 0.0 0.0;}
1988 normal: "00_more_popup_press.png";
1989 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
1995 name: "bg_press_left_padding";
2000 state: "default" 0.0;
2002 min: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2003 max: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2008 name: "bg_press_right_padding";
2013 state: "default" 0.0;
2015 min: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2016 max: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2021 name: "bg_press_top_padding";
2026 state: "default" 0.0;
2028 min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
2029 max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
2030 rel1 {to: "separator2"; relative: 0.0 1.0;}
2035 name: "bg_press_bottom_padding";
2040 state: "default" 0.0;
2042 min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
2043 max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
2053 state: "default" 0.0;
2054 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2055 rel1 { relative: 0.0 0.0; }
2056 rel2 { relative: 1.0 1.0; }
2058 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2059 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2063 state: "visible" 0.0;
2064 inherit: "default" 0.0;
2074 state: "default" 0.0;
2075 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2076 rel1 { relative: 0.0 1.0; to: "separator1";}
2077 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
2080 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2081 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2085 state: "visible" 0.0;
2086 inherit: "default" 0.0;
2091 name: "left_padding";
2096 state: "default" 0.0;
2097 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2098 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2110 state: "default" 0.0;
2111 min: 1 CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2113 rel1 {relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg";}
2114 rel2 {relative: 0.0 1.0; to_x: "right_padding"; to_y: "bg";}
2115 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
2117 font: "Tizen:style=Regular";
2118 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
2119 size_range: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC;
2122 text_class: "list_item";
2126 state: "clicked" 0.0;
2127 inherit: "default" 0.0;
2128 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
2132 state: "disabled" 0.0;
2133 inherit: "default" 0.0;
2134 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
2137 state: "ellipsis" 0.0;
2138 inherit: "default" 0.0;
2139 min: CTXPOPUP_TEXT_MAX_INC CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2143 state: "ellipsis_disabled" 0.0;
2144 inherit: "ellipsis" 0.0;
2145 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
2149 name: "right_padding";
2154 state: "default" 0.0;
2156 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2157 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2168 state: "default" 0.0;
2182 state: "default" 0.0;
2192 state: "default" 0.0;
2196 state: "disabled" 0.0;
2198 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2204 name: "text_ellipsis";
2205 signal: "elm,state,text,ellipsis";
2207 action: STATE_SET "ellipsis" 0.0;
2211 name: "item_unclick";
2212 signal: "mouse,clicked,1";
2214 action: SIGNAL_EMIT "elm,action,click" "";
2219 action: PLAY_SAMPLE "touch_sound" 1.0;
2223 signal: "elm,state,disabled";
2228 get_state(PART:"elm.text", st, 30, vl);
2229 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
2230 set_state(PART:"elm.text", "ellipsis_disabled", 0.0);
2232 set_state(PART:"elm.text", "disabled", 0.0);
2234 set_state(PART:"disclip", "disabled", 0.0);
2239 signal: "elm,state,enabled";
2244 get_state(PART:"elm.text", st, 30, vl);
2245 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
2246 set_state(PART:"elm.text", "ellipsis", 0.0);
2248 set_state(PART:"elm.text", "default", 0.0);
2250 set_state(PART:"disclip", "default", 0.0);
2255 signal: "elm,state,default";
2258 set_state(PART:"separator1", "default", 0.0);
2259 set_state(PART:"separator2", "default", 0.0);
2264 signal: "elm,state,separator";
2267 set_state(PART:"separator1", "visible", 0.0);
2268 set_state(PART:"separator2", "visible", 0.0);
2272 name: "item_click2";
2273 signal: "mouse,down,1";
2276 set_state(PART:"elm.text", "clicked", 0.0);
2277 set_state(PART:"bg", "clicked", 0.0);
2285 new Float:dx, Float:dy;
2286 get_drag(PART:"over2", dx, dy);
2287 if ((abs(dx) > 20) || (abs(dy) > 20)) {
2288 set_drag(PART:"over2", 0.0, 0.0);
2289 set_state(PART:"bg", "default", 0.0);
2291 set_drag(PART:"over2", 0.0, 0.0);
2295 name: "item_unclick2";
2296 signal: "mouse,up,1";
2299 set_drag(PART:"over2", 0.0, 0.0);
2300 set_state(PART:"bg", "default", 0.0);
2305 ///////////////////////////////////////////////////////////////////////////////
2307 name: "elm/ctxpopup/text_style_item_horizontal/default";
2310 image: "00_more_popup_press.png" COMP;
2315 name: "event_blocker";
2319 state: "default" 0.0;
2329 state: "default" 0.0;
2331 min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2334 state: "clicked" 0.0;
2336 rel1 {to_x: "bg_press_left_padding"; to_y: "bg_press_top_padding"; relative: 1.0 1.0;}
2337 rel2 {to_x: "bg_press_right_padding"; to_y: "bg_press_bottom_padding"; relative: 0.0 0.0;}
2339 normal: "00_more_popup_press.png";
2340 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2346 name: "bg_press_left_padding";
2351 state: "default" 0.0;
2353 min: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2354 max: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2355 rel1 {to: "separator2"; relative: 1.0 0.0;}
2360 name: "bg_press_right_padding";
2365 state: "default" 0.0;
2367 min: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2368 max: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2373 name: "bg_press_top_padding";
2378 state: "default" 0.0;
2380 min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING;
2381 max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING;
2386 name: "bg_press_bottom_padding";
2391 state: "default" 0.0;
2393 min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING;
2394 max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING;
2404 state: "default" 0.0;
2405 color: CTXPOPUP_HORIZONTAL_SEPARATOR_1_COLOR_INC;
2407 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2408 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2412 state: "visible" 0.0;
2413 inherit: "default" 0.0;
2423 state: "default" 0.0;
2424 color: CTXPOPUP_HORIZONTAL_SEPARATOR_2_COLOR_INC;
2425 rel1 { relative: 1.0 0.0; to: "separator1"; to_y: "bg";}
2427 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2428 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2432 state: "visible" 0.0;
2433 inherit: "default" 0.0;
2438 name: "left_padding";
2443 state: "default" 0.0;
2444 min: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2445 max: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2458 state: "default" 0.0;
2459 min: (CTXPOPUP_TEXT_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ITEM_ICON_PADDING_INC*2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2461 rel1 {relative: 1.0 0.0; to: "left_padding"; }
2462 rel2 {relative: 0.0 1.0; to: "right_padding"; }
2463 color: CTXPOPUP_MAIN_TEXT_COLOR_INC;
2465 font: "Tizen:style=Regular";
2466 size: CTXPOPUP_MAIN_TEXT_SIZE_INC;
2467 size_range: CTXPOPUP_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC;
2470 text_class: "list_item";
2474 state: "clicked" 0.0;
2475 inherit: "default" 0.0;
2476 color: CTXPOPUP_MAIN_TEXT_PRESS_COLOR_INC;
2479 state: "disabled" 0.0;
2480 inherit: "default" 0.0;
2481 color: CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC;
2485 name: "right_padding";
2490 state: "default" 0.0;
2491 min: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2492 max: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2505 state: "default" 0.0;
2519 state: "default" 0.0;
2529 state: "default" 0.0;
2533 state: "disabled" 0.0;
2535 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2541 name: "item_unclick";
2542 signal: "mouse,clicked,1";
2544 action: SIGNAL_EMIT "elm,action,click" "";
2549 action: PLAY_SAMPLE "touch_sound" 1.0;
2553 signal: "elm,state,disabled";
2556 set_state(PART:"elm.text", "disabled", 0.0);
2557 set_state(PART:"disclip", "disabled", 0.0);
2562 signal: "elm,state,enabled";
2565 set_state(PART:"elm.text", "default", 0.0);
2566 set_state(PART:"disclip", "default", 0.0);
2571 signal: "elm,state,default";
2574 set_state(PART:"separator1", "default", 0.0);
2575 set_state(PART:"separator2", "default", 0.0);
2580 signal: "elm,state,separator";
2583 set_state(PART:"separator1", "visible", 0.0);
2584 set_state(PART:"separator2", "visible", 0.0);
2588 name: "item_click2";
2589 signal: "mouse,down,1";
2592 set_state(PART:"elm.text", "clicked", 0.0);
2593 set_state(PART:"bg", "clicked", 0.0);
2601 new Float:dx, Float:dy;
2602 get_drag(PART:"over2", dx, dy);
2603 if ((abs(dx) > 20) || (abs(dy) > 20)) {
2604 set_drag(PART:"over2", 0.0, 0.0);
2605 set_state(PART:"bg", "default", 0.0);
2607 set_drag(PART:"over2", 0.0, 0.0);
2611 name: "item_unclick2";
2612 signal: "mouse,up,1";
2615 set_drag(PART:"over2", 0.0, 0.0);
2616 set_state(PART:"bg", "default", 0.0);
2621 ///////////////////////////////////////////////////////////////////////////////
2623 name: "elm/ctxpopup/icon_style_item/default";
2626 image: "00_more_popup_press.png" COMP;
2631 name: "event_blocker";
2635 state: "default" 0.0;
2645 state: "default" 0.0;
2647 min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2648 max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2651 state: "clicked" 0.0;
2653 rel1 {to_x: "bg_press_left_padding"; to_y: "bg_press_top_padding"; relative: 1.0 1.0;}
2654 rel2 {to_x: "bg_press_right_padding"; to_y: "bg_press_bottom_padding"; relative: 0.0 0.0;}
2656 normal: "00_more_popup_press.png";
2657 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2663 name: "bg_press_left_padding";
2668 state: "default" 0.0;
2670 min: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2671 max: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2672 rel1 {to: "separator2"; relative: 1.0 0.0;}
2677 name: "bg_press_right_padding";
2682 state: "default" 0.0;
2684 min: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2685 max: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2690 name: "bg_press_top_padding";
2695 state: "default" 0.0;
2697 min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING;
2698 max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING;
2703 name: "bg_press_bottom_padding";
2708 state: "default" 0.0;
2710 min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING;
2711 max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING;
2716 name: "left_padding";
2719 min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2720 max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2732 state: "default" 0.0;
2733 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2735 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2736 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2740 state: "visible" 0.0;
2741 inherit: "default" 0.0;
2751 state: "default" 0.0;
2752 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2753 rel1 { relative: 1.0 0.0; to_x: "separator1"; }
2755 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2756 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2760 state: "visible" 0.0;
2761 inherit: "default" 0.0;
2766 name: "elm.swallow.icon";
2768 clip_to: "icon_clip";
2771 state: "default" 0.0;
2772 min: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC;
2773 max: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC;
2776 rel1 { relative: 1 0; to_x: "left_padding"; }
2777 rel2 { relative: 0 1; to_x: "right_padding"; }
2785 state: "default" 0.0;
2786 rel1.to: "elm.swallow.icon";
2787 rel2.to: "elm.swallow.icon";
2788 color: CTXPOPUP_ICON_CLIP_DEFAULT_COLOR_INC;
2791 state: "disabled" 0.0;
2792 inherit: "default" 0.0;
2793 color: CTXPOPUP_ICON_CLIP_DIM_COLOR_INC;
2797 name: "right_padding";
2800 min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2801 max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2813 state: "default" 0.0;
2827 state: "default" 0.0;
2837 state: "default" 0.0;
2841 state: "disabled" 0.0;
2843 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2850 signal: "elm,state,default";
2853 set_state(PART:"separator1", "default", 0.0);
2854 set_state(PART:"separator2", "default", 0.0);
2859 signal: "elm,state,separator";
2862 set_state(PART:"separator1", "visible", 0.0);
2863 set_state(PART:"separator2", "visible", 0.0);
2867 name: "item_unclick";
2868 signal: "mouse,clicked,1";
2870 action: SIGNAL_EMIT "elm,action,click" "";
2875 action: PLAY_SAMPLE "touch_sound" 1.0;
2879 signal: "elm,state,disabled";
2881 action: STATE_SET "disabled" 0.0;
2883 target: "icon_clip";
2887 signal: "elm,state,enabled";
2889 action: STATE_SET "default" 0.0;
2891 target: "icon_clip";
2894 name: "item_click2";
2895 signal: "mouse,down,1";
2898 set_state(PART:"bg", "clicked", 0.0);
2906 new Float:dx, Float:dy;
2907 get_drag(PART:"over2", dx, dy);
2908 if ((abs(dx) > 20) || (abs(dy) > 20)) {
2909 set_drag(PART:"over2", 0.0, 0.0);
2910 set_state(PART:"bg", "default", 0.0);
2912 set_drag(PART:"over2", 0.0, 0.0);
2916 name: "item_unclick2";
2917 signal: "mouse,up,1";
2920 set_drag(PART:"over2", 0.0, 0.0);
2921 set_state(PART:"bg", "default", 0.0);
2926 ///////////////////////////////////////////////////////////////////////////////
2928 name: "elm/ctxpopup/icon_text_style_item/default";
2931 image: "00_more_popup_press.png" COMP;
2934 data.item: "item_max_size" CTXPOPUP_ICON_TEXT_MAX_INC;
2938 name: "event_blocker";
2942 state: "default" 0.0;
2951 state: "default" 0.0;
2953 min: CTXPOPUP_WIDTH_MIN_INC 1;
2954 max: CTXPOPUP_WIDTH_MAX_INC CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2957 state: "clicked" 0.0;
2958 rel1 {to_x: "bg_press_left_padding"; to_y: "bg_press_top_padding"; relative: 1.0 1.0;}
2959 rel2 {to_x: "bg_press_right_padding"; to_y: "bg_press_bottom_padding"; relative: 0.0 0.0;}
2962 normal: "00_more_popup_press.png";
2963 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2969 name: "bg_press_left_padding";
2974 state: "default" 0.0;
2976 min: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2977 max: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2982 name: "bg_press_right_padding";
2987 state: "default" 0.0;
2989 min: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2990 max: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2995 name: "bg_press_top_padding";
3000 state: "default" 0.0;
3002 min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
3003 max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
3004 rel1 {to: "separator2"; relative: 0.0 1.0;}
3009 name: "bg_press_bottom_padding";
3014 state: "default" 0.0;
3016 min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
3017 max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
3022 name: "icon_left_padding";
3026 state: "default" 0.0;
3027 min: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3028 max: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
3040 state: "default" 0.0;
3041 color: CTXPOPUP_SEPARATOR_COLOR_INC;
3042 rel1 { relative: 0.0 0.0; }
3043 rel2 { relative: 1.0 1.0; }
3045 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3046 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3050 state: "visible" 0.0;
3051 inherit: "default" 0.0;
3061 state: "default" 0.0;
3062 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
3063 rel1 { relative: 0.0 1.0; to: "separator1";}
3064 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
3067 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3068 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3072 state: "visible" 0.0;
3073 inherit: "default" 0.0;
3078 name: "elm.swallow.icon";
3080 clip_to: "icon_clip";
3083 state: "default" 0.0;
3084 min: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
3085 max: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
3088 rel1 { to:"icon_left_padding"; relative: 1 0; }
3096 state: "default" 0.0;
3097 rel1.to: "elm.swallow.icon";
3098 rel2.to: "elm.swallow.icon";
3099 color: CTXPOPUP_ICON_CLIP_DEFAULT_COLOR_INC;
3102 state: "disabled" 0.0;
3103 inherit: "default" 0.0;
3104 color: CTXPOPUP_ICON_CLIP_DIM_COLOR_INC;
3108 name: "icon_right_padding";
3112 state: "default" 0.0;
3113 min: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3114 max: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_HEIGHT_MAX_INC;
3118 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
3127 state: "default" 0.0;
3128 min: 1 CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3130 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";}
3131 rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";}
3132 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
3134 font: "Tizen:style=Regular";
3135 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
3136 size_range: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC;
3139 text_class: "list_item";
3143 state: "clicked" 0.0;
3144 inherit: "default" 0.0;
3145 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
3149 state: "disabled" 0.0;
3150 inherit: "default" 0.0;
3151 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3154 state: "ellipsis" 0.0;
3155 inherit: "default" 0.0;
3156 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;
3160 state: "ellipsis_disabled" 0.0;
3161 inherit: "ellipsis" 0.0;
3162 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3166 name: "text_right_padding";
3171 state: "default" 0.0;
3173 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3174 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
3185 state: "default" 0.0;
3199 state: "default" 0.0;
3209 state: "default" 0.0;
3213 state: "disabled" 0.0;
3215 color: CTXPOPUP_ITEM_DISABLED_COLOR;
3221 name: "text_ellipsis";
3222 signal: "elm,state,text,ellipsis";
3224 action: STATE_SET "ellipsis" 0.0;
3228 name: "item_unclick";
3229 signal: "mouse,clicked,1";
3231 action: SIGNAL_EMIT "elm,action,click" "";
3236 action: PLAY_SAMPLE "touch_sound" 1.0;
3240 signal: "elm,state,disabled";
3245 get_state(PART:"elm.text", st, 30, vl);
3246 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
3247 set_state(PART:"elm.text", "ellipsis_disabled", 0.0);
3249 set_state(PART:"elm.text", "disabled", 0.0);
3250 set_state(PART:"icon_clip", "disabled", 0.0);
3251 set_state(PART:"disclip", "disabled", 0.0);
3256 signal: "elm,state,enabled";
3261 get_state(PART:"elm.text", st, 30, vl);
3262 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
3263 set_state(PART:"elm.text", "ellipsis", 0.0);
3265 set_state(PART:"elm.text", "default", 0.0);
3266 set_state(PART:"icon_clip", "default", 0.0);
3267 set_state(PART:"disclip", "default", 0.0);
3272 signal: "elm,state,default";
3275 set_state(PART:"separator1", "default", 0.0);
3276 set_state(PART:"separator2", "default", 0.0);
3281 signal: "elm,state,separator";
3284 set_state(PART:"separator1", "visible", 0.0);
3285 set_state(PART:"separator2", "visible", 0.0);
3289 name: "item_click2";
3290 signal: "mouse,down,1";
3293 set_state(PART:"elm.text", "clicked", 0.0);
3294 set_state(PART:"bg", "clicked", 0.0);
3302 new Float:dx, Float:dy;
3303 get_drag(PART:"over2", dx, dy);
3304 if ((abs(dx) > 20) || (abs(dy) > 20)) {
3305 set_drag(PART:"over2", 0.0, 0.0);
3306 set_state(PART:"bg", "default", 0.0);
3308 set_drag(PART:"over2", 0.0, 0.0);
3312 name: "item_unclick2";
3313 signal: "mouse,up,1";
3316 set_drag(PART:"over2", 0.0, 0.0);
3317 set_state(PART:"bg", "default", 0.0);
3323 ///////////////////////////////////////////////////////////////////////////////
3325 name: "elm/ctxpopup/base/more/default";
3327 image: "00_popup_bubble_02_bg.png" COMP;
3331 name:"frame_shadow_left_top_padding";
3336 state: "default" 0.0;
3337 min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
3338 max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
3339 rel2 { relative: 0 0; }
3346 name:"frame_shadow_right_bottom_padding";
3351 state: "default" 0.0;
3352 min: CTXPOPUP_SHADOW_RIGHT_PADDING 0;
3353 max: CTXPOPUP_SHADOW_RIGHT_PADDING 0;
3354 rel1{relative: 1 1;}
3366 state: "default" 0.0;
3367 rel1 {to:"frame_shadow_left_top_padding";}
3368 rel2 {to:"frame_shadow_right_bottom_padding";}
3369 min: CTXPOPUP_MORE_WIDTH_MIN_INC 0;
3371 normal: "00_popup_bubble_02_bg.png";
3372 border: CTXPOPUP_BUBBLE_MORE_BG_IMAGE_BORDER;
3378 name:"content_left_top_padding";
3383 state: "default" 0.0;
3384 min: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT;
3385 max: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT;
3386 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
3393 name:"content_right_bottom_padding";
3398 state: "default" 0.0;
3399 min: CTXPOPUP_CONTENT_PADDING_WIDTH 0;
3400 max: CTXPOPUP_CONTENT_PADDING_WIDTH 0;
3401 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
3408 name: "elm.swallow.content";
3411 state: "default" 0.0;
3413 rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;}
3414 rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;}
3417 part { name: "access.outline";
3420 description { state: "default" 0.0;
3422 rel1.to: "frame_bg";
3423 rel2.to: "frame_bg";
3429 ///////////////////////////////////////////////////////////////////////////////
3431 name: "elm/ctxpopup/icon_text_style_item/more/default";
3434 image: "00_more_popup_press.png" COMP;
3437 data.item: "item_max_size" CTXPOPUP_MORE_TEXT_MAX_INC;
3441 name: "event_blocker";
3445 state: "default" 0.0;
3455 state: "default" 0.0;
3457 min: (CTXPOPUP_MORE_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH*2) 1;
3458 max: (CTXPOPUP_MORE_WIDTH_MAX_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3461 state: "clicked" 0.0;
3462 rel1 {to_x: "bg_press_left_padding"; to_y: "bg_press_top_padding"; relative: 1.0 1.0;}
3463 rel2 {to_x: "bg_press_right_padding"; to_y: "bg_press_bottom_padding"; relative: 0.0 0.0;}
3466 normal: "00_more_popup_press.png";
3467 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
3473 name: "bg_press_left_padding";
3478 state: "default" 0.0;
3480 min: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3481 max: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MAX_INC;
3486 name: "bg_press_right_padding";
3491 state: "default" 0.0;
3493 min: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MIN_INC;
3494 max: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MAX_INC;
3499 name: "bg_press_top_padding";
3504 state: "default" 0.0;
3506 min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
3507 max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
3508 rel1 {to: "separator2"; relative: 0.0 1.0;}
3513 name: "bg_press_bottom_padding";
3518 state: "default" 0.0;
3520 min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
3521 max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
3526 name: "icon_left_padding";
3530 state: "default" 0.0;
3531 min: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3532 max: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3544 state: "default" 0.0;
3545 color: CTXPOPUP_SEPARATOR_COLOR_INC;
3546 rel1 { relative: 0.0 0.0; }
3547 rel2 { relative: 1.0 1.0; }
3550 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3551 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3555 state: "visible" 0.0;
3556 inherit: "default" 0.0;
3566 state: "default" 0.0;
3567 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
3568 rel1 { relative: 0.0 1.0; to: "separator1"; }
3569 rel2.to: "separator1";
3573 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3574 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3578 state: "visible" 0.0;
3579 inherit: "default" 0.0;
3584 name: "elm.swallow.icon";
3586 clip_to: "icon_clip";
3589 state: "default" 0.0;
3590 min: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC;
3591 max: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC;
3594 rel1 { to:"icon_left_padding"; relative: 1 0; }
3602 state: "default" 0.0;
3603 rel1.to: "elm.swallow.icon";
3604 rel2.to: "elm.swallow.icon";
3605 color: CTXPOPUP_ICON_CLIP_DEFAULT_COLOR_INC;
3608 state: "disabled" 0.0;
3609 inherit: "default" 0.0;
3610 color: CTXPOPUP_ICON_CLIP_DIM_COLOR_INC;
3614 name: "icon_right_padding";
3618 state: "default" 0.0;
3619 min: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3620 max: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3624 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
3633 state: "default" 0.0;
3634 min: 1 CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3636 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";}
3637 rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";}
3638 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
3640 font: "Tizen:style=Regular";
3641 size: CTXPOPUP_MORE_ITEM_TEXT_SIZE_INC;
3642 size_range: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC;
3645 text_class: "list_item";
3649 state: "clicked" 0.0;
3650 inherit: "default" 0.0;
3651 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
3655 state: "disabled" 0.0;
3656 inherit: "default" 0.0;
3657 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3660 state: "ellipsis" 0.0;
3661 inherit: "default" 0.0;
3662 min: CTXPOPUP_MORE_TEXT_MAX_INC CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3666 state: "ellipsis_disabled" 0.0;
3667 inherit: "ellipsis" 0.0;
3668 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3672 name: "text_right_padding";
3677 state: "default" 0.0;
3679 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3680 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3691 state: "default" 0.0;
3705 state: "default" 0.0;
3715 state: "default" 0.0;
3719 state: "disabled" 0.0;
3721 color: CTXPOPUP_ITEM_DISABLED_COLOR;
3727 name: "text_ellipsis";
3728 signal: "elm,state,text,ellipsis";
3730 action: STATE_SET "ellipsis" 0.0;
3734 name: "item_unclick";
3735 signal: "mouse,clicked,1";
3737 action: SIGNAL_EMIT "elm,action,click" "";
3742 action: PLAY_SAMPLE "touch_sound" 1.0;
3746 signal: "elm,state,disabled";
3751 get_state(PART:"elm.text", st, 30, vl);
3752 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
3753 set_state(PART:"elm.text", "ellipsis_disabled", 0.0);
3755 set_state(PART:"elm.text", "disabled", 0.0);
3756 set_state(PART:"icon_clip", "disabled", 0.0);
3757 set_state(PART:"disclip", "disabled", 0.0);
3762 signal: "elm,state,enabled";
3767 get_state(PART:"elm.text", st, 30, vl);
3768 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
3769 set_state(PART:"elm.text", "ellipsis", 0.0);
3771 set_state(PART:"elm.text", "default", 0.0);
3772 set_state(PART:"icon_clip", "default", 0.0);
3773 set_state(PART:"disclip", "default", 0.0);
3778 signal: "elm,state,default";
3781 set_state(PART:"separator1", "default", 0.0);
3782 set_state(PART:"separator2", "default", 0.0);
3787 signal: "elm,state,separator";
3790 set_state(PART:"separator1", "visible", 0.0);
3791 set_state(PART:"separator2", "visible", 0.0);
3795 name: "item_click2";
3796 signal: "mouse,down,1";
3799 set_state(PART:"elm.text", "clicked", 0.0);
3800 set_state(PART:"bg", "clicked", 0.0);
3808 new Float:dx, Float:dy;
3809 get_drag(PART:"over2", dx, dy);
3810 if ((abs(dx) > 20) || (abs(dy) > 20)) {
3811 set_drag(PART:"over2", 0.0, 0.0);
3812 set_state(PART:"bg", "default", 0.0);
3814 set_drag(PART:"over2", 0.0, 0.0);
3818 name: "item_unclick2";
3819 signal: "mouse,up,1";
3822 set_drag(PART:"over2", 0.0, 0.0);
3823 set_state(PART:"bg", "default", 0.0);
3828 ///////////////////////////////////////////////////////////////////////////////////////
3829 #define CTXPOPUP_TP_TEXT_WIDTH 32
3830 #define CTXPOPUP_TP_PADDING 15
3831 #define CTXPOPUP_TP_FONT_COLOR 231 173 95 255
3832 #define CTXPOPUP_TP_CLICKED_FONT_COLOR 255 255 255 255
3833 #define CTXPOPUP_TP_FONT_SIZE 24
3834 ///////////////////////////////////////////////////////////////////////////////
3836 name: "elm/ctxpopup/base/datetime/default";
3837 alias: "elm/ctxpopup/base/timepicker";
3840 image: "00_time_picker_number_bg.png" COMP;
3845 name: "ctxpopup_frame";
3849 rel1 {to:"elm.swallow.content";}
3850 rel2 {to:"elm.swallow.content";}
3852 normal: "00_time_picker_number_bg.png";
3853 border: CTXPOPUP_TP_BG_IMAGE_BORDER;
3859 name: "elm.swallow.content";
3863 state: "default" 0.0;
3864 min: 1 CTXPOPUP_TP_HEIGHT_INC;
3867 part { name: "arrow_area_left";
3871 description { state: "default" 0.0;
3878 to_y: "ctxpopup_frame";
3882 to:"ctxpopup_frame";
3886 part { name: "arrow_area_right";
3890 description { state: "default" 0.0;
3897 to:"ctxpopup_frame";
3901 to_y: "ctxpopup_frame";
3905 part { name: "arrow_area_up";
3909 description { state: "default" 0.0;
3916 to_x: "ctxpopup_frame";
3920 to:"ctxpopup_frame";
3924 part { name: "arrow_area_down";
3928 description { state: "default" 0.0;
3935 to:"ctxpopup_frame";
3939 to_x: "ctxpopup_frame";
3943 part { name: "elm.swallow.arrow_up";
3950 confine: "arrow_area_up";
3953 state: "default" 0.0;
3959 part { name: "elm.swallow.arrow_down";
3966 confine: "arrow_area_down";
3969 state: "default" 0.0;
3975 part { name: "elm.swallow.arrow_left";
3982 confine: "arrow_area_left";
3985 state: "default" 0.0;
3991 part { name: "elm.swallow.arrow_right";
3998 confine: "arrow_area_right";
4001 state: "default" 0.0;
4009 ///////////////////////////////////////////////////////////////////////////////
4010 group { name: "elm/ctxpopup/arrow/datetime/default";
4011 alias: "elm/ctxpopup/arrow/timepicker";
4013 image: "00_time_picker_tail.png" COMP;
4014 image: "00_time_picker_tail_01.png" COMP;
4018 name: "ctxpopup_arrow";
4022 state: "default" 0.0;
4023 min: CTXPOPUP_TP_ARROW_SIZE_INC;
4024 max: CTXPOPUP_TP_ARROW_SIZE_INC;
4031 min: CTXPOPUP_TP_ARROW_SIZE_INC;
4032 max: CTXPOPUP_TP_ARROW_SIZE_INC;
4036 normal: "00_time_picker_tail.png";
4041 min: CTXPOPUP_TP_ARROW_SIZE_INC;
4042 max: CTXPOPUP_TP_ARROW_SIZE_INC;
4046 normal: "00_time_picker_tail.png";
4051 min: CTXPOPUP_TP_ARROW_SIZE_INC;
4052 max: CTXPOPUP_TP_ARROW_SIZE_INC;
4056 normal: "00_time_picker_tail.png";
4060 state: "bottom" 0.0;
4061 min: CTXPOPUP_TP_ARROW_SIZE_INC;
4062 max: CTXPOPUP_TP_ARROW_SIZE_INC;
4066 normal: "00_time_picker_tail_01.png";
4073 name: "enable_left_arrow";
4074 signal: "elm,state,left";
4076 action: STATE_SET "left" 0.0;
4077 target: "ctxpopup_arrow";
4080 name: "enable_right_arrow";
4081 signal: "elm,state,right";
4083 action: STATE_SET "right" 0.0;
4084 target: "ctxpopup_arrow";
4087 name: "enable_top_arrow";
4088 signal: "elm,state,top";
4090 action: STATE_SET "top" 0.0;
4091 target: "ctxpopup_arrow";
4094 name: "enable_bottom_arrow";
4095 signal: "elm,state,bottom";
4097 action: STATE_SET "bottom" 0.0;
4098 target: "ctxpopup_arrow";
4102 ///////////////////////////////////////////////////////////////////////////////
4104 name: "elm/ctxpopup/text_style_item/datetime/default";
4105 alias: "elm/ctxpopup/text_style_item/timepicker";
4108 name: "left_padding";
4113 state: "default" 0.0;
4114 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
4115 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
4127 state: "default" 0.0;
4128 min: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
4129 max: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
4132 rel1 {relative: 1.0 0.0; to: "left_padding";}
4133 color: CTXPOPUP_TP_FONT_COLOR;
4135 font: "Tizen:style=Regular";
4136 size: CTXPOPUP_TP_FONT_SIZE;
4139 text_class: "tizen";
4143 state: "clicked" 0.0;
4144 inherit: "default" 0.0;
4145 color: 255 255 255 255;
4149 name: "right_padding";
4153 state: "default" 0.0;
4154 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
4155 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
4157 rel1 {relative: 1.0 0.0; to: "elm.text";}
4166 ignore_flags: ON_HOLD;
4168 state: "default" 0.0;
4178 state: "default" 0.0;
4185 name: "item_unclick";
4186 signal: "mouse,up,1";
4188 action: SIGNAL_EMIT "elm,action,click" "";
4193 action: PLAY_SAMPLE "touch_sound" 1.0;
4197 signal: "mouse,down,1";
4200 set_state(PART:"elm.text", "clicked", 0.0);
4204 name: "item_unclick2";
4205 signal: "mouse,up,1";
4208 set_state(PART:"elm.text", "default", 0.0);
4213 ///////////////////////////////////////////////////////////////////////////////
4215 name: "elm/ctxpopup/text_style_item/toolbar_segmentedcontrol";
4218 image: "00_more_popup_press.png" COMP;
4221 data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC;
4225 name: "event_blocker";
4229 state: "default" 0.0;
4239 state: "default" 0.0;
4241 min: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH*2) 1;
4242 max: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_MAX_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
4245 state: "clicked" 0.0;
4247 rel1 {to_x: "bg_press_left_padding"; to_y: "bg_press_top_padding"; relative: 1.0 1.0;}
4248 rel2 {to_x: "bg_press_right_padding"; to_y: "bg_press_bottom_padding"; relative: 0.0 0.0;}
4250 normal: "00_more_popup_press.png";
4251 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
4257 name: "bg_press_left_padding";
4262 state: "default" 0.0;
4264 min: CTXPOPUP_PRESS_PADDING CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
4265 max: CTXPOPUP_PRESS_PADDING CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
4270 name: "bg_press_right_padding";
4275 state: "default" 0.0;
4277 min: CTXPOPUP_PRESS_PADDING CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
4278 max: CTXPOPUP_PRESS_PADDING CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
4283 name: "bg_press_top_padding";
4288 state: "default" 0.0;
4290 min: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
4291 max: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
4292 rel1 {to: "separator2"; relative: 0.0 1.0;}
4297 name: "bg_press_bottom_padding";
4302 state: "default" 0.0;
4304 min: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
4305 max: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
4315 state: "default" 0.0;
4316 color: CTXPOPUP_SEPARATOR_COLOR_INC;
4317 rel1 { relative: 0.0 0.0; }
4318 rel2 { relative: 1.0 1.0; }
4320 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
4321 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
4325 state: "visible" 0.0;
4326 inherit: "default" 0.0;
4336 state: "default" 0.0;
4337 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
4338 rel1 { relative: 0.0 1.0; to: "separator1";}
4339 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
4342 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
4343 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
4347 state: "visible" 0.0;
4348 inherit: "default" 0.0;
4353 name: "left_padding";
4358 state: "default" 0.0;
4359 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
4360 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
4372 state: "default" 0.0;
4373 min: 1 CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
4375 rel1 {relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg";}
4376 rel2 {relative: 0.0 1.0; to_x: "right_padding"; to_y: "bg";}
4377 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
4379 font: "Tizen:style=Regular";
4380 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
4381 size_range: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC;
4384 text_class: "list_item";
4388 state: "clicked" 0.0;
4389 inherit: "default" 0.0;
4390 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
4394 state: "disabled" 0.0;
4395 inherit: "default" 0.0;
4396 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
4399 state: "ellipsis" 0.0;
4400 inherit: "default" 0.0;
4401 min: CTXPOPUP_TEXT_MAX_INC CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
4405 state: "ellipsis_disabled" 0.0;
4406 inherit: "ellipsis" 0.0;
4407 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
4411 name: "right_padding";
4416 state: "default" 0.0;
4418 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
4419 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
4430 state: "default" 0.0;
4444 state: "default" 0.0;
4454 state: "default" 0.0;
4458 state: "disabled" 0.0;
4460 color: CTXPOPUP_ITEM_DISABLED_COLOR;
4466 name: "text_ellipsis";
4467 signal: "elm,state,text,ellipsis";
4469 action: STATE_SET "ellipsis" 0.0;
4473 name: "item_unclick";
4474 signal: "mouse,clicked,1";
4476 action: SIGNAL_EMIT "elm,action,click" "";
4481 action: PLAY_SAMPLE "touch_sound" 1.0;
4485 signal: "elm,state,disabled";
4490 get_state(PART:"elm.text", st, 30, vl);
4491 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
4492 set_state(PART:"elm.text", "ellipsis_disabled", 0.0);
4494 set_state(PART:"elm.text", "disabled", 0.0);
4496 set_state(PART:"disclip", "disabled", 0.0);
4501 signal: "elm,state,enabled";
4506 get_state(PART:"elm.text", st, 30, vl);
4507 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
4508 set_state(PART:"elm.text", "ellipsis", 0.0);
4510 set_state(PART:"elm.text", "default", 0.0);
4512 set_state(PART:"disclip", "default", 0.0);
4517 signal: "elm,state,default";
4520 set_state(PART:"separator1", "default", 0.0);
4521 set_state(PART:"separator2", "default", 0.0);
4526 signal: "elm,state,separator";
4529 set_state(PART:"separator1", "visible", 0.0);
4530 set_state(PART:"separator2", "visible", 0.0);
4534 name: "item_click2";
4535 signal: "mouse,down,1";
4538 set_state(PART:"elm.text", "clicked", 0.0);
4539 set_state(PART:"bg", "clicked", 0.0);
4547 new Float:dx, Float:dy;
4548 get_drag(PART:"over2", dx, dy);
4549 if ((abs(dx) > 20) || (abs(dy) > 20)) {
4550 set_drag(PART:"over2", 0.0, 0.0);
4551 set_state(PART:"bg", "default", 0.0);
4553 set_drag(PART:"over2", 0.0, 0.0);
4557 name: "item_unclick2";
4558 signal: "mouse,up,1";
4561 set_drag(PART:"over2", 0.0, 0.0);
4562 set_state(PART:"bg", "default", 0.0);