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 ///////////////////////////////////////////////////////////////////////////////
35 name: "elm/scroller/base/ctxpopup";
37 public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
42 v = get_int(sbalways_v);
44 emit("do-hide-vbar", "");
50 v = get_int(sbalways_h);
52 emit("do-hide-hbar", "");
56 set_int(sbvis_timer, 0);
61 image: "00_popup_scroll.9.png" COMP;
62 image: "01_scroller.png" COMP;
75 name: "elm.swallow.content";
85 name: "sb_vbar_clip_master";
99 clip_to:"sb_vbar_clip_master";
104 state: "default" 0.0;
106 rel2{ to:"clipper"; relative: 1.0 1.0;}
111 color: 255 255 255 0;
115 name: "sb_vbar_padding";
120 state: "default" 0.0;
122 min: (CTXPOPUP_SCROLLER_PADDING-CTXPOPUP_CONTENT_PADDING) 0;
123 max: (CTXPOPUP_SCROLLER_PADDING-CTXPOPUP_CONTENT_PADDING) 0;
126 rel1 { to:"clipper"; relative: 1.0 0.0; }
127 rel2 { to:"clipper"; relative: 1.0 1.0; }
136 state: "default" 0.0;
140 rel1 { to_x:"sb_vbar_padding"; to_y:"clipper"; relative: 0.0 0.0; }
141 rel2 { to_x:"sb_vbar_padding"; to_y:"clipper"; relative: 0.0 1.0; }
145 name: "elm.dragable.vbar";
146 clip_to: "sb_vbar_clip";
155 state: "default" 0.0;
157 min: CTXPOPUP_SCROLLER_MIN_SIZE_INC;
167 normal: "00_popup_scroll.9.png";
174 name: "sb_hbar_clip_master";
178 state: "default" 0.0;
183 color: 255 255 255 0;
187 name: "sb_hbar_clip";
188 clip_to: "sb_hbar_clip_master";
193 state: "default" 0.0;
195 rel2{ to:"clipper"; relative: 1.0 1.0;}
200 color: 255 255 255 0;
209 state: "default" 0.0;
213 rel1 {to:"clipper"; relative: 0.0 1.0;}
214 rel2 {to:"clipper"; relative: 1.0 1.0;}
218 name: "elm.dragable.hbar";
219 clip_to: "sb_hbar_clip";
228 state: "default" 0.0;
231 rel1 {relative: 0.5 0.5; to: "sb_hbar";}
232 rel2 {relative: 0.5 0.5; to: "sb_hbar";}
234 normal: "01_scroller.png";
247 set_state(PART:"sb_vbar_clip", "hidden", 0.0);
248 set_state(PART:"sb_hbar_clip", "hidden", 0.0);
251 set_int(sbalways_v, 0);
252 set_int(sbalways_h, 0);
253 set_int(sbvis_timer, 0);
258 signal: "elm,action,show,vbar";
260 action: STATE_SET "default" 0.0;
261 target: "sb_vbar_clip_master";
265 signal: "elm,action,hide,vbar";
267 action: STATE_SET "hidden" 0.0;
268 target: "sb_vbar_clip_master";
271 name: "vbar_show_always";
272 signal: "elm,action,show_always,vbar";
276 v = get_int(sbvis_v);
277 v |= get_int(sbalways_v);
279 set_int(sbalways_v, 1);
280 emit("do-show-vbar", "");
286 name: "vbar_show_notalways";
287 signal: "elm,action,show_notalways,vbar";
291 v = get_int(sbalways_v);
293 set_int(sbalways_v, 0);
294 v = get_int(sbvis_v);
296 emit("do-hide-vbar", "");
303 name: "sb_vbar_show";
304 signal: "do-show-vbar";
306 action: STATE_SET "default" 0.0;
307 transition: LINEAR 1.0;
308 target: "sb_vbar_clip";
311 name: "sb_vbar_hide";
312 signal: "do-hide-vbar";
314 action: STATE_SET "hidden" 0.0;
315 transition: LINEAR 1.0;
316 target: "sb_vbar_clip";
320 signal: "elm,action,show,hbar";
322 action: STATE_SET "default" 0.0;
323 target: "sb_hbar_clip_master";
327 signal: "elm,action,hide,hbar";
329 action: STATE_SET "hidden" 0.0;
330 target: "sb_hbar_clip_master";
333 name: "hbar_show_always";
334 signal: "elm,action,show_always,hbar";
338 v = get_int(sbvis_h);
339 v |= get_int(sbalways_h);
341 set_int(sbalways_h, 1);
342 emit("do-show-hbar", "");
348 name: "hbar_show_notalways";
349 signal: "elm,action,show_notalways,hbar";
353 v = get_int(sbalways_h);
355 set_int(sbalways_h, 0);
356 v = get_int(sbvis_h);
358 emit("do-hide-hbar", "");
365 name: "sb_hbar_show";
366 signal: "do-show-hbar";
368 action: STATE_SET "default" 0.0;
369 transition: LINEAR 1.0;
370 target: "sb_hbar_clip";
373 name: "sb_hbar_hide";
374 signal: "do-hide-hbar";
376 action: STATE_SET "hidden" 0.0;
377 transition: LINEAR 1.0;
378 target: "sb_hbar_clip";
382 signal: "elm,action,scroll";
384 action: STATE_SET "default" 0.0;
387 v = get_int(sbvis_v);
388 v |= get_int(sbalways_v);
390 emit("do-show-vbar", "");
393 v = get_int(sbvis_h);
394 v |= get_int(sbalways_h);
396 emit("do-show-hbar", "");
399 v = get_int(sbvis_timer);
400 if (v > 0) cancel_timer(v);
401 v = timer(2.0, "timer0", 0);
402 set_int(sbvis_timer, v);
407 ///////////////////////////////////////////////////////////////////////////////
409 name: "elm/ctxpopup/bg/pass_event";
410 alias: "elm/ctxpopup/bg/extended/entry/pass_event";
411 alias: "elm/ctxpopup/bg/extended/entry";
412 alias: "elm/ctxpopup/bg/timepicker";
413 alias: "elm/ctxpopup/bg/datetime/default";
420 state: "default" 0.0;
424 state: "visible" 0.0;
432 name: "clicked_event";
433 signal: "mouse,clicked,1";
435 action: SIGNAL_EMIT "elm,action,click" "";
439 signal: "elm,state,show";
441 action: STATE_SET "visible" 0.0;
446 signal: "elm,state,hide";
448 action: STATE_SET "default" 0.0;
453 ///////////////////////////////////////////////////////////////////////////////
455 name: "elm/ctxpopup/bg/default";
462 state: "default" 0.0;
466 state: "visible" 0.0;
474 name: "clicked_event";
475 signal: "mouse,clicked,1";
477 action: SIGNAL_EMIT "elm,action,click" "";
481 signal: "elm,state,show";
483 action: STATE_SET "visible" 0.0;
488 signal: "elm,state,hide";
490 action: STATE_SET "default" 0.0;
495 ///////////////////////////////////////////////////////////////////////////////
497 name: "elm/ctxpopup/base/no_bg_content";
499 image: "ctxpopup_bg.png" COMP;
500 image: "ctxpopup_shadow.png" COMP;
504 name:"frame_shadow_left_top_padding";
509 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
510 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
517 name:"frame_shadow_right_bottom_padding";
522 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
523 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
531 name: "frame_shadow";
536 state: "default" 0.0;
537 rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
538 rel2 {to:"frame_shadow_right_bottom_padding";}
540 normal: "ctxpopup_shadow.png";
544 color: 255 255 255 255;
548 name: "ctxpopup_frame";
553 normal: "ctxpopup_bg.png";
557 rel1 {to:"content_left_top_padding"; relative: 1 1;}
558 rel2 {to:"content_right_bottom_padding"; relative: 0 0;}
562 name:"list_shadow_right_bottom_padding";
567 min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
568 max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
572 rel1 {to:"elm.swallow.content"; relative: 1 1;}
576 name:"content_left_top_padding";
581 state: "default" 0.0;
582 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
583 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
590 name:"content_right_bottom_padding";
595 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
596 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
597 rel1 { relative: 1 1;}
598 rel2 { relative: 1 1;}
605 name: "elm.swallow.content";
608 state: "default" 0.0;
609 rel1 {to:"content_left_top_padding"; relative: 1 1;}
610 rel2 {to:"content_right_bottom_padding"; relative: 0 0;}
615 ///////////////////////////////////////////////////////////////////////////////
617 name: "elm/ctxpopup/base/default";
619 image: "00_popup_bubble_bg.png" COMP;
620 image: "00_popup_bubble_mask.png" COMP;
624 name:"frame_shadow_left_top_padding";
629 state: "default" 0.0;
630 min: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
631 max: CTXPOPUP_SHADOW_LEFT_PADDING CTXPOPUP_SHADOW_TOP_PADDING;
632 rel2 { relative: 0 0; }
639 name:"frame_shadow_right_bottom_padding";
644 state: "default" 0.0;
645 min: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
646 max: CTXPOPUP_SHADOW_RIGHT_PADDING CTXPOPUP_SHADOW_BOTTOM_PADDING;
658 clip_to: "ctxpopup_clip";
660 state: "default" 0.0;
661 rel1 {to:"frame_shadow_left_top_padding";}
662 rel2 {to:"frame_shadow_right_bottom_padding";}
663 min: (CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC + CTXPOPUP_SHADOW_LEFT_PADDING + CTXPOPUP_SHADOW_RIGHT_PADDING) 0;
665 normal: "00_popup_bubble_bg.png";
666 border: CTXPOPUP_BUBBLE_BG_IMAGE_BORDER;
671 part { name: "arrow_area_left";
675 clip_to: "ctxpopup_clip";
676 description { state: "default" 0.0;
678 min: CTXPOPUP_HORIZONTAL_ARROW_SIZE_INC;
683 to_x:"content_left_top_padding";
684 to_y: "ctxpopup_frame_left_top";
688 to_x:"content_left_top_padding";
689 to_y:"ctxpopup_frame_right_bottom";
693 part { name: "arrow_area_right";
697 clip_to: "ctxpopup_clip";
698 description { state: "default" 0.0;
700 min: CTXPOPUP_HORIZONTAL_ARROW_SIZE_INC;
705 to_x:"content_right_bottom_padding";
706 to_y:"ctxpopup_frame_left_top";
710 to_x:"content_right_bottom_padding";
711 to_y: "ctxpopup_frame_right_bottom";
715 part { name: "arrow_area_up";
719 clip_to: "ctxpopup_clip";
720 description { state: "default" 0.0;
722 min: CTXPOPUP_VERTICAL_ARROW_SIZE_INC;
727 to_x: "ctxpopup_frame_left_top";
728 to_y: "content_left_top_padding";
732 to_x:"ctxpopup_frame_right_bottom";
733 to_y: "content_left_top_padding";
737 part { name: "arrow_area_down";
741 clip_to: "ctxpopup_clip";
742 description { state: "default" 0.0;
744 min: CTXPOPUP_VERTICAL_ARROW_SIZE_INC;
749 to_x:"ctxpopup_frame_left_top";
750 to_y:"content_right_bottom_padding";
754 to_x: "ctxpopup_frame_right_bottom";
755 to_y:"content_right_bottom_padding";
759 part { name: "elm.swallow.arrow_up";
763 clip_to: "ctxpopup_clip";
767 confine: "arrow_area_up";
770 state: "default" 0.0;
771 min: CTXPOPUP_VERTICAL_ARROW_SIZE_INC;
776 part { name: "elm.swallow.arrow_down";
780 clip_to: "ctxpopup_clip";
784 confine: "arrow_area_down";
787 state: "default" 0.0;
788 min: CTXPOPUP_VERTICAL_ARROW_SIZE_INC;
793 part { name: "elm.swallow.arrow_left";
797 clip_to: "ctxpopup_clip";
801 confine: "arrow_area_left";
804 state: "default" 0.0;
805 min: CTXPOPUP_HORIZONTAL_ARROW_SIZE_INC;
810 part { name: "elm.swallow.arrow_right";
814 clip_to: "ctxpopup_clip";
818 confine: "arrow_area_right";
821 state: "default" 0.0;
822 min: CTXPOPUP_HORIZONTAL_ARROW_SIZE_INC;
828 name: "ctxpopup_frame_left_top";
832 state: "default" 0.0;
836 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
837 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
838 rel1 {relative: 0 0; to: "content_left_top_padding";}
842 name: "ctxpopup_frame_right_bottom";
846 state: "default" 0.0;
850 min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
851 max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
852 rel2 {relative: 1 1; to: "content_right_bottom_padding";}
856 name:"content_left_top_padding";
861 state: "default" 0.0;
862 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
863 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
864 rel1 {to:"frame_shadow_left_top_padding"; relative: 1.0 1.0;}
871 name:"content_right_bottom_padding";
876 state: "default" 0.0;
877 min: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
878 max: CTXPOPUP_CONTENT_PADDING CTXPOPUP_CONTENT_PADDING;
879 rel2 {to:"frame_shadow_right_bottom_padding"; relative: 0.0 0.0;}
886 name: "elm.swallow.content";
888 clip_to: "ctxpopup_clip";
890 state: "default" 0.0;
892 rel1 {to:"content_left_top_padding"; relative: 1.0 1.0;}
893 rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;}
901 clip_to: "ctxpopup_clip";
903 state: "default" 0.0;
904 rel1 {to:"elm.swallow.content";}
905 rel2 {to:"elm.swallow.content";}
907 normal: "00_popup_bubble_mask.png";
908 border: CTXPOPUP_BUBBLE_MASK_IMAGE_BORDER;
913 part { name: "ctxpopup_clip";
915 description { state: "default" 0.0;
916 color: 255 255 255 0;
917 rel1 { to:"ctxpopup_frame_left_top"; relative: 0.5 0.5; }
918 rel2 { to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5; }
920 description { state: "show_up" 0.0;
921 color: 255 255 255 0;
922 rel1 { to:"elm.swallow.arrow_down"; relative: 0.5 0.5; }
923 rel2 { to:"elm.swallow.arrow_down"; relative: 0.5 0.5; }
925 description { state: "show_left" 0.0;
926 color: 255 255 255 0;
927 rel1 { to:"elm.swallow.arrow_right"; relative: 0.5 0.5; }
928 rel2 { to:"elm.swallow.arrow_right"; relative: 0.5 0.5; }
930 description { state: "show_right" 0.0;
931 color: 255 255 255 0;
932 rel1 { to:"elm.swallow.arrow_left"; relative: 0.5 0.5; }
933 rel2 { to:"elm.swallow.arrow_left"; relative: 0.5 0.5; }
935 description { state: "show_down" 0.0;
936 color: 255 255 255 0;
937 rel1 { to:"elm.swallow.arrow_up"; relative: 0.5 0.5; }
938 rel2 { to:"elm.swallow.arrow_up"; relative: 0.5 0.5; }
940 description { state: "hide_up" 0.0;
941 color: 255 255 255 0;
942 rel1 { to:"elm.swallow.arrow_down"; relative: 0.5 0.5; }
943 rel2 { to:"elm.swallow.arrow_down"; relative: 0.5 0.5; }
945 description { state: "hide_left" 0.0;
946 color: 255 255 255 0;
947 rel1 { to:"elm.swallow.arrow_right"; relative: 0.5 0.5; }
948 rel2 { to:"elm.swallow.arrow_right"; relative: 0.5 0.5; }
950 description { state: "hide_right" 0.0;
951 color: 255 255 255 0;
952 rel1 { to:"elm.swallow.arrow_left"; relative: 0.5 0.5; }
953 rel2 { to:"elm.swallow.arrow_left"; relative: 0.5 0.5; }
955 description { state: "hide_down" 0.0;
956 color: 255 255 255 0;
957 rel1 { to:"elm.swallow.arrow_up"; relative: 0.5 0.5; }
958 rel2 { to:"elm.swallow.arrow_up"; relative: 0.5 0.5; }
960 description { state: "visible" 0.0;
961 color: 255 255 255 255;
962 rel1 { to_x:"arrow_area_left"; to_y:"arrow_area_up"; }
963 rel2 { to_x:"arrow_area_right"; to_y:"arrow_area_down"; }
968 program { name: "show";
969 signal: "elm,state,show";
971 action: STATE_SET "visible" 0.0;
972 transition: SIN_FAC 0.33 0.6;
973 target: "ctxpopup_clip";
975 program { name: "show_up";
976 signal: "elm,state,show,up";
978 action: STATE_SET "show_up" 0.0;
979 transition: SIN_FAC 0.33 0.6;
980 target: "ctxpopup_clip";
982 program { name: "show_left";
983 signal: "elm,state,show,left";
985 action: STATE_SET "show_left" 0.0;
986 transition: SIN_FAC 0.33 0.6;
987 target: "ctxpopup_clip";
989 program { name: "show_right";
990 signal: "elm,state,show,right";
992 action: STATE_SET "show_right" 0.0;
993 transition: SIN_FAC 0.33 0.6;
994 target: "ctxpopup_clip";
996 program { name: "show_down";
997 signal: "elm,state,show,down";
999 action: STATE_SET "show_down" 0.0;
1000 transition: SIN_FAC 0.33 0.6;
1001 target: "ctxpopup_clip";
1003 program { name: "hide_up";
1004 signal: "elm,state,hide,up";
1006 action: STATE_SET "hide_up" 0.0;
1007 transition: SIN_FAC 0.33 0.6;
1008 target: "ctxpopup_clip";
1009 after: "hide_finished";
1011 program { name: "hide_left";
1012 signal: "elm,state,hide,left";
1014 action: STATE_SET "hide_left" 0.0;
1015 transition: SIN_FAC 0.33 0.6;
1016 target: "ctxpopup_clip";
1017 after: "hide_finished";
1019 program { name: "hide_right";
1020 signal: "elm,state,hide,right";
1022 action: STATE_SET "hide_right" 0.0;
1023 transition: SIN_FAC 0.33 0.6;
1024 target: "ctxpopup_clip";
1025 after: "hide_finished";
1027 program { name: "hide_down";
1028 signal: "elm,state,hide,down";
1030 action: STATE_SET "hide_down" 0.0;
1031 transition: SIN_FAC 0.33 0.6;
1032 target: "ctxpopup_clip";
1033 after: "hide_finished";
1035 program { name: "hide_finished";
1036 action: SIGNAL_EMIT "elm,action,hide,finished" "";
1041 ///////////////////////////////////////////////////////////////////////////////
1042 group { name: "elm/ctxpopup/arrow/default";
1044 image: "00_popup_bubble_tail_left.png" COMP;
1045 image: "00_popup_bubble_tail_right.png" COMP;
1046 image: "00_popup_bubble_tail_top.png" COMP;
1047 image: "00_popup_bubble_tail_bottom.png" COMP;
1051 name: "ctxpopup_arrow";
1055 state: "default" 0.0;
1056 min: CTXPOPUP_ARROW_SIZE_INC;
1057 max: CTXPOPUP_ARROW_SIZE_INC;
1064 min: CTXPOPUP_HORIZONTAL_ARROW_SIZE_INC;
1065 max: CTXPOPUP_HORIZONTAL_ARROW_SIZE_INC;
1069 normal: "00_popup_bubble_tail_left.png";
1074 min: CTXPOPUP_HORIZONTAL_ARROW_SIZE_INC;
1075 max: CTXPOPUP_HORIZONTAL_ARROW_SIZE_INC;
1079 normal: "00_popup_bubble_tail_right.png";
1084 min: CTXPOPUP_VERTICAL_ARROW_SIZE_INC;
1085 max: CTXPOPUP_VERTICAL_ARROW_SIZE_INC;
1089 normal: "00_popup_bubble_tail_top.png";
1093 state: "bottom" 0.0;
1094 min: CTXPOPUP_VERTICAL_ARROW_SIZE_INC;
1095 max: CTXPOPUP_VERTICAL_ARROW_SIZE_INC;
1099 normal: "00_popup_bubble_tail_bottom.png";
1106 name: "enable_left_arrow";
1107 signal: "elm,state,left";
1109 action: STATE_SET "left" 0.0;
1110 target: "ctxpopup_arrow";
1113 name: "enable_right_arrow";
1114 signal: "elm,state,right";
1116 action: STATE_SET "right" 0.0;
1117 target: "ctxpopup_arrow";
1120 name: "enable_top_arrow";
1121 signal: "elm,state,top";
1123 action: STATE_SET "top" 0.0;
1124 target: "ctxpopup_arrow";
1127 name: "enable_bottom_arrow";
1128 signal: "elm,state,bottom";
1130 action: STATE_SET "bottom" 0.0;
1131 target: "ctxpopup_arrow";
1135 ///////////////////////////////////////////////////////////////////////////////
1137 name: "elm/ctxpopup/text_style_item/default";
1140 name: "event_blocker";
1143 state: "default" 0.0;
1152 state: "default" 0.0;
1153 color: CTXPOPUP_BG_COLOR_INC;
1155 min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING*2) 1;
1156 max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
1159 state: "clicked" 0.0;
1160 color: CTXPOPUP_BG_PRESS_COLOR_INC;
1164 state: "clicked_separator" 0.0;
1165 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
1166 color: CTXPOPUP_BG_PRESS_COLOR_INC;
1176 state: "default" 0.0;
1177 color: CTXPOPUP_SEPARATOR_COLOR_INC;
1178 rel1 { relative: 1.0 0.0; to_x: "left_padding";}
1179 rel2 { relative: 0.0 1.0; to_x: "right_padding";}
1181 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
1182 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
1186 state: "visible" 0.0;
1187 inherit: "default" 0.0;
1197 state: "default" 0.0;
1198 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
1199 rel1 { relative: 0.0 1.0; to: "separator1";}
1200 rel2 { relative: 1.0 1.0; to: "separator1";}
1203 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
1204 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
1208 state: "visible" 0.0;
1209 inherit: "default" 0.0;
1214 name: "left_padding";
1219 state: "default" 0.0;
1220 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
1221 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
1233 state: "default" 0.0;
1234 min: 1 CTXPOPUP_ITEM_HEIGHT_MIN_INC;
1236 rel1 {relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg";}
1237 rel2 {relative: 0.0 1.0; to_x: "right_padding"; to_y: "bg";}
1238 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
1240 font: "Tizen:style=Roman";
1241 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
1244 text_class: "list_item";
1248 state: "compress" 0.0;
1249 inherit: "default" 0.0;
1256 state: "clicked" 0.0;
1257 inherit: "default" 0.0;
1258 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
1261 state: "disabled" 0.0;
1262 inherit: "default" 0.0;
1263 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
1266 state: "compress_disabled" 0.0;
1267 inherit: "compress" 0.0;
1268 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
1272 name: "right_padding";
1277 state: "default" 0.0;
1279 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
1280 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
1290 state: "default" 0.0;
1303 state: "default" 0.0;
1313 state: "default" 0.0;
1317 state: "disabled" 0.0;
1319 color: CTXPOPUP_ITEM_DISABLED_COLOR;
1325 name: "item_unclick";
1326 signal: "mouse,clicked,1";
1328 action: SIGNAL_EMIT "elm,action,click" "";
1332 signal: "elm,state,disabled";
1337 get_state(PART:"elm.text", st, 30, vl);
1338 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
1339 set_state(PART:"elm.text", "compress_disabled", 0.0);
1341 set_state(PART:"elm.text", "disabled", 0.0);
1343 set_state(PART:"disclip", "disabled", 0.0);
1348 signal: "elm,state,enabled";
1353 get_state(PART:"elm.text", st, 30, vl);
1354 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
1355 set_state(PART:"elm.text", "compress", 0.0);
1357 set_state(PART:"elm.text", "default", 0.0);
1359 set_state(PART:"disclip", "default", 0.0);
1364 signal: "elm,state,default";
1367 set_state(PART:"separator1", "default", 0.0);
1368 set_state(PART:"separator2", "default", 0.0);
1373 signal: "elm,state,compress";
1378 get_state(PART:"disclip", st, 30, vl);
1379 if (!strcmp(st, "disabled"))
1380 set_state(PART:"elm.text", "compress_disabled", 0.0);
1382 set_state(PART:"elm.text", "compress", 0.0);
1387 signal: "elm,state,separator";
1390 set_state(PART:"separator1", "visible", 0.0);
1391 set_state(PART:"separator2", "visible", 0.0);
1395 name: "item_click2";
1396 signal: "mouse,down,1";
1399 set_state(PART:"elm.text", "clicked", 0.0);
1403 get_state(PART:"separator2", st, 30, vl);
1404 if (!strcmp(st, "default"))
1405 set_state(PART:"bg", "clicked", 0.0);
1407 set_state(PART:"bg", "clicked_separator", 0.0);
1415 new Float:dx, Float:dy;
1416 get_drag(PART:"over2", dx, dy);
1419 set_drag(PART:"over2", 0.0, 0.0);
1420 set_state(PART:"elm.text", "compress", 0.0);
1421 set_state(PART:"bg", "default", 0.0);
1423 set_drag(PART:"over2", 0.0, 0.0);
1427 name: "item_unclick2";
1428 signal: "mouse,up,1";
1431 set_drag(PART:"over2", 0.0, 0.0);
1432 set_state(PART:"elm.text", "compress", 0.0);
1433 set_state(PART:"bg", "default", 0.0);
1438 ///////////////////////////////////////////////////////////////////////////////
1440 name: "elm/ctxpopup/text_style_item_horizontal/default";
1443 name: "event_blocker";
1446 state: "default" 0.0;
1455 state: "default" 0.0;
1456 color: CTXPOPUP_BG_COLOR_INC;
1458 min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
1461 state: "clicked" 0.0;
1462 color: CTXPOPUP_BG_PRESS_COLOR_INC;
1466 state: "clicked_separator" 0.0;
1467 rel1 { relative: 1.0 0.0; to_x: "separator2"; }
1468 color: CTXPOPUP_BG_PRESS_COLOR_INC;
1478 state: "default" 0.0;
1479 color: CTXPOPUP_HORIZONTAL_SEPARATOR_1_COLOR_INC;
1481 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
1482 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
1486 state: "visible" 0.0;
1487 inherit: "default" 0.0;
1497 state: "default" 0.0;
1498 color: CTXPOPUP_HORIZONTAL_SEPARATOR_2_COLOR_INC;
1499 rel1 { relative: 1.0 0.0; to: "separator1"; to_y: "bg";}
1501 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
1502 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
1506 state: "visible" 0.0;
1507 inherit: "default" 0.0;
1512 name: "left_padding";
1517 state: "default" 0.0;
1518 min: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
1519 max: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
1532 state: "default" 0.0;
1533 min: (CTXPOPUP_TEXT_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ITEM_ICON_PADDING_INC*2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
1535 rel1 {relative: 1.0 0.0; to: "left_padding"; }
1536 rel2 {relative: 0.0 1.0; to: "right_padding"; }
1537 color: CTXPOPUP_MAIN_TEXT_COLOR_INC;
1539 font: "Tizen:style=Roman";
1540 size: CTXPOPUP_MAIN_TEXT_SIZE_INC;
1543 text_class: "list_item";
1547 state: "compress" 0.0;
1548 inherit: "default" 0.0;
1555 state: "clicked" 0.0;
1556 inherit: "default" 0.0;
1557 color: CTXPOPUP_MAIN_TEXT_PRESS_COLOR_INC;
1560 state: "disabled" 0.0;
1561 inherit: "default" 0.0;
1562 color: CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC;
1565 state: "compress_disabled" 0.0;
1566 inherit: "compress" 0.0;
1567 color: CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC;
1571 name: "right_padding";
1576 state: "default" 0.0;
1577 min: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
1578 max: CTXPOPUP_ITEM_ICON_PADDING_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
1590 state: "default" 0.0;
1603 state: "default" 0.0;
1613 state: "default" 0.0;
1617 state: "disabled" 0.0;
1619 color: CTXPOPUP_ITEM_DISABLED_COLOR;
1625 name: "item_unclick";
1626 signal: "mouse,clicked,1";
1628 action: SIGNAL_EMIT "elm,action,click" "";
1632 signal: "elm,state,disabled";
1637 get_state(PART:"elm.text", st, 30, vl);
1638 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
1639 set_state(PART:"elm.text", "compress_disabled", 0.0);
1641 set_state(PART:"elm.text", "disabled", 0.0);
1643 set_state(PART:"disclip", "disabled", 0.0);
1648 signal: "elm,state,enabled";
1653 get_state(PART:"elm.text", st, 30, vl);
1654 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
1655 set_state(PART:"elm.text", "compress", 0.0);
1657 set_state(PART:"elm.text", "default", 0.0);
1659 set_state(PART:"disclip", "default", 0.0);
1664 signal: "elm,state,default";
1667 set_state(PART:"separator1", "default", 0.0);
1668 set_state(PART:"separator2", "default", 0.0);
1673 signal: "elm,state,compress";
1678 get_state(PART:"disclip", st, 30, vl);
1679 if (!strcmp(st, "disabled"))
1680 set_state(PART:"elm.text", "compress_disabled", 0.0);
1682 set_state(PART:"elm.text", "compress", 0.0);
1687 signal: "elm,state,separator";
1690 set_state(PART:"separator1", "visible", 0.0);
1691 set_state(PART:"separator2", "visible", 0.0);
1695 name: "item_click2";
1696 signal: "mouse,down,1";
1699 set_state(PART:"elm.text", "clicked", 0.0);
1703 get_state(PART:"separator2", st, 30, vl);
1704 if (!strcmp(st, "default"))
1705 set_state(PART:"bg", "clicked", 0.0);
1707 set_state(PART:"bg", "clicked_separator", 0.0);
1715 new Float:dx, Float:dy;
1716 get_drag(PART:"over2", dx, dy);
1719 set_drag(PART:"over2", 0.0, 0.0);
1720 set_state(PART:"elm.text", "compress", 0.0);
1721 set_state(PART:"bg", "default", 0.0);
1723 set_drag(PART:"over2", 0.0, 0.0);
1727 name: "item_unclick2";
1728 signal: "mouse,up,1";
1731 set_drag(PART:"over2", 0.0, 0.0);
1732 set_state(PART:"elm.text", "compress", 0.0);
1733 set_state(PART:"bg", "default", 0.0);
1738 ///////////////////////////////////////////////////////////////////////////////
1740 name: "elm/ctxpopup/icon_style_item/default";
1743 name: "event_blocker";
1746 state: "default" 0.0;
1756 state: "default" 0.0;
1757 color: CTXPOPUP_BG_COLOR_INC;
1759 min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
1760 max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
1763 state: "clicked" 0.0;
1764 color: CTXPOPUP_BG_PRESS_COLOR_INC;
1768 state: "clicked_separator" 0.0;
1769 rel1 { relative: 1.0 0.0; to_x: "separator2"; }
1770 color: CTXPOPUP_BG_PRESS_COLOR_INC;
1775 name: "left_padding";
1778 min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
1779 max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
1791 state: "default" 0.0;
1792 color: CTXPOPUP_SEPARATOR_COLOR_INC;
1794 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
1795 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
1799 state: "visible" 0.0;
1800 inherit: "default" 0.0;
1810 state: "default" 0.0;
1811 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
1812 rel1 { relative: 1.0 0.0; to_x: "separator1"; }
1814 min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
1815 max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
1819 state: "visible" 0.0;
1820 inherit: "default" 0.0;
1825 name: "elm.swallow.icon";
1829 state: "default" 0.0;
1830 min: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC;
1831 max: CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC CTXPOPUP_ICON_HORIZONTAL_HEIGHT_INC;
1834 rel1 { relative: 1 0; to_x: "left_padding"; }
1835 rel2 { relative: 0 1; to_x: "right_padding"; }
1839 name: "right_padding";
1842 min: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
1843 max: ((CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC-CTXPOPUP_ICON_HORIZONTAL_WIDTH_INC)/2) (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING*2);
1854 state: "default" 0.0;
1867 state: "default" 0.0;
1877 state: "default" 0.0;
1881 state: "disabled" 0.0;
1883 color: CTXPOPUP_ITEM_DISABLED_COLOR;
1890 signal: "elm,state,default";
1893 set_state(PART:"separator1", "default", 0.0);
1894 set_state(PART:"separator2", "default", 0.0);
1899 signal: "elm,state,separator";
1902 set_state(PART:"separator1", "visible", 0.0);
1903 set_state(PART:"separator2", "visible", 0.0);
1907 name: "item_unclick";
1908 signal: "mouse,clicked,1";
1910 action: SIGNAL_EMIT "elm,action,click" "";
1914 signal: "elm,state,disabled";
1916 action: STATE_SET "disabled" 0.0;
1921 signal: "elm,state,enabled";
1923 action: STATE_SET "default" 0.0;
1927 name: "item_click2";
1928 signal: "mouse,down,1";
1933 get_state(PART:"separator2", st, 30, vl);
1934 if (!strcmp(st, "default"))
1935 set_state(PART:"bg", "clicked", 0.0);
1937 set_state(PART:"bg", "clicked_separator", 0.0);
1945 new Float:dx, Float:dy;
1946 get_drag(PART:"over2", dx, dy);
1949 set_drag(PART:"over2", 0.0, 0.0);
1950 set_state(PART:"bg", "default", 0.0);
1952 set_drag(PART:"over2", 0.0, 0.0);
1956 name: "item_unclick2";
1957 signal: "mouse,up,1";
1960 set_drag(PART:"over2", 0.0, 0.0);
1961 set_state(PART:"bg", "default", 0.0);
1966 ///////////////////////////////////////////////////////////////////////////////
1968 name: "elm/ctxpopup/icon_text_style_item/default";
1971 name: "event_blocker";
1974 state: "default" 0.0;
1982 state: "default" 0.0;
1983 color: CTXPOPUP_BG_COLOR_INC;
1987 state: "clicked" 0.0;
1988 color: CTXPOPUP_BG_PRESS_COLOR_INC;
1992 state: "clicked_separator" 0.0;
1993 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
1994 color: CTXPOPUP_BG_PRESS_COLOR_INC;
1999 name:"separator_left_padding";
2004 min: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2005 max: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2012 name:"separator_right_padding";
2017 min: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2018 max: (CTXPOPUP_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2025 name: "icon_left_padding";
2029 state: "default" 0.0;
2030 min: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2031 max: (CTXPOPUP_ITEM_ICON_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2043 state: "default" 0.0;
2044 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2045 rel1 { relative: 1.0 0.0; to_x: "separator_left_padding";}
2046 rel2 { relative: 0.0 1.0; to_x: "separator_right_padding";}
2048 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2049 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2053 state: "visible" 0.0;
2054 inherit: "default" 0.0;
2064 state: "default" 0.0;
2065 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2066 rel1 { relative: 0.0 1.0; to: "separator1";}
2067 rel2 { relative: 1.0 1.0; to: "separator1";}
2070 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2071 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2075 state: "visible" 0.0;
2076 inherit: "default" 0.0;
2081 name: "elm.swallow.icon";
2085 state: "default" 0.0;
2086 min: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
2087 max: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
2090 rel1 { to:"icon_left_padding"; relative: 1 0; }
2094 name: "icon_right_padding";
2098 state: "default" 0.0;
2099 min: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2100 max: CTXPOPUP_ITEM_ICON_PADDING_INC CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2104 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
2113 state: "default" 0.0;
2114 min: 1 CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2116 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";}
2117 rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";}
2118 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
2120 font: "Tizen:style=Roman";
2121 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
2124 text_class: "list_item";
2128 state: "compress" 0.0;
2129 inherit: "default" 0.0;
2136 state: "clicked" 0.0;
2137 inherit: "default" 0.0;
2138 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
2141 state: "disabled" 0.0;
2142 inherit: "default" 0.0;
2143 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
2146 state: "compress_disabled" 0.0;
2147 inherit: "compress" 0.0;
2148 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
2152 name: "text_right_padding";
2157 state: "default" 0.0;
2159 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
2160 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_ITEM_HEIGHT_MAX_INC;
2170 state: "default" 0.0;
2183 state: "default" 0.0;
2193 state: "default" 0.0;
2197 state: "disabled" 0.0;
2199 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2205 name: "item_unclick";
2206 signal: "mouse,clicked,1";
2208 action: SIGNAL_EMIT "elm,action,click" "";
2212 signal: "elm,state,disabled";
2217 get_state(PART:"elm.text", st, 30, vl);
2218 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
2219 set_state(PART:"elm.text", "compress_disabled", 0.0);
2221 set_state(PART:"elm.text", "disabled", 0.0);
2223 set_state(PART:"disclip", "disabled", 0.0);
2228 signal: "elm,state,enabled";
2233 get_state(PART:"elm.text", st, 30, vl);
2234 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
2235 set_state(PART:"elm.text", "compress", 0.0);
2237 set_state(PART:"elm.text", "default", 0.0);
2239 set_state(PART:"disclip", "default", 0.0);
2244 signal: "elm,state,default";
2247 set_state(PART:"separator1", "default", 0.0);
2248 set_state(PART:"separator2", "default", 0.0);
2253 signal: "elm,state,compress";
2258 get_state(PART:"disclip", st, 30, vl);
2259 if (!strcmp(st, "disabled"))
2260 set_state(PART:"elm.text", "compress_disabled", 0.0);
2262 set_state(PART:"elm.text", "compress", 0.0);
2267 signal: "elm,state,separator";
2270 set_state(PART:"separator1", "visible", 0.0);
2271 set_state(PART:"separator2", "visible", 0.0);
2275 name: "item_click2";
2276 signal: "mouse,down,1";
2279 set_state(PART:"elm.text", "clicked", 0.0);
2283 get_state(PART:"separator2", st, 30, vl);
2284 if (!strcmp(st, "default"))
2285 set_state(PART:"bg", "clicked", 0.0);
2287 set_state(PART:"bg", "clicked_separator", 0.0);
2295 new Float:dx, Float:dy;
2296 get_drag(PART:"over2", dx, dy);
2299 set_drag(PART:"over2", 0.0, 0.0);
2300 set_state(PART:"elm.text", "compress", 0.0);
2301 set_state(PART:"bg", "default", 0.0);
2303 set_drag(PART:"over2", 0.0, 0.0);
2307 name: "item_unclick2";
2308 signal: "mouse,up,1";
2311 set_drag(PART:"over2", 0.0, 0.0);
2312 set_state(PART:"elm.text", "compress", 0.0);
2313 set_state(PART:"bg", "default", 0.0);
2319 ///////////////////////////////////////////////////////////////////////////////
2321 name: "elm/ctxpopup/icon_text_style_item/more_button";
2324 name: "event_blocker";
2327 state: "default" 0.0;
2335 state: "default" 0.0;
2336 color: CTXPOPUP_BG_COLOR_INC;
2338 min: (CTXPOPUP_MORE_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) 1;
2339 max: (CTXPOPUP_MORE_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
2342 state: "clicked" 0.0;
2343 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2347 state: "clicked_separator" 0.0;
2348 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
2349 color: CTXPOPUP_BG_PRESS_COLOR_INC;
2354 name:"separator_left_padding";
2359 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2360 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2367 name:"separator_right_padding";
2372 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2373 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) 0;
2380 name: "icon_left_padding";
2384 state: "default" 0.0;
2385 min: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
2386 max: (CTXPOPUP_MORE_ITEM_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
2398 state: "default" 0.0;
2399 color: CTXPOPUP_SEPARATOR_COLOR_INC;
2400 rel1 { relative: 1.0 0.0; to_x: "separator_left_padding";}
2401 rel2 { relative: 0.0 1.0; to_x: "separator_right_padding";}
2404 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2405 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2409 state: "visible" 0.0;
2410 inherit: "default" 0.0;
2420 state: "default" 0.0;
2421 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
2422 rel1 { relative: 0.0 1.0; to: "separator1";}
2423 rel2.to: "separator1";
2426 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2427 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
2431 state: "visible" 0.0;
2432 inherit: "default" 0.0;
2437 name: "elm.swallow.icon";
2441 state: "default" 0.0;
2442 min: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC;
2443 max: CTXPOPUP_MORE_ICON_WIDTH_INC CTXPOPUP_MORE_ICON_HEIGHT_INC;
2446 rel1 { to:"icon_left_padding"; relative: 1 0; }
2450 name: "icon_right_padding";
2454 state: "default" 0.0;
2455 min: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
2456 max: CTXPOPUP_MORE_ITEM_PADDING_INC CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
2460 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
2469 state: "default" 0.0;
2470 min: 1 CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
2472 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding"; to_y: "bg";}
2473 rel2 {relative: 0.0 1.0; to_x: "text_right_padding"; to_y: "bg";}
2474 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
2476 font: "Tizen:style=Roman";
2477 size: CTXPOPUP_MORE_ITEM_TEXT_SIZE_INC;
2480 text_class: "list_item";
2484 state: "compress" 0.0;
2485 inherit: "default" 0.0;
2492 state: "clicked" 0.0;
2493 inherit: "default" 0.0;
2494 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
2497 state: "disabled" 0.0;
2498 inherit: "default" 0.0;
2499 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
2502 state: "compress_disabled" 0.0;
2503 inherit: "compress" 0.0;
2504 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
2508 name: "text_right_padding";
2513 state: "default" 0.0;
2515 min: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
2516 max: (CTXPOPUP_MORE_SEPARATOR_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
2526 state: "default" 0.0;
2539 state: "default" 0.0;
2549 state: "default" 0.0;
2553 state: "disabled" 0.0;
2555 color: CTXPOPUP_ITEM_DISABLED_COLOR;
2561 name: "item_unclick";
2562 signal: "mouse,clicked,1";
2564 action: SIGNAL_EMIT "elm,action,click" "";
2568 signal: "elm,state,disabled";
2573 get_state(PART:"elm.text", st, 30, vl);
2574 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
2575 set_state(PART:"elm.text", "compress_disabled", 0.0);
2577 set_state(PART:"elm.text", "disabled", 0.0);
2579 set_state(PART:"disclip", "disabled", 0.0);
2584 signal: "elm,state,enabled";
2589 get_state(PART:"elm.text", st, 30, vl);
2590 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
2591 set_state(PART:"elm.text", "compress", 0.0);
2593 set_state(PART:"elm.text", "default", 0.0);
2595 set_state(PART:"disclip", "default", 0.0);
2600 signal: "elm,state,default";
2603 set_state(PART:"separator1", "default", 0.0);
2604 set_state(PART:"separator2", "default", 0.0);
2609 signal: "elm,state,compress";
2614 get_state(PART:"disclip", st, 30, vl);
2615 if (!strcmp(st, "disabled"))
2616 set_state(PART:"elm.text", "compress_disabled", 0.0);
2618 set_state(PART:"elm.text", "compress", 0.0);
2623 signal: "elm,state,separator";
2626 set_state(PART:"separator1", "visible", 0.0);
2627 set_state(PART:"separator2", "visible", 0.0);
2631 name: "item_click2";
2632 signal: "mouse,down,1";
2635 set_state(PART:"elm.text", "clicked", 0.0);
2639 get_state(PART:"separator2", st, 30, vl);
2640 if (!strcmp(st, "default"))
2641 set_state(PART:"bg", "clicked", 0.0);
2643 set_state(PART:"bg", "clicked_separator", 0.0);
2651 new Float:dx, Float:dy;
2652 get_drag(PART:"over2", dx, dy);
2655 set_drag(PART:"over2", 0.0, 0.0);
2656 set_state(PART:"elm.text", "compress", 0.0);
2657 set_state(PART:"bg", "default", 0.0);
2659 set_drag(PART:"over2", 0.0, 0.0);
2663 name: "item_unclick2";
2664 signal: "mouse,up,1";
2667 set_drag(PART:"over2", 0.0, 0.0);
2668 set_state(PART:"elm.text", "compress", 0.0);
2669 set_state(PART:"bg", "default", 0.0);
2675 ///////////////////////////////////////////////////////////////////////////////////////
2676 #define CTXPOPUP_ENTRY_LIST_PADDING_LEFT 3
2677 #define CTXPOPUP_ENTRY_LIST_PADDING_TOP 6
2678 #define CTXPOPUP_ENTRY_LIST_PADDING_RIGHT 3
2679 #define CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM 6
2680 //////////////////////////////////////////////////////////////////////////////////////
2682 name: "elm/ctxpopup/base/extended/entry";
2683 alias: "elm/ctxpopup/base/extended/entry/pass_event";
2685 image: "copy&paste_bg_center.png" COMP;
2686 image: "ctxpopup_shadow.png" COMP;
2690 name:"frame_shadow_left_top_padding";
2695 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
2696 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
2703 name:"frame_shadow_right_bottom_padding";
2708 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
2709 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
2710 rel1{relative: 1 1;}
2717 name: "frame_shadow";
2722 state: "default" 0.0;
2723 rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
2724 rel2 {to:"frame_shadow_right_bottom_padding";}
2726 normal: "ctxpopup_shadow.png";
2727 border: 10 10 10 10;
2738 state: "default" 0.0;
2739 rel1 {to:"elm.swallow.content";}
2740 rel2 {to:"elm.swallow.content";}
2742 normal: "copy&paste_bg_center.png";
2743 border: CTXPOPUP_ENTRY_CENTER_IMAGE_BORDER;
2749 name: "arrow_area_left";
2754 state: "default" 0.0;
2756 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
2761 to_y: "ctxpopup_frame_left_top";
2765 to:"ctxpopup_frame_left_bottom";
2770 name: "arrow_area_right";
2774 description { state: "default" 0.0;
2776 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
2781 to:"ctxpopup_frame_right_top";
2785 to_y: "ctxpopup_frame_right_bottom";
2790 name: "arrow_area_up";
2794 description { state: "default" 0.0;
2796 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
2810 name: "arrow_area_down";
2815 state: "default" 0.0;
2817 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
2831 name: "elm.swallow.arrow_up";
2838 confine: "arrow_area_up";
2841 state: "default" 0.0;
2842 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
2848 name: "elm.swallow.arrow_down";
2855 confine: "arrow_area_down";
2858 state: "default" 0.0;
2859 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
2865 name: "elm.swallow.arrow_left";
2872 confine: "arrow_area_left";
2875 state: "default" 0.0;
2876 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
2882 name: "elm.swallow.arrow_right";
2889 confine: "arrow_area_right";
2892 state: "default" 0.0;
2893 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
2899 name: "ctxpopup_frame_left_top";
2905 min: CTXPOPUP_FRAME_CORNER_SIZE;
2906 max: CTXPOPUP_FRAME_CORNER_SIZE;
2910 name: "ctxpopup_frame_right_top";
2916 min: CTXPOPUP_FRAME_CORNER_SIZE;
2917 max: CTXPOPUP_FRAME_CORNER_SIZE;
2921 name: "ctxpopup_frame_left_bottom";
2927 min: CTXPOPUP_FRAME_CORNER_SIZE;
2928 max: CTXPOPUP_FRAME_CORNER_SIZE;
2932 name: "ctxpopup_frame_right_bottom";
2938 min: CTXPOPUP_FRAME_CORNER_SIZE;
2939 max: CTXPOPUP_FRAME_CORNER_SIZE;
2943 name:"list_shadow_right_bottom_padding";
2948 min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
2949 max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
2953 rel1 {to:"elm.swallow.content"; relative: 1 1;}
2957 name:"content_left_top_padding";
2962 state: "default" 0.0;
2963 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
2964 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
2971 name:"content_right_bottom_padding";
2976 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
2977 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
2978 rel1 { relative: 1 1;}
2979 rel2 { relative: 1 1;}
2986 name: "elm.swallow.content";
2989 state: "default" 0.0;
2991 rel1 {to:"ctxpopup_frame_left_top"; relative: 0.5 0.5;}
2992 rel2 {to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
2997 ///////////////////////////////////////////////////////////////////////////////////////
2999 name: "elm/ctxpopup/arrow/extended/entry";
3000 alias: "elm/ctxpopup/arrow/extended/entry/pass_event";
3002 image: "copy&paste_arrow_up.png" COMP;
3003 image: "copy&paste_arrow_left.png" COMP;
3004 image: "copy&paste_arrow_right.png" COMP;
3005 image: "copy&paste_arrow_down.png" COMP;
3009 name: "ctxpopup_arrow";
3013 state: "default" 0.0;
3014 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
3015 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
3022 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
3023 max: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
3027 normal: "copy&paste_arrow_left.png";
3032 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
3033 max: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
3037 normal: "copy&paste_arrow_right.png";
3042 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
3043 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
3047 normal: "copy&paste_arrow_up.png";
3051 state: "bottom" 0.0;
3052 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
3053 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
3057 normal: "copy&paste_arrow_down.png";
3064 name: "enable_left_arrow";
3065 signal: "elm,state,left";
3067 action: STATE_SET "left" 0.0;
3068 target: "ctxpopup_arrow";
3071 name: "enable_right_arrow";
3072 signal: "elm,state,right";
3074 action: STATE_SET "right" 0.0;
3075 target: "ctxpopup_arrow";
3078 name: "enable_top_arrow";
3079 signal: "elm,state,top";
3081 action: STATE_SET "top" 0.0;
3082 target: "ctxpopup_arrow";
3085 name: "enable_bottom_arrow";
3086 signal: "elm,state,bottom";
3088 action: STATE_SET "bottom" 0.0;
3089 target: "ctxpopup_arrow";
3093 ///////////////////////////////////////////////////////////////////////////////////////
3094 #define CTXPOPUP_ENTRY_ITEM_BG_PART \
3100 state: "default" 0.0;\
3102 rel1 {to:"left_bg_padding"; relative: 1 0;}\
3103 rel2 {to:"right_bg_padding"; relative: 0 1;}\
3105 normal: "copy&paste_press_center.png";\
3110 state: "clicked" 0.0;\
3111 inherit: "default" 0.0;\
3114 normal: "copy&paste_press_center.png";\
3119 #define CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART \
3121 name: "left_bg_padding";\
3126 state: "default" 0.0;\
3128 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
3129 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
3132 rel1 { to: "event_blocker"; relative: 0 0; }\
3133 rel2 { to: "event_blocker"; relative: 0 1; }\
3135 normal: "copy&paste_press_left.png";\
3136 border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
3141 state: "clicked" 0.0;\
3142 inherit: "default" 0.0;\
3145 normal: "copy&paste_press_left.png";\
3146 border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
3151 #define CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART \
3153 name: "right_bg_padding";\
3158 state: "default" 0.0;\
3160 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
3161 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
3164 rel1 { to: "event_blocker"; relative: 1 0; }\
3165 rel2 { to: "event_blocker"; relative: 1 1; }\
3167 normal: "copy&paste_press_right.png";\
3168 border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
3173 state: "clicked" 0.0;\
3174 inherit: "default" 0.0;\
3177 normal: "copy&paste_press_right.png";\
3178 border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
3183 #define CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART \
3185 name: "left_padding";\
3190 state: "default" 0.0;\
3192 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
3193 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
3198 #define CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART \
3200 name: "right_padding";\
3205 state: "default" 0.0;\
3207 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
3208 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
3213 #define CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART \
3215 name: "left_separator";\
3220 state: "default" 0.0;\
3222 color: CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_COLOR;\
3223 min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
3224 max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
3231 state: "vertical" 0.0;\
3232 inherit: "default" 0.0;\
3236 state: "horizontal" 0.0;\
3237 inherit: "default" 0.0;\
3241 #define CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART \
3243 name: "right_separator";\
3248 state: "default" 0.0;\
3250 color: CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_COLOR;\
3251 min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
3252 max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
3263 state: "vertical" 0.0;\
3264 inherit: "default" 0.0;\
3268 state: "horizontal" 0.0;\
3269 inherit: "default" 0.0;\
3273 ///////////////////////////////////////////////////////////////////////////////////////
3276 name: "elm/ctxpopup/text_style_item/extended/entry";
3277 alias: "elm/ctxpopup/text_style_item/extended/entry/pass_event";
3279 image: "copy&paste_press_center.png" COMP;
3280 image: "copy&paste_press_left.png" COMP;
3281 image: "copy&paste_press_right.png" COMP;
3285 name: "event_blocker";
3288 state: "default" 0.0;
3292 CTXPOPUP_ENTRY_ITEM_BG_PART
3293 CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART
3294 CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART
3295 CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
3296 CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
3297 CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
3298 CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
3305 state: "default" 0.0;
3306 min: 1 CTXPOPUP_ENTRY_ITEM_HEIGHT;
3307 max: CTXPOPUP_ENTRY_ITEM_WIDTH_MAX CTXPOPUP_ENTRY_ITEM_HEIGHT;
3310 rel1 {relative: 1.0 0.0; to: "left_padding";}
3311 rel2 {relative: 0.0 1.0; to: "right_padding";}
3312 color: CTXPOPUP_ENTRY_ITEM_TEXT_COLOR;
3314 font: "Tizen:style=Roman";
3315 size: CTXPOPUP_ENTRY_ITEM_FONT_SIZE;
3318 text_class: "list_item";
3322 state: "clicked" 0.0;
3323 inherit: "default" 0.0;
3324 color: CTXPOPUP_ENTRY_ITEM_TEXT_COLOR;
3331 ignore_flags: ON_HOLD;
3333 state: "default" 0.0;
3341 state: "default" 0.0;
3348 state: "default" 0.0;
3352 state: "disabled" 0.0;
3354 color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
3360 name: "item_unclick";
3361 signal: "mouse,up,1";
3363 action: SIGNAL_EMIT "elm,action,click" "";
3367 signal: "elm,state,disabled";
3369 action: STATE_SET "disabled" 0.0;
3374 signal: "elm,state,enabled";
3376 action: STATE_SET "default" 0.0;
3380 name: "item_click2";
3381 signal: "mouse,down,1";
3384 set_state(PART:"elm.text", "clicked", 0.0);
3385 set_state(PART:"bg", "clicked", 0.0);
3386 set_state(PART:"left_bg_padding", "clicked", 0.0);
3387 set_state(PART:"right_bg_padding", "clicked", 0.0);
3391 name: "item_unclick2";
3392 signal: "mouse,up,1";
3395 set_state(PART:"elm.text", "default", 0.0);
3396 set_state(PART:"bg", "default", 0.0);
3397 set_state(PART:"left_bg_padding", "default", 0.0);
3398 set_state(PART:"right_bg_padding", "default", 0.0);
3403 signal: "elm,state,default";
3406 set_state(PART:"left_separator", "default", 0.0);
3407 set_state(PART:"right_separator", "default", 0.0);
3412 signal: "elm,state,vertical";
3415 set_state(PART:"left_separator", "vertical", 0.0);
3416 set_state(PART:"right_separator", "vertical", 0.0);
3421 signal: "elm,state,horizontal";
3424 set_state(PART:"left_separator", "horizontal", 0.0);
3425 set_state(PART:"right_separator", "horizontal", 0.0);
3430 ///////////////////////////////////////////////////////////////////////////////
3432 name: "elm/ctxpopup/icon_style_item/extended/entry";
3434 image: "copy&paste_press_center.png" COMP;
3435 image: "copy&paste_press_left.png" COMP;
3436 image: "copy&paste_press_right.png" COMP;
3440 name: "event_blocker";
3443 state: "default" 0.0;
3447 CTXPOPUP_ENTRY_ITEM_BG_PART
3448 CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART
3449 CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART
3450 CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
3451 CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
3452 CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
3453 CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
3455 name: "elm.swallow.icon";
3459 state: "default" 0.0;
3465 rel1 {relative: 1.0 0.0; to: "left_padding";}
3466 rel2 {relative: 0.0 1.0; to: "right_padding";}
3470 name: "elm.swallow.icon.paint";
3474 state: "default" 0.0;
3476 color: 255 255 0 255;
3477 rel1 { to: "elm.swallow.icon"; }
3478 rel2 { to: "elm.swallow.icon"; }
3485 ignore_flags: ON_HOLD;
3487 state: "default" 0.0;
3495 state: "default" 0.0;
3502 state: "default" 0.0;
3506 state: "disabled" 0.0;
3508 color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
3514 name: "item_unclick";
3515 signal: "mouse,up,1";
3517 action: SIGNAL_EMIT "elm,action,click" "";
3521 signal: "elm,state,disabled";
3523 action: STATE_SET "disabled" 0.0;
3527 name: "item_click2";
3528 signal: "mouse,down,1";
3531 set_state(PART:"bg", "clicked", 0.0);
3532 set_state(PART:"left_bg_padding", "clicked", 0.0);
3533 set_state(PART:"right_bg_padding", "clicked", 0.0);
3537 name: "item_unclick2";
3538 signal: "mouse,up,1";
3541 set_state(PART:"bg", "default", 0.0);
3542 set_state(PART:"left_bg_padding", "default", 0.0);
3543 set_state(PART:"right_bg_padding", "default", 0.0);
3548 signal: "elm,state,default";
3551 set_state(PART:"left_separator", "default", 0.0);
3552 set_state(PART:"right_separator", "default", 0.0);
3557 signal: "elm,state,vertical";
3560 set_state(PART:"left_separator", "vertical", 0.0);
3561 set_state(PART:"right_separator", "vertical", 0.0);
3566 signal: "elm,state,horizontal";
3569 set_state(PART:"left_separator", "horizontal", 0.0);
3570 set_state(PART:"right_separator", "horizontal", 0.0);
3576 ///////////////////////////////////////////////////////////////////////////////////////
3577 #define CTXPOPUP_IE_FONT_COLOR 255 255 255 255
3578 #define CTXPOPUP_IE_CLICKED_FONT_COLOR 255 255 100 255
3579 #define CTXPOPUP_IE_SEPARATOR_COLOR 120 120 120 255
3580 #define CTXPOPUP_IE_ITEM_DISABLED_COLOR 200 200 200 127
3581 #define CTXPOPUP_IE_SEPARATOR_PADDING_SIZE 6 2
3582 ///////////////////////////////////////////////////////////////////////////////
3584 name: "elm/ctxpopup/base/extended/imageeditor";
3586 image: "imageeditor_bg.png" COMP;
3590 name: "ctxpopup_frame";
3595 normal: "imageeditor_bg.png";
3596 border: 10 10 10 10;
3602 name: "elm.swallow.content";
3605 state: "default" 0.0;
3610 ///////////////////////////////////////////////////////////////////////////////
3611 group { name: "elm/ctxpopup/arrow/extended/imageeditor";
3613 image: "imageeditor_left_arrow.png" COMP;
3614 image: "imageeditor_right_arrow.png" COMP;
3615 image: "imageeditor_top_arrow.png" COMP;
3616 image: "imageeditor_bottom_arrow.png" COMP;
3620 name: "ctxpopup_arrow";
3624 state: "default" 0.0;
3625 min: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
3626 max: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
3633 min: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
3634 max: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
3638 normal: "imageeditor_left_arrow.png";
3643 min: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
3644 max: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
3648 normal: "imageeditor_right_arrow.png";
3653 min: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
3654 max: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
3658 normal: "imageeditor_top_arrow.png";
3662 state: "bottom" 0.0;
3663 min: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
3664 max: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
3668 normal: "imageeditor_bottom_arrow.png";
3675 name: "enable_left_arrow";
3676 signal: "elm,state,left";
3678 action: STATE_SET "left" 0.0;
3679 target: "ctxpopup_arrow";
3682 name: "enable_right_arrow";
3683 signal: "elm,state,right";
3685 action: STATE_SET "right" 0.0;
3686 target: "ctxpopup_arrow";
3689 name: "enable_top_arrow";
3690 signal: "elm,state,top";
3692 action: STATE_SET "top" 0.0;
3693 target: "ctxpopup_arrow";
3696 name: "enable_bottom_arrow";
3697 signal: "elm,state,bottom";
3699 action: STATE_SET "bottom" 0.0;
3700 target: "ctxpopup_arrow";
3704 ///////////////////////////////////////////////////////////////////////////////
3706 name: "elm/ctxpopup/icon_text_style_item/extended/imageeditor";
3708 image: "imageeditor_bar_press.png" COMP;
3713 name: "event_blocker";
3716 state: "default" 0.0;
3725 state: "default" 0.0;
3726 rel1 { to:"separator_left_top_padding"; relative: 1 0; }
3727 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
3731 state: "clicked" 0.0;
3732 rel1 { to:"separator_left_top_padding"; relative: 1 0; }
3733 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
3735 normal: "imageeditor_bar_press.png";
3736 border: 10 10 10 10;
3743 name: "icon_left_padding";
3748 state: "default" 0.0;
3749 min: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
3750 max: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
3757 name: "separator_left_top_padding";
3761 state: "default" 0.0;
3763 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
3764 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
3770 name: "separator_right_top_padding";
3774 state: "default" 0.0;
3776 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
3777 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
3783 name: "separator_left_bottom_padding";
3787 state: "default" 0.0;
3789 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
3790 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
3796 name: "separator_right_bottom_padding";
3800 state: "default" 0.0;
3802 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
3803 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
3810 name: "bottom_separator";
3815 state: "default" 0.0;
3816 color: CTXPOPUP_IE_SEPARATOR_COLOR;
3817 rel1 { to:"separator_left_bottom_padding"; relative: 1 0.5; }
3818 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
3822 name: "elm.swallow.icon";
3826 state: "default" 0.0;
3827 min: CTXPOPUP_IE_ICON_WIDTH_INC CTXPOPUP_IE_ICON_HEIGHT_INC;
3828 max: CTXPOPUP_IE_ICON_WIDTH_INC CTXPOPUP_IE_ICON_HEIGHT_INC;
3831 rel1 { to:"icon_left_padding"; relative: 1 0; }
3835 name: "icon_right_padding";
3840 state: "default" 0.0;
3841 min: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
3842 max: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
3846 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
3855 state: "default" 0.0;
3856 min: 1 CTXPOPUP_IE_ITEM_HEIGHT_INC;
3857 max: (CTXPOPUP_IE_CONTENT_WIDTH_MAX_INC-(3*CTXPOPUP_IE_ITEM_PADDING_INC)-CTXPOPUP_IE_ICON_WIDTH_INC) CTXPOPUP_IE_ITEM_HEIGHT_INC;
3860 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding";}
3861 rel2 {relative: 0.0 1.0; to_x: "text_right_padding";}
3862 color: CTXPOPUP_IE_FONT_COLOR;
3864 font: "Tizen:style=Medium";
3865 size: CTXPOPUP_IE_FONT_SIZE_INC;
3868 text_class: "list_item";
3872 state: "clicked" 0.0;
3873 inherit: "default" 0.0;
3874 color: CTXPOPUP_IE_CLICKED_FONT_COLOR;
3878 name: "text_right_padding";
3883 state: "default" 0.0;
3885 min: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
3886 max: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
3895 ignore_flags: ON_HOLD;
3897 state: "default" 0.0;
3905 state: "default" 0.0;
3912 state: "default" 0.0;
3916 state: "disabled" 0.0;
3918 color: CTXPOPUP_IE_ITEM_DISABLED_COLOR;
3924 name: "item_unclick";
3925 signal: "mouse,up,1";
3927 action: SIGNAL_EMIT "elm,action,click" "";
3931 signal: "elm,state,disabled";
3933 action: STATE_SET "disabled" 0.0;
3938 signal: "elm,state,enabled";
3940 action: STATE_SET "default" 0.0;
3944 name: "item_click2";
3945 signal: "mouse,down,1";
3948 set_state(PART:"elm.text", "clicked", 0.0);
3952 name: "item_unclick2";
3953 signal: "mouse,up,1";
3956 set_state(PART:"elm.text", "default", 0.0);
3961 ///////////////////////////////////////////////////////////////////////////////////////
3963 name: "elm/ctxpopup/text_style_item/extended/imageeditor";
3965 image: "imageeditor_bar_press.png" COMP;
3970 name: "separator_left_padding";
3974 state: "default" 0.0;
3987 state: "default" 0.0;
3988 rel1 { to:"separator_left_top_padding"; relative: 1 0; }
3989 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
3993 state: "clicked" 0.0;
3994 rel1 { to:"separator_left_top_padding"; relative: 1 0; }
3995 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
3997 normal: "imageeditor_bar_press.png";
3998 border: 10 10 10 10;
4004 name: "separator_left_top_padding";
4008 state: "default" 0.0;
4010 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
4011 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
4017 name: "separator_right_top_padding";
4021 state: "default" 0.0;
4023 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
4024 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
4030 name: "separator_left_bottom_padding";
4034 state: "default" 0.0;
4036 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
4037 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
4043 name: "separator_right_bottom_padding";
4047 state: "default" 0.0;
4049 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
4050 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
4057 name: "bottom_separator";
4062 state: "default" 0.0;
4063 color: CTXPOPUP_IE_SEPARATOR_COLOR;
4064 rel1 { to:"separator_left_bottom_padding"; relative: 1 0.5; }
4065 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
4069 name: "left_padding";
4074 state: "default" 0.0;
4075 min: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
4076 max: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
4088 state: "default" 0.0;
4089 min: 1 CTXPOPUP_IE_ITEM_HEIGHT_INC;
4090 max: (CTXPOPUP_IE_CONTENT_WIDTH_MAX_INC-2*CTXPOPUP_IE_ITEM_PADDING_INC) CTXPOPUP_IE_ITEM_HEIGHT_INC;
4093 rel1 {relative: 1.0 0.0; to: "left_padding";}
4094 rel2 {relative: 0.0 1.0; to: "right_padding";}
4095 color: CTXPOPUP_IE_FONT_COLOR;
4097 font: "Tizen:style=Medium";
4098 size: CTXPOPUP_IE_FONT_SIZE_INC;
4101 text_class: "tizen";
4105 state: "clicked" 0.0;
4106 inherit: "default" 0.0;
4107 color: CTXPOPUP_IE_CLICKED_FONT_COLOR;
4111 name: "right_padding";
4115 state: "default" 0.0;
4117 min: 30 CTXPOPUP_IE_ITEM_HEIGHT_INC;
4118 max: 30 CTXPOPUP_IE_ITEM_HEIGHT_INC;
4127 ignore_flags: ON_HOLD;
4129 state: "default" 0.0;
4137 state: "default" 0.0;
4144 state: "default" 0.0;
4148 state: "disabled" 0.0;
4150 color: CTXPOPUP_IE_ITEM_DISABLED_COLOR;
4158 name: "item_unclick";
4159 signal: "mouse,up,1";
4161 action: SIGNAL_EMIT "elm,action,click" "";
4165 signal: "elm,state,disabled";
4167 action: STATE_SET "disabled" 0.0;
4172 signal: "elm,state,enabled";
4174 action: STATE_SET "default" 0.0;
4179 name: "item_click2";
4180 signal: "mouse,down,1";
4183 set_state(PART:"elm.text", "clicked", 0.0);
4187 name: "item_unclick2";
4188 signal: "mouse,up,1";
4191 set_state(PART:"elm.text", "default", 0.0);
4197 ///////////////////////////////////////////////////////////////////////////////////////
4198 #define CTXPOPUP_TP_TEXT_WIDTH 32
4199 #define CTXPOPUP_TP_PADDING 15
4200 #define CTXPOPUP_TP_FONT_COLOR 231 173 95 255
4201 #define CTXPOPUP_TP_CLICKED_FONT_COLOR 255 255 255 255
4202 #define CTXPOPUP_TP_FONT_SIZE 24
4203 ///////////////////////////////////////////////////////////////////////////////
4205 name: "elm/ctxpopup/base/datetime/default";
4206 alias: "elm/ctxpopup/base/timepicker";
4209 name: "ctxpopup_frame";
4212 clip_to: "ctxpopup_clip";
4214 color: CTXPOPUP_TP_BG_COLOR_INC;
4215 min: 1 CTXPOPUP_TP_HEIGHT_INC;
4216 rel1 { to: "elm.swallow.content"; }
4217 rel2 { to: "elm.swallow.content"; }
4221 name: "elm.swallow.content";
4224 clip_to: "ctxpopup_clip";
4226 state: "default" 0.0;
4227 min: 1 CTXPOPUP_TP_HEIGHT_INC;
4230 part { name: "arrow_area_left";
4234 clip_to: "ctxpopup_clip";
4235 description { state: "default" 0.0;
4242 to_y: "ctxpopup_frame";
4246 to:"ctxpopup_frame";
4250 part { name: "arrow_area_right";
4254 clip_to: "ctxpopup_clip";
4255 description { state: "default" 0.0;
4262 to:"ctxpopup_frame";
4266 to_y: "ctxpopup_frame";
4270 part { name: "arrow_area_up";
4274 clip_to: "ctxpopup_clip";
4275 description { state: "default" 0.0;
4282 to_x: "ctxpopup_frame";
4286 to:"ctxpopup_frame";
4290 part { name: "arrow_area_down";
4294 clip_to: "ctxpopup_clip";
4295 description { state: "default" 0.0;
4302 to:"ctxpopup_frame";
4306 to_x: "ctxpopup_frame";
4310 part { name: "elm.swallow.arrow_up";
4314 clip_to: "ctxpopup_clip";
4318 confine: "arrow_area_up";
4321 state: "default" 0.0;
4327 part { name: "elm.swallow.arrow_down";
4331 clip_to: "ctxpopup_clip";
4335 confine: "arrow_area_down";
4338 state: "default" 0.0;
4344 part { name: "elm.swallow.arrow_left";
4348 clip_to: "ctxpopup_clip";
4352 confine: "arrow_area_left";
4355 state: "default" 0.0;
4361 part { name: "elm.swallow.arrow_right";
4365 clip_to: "ctxpopup_clip";
4369 confine: "arrow_area_right";
4372 state: "default" 0.0;
4378 part { name: "ctxpopup_clip";
4380 description { state: "default" 0.0;
4381 color: 255 255 255 0;
4382 rel1 { to:"ctxpopup_frame"; relative: 0 0; }
4383 rel2 { to:"ctxpopup_frame"; relative: 0 1; }
4385 description { state: "show_up" 0.0;
4386 color: 255 255 255 0;
4387 rel1 { to:"arrow_area_down"; relative: 0 1; }
4388 rel2 { to:"arrow_area_down"; relative: 1 1; }
4390 description { state: "show_left" 0.0;
4391 color: 255 255 255 0;
4392 rel1 { to:"arrow_area_right"; relative: 1 0; }
4393 rel2 { to:"arrow_area_right"; relative: 1 1; }
4395 description { state: "show_right" 0.0;
4396 color: 255 255 255 0;
4397 rel1 { to:"arrow_area_left"; relative: 0 0; }
4398 rel2 { to:"arrow_area_left"; relative: 0 1; }
4400 description { state: "show_down" 0.0;
4401 color: 255 255 255 0;
4402 rel1 { to:"arrow_area_up"; relative: 0 0; }
4403 rel2 { to:"arrow_area_up"; relative: 1 0; }
4405 description { state: "hide_up" 0.0;
4406 color: 255 255 255 255;
4407 rel1 { to:"arrow_area_down"; relative: 0 1; }
4408 rel1 { to:"arrow_area_down"; relative: 1 1; }
4410 description { state: "hide_left" 0.0;
4411 color: 255 255 255 255;
4412 rel1 { to:"arrow_area_right"; relative: 1 0; }
4413 rel2 { to:"arrow_area_right"; relative: 1 1; }
4415 description { state: "hide_right" 0.0;
4416 color: 255 255 255 255;
4417 rel1 { to:"arrow_area_left"; relative: 0 0; }
4418 rel2 { to:"arrow_area_left"; relative: 0 1; }
4420 description { state: "hide_down" 0.0;
4421 color: 255 255 255 255;
4422 rel1 { to:"arrow_area_up"; relative: 0 0; }
4423 rel2 { to:"arrow_area_up"; relative: 1 0; }
4425 description { state: "visible" 0.0;
4426 color: 255 255 255 255;
4427 rel1 { to_x:"arrow_area_left"; to_y:"arrow_area_up"; }
4428 rel2 { to_x:"arrow_area_right"; to_y:"arrow_area_down"; }
4433 program { name: "show";
4434 signal: "elm,state,show";
4436 action: STATE_SET "visible" 0.0;
4437 transition: LINEAR 0.25;
4438 target: "ctxpopup_clip";
4440 program { name: "show_up";
4441 signal: "elm,state,show,up";
4443 action: STATE_SET "show_up" 0.0;
4444 transition: LINEAR 0.25;
4445 target: "ctxpopup_clip";
4447 program { name: "show_left";
4448 signal: "elm,state,show,left";
4450 action: STATE_SET "show_left" 0.0;
4451 transition: LINEAR 0.25;
4452 target: "ctxpopup_clip";
4454 program { name: "show_right";
4455 signal: "elm,state,show,right";
4457 action: STATE_SET "show_right" 0.0;
4458 transition: LINEAR 0.25;
4459 target: "ctxpopup_clip";
4461 program { name: "show_down";
4462 signal: "elm,state,show,down";
4464 action: STATE_SET "show_down" 0.0;
4465 transition: LINEAR 0.25;
4466 target: "ctxpopup_clip";
4468 program { name: "hide_up";
4469 signal: "elm,state,hide,up";
4471 action: STATE_SET "hide_up" 0.0;
4472 transition: LINEAR 0.25;
4473 target: "ctxpopup_clip";
4474 after: "hide_finished";
4476 program { name: "hide_left";
4477 signal: "elm,state,hide,left";
4479 action: STATE_SET "hide_left" 0.0;
4480 transition: LINEAR 0.25;
4481 target: "ctxpopup_clip";
4482 after: "hide_finished";
4484 program { name: "hide_right";
4485 signal: "elm,state,hide,right";
4487 action: STATE_SET "hide_right" 0.0;
4488 transition: LINEAR 0.25;
4489 target: "ctxpopup_clip";
4490 after: "hide_finished";
4492 program { name: "hide_down";
4493 signal: "elm,state,hide,down";
4495 action: STATE_SET "hide_down" 0.0;
4496 transition: LINEAR 0.25;
4497 target: "ctxpopup_clip";
4498 after: "hide_finished";
4500 program { name: "hide_finished";
4501 action: SIGNAL_EMIT "elm,action,hide,finished" "";
4505 ///////////////////////////////////////////////////////////////////////////////
4506 group { name: "elm/ctxpopup/arrow/datetime/default";
4507 alias: "elm/ctxpopup/arrow/timepicker";
4509 image: "timepicker_left_arrow.png" COMP;
4510 image: "timepicker_right_arrow.png" COMP;
4511 image: "timepicker_top_arrow.png" COMP;
4512 image: "timepicker_bottom_arrow.png" COMP;
4516 name: "ctxpopup_arrow";
4520 state: "default" 0.0;
4521 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4522 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4529 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4530 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4534 normal: "timepicker_left_arrow.png";
4539 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4540 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4544 normal: "timepicker_right_arrow.png";
4549 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4550 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4554 normal: "timepicker_top_arrow.png";
4558 state: "bottom" 0.0;
4559 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4560 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
4564 normal: "timepicker_bottom_arrow.png";
4571 name: "enable_left_arrow";
4572 signal: "elm,state,left";
4574 action: STATE_SET "left" 0.0;
4575 target: "ctxpopup_arrow";
4578 name: "enable_right_arrow";
4579 signal: "elm,state,right";
4581 action: STATE_SET "right" 0.0;
4582 target: "ctxpopup_arrow";
4585 name: "enable_top_arrow";
4586 signal: "elm,state,top";
4588 action: STATE_SET "top" 0.0;
4589 target: "ctxpopup_arrow";
4592 name: "enable_bottom_arrow";
4593 signal: "elm,state,bottom";
4595 action: STATE_SET "bottom" 0.0;
4596 target: "ctxpopup_arrow";
4600 ///////////////////////////////////////////////////////////////////////////////
4602 name: "elm/ctxpopup/text_style_item/datetime/default";
4603 alias: "elm/ctxpopup/text_style_item/timepicker";
4606 name: "left_padding";
4611 state: "default" 0.0;
4612 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
4613 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
4625 state: "default" 0.0;
4626 min: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
4627 max: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
4630 rel1 {relative: 1.0 0.0; to: "left_padding";}
4631 color: CTXPOPUP_TP_FONT_COLOR;
4633 font: "Tizen:style=Medium";
4634 size: CTXPOPUP_TP_FONT_SIZE;
4637 text_class: "tizen";
4641 state: "clicked" 0.0;
4642 inherit: "default" 0.0;
4643 color: 255 255 255 255;
4647 name: "right_padding";
4651 state: "default" 0.0;
4652 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
4653 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
4655 rel1 {relative: 1.0 0.0; to: "elm.text";}
4663 ignore_flags: ON_HOLD;
4665 state: "default" 0.0;
4673 state: "default" 0.0;
4680 name: "item_unclick";
4681 signal: "mouse,up,1";
4683 action: SIGNAL_EMIT "elm,action,click" "";
4687 signal: "mouse,down,1";
4690 set_state(PART:"elm.text", "clicked", 0.0);
4694 name: "item_unclick2";
4695 signal: "mouse,up,1";
4698 set_state(PART:"elm.text", "default", 0.0);
4703 ///////////////////////////////////////////////////////////////////////////////
4705 name: "elm/ctxpopup/text_style_item/toolbar_segmentedcontrol";
4708 name: "event_blocker";
4711 state: "default" 0.0;
4720 state: "default" 0.0;
4721 color: CTXPOPUP_BG_COLOR_INC;
4723 min: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) 1;
4724 max: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
4727 state: "clicked" 0.0;
4728 color: CTXPOPUP_BG_PRESS_COLOR_INC;
4732 state: "clicked_separator" 0.0;
4733 rel1 { relative: 0.0 1.0; to_y: "separator2"; }
4734 color: CTXPOPUP_BG_PRESS_COLOR_INC;
4744 state: "default" 0.0;
4745 color: CTXPOPUP_SEPARATOR_COLOR_INC;
4746 rel1 { relative: 1.0 0.0; to_x: "left_padding";}
4747 rel2 { relative: 0.0 1.0; to_x: "right_padding";}
4749 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
4750 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
4754 state: "visible" 0.0;
4755 inherit: "default" 0.0;
4765 state: "default" 0.0;
4766 color: CTXPOPUP_SEPARATOR2_COLOR_INC;
4767 rel1 { relative: 0.0 1.0; to: "separator1";}
4768 rel2 { relative: 1.0 1.0; to: "separator1";}
4771 min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
4772 max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
4776 state: "visible" 0.0;
4777 inherit: "default" 0.0;
4782 name: "left_padding";
4787 state: "default" 0.0;
4788 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
4789 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
4801 state: "default" 0.0;
4802 min: 1 CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
4804 rel1 {relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg";}
4805 rel2 {relative: 0.0 1.0; to_x: "right_padding"; to_y: "bg";}
4806 color: CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC;
4808 font: "Tizen:style=Roman";
4809 size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
4812 text_class: "list_item";
4816 state: "compress" 0.0;
4817 inherit: "default" 0.0;
4824 state: "clicked" 0.0;
4825 inherit: "default" 0.0;
4826 color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
4829 state: "disabled" 0.0;
4830 inherit: "default" 0.0;
4831 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
4834 state: "compress_disabled" 0.0;
4835 inherit: "compress" 0.0;
4836 color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
4840 name: "right_padding";
4845 state: "default" 0.0;
4847 min: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
4848 max: (CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_CONTENT_PADDING) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
4858 state: "default" 0.0;
4871 state: "default" 0.0;
4881 state: "default" 0.0;
4885 state: "disabled" 0.0;
4887 color: CTXPOPUP_ITEM_DISABLED_COLOR;
4893 name: "item_unclick";
4894 signal: "mouse,clicked,1";
4896 action: SIGNAL_EMIT "elm,action,click" "";
4900 signal: "elm,state,disabled";
4905 get_state(PART:"elm.text", st, 30, vl);
4906 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
4907 set_state(PART:"elm.text", "compress_disabled", 0.0);
4909 set_state(PART:"elm.text", "disabled", 0.0);
4911 set_state(PART:"disclip", "disabled", 0.0);
4916 signal: "elm,state,enabled";
4921 get_state(PART:"elm.text", st, 30, vl);
4922 if ((!strcmp(st, "compress")) || (!strcmp(st, "compress_disabled")))
4923 set_state(PART:"elm.text", "compress", 0.0);
4925 set_state(PART:"elm.text", "default", 0.0);
4927 set_state(PART:"disclip", "default", 0.0);
4932 signal: "elm,state,default";
4935 set_state(PART:"separator1", "default", 0.0);
4936 set_state(PART:"separator2", "default", 0.0);
4941 signal: "elm,state,compress";
4946 get_state(PART:"disclip", st, 30, vl);
4947 if (!strcmp(st, "disabled"))
4948 set_state(PART:"elm.text", "compress_disabled", 0.0);
4950 set_state(PART:"elm.text", "compress", 0.0);
4955 signal: "elm,state,separator";
4958 set_state(PART:"separator1", "visible", 0.0);
4959 set_state(PART:"separator2", "visible", 0.0);
4963 name: "item_click2";
4964 signal: "mouse,down,1";
4967 set_state(PART:"elm.text", "clicked", 0.0);
4971 get_state(PART:"separator2", st, 30, vl);
4972 if (!strcmp(st, "default"))
4973 set_state(PART:"bg", "clicked", 0.0);
4975 set_state(PART:"bg", "clicked_separator", 0.0);
4983 new Float:dx, Float:dy;
4984 get_drag(PART:"over2", dx, dy);
4987 set_drag(PART:"over2", 0.0, 0.0);
4988 set_state(PART:"elm.text", "compress", 0.0);
4989 set_state(PART:"bg", "default", 0.0);
4991 set_drag(PART:"over2", 0.0, 0.0);
4995 name: "item_unclick2";
4996 signal: "mouse,up,1";
4999 set_drag(PART:"over2", 0.0, 0.0);
5000 set_state(PART:"elm.text", "compress", 0.0);
5001 set_state(PART:"bg", "default", 0.0);