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_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: 0 0; to: "content_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: 1 1; to: "content_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";
1955 data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC;
1959 name: "event_blocker";
1963 state: "default" 0.0;
1973 state: "default" 0.0;
1975 min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) 1;
1976 max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
1979 state: "clicked" 0.0;
1980 inherit: "default" 0.0;
1981 color: CTXPOPUP_BG_PRESS_COLOR_INC;
1985 state: "clicked_separator" 0.0;
1986 inherit: "default" 0.0;
1988 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
1989 color: CTXPOPUP_BG_PRESS_COLOR_INC;
1998 state: "default" 0.0;
1999 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2000 rel1 { relative: 0.0 0.0; }
2001 rel2 { relative: 1.0 1.0; }
2003 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2004 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2008 state: "visible" 0.0;
2009 inherit: "default" 0.0;
2019 state: "default" 0.0;
2020 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2021 rel1 { relative: 0.0 1.0; to: "separator1";}
2022 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
2025 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2026 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2030 state: "visible" 0.0;
2031 inherit: "default" 0.0;
2036 name: "left_padding";
2041 state: "default" 0.0;
2042 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2043 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2055 state: "default" 0.0;
2056 min: 1 CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2058 rel1 {relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg";}
2059 rel2 {relative: 0.0 1.0; to_x: "right_padding"; to_y: "bg";}
2060 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
2062 font: "Tizen:style=Regular";
2063 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
2064 size_range: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC;
2067 text_class: "list_item";
2071 state: "clicked" 0.0;
2072 inherit: "default" 0.0;
2073 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
2077 state: "disabled" 0.0;
2078 inherit: "default" 0.0;
2079 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
2082 state: "ellipsis" 0.0;
2083 inherit: "default" 0.0;
2084 min: CTXPOPUP_TEXT_MAX_INC CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2088 state: "ellipsis_disabled" 0.0;
2089 inherit: "ellipsis" 0.0;
2090 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
2094 name: "right_padding";
2099 state: "default" 0.0;
2101 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2102 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2113 state: "default" 0.0;
2127 state: "default" 0.0;
2137 state: "default" 0.0;
2141 state: "disabled" 0.0;
2143 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2149 name: "text_ellipsis";
2150 signal: "elm,state,text,ellipsis";
2152 action: STATE_SET "ellipsis" 0.0;
2156 name: "item_unclick";
2157 signal: "mouse,clicked,1";
2159 action: SIGNAL_EMIT "elm,action,click" "";
2164 action: PLAY_SAMPLE "touch_sound" 1.0;
2168 signal: "elm,state,disabled";
2173 get_state(PART:"elm.text", st, 30, vl);
2174 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
2175 set_state(PART:"elm.text", "ellipsis_disabled", 0.0);
2177 set_state(PART:"elm.text", "disabled", 0.0);
2179 set_state(PART:"disclip", "disabled", 0.0);
2184 signal: "elm,state,enabled";
2189 get_state(PART:"elm.text", st, 30, vl);
2190 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
2191 set_state(PART:"elm.text", "ellipsis", 0.0);
2193 set_state(PART:"elm.text", "default", 0.0);
2195 set_state(PART:"disclip", "default", 0.0);
2200 signal: "elm,state,default";
2203 set_state(PART:"separator1", "default", 0.0);
2204 set_state(PART:"separator2", "default", 0.0);
2209 signal: "elm,state,separator";
2212 set_state(PART:"separator1", "visible", 0.0);
2213 set_state(PART:"separator2", "visible", 0.0);
2217 name: "item_click2";
2218 signal: "mouse,down,1";
2221 set_state(PART:"elm.text", "clicked", 0.0);
2225 get_state(PART:"separator2", st, 30, vl);
2226 if (!strcmp(st, "default"))
2227 set_state(PART:"bg", "clicked", 0.0);
2229 set_state(PART:"bg", "clicked_separator", 0.0);
2237 new Float:dx, Float:dy;
2238 get_drag(PART:"over2", dx, dy);
2239 if ((abs(dx) > 20) || (abs(dy) > 20)) {
2240 set_drag(PART:"over2", 0.0, 0.0);
2241 set_state(PART:"bg", "default", 0.0);
2243 set_drag(PART:"over2", 0.0, 0.0);
2247 name: "item_unclick2";
2248 signal: "mouse,up,1";
2251 set_drag(PART:"over2", 0.0, 0.0);
2252 set_state(PART:"bg", "default", 0.0);
2257 ///////////////////////////////////////////////////////////////////////////////
2259 name: "elm/ctxpopup/text_style_item_horizontal/default";
2262 image: "00_more_popup_press.png" COMP;
2267 name: "event_blocker";
2271 state: "default" 0.0;
2281 state: "default" 0.0;
2283 min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2286 state: "clicked" 0.0;
2289 normal: "00_more_popup_press.png";
2290 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2295 state: "clicked_separator" 0.0;
2296 rel1 { relative: 1.0 0.0; to_x: "separator2"; }
2299 normal: "00_more_popup_press.png";
2300 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2311 state: "default" 0.0;
2312 color: CTXPOPUP_HORIZONTAL_SEPARATOR_1_COLOR_INC;
2314 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2315 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2319 state: "visible" 0.0;
2320 inherit: "default" 0.0;
2330 state: "default" 0.0;
2331 color: CTXPOPUP_HORIZONTAL_SEPARATOR_2_COLOR_INC;
2332 rel1 { relative: 1.0 0.0; to: "separator1"; to_y: "bg";}
2334 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2335 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2339 state: "visible" 0.0;
2340 inherit: "default" 0.0;
2345 name: "left_padding";
2350 state: "default" 0.0;
2351 min: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2352 max: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2365 state: "default" 0.0;
2366 min: (CTXPOPUP_TEXT_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ITEM_ICON_PADDING_INC*2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2368 rel1 {relative: 1.0 0.0; to: "left_padding"; }
2369 rel2 {relative: 0.0 1.0; to: "right_padding"; }
2370 color: CTXPOPUP_MAIN_TEXT_COLOR_INC;
2372 font: "Tizen:style=Regular";
2373 size: CTXPOPUP_MAIN_TEXT_SIZE_INC;
2374 size_range: CTXPOPUP_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC;
2377 text_class: "list_item";
2381 state: "clicked" 0.0;
2382 inherit: "default" 0.0;
2383 color: CTXPOPUP_MAIN_TEXT_PRESS_COLOR_INC;
2386 state: "disabled" 0.0;
2387 inherit: "default" 0.0;
2388 color: CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC;
2392 name: "right_padding";
2397 state: "default" 0.0;
2398 min: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2399 max: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2412 state: "default" 0.0;
2426 state: "default" 0.0;
2436 state: "default" 0.0;
2440 state: "disabled" 0.0;
2442 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2448 name: "item_unclick";
2449 signal: "mouse,clicked,1";
2451 action: SIGNAL_EMIT "elm,action,click" "";
2456 action: PLAY_SAMPLE "touch_sound" 1.0;
2460 signal: "elm,state,disabled";
2463 set_state(PART:"elm.text", "disabled", 0.0);
2464 set_state(PART:"disclip", "disabled", 0.0);
2469 signal: "elm,state,enabled";
2472 set_state(PART:"elm.text", "default", 0.0);
2473 set_state(PART:"disclip", "default", 0.0);
2478 signal: "elm,state,default";
2481 set_state(PART:"separator1", "default", 0.0);
2482 set_state(PART:"separator2", "default", 0.0);
2487 signal: "elm,state,separator";
2490 set_state(PART:"separator1", "visible", 0.0);
2491 set_state(PART:"separator2", "visible", 0.0);
2495 name: "item_click2";
2496 signal: "mouse,down,1";
2499 set_state(PART:"elm.text", "clicked", 0.0);
2503 get_state(PART:"separator2", st, 30, vl);
2504 if (!strcmp(st, "default"))
2505 set_state(PART:"bg", "clicked", 0.0);
2507 set_state(PART:"bg", "clicked_separator", 0.0);
2515 new Float:dx, Float:dy;
2516 get_drag(PART:"over2", dx, dy);
2517 if ((abs(dx) > 20) || (abs(dy) > 20)) {
2518 set_drag(PART:"over2", 0.0, 0.0);
2519 set_state(PART:"bg", "default", 0.0);
2521 set_drag(PART:"over2", 0.0, 0.0);
2525 name: "item_unclick2";
2526 signal: "mouse,up,1";
2529 set_drag(PART:"over2", 0.0, 0.0);
2530 set_state(PART:"bg", "default", 0.0);
2535 ///////////////////////////////////////////////////////////////////////////////
2537 name: "elm/ctxpopup/icon_style_item/default";
2540 image: "00_more_popup_press.png" COMP;
2545 name: "event_blocker";
2549 state: "default" 0.0;
2559 state: "default" 0.0;
2561 min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2562 max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2565 state: "clicked" 0.0;
2568 normal: "00_more_popup_press.png";
2569 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2574 state: "clicked_separator" 0.0;
2575 rel1 { relative: 1.0 0.0; to_x: "separator2"; }
2578 normal: "00_more_popup_press.png";
2579 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
2585 name: "left_padding";
2588 min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2589 max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2601 state: "default" 0.0;
2602 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2604 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2605 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2609 state: "visible" 0.0;
2610 inherit: "default" 0.0;
2620 state: "default" 0.0;
2621 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2622 rel1 { relative: 1.0 0.0; to_x: "separator1"; }
2624 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
2625 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
2629 state: "visible" 0.0;
2630 inherit: "default" 0.0;
2635 name: "elm.swallow.icon";
2637 clip_to: "icon_clip";
2640 state: "default" 0.0;
2641 min: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC;
2642 max: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC;
2645 rel1 { relative: 1 0; to_x: "left_padding"; }
2646 rel2 { relative: 0 1; to_x: "right_padding"; }
2654 state: "default" 0.0;
2655 rel1.to: "elm.swallow.icon";
2656 rel2.to: "elm.swallow.icon";
2657 color: CTXPOPUP_ICON_CLIP_DEFAULT_COLOR_INC;
2660 state: "disabled" 0.0;
2661 inherit: "default" 0.0;
2662 color: CTXPOPUP_ICON_CLIP_DIM_COLOR_INC;
2666 name: "right_padding";
2669 min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2670 max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
2682 state: "default" 0.0;
2696 state: "default" 0.0;
2706 state: "default" 0.0;
2710 state: "disabled" 0.0;
2712 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2719 signal: "elm,state,default";
2722 set_state(PART:"separator1", "default", 0.0);
2723 set_state(PART:"separator2", "default", 0.0);
2728 signal: "elm,state,separator";
2731 set_state(PART:"separator1", "visible", 0.0);
2732 set_state(PART:"separator2", "visible", 0.0);
2736 name: "item_unclick";
2737 signal: "mouse,clicked,1";
2739 action: SIGNAL_EMIT "elm,action,click" "";
2744 action: PLAY_SAMPLE "touch_sound" 1.0;
2748 signal: "elm,state,disabled";
2750 action: STATE_SET "disabled" 0.0;
2752 target: "icon_clip";
2756 signal: "elm,state,enabled";
2758 action: STATE_SET "default" 0.0;
2760 target: "icon_clip";
2763 name: "item_click2";
2764 signal: "mouse,down,1";
2769 get_state(PART:"separator2", st, 30, vl);
2770 if (!strcmp(st, "default"))
2771 set_state(PART:"bg", "clicked", 0.0);
2773 set_state(PART:"bg", "clicked_separator", 0.0);
2781 new Float:dx, Float:dy;
2782 get_drag(PART:"over2", dx, dy);
2783 if ((abs(dx) > 20) || (abs(dy) > 20)) {
2784 set_drag(PART:"over2", 0.0, 0.0);
2785 set_state(PART:"bg", "default", 0.0);
2787 set_drag(PART:"over2", 0.0, 0.0);
2791 name: "item_unclick2";
2792 signal: "mouse,up,1";
2795 set_drag(PART:"over2", 0.0, 0.0);
2796 set_state(PART:"bg", "default", 0.0);
2801 ///////////////////////////////////////////////////////////////////////////////
2803 name: "elm/ctxpopup/icon_text_style_item/default";
2805 data.item: "item_max_size" CTXPOPUP_ICON_TEXT_MAX_INC;
2809 name: "event_blocker";
2813 state: "default" 0.0;
2822 state: "default" 0.0;
2824 min: CTXPOPUP_WIDTH_MIN_INC 1;
2825 max: CTXPOPUP_WIDTH_MAX_INC CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2828 state: "clicked" 0.0;
2829 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2833 state: "clicked_separator" 0.0;
2834 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
2835 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2840 name: "icon_left_padding";
2844 state: "default" 0.0;
2845 min: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2846 max: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2858 state: "default" 0.0;
2859 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2860 rel1 { relative: 0.0 0.0; }
2861 rel2 { relative: 1.0 1.0; }
2863 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2864 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2868 state: "visible" 0.0;
2869 inherit: "default" 0.0;
2879 state: "default" 0.0;
2880 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2881 rel1 { relative: 0.0 1.0; to: "separator1";}
2882 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
2885 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2886 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2890 state: "visible" 0.0;
2891 inherit: "default" 0.0;
2896 name: "elm.swallow.icon";
2898 clip_to: "icon_clip";
2901 state: "default" 0.0;
2902 min: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
2903 max: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
2906 rel1 { to:"icon_left_padding"; relative: 1 0; }
2914 state: "default" 0.0;
2915 rel1.to: "elm.swallow.icon";
2916 rel2.to: "elm.swallow.icon";
2917 color: CTXPOPUP_ICON_CLIP_DEFAULT_COLOR_INC;
2920 state: "disabled" 0.0;
2921 inherit: "default" 0.0;
2922 color: CTXPOPUP_ICON_CLIP_DIM_COLOR_INC;
2926 name: "icon_right_padding";
2930 state: "default" 0.0;
2931 min: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2932 max: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2936 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
2945 state: "default" 0.0;
2946 min: 1 CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2948 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";}
2949 rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";}
2950 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
2952 font: "Tizen:style=Regular";
2953 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
2954 size_range: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC;
2957 text_class: "list_item";
2961 state: "clicked" 0.0;
2962 inherit: "default" 0.0;
2963 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
2967 state: "disabled" 0.0;
2968 inherit: "default" 0.0;
2969 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
2972 state: "ellipsis" 0.0;
2973 inherit: "default" 0.0;
2974 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;
2978 state: "ellipsis_disabled" 0.0;
2979 inherit: "ellipsis" 0.0;
2980 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
2984 name: "text_right_padding";
2989 state: "default" 0.0;
2991 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2992 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
3003 state: "default" 0.0;
3017 state: "default" 0.0;
3027 state: "default" 0.0;
3031 state: "disabled" 0.0;
3033 color: CTXPOPUP_ITEM_DISABLED_COLOR;
3039 name: "text_ellipsis";
3040 signal: "elm,state,text,ellipsis";
3042 action: STATE_SET "ellipsis" 0.0;
3046 name: "item_unclick";
3047 signal: "mouse,clicked,1";
3049 action: SIGNAL_EMIT "elm,action,click" "";
3054 action: PLAY_SAMPLE "touch_sound" 1.0;
3058 signal: "elm,state,disabled";
3063 get_state(PART:"elm.text", st, 30, vl);
3064 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
3065 set_state(PART:"elm.text", "ellipsis_disabled", 0.0);
3067 set_state(PART:"elm.text", "disabled", 0.0);
3068 set_state(PART:"icon_clip", "disabled", 0.0);
3069 set_state(PART:"disclip", "disabled", 0.0);
3074 signal: "elm,state,enabled";
3079 get_state(PART:"elm.text", st, 30, vl);
3080 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
3081 set_state(PART:"elm.text", "ellipsis", 0.0);
3083 set_state(PART:"elm.text", "default", 0.0);
3084 set_state(PART:"icon_clip", "default", 0.0);
3085 set_state(PART:"disclip", "default", 0.0);
3090 signal: "elm,state,default";
3093 set_state(PART:"separator1", "default", 0.0);
3094 set_state(PART:"separator2", "default", 0.0);
3099 signal: "elm,state,separator";
3102 set_state(PART:"separator1", "visible", 0.0);
3103 set_state(PART:"separator2", "visible", 0.0);
3107 name: "item_click2";
3108 signal: "mouse,down,1";
3111 set_state(PART:"elm.text", "clicked", 0.0);
3115 get_state(PART:"separator2", st, 30, vl);
3116 if (!strcmp(st, "default"))
3117 set_state(PART:"bg", "clicked", 0.0);
3119 set_state(PART:"bg", "clicked_separator", 0.0);
3127 new Float:dx, Float:dy;
3128 get_drag(PART:"over2", dx, dy);
3129 if ((abs(dx) > 20) || (abs(dy) > 20)) {
3130 set_drag(PART:"over2", 0.0, 0.0);
3131 set_state(PART:"bg", "default", 0.0);
3133 set_drag(PART:"over2", 0.0, 0.0);
3137 name: "item_unclick2";
3138 signal: "mouse,up,1";
3141 set_drag(PART:"over2", 0.0, 0.0);
3142 set_state(PART:"bg", "default", 0.0);
3148 ///////////////////////////////////////////////////////////////////////////////
3150 name: "elm/ctxpopup/base/more/default";
3152 image: "00_popup_bubble_02_bg.png" COMP;
3156 name:"frame_shadow_left_top_padding";
3161 state: "default" 0.0;
3162 min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
3163 max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
3164 rel2 { relative: 0 0; }
3171 name:"frame_shadow_right_bottom_padding";
3176 state: "default" 0.0;
3177 min: CTXPOPUP_SHADOW_RIGHT_PADDING 0;
3178 max: CTXPOPUP_SHADOW_RIGHT_PADDING 0;
3179 rel1{relative: 1 1;}
3191 state: "default" 0.0;
3192 rel1 {to:"frame_shadow_left_top_padding";}
3193 rel2 {to:"frame_shadow_right_bottom_padding";}
3194 min: CTXPOPUP_MORE_WIDTH_MIN_INC 0;
3196 normal: "00_popup_bubble_02_bg.png";
3197 border: CTXPOPUP_BUBBLE_MORE_BG_IMAGE_BORDER;
3203 name:"content_left_top_padding";
3208 state: "default" 0.0;
3209 min: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT;
3210 max: CTXPOPUP_CONTENT_PADDING_WIDTH CTXPOPUP_CONTENT_PADDING_HEIGHT;
3211 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
3218 name:"content_right_bottom_padding";
3223 state: "default" 0.0;
3224 min: CTXPOPUP_CONTENT_PADDING_WIDTH 0;
3225 max: CTXPOPUP_CONTENT_PADDING_WIDTH 0;
3226 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
3233 name: "elm.swallow.content";
3236 state: "default" 0.0;
3238 rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;}
3239 rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;}
3242 part { name: "access.outline";
3245 description { state: "default" 0.0;
3247 rel1.to: "frame_bg";
3248 rel2.to: "frame_bg";
3254 ///////////////////////////////////////////////////////////////////////////////
3256 name: "elm/ctxpopup/icon_text_style_item/more/default";
3258 data.item: "item_max_size" CTXPOPUP_MORE_TEXT_MAX_INC;
3262 name: "event_blocker";
3266 state: "default" 0.0;
3276 state: "default" 0.0;
3278 min: (CTXPOPUP_MORE_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH*2) 1;
3279 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;
3282 state: "clicked" 0.0;
3283 color: CTXPOPUP_BG_PRESS_COLOR_INC;
3287 state: "clicked_separator" 0.0;
3288 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
3289 color: CTXPOPUP_BG_PRESS_COLOR_INC;
3294 name: "icon_left_padding";
3298 state: "default" 0.0;
3299 min: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3300 max: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3312 state: "default" 0.0;
3313 color: CTXPOPUP_SEPARATOR_COLOR_INC;
3314 rel1 { relative: 0.0 0.0; }
3315 rel2 { relative: 1.0 1.0; }
3318 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3319 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3323 state: "visible" 0.0;
3324 inherit: "default" 0.0;
3334 state: "default" 0.0;
3335 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
3336 rel1 { relative: 0.0 1.0; to: "separator1"; }
3337 rel2.to: "separator1";
3341 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3342 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
3346 state: "visible" 0.0;
3347 inherit: "default" 0.0;
3352 name: "elm.swallow.icon";
3354 clip_to: "icon_clip";
3357 state: "default" 0.0;
3358 min: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC;
3359 max: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC;
3362 rel1 { to:"icon_left_padding"; relative: 1 0; }
3370 state: "default" 0.0;
3371 rel1.to: "elm.swallow.icon";
3372 rel2.to: "elm.swallow.icon";
3373 color: CTXPOPUP_ICON_CLIP_DEFAULT_COLOR_INC;
3376 state: "disabled" 0.0;
3377 inherit: "default" 0.0;
3378 color: CTXPOPUP_ICON_CLIP_DIM_COLOR_INC;
3382 name: "icon_right_padding";
3386 state: "default" 0.0;
3387 min: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3388 max: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3392 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
3401 state: "default" 0.0;
3402 min: 1 CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3404 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";}
3405 rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";}
3406 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
3408 font: "Tizen:style=Regular";
3409 size: CTXPOPUP_MORE_ITEM_TEXT_SIZE_INC;
3410 size_range: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC;
3413 text_class: "list_item";
3417 state: "clicked" 0.0;
3418 inherit: "default" 0.0;
3419 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
3423 state: "disabled" 0.0;
3424 inherit: "default" 0.0;
3425 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3428 state: "ellipsis" 0.0;
3429 inherit: "default" 0.0;
3430 min: CTXPOPUP_MORE_TEXT_MAX_INC CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3434 state: "ellipsis_disabled" 0.0;
3435 inherit: "ellipsis" 0.0;
3436 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
3440 name: "text_right_padding";
3445 state: "default" 0.0;
3447 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
3448 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
3459 state: "default" 0.0;
3473 state: "default" 0.0;
3483 state: "default" 0.0;
3487 state: "disabled" 0.0;
3489 color: CTXPOPUP_ITEM_DISABLED_COLOR;
3495 name: "text_ellipsis";
3496 signal: "elm,state,text,ellipsis";
3498 action: STATE_SET "ellipsis" 0.0;
3502 name: "item_unclick";
3503 signal: "mouse,clicked,1";
3505 action: SIGNAL_EMIT "elm,action,click" "";
3510 action: PLAY_SAMPLE "touch_sound" 1.0;
3514 signal: "elm,state,disabled";
3519 get_state(PART:"elm.text", st, 30, vl);
3520 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
3521 set_state(PART:"elm.text", "ellipsis_disabled", 0.0);
3523 set_state(PART:"elm.text", "disabled", 0.0);
3524 set_state(PART:"icon_clip", "disabled", 0.0);
3525 set_state(PART:"disclip", "disabled", 0.0);
3530 signal: "elm,state,enabled";
3535 get_state(PART:"elm.text", st, 30, vl);
3536 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
3537 set_state(PART:"elm.text", "ellipsis", 0.0);
3539 set_state(PART:"elm.text", "default", 0.0);
3540 set_state(PART:"icon_clip", "default", 0.0);
3541 set_state(PART:"disclip", "default", 0.0);
3546 signal: "elm,state,default";
3549 set_state(PART:"separator1", "default", 0.0);
3550 set_state(PART:"separator2", "default", 0.0);
3555 signal: "elm,state,separator";
3558 set_state(PART:"separator1", "visible", 0.0);
3559 set_state(PART:"separator2", "visible", 0.0);
3563 name: "item_click2";
3564 signal: "mouse,down,1";
3567 set_state(PART:"elm.text", "clicked", 0.0);
3571 get_state(PART:"separator2", st, 30, vl);
3572 if (!strcmp(st, "default"))
3573 set_state(PART:"bg", "clicked", 0.0);
3575 set_state(PART:"bg", "clicked_separator", 0.0);
3583 new Float:dx, Float:dy;
3584 get_drag(PART:"over2", dx, dy);
3585 if ((abs(dx) > 20) || (abs(dy) > 20)) {
3586 set_drag(PART:"over2", 0.0, 0.0);
3587 set_state(PART:"bg", "default", 0.0);
3589 set_drag(PART:"over2", 0.0, 0.0);
3593 name: "item_unclick2";
3594 signal: "mouse,up,1";
3597 set_drag(PART:"over2", 0.0, 0.0);
3598 set_state(PART:"bg", "default", 0.0);
3603 ///////////////////////////////////////////////////////////////////////////////////////
3604 #define CTXPOPUP_TP_TEXT_WIDTH 32
3605 #define CTXPOPUP_TP_PADDING 15
3606 #define CTXPOPUP_TP_FONT_COLOR 231 173 95 255
3607 #define CTXPOPUP_TP_CLICKED_FONT_COLOR 255 255 255 255
3608 #define CTXPOPUP_TP_FONT_SIZE 24
3609 ///////////////////////////////////////////////////////////////////////////////
3611 name: "elm/ctxpopup/base/datetime/default";
3612 alias: "elm/ctxpopup/base/timepicker";
3615 image: "00_time_picker_number_bg.png" COMP;
3620 name: "ctxpopup_frame";
3624 rel1 {to:"elm.swallow.content";}
3625 rel2 {to:"elm.swallow.content";}
3627 normal: "00_time_picker_number_bg.png";
3628 border: CTXPOPUP_TP_BG_IMAGE_BORDER;
3634 name: "elm.swallow.content";
3638 state: "default" 0.0;
3639 min: 1 CTXPOPUP_TP_HEIGHT_INC;
3642 part { name: "arrow_area_left";
3646 description { state: "default" 0.0;
3653 to_y: "ctxpopup_frame";
3657 to:"ctxpopup_frame";
3661 part { name: "arrow_area_right";
3665 description { state: "default" 0.0;
3672 to:"ctxpopup_frame";
3676 to_y: "ctxpopup_frame";
3680 part { name: "arrow_area_up";
3684 description { state: "default" 0.0;
3691 to_x: "ctxpopup_frame";
3695 to:"ctxpopup_frame";
3699 part { name: "arrow_area_down";
3703 description { state: "default" 0.0;
3710 to:"ctxpopup_frame";
3714 to_x: "ctxpopup_frame";
3718 part { name: "elm.swallow.arrow_up";
3725 confine: "arrow_area_up";
3728 state: "default" 0.0;
3734 part { name: "elm.swallow.arrow_down";
3741 confine: "arrow_area_down";
3744 state: "default" 0.0;
3750 part { name: "elm.swallow.arrow_left";
3757 confine: "arrow_area_left";
3760 state: "default" 0.0;
3766 part { name: "elm.swallow.arrow_right";
3773 confine: "arrow_area_right";
3776 state: "default" 0.0;
3784 ///////////////////////////////////////////////////////////////////////////////
3785 group { name: "elm/ctxpopup/arrow/datetime/default";
3786 alias: "elm/ctxpopup/arrow/timepicker";
3788 image: "00_time_picker_tail.png" COMP;
3789 image: "00_time_picker_tail_01.png" COMP;
3793 name: "ctxpopup_arrow";
3797 state: "default" 0.0;
3798 min: CTXPOPUP_TP_ARROW_SIZE_INC;
3799 max: CTXPOPUP_TP_ARROW_SIZE_INC;
3806 min: CTXPOPUP_TP_ARROW_SIZE_INC;
3807 max: CTXPOPUP_TP_ARROW_SIZE_INC;
3811 normal: "00_time_picker_tail.png";
3816 min: CTXPOPUP_TP_ARROW_SIZE_INC;
3817 max: CTXPOPUP_TP_ARROW_SIZE_INC;
3821 normal: "00_time_picker_tail.png";
3826 min: CTXPOPUP_TP_ARROW_SIZE_INC;
3827 max: CTXPOPUP_TP_ARROW_SIZE_INC;
3831 normal: "00_time_picker_tail.png";
3835 state: "bottom" 0.0;
3836 min: CTXPOPUP_TP_ARROW_SIZE_INC;
3837 max: CTXPOPUP_TP_ARROW_SIZE_INC;
3841 normal: "00_time_picker_tail_01.png";
3848 name: "enable_left_arrow";
3849 signal: "elm,state,left";
3851 action: STATE_SET "left" 0.0;
3852 target: "ctxpopup_arrow";
3855 name: "enable_right_arrow";
3856 signal: "elm,state,right";
3858 action: STATE_SET "right" 0.0;
3859 target: "ctxpopup_arrow";
3862 name: "enable_top_arrow";
3863 signal: "elm,state,top";
3865 action: STATE_SET "top" 0.0;
3866 target: "ctxpopup_arrow";
3869 name: "enable_bottom_arrow";
3870 signal: "elm,state,bottom";
3872 action: STATE_SET "bottom" 0.0;
3873 target: "ctxpopup_arrow";
3877 ///////////////////////////////////////////////////////////////////////////////
3879 name: "elm/ctxpopup/text_style_item/datetime/default";
3880 alias: "elm/ctxpopup/text_style_item/timepicker";
3883 name: "left_padding";
3888 state: "default" 0.0;
3889 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
3890 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
3902 state: "default" 0.0;
3903 min: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
3904 max: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
3907 rel1 {relative: 1.0 0.0; to: "left_padding";}
3908 color: CTXPOPUP_TP_FONT_COLOR;
3910 font: "Tizen:style=Regular";
3911 size: CTXPOPUP_TP_FONT_SIZE;
3914 text_class: "tizen";
3918 state: "clicked" 0.0;
3919 inherit: "default" 0.0;
3920 color: 255 255 255 255;
3924 name: "right_padding";
3928 state: "default" 0.0;
3929 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
3930 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
3932 rel1 {relative: 1.0 0.0; to: "elm.text";}
3941 ignore_flags: ON_HOLD;
3943 state: "default" 0.0;
3953 state: "default" 0.0;
3960 name: "item_unclick";
3961 signal: "mouse,up,1";
3963 action: SIGNAL_EMIT "elm,action,click" "";
3968 action: PLAY_SAMPLE "touch_sound" 1.0;
3972 signal: "mouse,down,1";
3975 set_state(PART:"elm.text", "clicked", 0.0);
3979 name: "item_unclick2";
3980 signal: "mouse,up,1";
3983 set_state(PART:"elm.text", "default", 0.0);
3988 ///////////////////////////////////////////////////////////////////////////////
3990 name: "elm/ctxpopup/text_style_item/toolbar_segmentedcontrol";
3993 image: "00_more_popup_press.png" COMP;
3996 data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC;
4000 name: "event_blocker";
4004 state: "default" 0.0;
4014 state: "default" 0.0;
4016 min: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH*2) 1;
4017 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;
4020 state: "clicked" 0.0;
4023 normal: "00_more_popup_press.png";
4024 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
4029 state: "clicked_separator" 0.0;
4030 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
4033 normal: "00_more_popup_press.png";
4034 border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
4045 state: "default" 0.0;
4046 color: CTXPOPUP_SEPARATOR_COLOR_INC;
4047 rel1 { relative: 1.0 0.0; to_x: "left_padding";}
4048 rel2 { relative: 0.0 1.0; to_x: "right_padding"; offset: 0 0;}
4050 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
4051 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
4055 state: "visible" 0.0;
4056 inherit: "default" 0.0;
4066 state: "default" 0.0;
4067 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
4068 rel1 { relative: 0.0 1.0; to: "separator1";}
4069 rel2 { relative: 1.0 1.0; to: "separator1"; offset: 0 0; }
4072 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
4073 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
4077 state: "visible" 0.0;
4078 inherit: "default" 0.0;
4083 name: "left_padding";
4088 state: "default" 0.0;
4089 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
4090 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
4102 state: "default" 0.0;
4103 min: 1 CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
4105 rel1 {relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg";}
4106 rel2 {relative: 0.0 1.0; to_x: "right_padding"; to_y: "bg";}
4107 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
4109 font: "Tizen:style=Regular";
4110 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
4111 size_range: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC;
4114 text_class: "list_item";
4118 state: "clicked" 0.0;
4119 inherit: "default" 0.0;
4120 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
4124 state: "disabled" 0.0;
4125 inherit: "default" 0.0;
4126 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
4129 state: "ellipsis" 0.0;
4130 inherit: "default" 0.0;
4131 min: CTXPOPUP_TEXT_MAX_INC CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
4135 state: "ellipsis_disabled" 0.0;
4136 inherit: "ellipsis" 0.0;
4137 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
4141 name: "right_padding";
4146 state: "default" 0.0;
4148 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
4149 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING_WIDTH) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
4160 state: "default" 0.0;
4174 state: "default" 0.0;
4184 state: "default" 0.0;
4188 state: "disabled" 0.0;
4190 color: CTXPOPUP_ITEM_DISABLED_COLOR;
4196 name: "text_ellipsis";
4197 signal: "elm,state,text,ellipsis";
4199 action: STATE_SET "ellipsis" 0.0;
4203 name: "item_unclick";
4204 signal: "mouse,clicked,1";
4206 action: SIGNAL_EMIT "elm,action,click" "";
4211 action: PLAY_SAMPLE "touch_sound" 1.0;
4215 signal: "elm,state,disabled";
4220 get_state(PART:"elm.text", st, 30, vl);
4221 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
4222 set_state(PART:"elm.text", "ellipsis_disabled", 0.0);
4224 set_state(PART:"elm.text", "disabled", 0.0);
4226 set_state(PART:"disclip", "disabled", 0.0);
4231 signal: "elm,state,enabled";
4236 get_state(PART:"elm.text", st, 30, vl);
4237 if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
4238 set_state(PART:"elm.text", "ellipsis", 0.0);
4240 set_state(PART:"elm.text", "default", 0.0);
4242 set_state(PART:"disclip", "default", 0.0);
4247 signal: "elm,state,default";
4250 set_state(PART:"separator1", "default", 0.0);
4251 set_state(PART:"separator2", "default", 0.0);
4256 signal: "elm,state,separator";
4259 set_state(PART:"separator1", "visible", 0.0);
4260 set_state(PART:"separator2", "visible", 0.0);
4264 name: "item_click2";
4265 signal: "mouse,down,1";
4268 set_state(PART:"elm.text", "clicked", 0.0);
4272 get_state(PART:"separator2", st, 30, vl);
4273 if (!strcmp(st, "default"))
4274 set_state(PART:"bg", "clicked", 0.0);
4276 set_state(PART:"bg", "clicked_separator", 0.0);
4284 new Float:dx, Float:dy;
4285 get_drag(PART:"over2", dx, dy);
4286 if ((abs(dx) > 20) || (abs(dy) > 20)) {
4287 set_drag(PART:"over2", 0.0, 0.0);
4288 set_state(PART:"bg", "default", 0.0);
4290 set_drag(PART:"over2", 0.0, 0.0);
4294 name: "item_unclick2";
4295 signal: "mouse,up,1";
4298 set_drag(PART:"over2", 0.0, 0.0);
4299 set_state(PART:"bg", "default", 0.0);