2 * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved
4 * PROPRIETARY/CONFIDENTIAL
6 * This software is the confidential and proprietary information of SAMSUNG
7 * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
8 * software is owned by Samsung and you shall not disclose such Confidential
9 * Information and shall use it only in accordance with the terms of the license
10 * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
11 * representations or warranties about the suitability of the software, either
12 * express or implied, including but not limited to the implied warranties of
13 * merchantability, fitness for a particular purpose, or non-infringement.
14 * SAMSUNG shall not be liable for any damages suffered by licensee arising out
15 * of or releated to this software.
19 ///////////////////////////////////////////////////////////////////////////////////////
23 ///////////////////////////////////////////////////////////////////////////////////////
25 #define CTXPOPUP_SHADOW_PADDING 10
26 #define CTXPOPUP_FRAME_CORNER_SIZE 4 4
27 #define CTXPOPUP_FONT_COLOR 0 0 0 255
28 #define CTXPOPUP_CLICKED_FONT_COLOR 255 255 255 255
29 #define CTXPOPUP_ITEM_DISABLED_COLOR 200 200 200 127
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: "01_scroller.png" COMP;
74 name: "elm.swallow.content";
84 name: "sb_vbar_clip_master";
98 clip_to:"sb_vbar_clip_master";
103 state: "default" 0.0;
105 rel2{ to:"clipper"; relative: 1.0 1.0;}
110 color: 255 255 255 0;
119 state: "default" 0.0;
123 rel1{ to:"clipper"; relative: 1.0 0.0; }
124 rel2{ to:"clipper"; relative: 1.0 1.0;}
128 name: "elm.dragable.vbar";
129 clip_to: "sb_vbar_clip";
138 state: "default" 0.0;
150 normal: "01_scroller.png";
157 name: "sb_hbar_clip_master";
161 state: "default" 0.0;
166 color: 255 255 255 0;
170 name: "sb_hbar_clip";
171 clip_to: "sb_hbar_clip_master";
176 state: "default" 0.0;
178 rel2{ to:"clipper"; relative: 1.0 1.0;}
183 color: 255 255 255 0;
192 state: "default" 0.0;
196 rel1 {to:"clipper"; relative: 0.0 1.0;}
197 rel2 {to:"clipper"; relative: 1.0 1.0;}
201 name: "elm.dragable.hbar";
202 clip_to: "sb_hbar_clip";
211 state: "default" 0.0;
214 rel1 {relative: 0.5 0.5; to: "sb_hbar";}
215 rel2 {relative: 0.5 0.5; to: "sb_hbar";}
217 normal: "01_scroller.png";
230 set_state(PART:"sb_vbar_clip", "hidden", 0.0);
231 set_state(PART:"sb_hbar_clip", "hidden", 0.0);
234 set_int(sbalways_v, 0);
235 set_int(sbalways_h, 0);
236 set_int(sbvis_timer, 0);
241 signal: "elm,action,show,vbar";
243 action: STATE_SET "default" 0.0;
244 target: "sb_vbar_clip_master";
248 signal: "elm,action,hide,vbar";
250 action: STATE_SET "hidden" 0.0;
251 target: "sb_vbar_clip_master";
254 name: "vbar_show_always";
255 signal: "elm,action,show_always,vbar";
259 v = get_int(sbvis_v);
260 v |= get_int(sbalways_v);
262 set_int(sbalways_v, 1);
263 emit("do-show-vbar", "");
269 name: "vbar_show_notalways";
270 signal: "elm,action,show_notalways,vbar";
274 v = get_int(sbalways_v);
276 set_int(sbalways_v, 0);
277 v = get_int(sbvis_v);
279 emit("do-hide-vbar", "");
286 name: "sb_vbar_show";
287 signal: "do-show-vbar";
289 action: STATE_SET "default" 0.0;
290 transition: LINEAR 1.0;
291 target: "sb_vbar_clip";
294 name: "sb_vbar_hide";
295 signal: "do-hide-vbar";
297 action: STATE_SET "hidden" 0.0;
298 transition: LINEAR 1.0;
299 target: "sb_vbar_clip";
303 signal: "elm,action,show,hbar";
305 action: STATE_SET "default" 0.0;
306 target: "sb_hbar_clip_master";
310 signal: "elm,action,hide,hbar";
312 action: STATE_SET "hidden" 0.0;
313 target: "sb_hbar_clip_master";
316 name: "hbar_show_always";
317 signal: "elm,action,show_always,hbar";
321 v = get_int(sbvis_h);
322 v |= get_int(sbalways_h);
324 set_int(sbalways_h, 1);
325 emit("do-show-hbar", "");
331 name: "hbar_show_notalways";
332 signal: "elm,action,show_notalways,hbar";
336 v = get_int(sbalways_h);
338 set_int(sbalways_h, 0);
339 v = get_int(sbvis_h);
341 emit("do-hide-hbar", "");
348 name: "sb_hbar_show";
349 signal: "do-show-hbar";
351 action: STATE_SET "default" 0.0;
352 transition: LINEAR 1.0;
353 target: "sb_hbar_clip";
356 name: "sb_hbar_hide";
357 signal: "do-hide-hbar";
359 action: STATE_SET "hidden" 0.0;
360 transition: LINEAR 1.0;
361 target: "sb_hbar_clip";
365 signal: "elm,action,scroll";
367 action: STATE_SET "default" 0.0;
370 v = get_int(sbvis_v);
371 v |= get_int(sbalways_v);
373 emit("do-show-vbar", "");
376 v = get_int(sbvis_h);
377 v |= get_int(sbalways_h);
379 emit("do-show-hbar", "");
382 v = get_int(sbvis_timer);
383 if (v > 0) cancel_timer(v);
384 v = timer(2.0, "timer0", 0);
385 set_int(sbvis_timer, v);
390 ///////////////////////////////////////////////////////////////////////////////
392 name: "elm/ctxpopup/bg/pass_event";
393 alias: "elm/ctxpopup/bg/extended/entry/pass_event";
394 alias: "elm/ctxpopup/bg/extended/entry";
395 alias: "elm/ctxpopup/bg/timepicker";
401 state: "default" 0.0;
405 state: "visible" 0.0;
413 signal: "elm,state,show";
415 action: STATE_SET "visible" 0.0;
420 signal: "elm,state,hide";
422 action: STATE_SET "default" 0.0;
427 ///////////////////////////////////////////////////////////////////////////////
429 name: "elm/ctxpopup/bg/default";
436 state: "default" 0.0;
440 state: "visible" 0.0;
448 name: "clicked_event";
449 signal: "mouse,clicked,1";
451 action: SIGNAL_EMIT "elm,action,click" "";
455 signal: "elm,state,show";
457 action: STATE_SET "visible" 0.0;
462 signal: "elm,state,hide";
464 action: STATE_SET "default" 0.0;
469 ///////////////////////////////////////////////////////////////////////////////
471 name: "elm/ctxpopup/base/no_bg_content";
473 image: "ctxpopup_bg.png" COMP;
474 image: "ctxpopup_shadow.png" COMP;
478 name:"frame_shadow_left_top_padding";
483 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
484 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
491 name:"frame_shadow_right_bottom_padding";
496 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
497 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
505 name: "frame_shadow";
510 state: "default" 0.0;
511 rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
512 rel2 {to:"frame_shadow_right_bottom_padding";}
514 normal: "ctxpopup_shadow.png";
518 color: 255 255 255 255;
522 name: "ctxpopup_frame";
527 normal: "ctxpopup_bg.png";
531 rel1 {to:"content_left_top_padding"; relative: 1 1;}
532 rel2 {to:"content_right_bottom_padding"; relative: 0 0;}
536 name:"list_shadow_right_bottom_padding";
541 min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
542 max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
546 rel1 {to:"elm.swallow.content"; relative: 1 1;}
550 name:"content_left_top_padding";
555 state: "default" 0.0;
556 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
557 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
564 name:"content_right_bottom_padding";
569 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
570 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
571 rel1 { relative: 1 1;}
572 rel2 { relative: 1 1;}
579 name: "elm.swallow.content";
582 state: "default" 0.0;
583 rel1 {to:"content_left_top_padding"; relative: 1 1;}
584 rel2 {to:"content_right_bottom_padding"; relative: 0 0;}
589 ///////////////////////////////////////////////////////////////////////////////
591 name: "elm/ctxpopup/base/default";
593 image: "00_popup_bubble_bg.png" COMP;
594 image: "00_popup_bg.png" COMP;
598 name:"frame_shadow_left_top_padding";
603 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
604 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
605 rel2 { relative: 0 0; }
612 name:"frame_shadow_right_bottom_padding";
617 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
618 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
626 name: "frame_shadow";
630 clip_to: "ctxpopup_clip";
632 state: "default" 0.0;
635 to:"frame_shadow_left_top_padding";
639 to:"frame_shadow_right_bottom_padding";
642 normal: "00_popup_bubble_bg.png";
648 part { name: "arrow_area_left";
652 clip_to: "ctxpopup_clip";
653 description { state: "default" 0.0;
660 to_y: "ctxpopup_frame_left_top";
664 to:"ctxpopup_frame_left_bottom";
668 part { name: "arrow_area_right";
672 clip_to: "ctxpopup_clip";
673 description { state: "default" 0.0;
680 to:"ctxpopup_frame_right_top";
684 to_y: "ctxpopup_frame_right_bottom";
688 part { name: "arrow_area_up";
692 clip_to: "ctxpopup_clip";
693 description { state: "default" 0.0;
700 to_x: "ctxpopup_frame_left_top";
704 to:"ctxpopup_frame_right_top";
708 part { name: "arrow_area_down";
712 clip_to: "ctxpopup_clip";
713 description { state: "default" 0.0;
720 to:"ctxpopup_frame_left_bottom";
724 to_x: "ctxpopup_frame_right_bottom";
728 part { name: "elm.swallow.arrow_up";
732 clip_to: "ctxpopup_clip";
736 confine: "arrow_area_up";
739 state: "default" 0.0;
745 part { name: "elm.swallow.arrow_down";
749 clip_to: "ctxpopup_clip";
753 confine: "arrow_area_down";
756 state: "default" 0.0;
762 part { name: "elm.swallow.arrow_left";
766 clip_to: "ctxpopup_clip";
770 confine: "arrow_area_left";
773 state: "default" 0.0;
779 part { name: "elm.swallow.arrow_right";
783 clip_to: "ctxpopup_clip";
787 confine: "arrow_area_right";
790 state: "default" 0.0;
798 name: "ctxpopup_frame_left_top";
804 min: CTXPOPUP_FRAME_CORNER_SIZE;
805 max: CTXPOPUP_FRAME_CORNER_SIZE;
810 name: "ctxpopup_frame_right_top";
816 min: CTXPOPUP_FRAME_CORNER_SIZE;
817 max: CTXPOPUP_FRAME_CORNER_SIZE;
822 name: "ctxpopup_frame_left_bottom";
828 min: CTXPOPUP_FRAME_CORNER_SIZE;
829 max: CTXPOPUP_FRAME_CORNER_SIZE;
834 name: "ctxpopup_frame_right_bottom";
840 min: CTXPOPUP_FRAME_CORNER_SIZE;
841 max: CTXPOPUP_FRAME_CORNER_SIZE;
845 name:"list_shadow_right_bottom_padding";
850 min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
851 max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
855 rel1 {to:"elm.swallow.content"; relative: 1 1;}
859 name:"content_left_top_padding";
864 state: "default" 0.0;
865 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
866 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
873 name:"content_right_bottom_padding";
878 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
879 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
880 rel1 { relative: 1 1;}
881 rel2 { relative: 1 1;}
892 clip_to: "ctxpopup_clip";
894 state: "default" 0.0;
895 rel1 {to:"ctxpopup_frame_left_top";}
896 rel2 {to:"ctxpopup_frame_right_bottom";}
898 normal: "00_popup_bg.png";
905 name: "elm.swallow.content";
907 clip_to: "ctxpopup_clip";
909 state: "default" 0.0;
911 rel1 {to:"ctxpopup_frame_left_top"; relative: 0.5 0.5;}
912 rel2 {to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
915 part { name: "ctxpopup_clip";
917 description { state: "default" 0.0;
918 color: 255 255 255 0;
919 rel1 { to:"ctxpopup_frame_left_top"; relative: 0.5 0.5; }
920 rel2 { to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5; }
922 description { state: "show_up" 0.0;
923 color: 255 255 255 0;
924 rel1 { to:"arrow_area_down"; relative: 0 1; }
925 rel2 { to:"arrow_area_down"; relative: 1 1; }
927 description { state: "show_left" 0.0;
928 color: 255 255 255 0;
929 rel1 { to:"arrow_area_right"; relative: 1 0; }
930 rel2 { to:"arrow_area_right"; relative: 1 1; }
932 description { state: "show_right" 0.0;
933 color: 255 255 255 0;
934 rel1 { to:"arrow_area_left"; relative: 0 0; }
935 rel2 { to:"arrow_area_left"; relative: 0 1; }
937 description { state: "show_down" 0.0;
938 color: 255 255 255 0;
939 rel1 { to:"arrow_area_up"; relative: 0 0; }
940 rel2 { to:"arrow_area_up"; relative: 1 0; }
942 description { state: "hide_up" 0.0;
943 color: 255 255 255 255;
944 rel1 { to:"arrow_area_down"; relative: 0 1; }
945 rel2 { to:"arrow_area_down"; relative: 1 1; }
947 description { state: "hide_left" 0.0;
948 color: 255 255 255 255;
949 rel1 { to:"arrow_area_right"; relative: 1 0; }
950 rel2 { to:"arrow_area_right"; relative: 1 1; }
952 description { state: "hide_right" 0.0;
953 color: 255 255 255 255;
954 rel1 { to:"arrow_area_left"; relative: 0 0; }
955 rel2 { to:"arrow_area_left"; relative: 0 1; }
957 description { state: "hide_down" 0.0;
958 color: 255 255 255 255;
959 rel1 { to:"arrow_area_up"; relative: 0 0; }
960 rel2 { to:"arrow_area_up"; relative: 1 0; }
962 description { state: "visible" 0.0;
963 color: 255 255 255 255;
964 rel1 { to_x:"arrow_area_left"; to_y:"arrow_area_up"; }
965 rel2 { to_x:"arrow_area_right"; to_y:"arrow_area_down"; }
970 program { name: "show";
971 signal: "elm,state,show";
973 action: STATE_SET "visible" 0.0;
974 transition: LINEAR 0.25;
975 target: "ctxpopup_clip";
977 program { name: "show_up";
978 signal: "elm,state,show,up";
980 action: STATE_SET "show_up" 0.0;
981 transition: LINEAR 0.25;
982 target: "ctxpopup_clip";
984 program { name: "show_left";
985 signal: "elm,state,show,left";
987 action: STATE_SET "show_left" 0.0;
988 transition: LINEAR 0.25;
989 target: "ctxpopup_clip";
991 program { name: "show_right";
992 signal: "elm,state,show,right";
994 action: STATE_SET "show_right" 0.0;
995 transition: LINEAR 0.25;
996 target: "ctxpopup_clip";
998 program { name: "show_down";
999 signal: "elm,state,show,down";
1001 action: STATE_SET "show_down" 0.0;
1002 transition: LINEAR 0.25;
1003 target: "ctxpopup_clip";
1005 program { name: "hide_up";
1006 signal: "elm,state,hide,up";
1008 action: STATE_SET "hide_up" 0.0;
1009 transition: LINEAR 0.25;
1010 target: "ctxpopup_clip";
1011 after: "hide_finished";
1013 program { name: "hide_left";
1014 signal: "elm,state,hide,left";
1016 action: STATE_SET "hide_left" 0.0;
1017 transition: LINEAR 0.25;
1018 target: "ctxpopup_clip";
1019 after: "hide_finished";
1021 program { name: "hide_right";
1022 signal: "elm,state,hide,right";
1024 action: STATE_SET "hide_right" 0.0;
1025 transition: LINEAR 0.25;
1026 target: "ctxpopup_clip";
1027 after: "hide_finished";
1029 program { name: "hide_down";
1030 signal: "elm,state,hide,down";
1032 action: STATE_SET "hide_down" 0.0;
1033 transition: LINEAR 0.25;
1034 target: "ctxpopup_clip";
1035 after: "hide_finished";
1037 program { name: "hide_finished";
1038 action: SIGNAL_EMIT "elm,action,hide,finished" "";
1045 ///////////////////////////////////////////////////////////////////////////////
1046 group { name: "elm/ctxpopup/arrow/default";
1048 image: "00_popup_tail_left.png" COMP;
1049 image: "00_popup_tail_right.png" COMP;
1050 image: "00_popup_tail_top.png" COMP;
1051 image: "00_popup_tail_bottom.png" COMP;
1055 name: "ctxpopup_arrow";
1059 state: "default" 0.0;
1060 min: CTXPOPUP_ARROW_SIZE_INC;
1061 max: CTXPOPUP_ARROW_SIZE_INC;
1068 min: CTXPOPUP_ARROW_SIZE_INC;
1069 max: CTXPOPUP_ARROW_SIZE_INC;
1073 normal: "00_popup_tail_left.png";
1078 min: CTXPOPUP_ARROW_SIZE_INC;
1079 max: CTXPOPUP_ARROW_SIZE_INC;
1083 normal: "00_popup_tail_right.png";
1088 min: CTXPOPUP_ARROW_SIZE_INC;
1089 max: CTXPOPUP_ARROW_SIZE_INC;
1093 normal: "00_popup_tail_top.png";
1097 state: "bottom" 0.0;
1098 min: CTXPOPUP_ARROW_SIZE_INC;
1099 max: CTXPOPUP_ARROW_SIZE_INC;
1103 normal: "00_popup_tail_bottom.png";
1110 name: "enable_left_arrow";
1111 signal: "elm,state,left";
1113 action: STATE_SET "left" 0.0;
1114 target: "ctxpopup_arrow";
1117 name: "enable_right_arrow";
1118 signal: "elm,state,right";
1120 action: STATE_SET "right" 0.0;
1121 target: "ctxpopup_arrow";
1124 name: "enable_top_arrow";
1125 signal: "elm,state,top";
1127 action: STATE_SET "top" 0.0;
1128 target: "ctxpopup_arrow";
1131 name: "enable_bottom_arrow";
1132 signal: "elm,state,bottom";
1134 action: STATE_SET "bottom" 0.0;
1135 target: "ctxpopup_arrow";
1139 ///////////////////////////////////////////////////////////////////////////////
1141 name: "elm/ctxpopup/text_style_item/default";
1144 name: "event_blocker";
1147 state: "default" 0.0;
1156 state: "default" 0.0;
1157 color: GENLIST_PART_BG_COLOR_INC;
1161 state: "clicked" 0.0;
1162 color: GENLIST_PART_LIST_PRESS_COLOR_INC;
1172 state: "default" 0.0;
1173 color: CTXPOPUP_SEPARATOR_COLOR_INC;
1180 state: "horizontal" 0.0;
1181 color: CTXPOPUP_SEPARATOR_COLOR_INC;
1188 state: "vertical" 0.0;
1189 color: CTXPOPUP_SEPARATOR_COLOR_INC;
1197 name: "left_padding";
1201 state: "default" 0.0;
1202 min: 30 CTXPOPUP_ITEM_HEIGHT_INC;
1203 max: 30 CTXPOPUP_ITEM_HEIGHT_INC;
1215 state: "default" 0.0;
1216 min: 1 CTXPOPUP_ITEM_HEIGHT_INC;
1217 max: (CTXPOPUP_CONTENT_WIDTH_MAX_INC-2*CTXPOPUP_ITEM_PADDING_INC) CTXPOPUP_ITEM_HEIGHT_INC;
1220 rel1 {relative: 1.0 0.0; to: "left_padding";}
1221 rel2 {relative: 0.0 1.0; to: "right_padding";}
1222 color: GENLIST_PART_FONT_LIST_MAIN_TEXT_UNREAD_COLOR_INC;
1224 font: "SLP:style=Roman";
1225 size: CTXPOPUP_ITEM_TEXT_SIZE_INC;
1231 state: "compress" 0.0;
1232 inherit: "default" 0.0;
1239 state: "clicked" 0.0;
1240 inherit: "default" 0.0;
1241 color: GENLIST_PART_TEXT_PRESS_COLOR_INC;
1245 name: "right_padding";
1249 state: "default" 0.0;
1251 min: 30 CTXPOPUP_ITEM_HEIGHT_INC;
1252 max: 30 CTXPOPUP_ITEM_HEIGHT_INC;
1261 ignore_flags: ON_HOLD;
1263 state: "default" 0.0;
1271 state: "default" 0.0;
1278 state: "default" 0.0;
1282 state: "disabled" 0.0;
1284 color: CTXPOPUP_ITEM_DISABLED_COLOR;
1290 name: "item_unclick";
1291 signal: "mouse,up,1";
1293 action: SIGNAL_EMIT "elm,action,click" "";
1297 signal: "elm,state,disabled";
1299 action: STATE_SET "disabled" 0.0;
1304 signal: "elm,state,enabled";
1306 action: STATE_SET "default" 0.0;
1311 signal: "elm,state,default";
1314 set_state(PART:"separator", "default", 0.0);
1319 signal: "elm,state,compress";
1321 action: STATE_SET "compress" 0.0;
1326 signal: "elm,state,vertical";
1329 set_state(PART:"separator", "vertical", 0.0);
1334 signal: "elm,state,horizontal";
1337 set_state(PART:"separator", "horizontal", 0.0);
1341 name: "item_click2";
1342 signal: "mouse,down,1";
1345 set_state(PART:"elm.text", "clicked", 0.0);
1346 set_state(PART:"bg", "clicked", 0.0);
1350 name: "item_unclick2";
1351 signal: "mouse,up,1";
1354 set_state(PART:"elm.text", "compress", 0.0);
1355 set_state(PART:"bg", "default", 0.0);
1360 ///////////////////////////////////////////////////////////////////////////////
1362 name: "elm/ctxpopup/icon_style_item/default";
1365 name: "event_blocker";
1368 state: "default" 0.0;
1378 state: "default" 0.0;
1379 color: GENLIST_PART_BG_COLOR_INC;
1381 min: CTXPOPUP_ITEM_ICON_INC;
1382 max: CTXPOPUP_ITEM_ICON_INC;
1385 state: "clicked" 0.0;
1386 color: GENLIST_PART_LIST_PRESS_COLOR_INC;
1391 name: "left_top_padding";
1394 min: (CTXPOPUP_ITEM_PADDING_INC * 2) CTXPOPUP_ITEM_PADDING_INC;
1395 max: (CTXPOPUP_ITEM_PADDING_INC * 2) CTXPOPUP_ITEM_PADDING_INC;
1407 state: "default" 0.0;
1408 color: CTXPOPUP_SEPARATOR_COLOR_INC;
1415 state: "horizontal" 0.0;
1416 color: CTXPOPUP_SEPARATOR_COLOR_INC;
1423 state: "vertical" 0.0;
1424 color: CTXPOPUP_SEPARATOR_COLOR_INC;
1432 name: "elm.swallow.icon";
1436 state: "default" 0.0;
1437 min: (CTXPOPUP_ICON_WIDTH_INC - 10) (CTXPOPUP_ICON_HEIGHT_INC - 10);
1438 max: (CTXPOPUP_ICON_WIDTH_INC - 10) (CTXPOPUP_ICON_HEIGHT_INC - 10);
1441 rel1 { to: "left_top_padding"; relative: 1 1; }
1442 rel2 { to: "right_bottom_padding"; relative: 0 0; }
1446 name: "right_bottom_padding";
1449 min: (CTXPOPUP_ITEM_PADDING_INC * 2) CTXPOPUP_ITEM_PADDING_INC;
1450 max: (CTXPOPUP_ITEM_PADDING_INC * 2) CTXPOPUP_ITEM_PADDING_INC;
1460 ignore_flags: ON_HOLD;
1462 state: "default" 0.0;
1470 state: "default" 0.0;
1477 state: "default" 0.0;
1481 state: "disabled" 0.0;
1483 color: CTXPOPUP_ITEM_DISABLED_COLOR;
1490 signal: "elm,state,default";
1493 set_state(PART:"separator", "default", 0.0);
1498 signal: "elm,state,vertical";
1501 set_state(PART:"separator", "vertical", 0.0);
1506 signal: "elm,state,horizontal";
1509 set_state(PART:"separator", "horizontal", 0.0);
1513 name: "item_unclick";
1514 signal: "mouse,up,1";
1516 action: SIGNAL_EMIT "elm,action,click" "";
1520 signal: "elm,state,disabled";
1522 action: STATE_SET "disabled" 0.0;
1527 signal: "elm,state,enabled";
1529 action: STATE_SET "default" 0.0;
1533 name: "item_click2";
1534 signal: "mouse,down,1";
1537 set_state(PART:"bg", "clicked", 0.0);
1541 name: "item_unclick2";
1542 signal: "mouse,up,1";
1545 set_state(PART:"bg", "default", 0.0);
1550 ///////////////////////////////////////////////////////////////////////////////
1552 name: "elm/ctxpopup/icon_text_style_item/default";
1555 name: "event_blocker";
1558 state: "default" 0.0;
1566 state: "default" 0.0;
1567 color: GENLIST_PART_BG_COLOR_INC;
1571 state: "clicked" 0.0;
1572 color: GENLIST_PART_LIST_PRESS_COLOR_INC;
1577 name: "icon_left_padding";
1581 state: "default" 0.0;
1582 min: CTXPOPUP_ITEM_PADDING_INC CTXPOPUP_ITEM_HEIGHT_INC;
1583 max: CTXPOPUP_ITEM_PADDING_INC CTXPOPUP_ITEM_HEIGHT_INC;
1595 state: "default" 0.0;
1596 color: CTXPOPUP_SEPARATOR_COLOR_INC;
1603 state: "horizontal" 0.0;
1604 color: CTXPOPUP_SEPARATOR_COLOR_INC;
1611 state: "vertical" 0.0;
1612 color: CTXPOPUP_SEPARATOR_COLOR_INC;
1620 name: "elm.swallow.icon";
1624 state: "default" 0.0;
1625 min: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
1626 max: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
1629 rel1 { to:"icon_left_padding"; relative: 1 0; }
1633 name: "icon_right_padding";
1637 state: "default" 0.0;
1638 min: CTXPOPUP_ITEM_PADDING_INC CTXPOPUP_ITEM_HEIGHT_INC;
1639 max: CTXPOPUP_ITEM_PADDING_INC CTXPOPUP_ITEM_HEIGHT_INC;
1643 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
1652 state: "default" 0.0;
1653 min: 1 CTXPOPUP_ITEM_HEIGHT_INC;
1654 max: (CTXPOPUP_CONTENT_WIDTH_MAX_INC-(3*CTXPOPUP_ITEM_PADDING_INC)-CTXPOPUP_ICON_WIDTH_INC) CTXPOPUP_ITEM_HEIGHT_INC;
1657 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding";}
1658 rel2 {relative: 0.0 1.0; to_x: "text_right_padding";}
1659 color: GENLIST_PART_FONT_LIST_MAIN_TEXT_UNREAD_COLOR_INC;
1661 font: "SLP:style=Roman";
1662 size: CTXPOPUP_ITEM_TEXT_SIZE_INC;
1668 state: "compress" 0.0;
1669 inherit: "default" 0.0;
1676 state: "clicked" 0.0;
1677 inherit: "default" 0.0;
1678 color: GENLIST_PART_TEXT_PRESS_COLOR_INC;
1682 name: "text_right_padding";
1687 state: "default" 0.0;
1689 min: CTXPOPUP_ITEM_PADDING_INC CTXPOPUP_ITEM_HEIGHT_INC;
1690 max: CTXPOPUP_ITEM_PADDING_INC CTXPOPUP_ITEM_HEIGHT_INC;
1699 ignore_flags: ON_HOLD;
1701 state: "default" 0.0;
1709 state: "default" 0.0;
1716 state: "default" 0.0;
1720 state: "disabled" 0.0;
1722 color: CTXPOPUP_ITEM_DISABLED_COLOR;
1728 name: "item_unclick";
1729 signal: "mouse,up,1";
1731 action: SIGNAL_EMIT "elm,action,click" "";
1735 signal: "elm,state,disabled";
1737 action: STATE_SET "disabled" 0.0;
1742 signal: "elm,state,enabled";
1744 action: STATE_SET "default" 0.0;
1749 signal: "elm,state,default";
1752 set_state(PART:"separator", "default", 0.0);
1757 signal: "elm,state,compress";
1759 action: STATE_SET "compress" 0.0;
1764 signal: "elm,state,vertical";
1767 set_state(PART:"separator", "vertical", 0.0);
1772 signal: "elm,state,horizontal";
1775 set_state(PART:"separator", "horizontal", 0.0);
1779 name: "item_click2";
1780 signal: "mouse,down,1";
1783 set_state(PART:"elm.text", "clicked", 0.0);
1784 set_state(PART:"bg", "clicked", 0.0);
1788 name: "item_unclick2";
1789 signal: "mouse,up,1";
1792 set_state(PART:"elm.text", "compress", 0.0);
1793 set_state(PART:"bg", "default", 0.0);
1799 ///////////////////////////////////////////////////////////////////////////////////////
1800 #define CTXPOPUP_ENTRY_LIST_PADDING_LEFT 3
1801 #define CTXPOPUP_ENTRY_LIST_PADDING_TOP 6
1802 #define CTXPOPUP_ENTRY_LIST_PADDING_RIGHT 3
1803 #define CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM 6
1804 //////////////////////////////////////////////////////////////////////////////////////
1806 name: "elm/ctxpopup/base/extended/entry";
1807 alias: "elm/ctxpopup/base/extended/entry/pass_event";
1809 image: "copy&paste_bg_center.png" COMP;
1810 image: "ctxpopup_shadow.png" COMP;
1814 name:"frame_shadow_left_top_padding";
1819 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1820 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1827 name:"frame_shadow_right_bottom_padding";
1832 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1833 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1834 rel1{relative: 1 1;}
1841 name: "frame_shadow";
1846 state: "default" 0.0;
1847 rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
1848 rel2 {to:"frame_shadow_right_bottom_padding";}
1850 normal: "ctxpopup_shadow.png";
1851 border: 10 10 10 10;
1862 state: "default" 0.0;
1863 rel1 {to:"elm.swallow.content";}
1864 rel2 {to:"elm.swallow.content";}
1866 normal: "copy&paste_bg_center.png";
1867 border: CTXPOPUP_ENTRY_CENTER_IMAGE_BORDER;
1873 name: "arrow_area_left";
1878 state: "default" 0.0;
1880 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
1885 to_y: "ctxpopup_frame_left_top";
1889 to:"ctxpopup_frame_left_bottom";
1894 name: "arrow_area_right";
1898 description { state: "default" 0.0;
1900 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
1905 to:"ctxpopup_frame_right_top";
1909 to_y: "ctxpopup_frame_right_bottom";
1914 name: "arrow_area_up";
1918 description { state: "default" 0.0;
1920 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
1934 name: "arrow_area_down";
1939 state: "default" 0.0;
1941 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
1955 name: "elm.swallow.arrow_up";
1962 confine: "arrow_area_up";
1965 state: "default" 0.0;
1966 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
1972 name: "elm.swallow.arrow_down";
1979 confine: "arrow_area_down";
1982 state: "default" 0.0;
1983 min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
1989 name: "elm.swallow.arrow_left";
1996 confine: "arrow_area_left";
1999 state: "default" 0.0;
2000 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
2006 name: "elm.swallow.arrow_right";
2013 confine: "arrow_area_right";
2016 state: "default" 0.0;
2017 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
2023 name: "ctxpopup_frame_left_top";
2029 min: CTXPOPUP_FRAME_CORNER_SIZE;
2030 max: CTXPOPUP_FRAME_CORNER_SIZE;
2034 name: "ctxpopup_frame_right_top";
2040 min: CTXPOPUP_FRAME_CORNER_SIZE;
2041 max: CTXPOPUP_FRAME_CORNER_SIZE;
2045 name: "ctxpopup_frame_left_bottom";
2051 min: CTXPOPUP_FRAME_CORNER_SIZE;
2052 max: CTXPOPUP_FRAME_CORNER_SIZE;
2056 name: "ctxpopup_frame_right_bottom";
2062 min: CTXPOPUP_FRAME_CORNER_SIZE;
2063 max: CTXPOPUP_FRAME_CORNER_SIZE;
2067 name:"list_shadow_right_bottom_padding";
2072 min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
2073 max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
2077 rel1 {to:"elm.swallow.content"; relative: 1 1;}
2081 name:"content_left_top_padding";
2086 state: "default" 0.0;
2087 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
2088 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
2095 name:"content_right_bottom_padding";
2100 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
2101 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
2102 rel1 { relative: 1 1;}
2103 rel2 { relative: 1 1;}
2110 name: "elm.swallow.content";
2113 state: "default" 0.0;
2115 rel1 {to:"ctxpopup_frame_left_top"; relative: 0.5 0.5;}
2116 rel2 {to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
2121 ///////////////////////////////////////////////////////////////////////////////////////
2123 name: "elm/ctxpopup/arrow/extended/entry";
2124 alias: "elm/ctxpopup/arrow/extended/entry/pass_event";
2126 image: "copy&paste_arrow_up.png" COMP;
2127 image: "copy&paste_arrow_left.png" COMP;
2128 image: "copy&paste_arrow_right.png" COMP;
2129 image: "copy&paste_arrow_down.png" COMP;
2133 name: "ctxpopup_arrow";
2137 state: "default" 0.0;
2138 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
2139 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
2146 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
2147 max: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
2151 normal: "copy&paste_arrow_left.png";
2156 min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
2157 max: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
2161 normal: "copy&paste_arrow_right.png";
2166 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
2167 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
2171 normal: "copy&paste_arrow_up.png";
2175 state: "bottom" 0.0;
2176 min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
2177 max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
2181 normal: "copy&paste_arrow_down.png";
2188 name: "enable_left_arrow";
2189 signal: "elm,state,left";
2191 action: STATE_SET "left" 0.0;
2192 target: "ctxpopup_arrow";
2195 name: "enable_right_arrow";
2196 signal: "elm,state,right";
2198 action: STATE_SET "right" 0.0;
2199 target: "ctxpopup_arrow";
2202 name: "enable_top_arrow";
2203 signal: "elm,state,top";
2205 action: STATE_SET "top" 0.0;
2206 target: "ctxpopup_arrow";
2209 name: "enable_bottom_arrow";
2210 signal: "elm,state,bottom";
2212 action: STATE_SET "bottom" 0.0;
2213 target: "ctxpopup_arrow";
2217 ///////////////////////////////////////////////////////////////////////////////////////
2218 #define CTXPOPUP_ENTRY_ITEM_BG_PART \
2224 state: "default" 0.0;\
2226 rel1 {to:"left_bg_padding"; relative: 1 0;}\
2227 rel2 {to:"right_bg_padding"; relative: 0 1;}\
2229 normal: "copy&paste_press_center.png";\
2234 state: "clicked" 0.0;\
2235 inherit: "default" 0.0;\
2238 normal: "copy&paste_press_center.png";\
2243 #define CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART \
2245 name: "left_bg_padding";\
2250 state: "default" 0.0;\
2252 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
2253 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
2256 rel1 { to: "event_blocker"; relative: 0 0; }\
2257 rel2 { to: "event_blocker"; relative: 0 1; }\
2259 normal: "copy&paste_press_left.png";\
2260 border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
2265 state: "clicked" 0.0;\
2266 inherit: "default" 0.0;\
2269 normal: "copy&paste_press_left.png";\
2270 border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
2275 #define CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART \
2277 name: "right_bg_padding";\
2282 state: "default" 0.0;\
2284 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
2285 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
2288 rel1 { to: "event_blocker"; relative: 1 0; }\
2289 rel2 { to: "event_blocker"; relative: 1 1; }\
2291 normal: "copy&paste_press_right.png";\
2292 border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
2297 state: "clicked" 0.0;\
2298 inherit: "default" 0.0;\
2301 normal: "copy&paste_press_right.png";\
2302 border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
2307 #define CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART \
2309 name: "left_padding";\
2314 state: "default" 0.0;\
2316 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
2317 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
2322 #define CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART \
2324 name: "right_padding";\
2329 state: "default" 0.0;\
2331 min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
2332 max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
2337 #define CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART \
2339 name: "left_separator";\
2344 state: "default" 0.0;\
2346 color: CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_COLOR;\
2347 min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
2348 max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
2355 state: "vertical" 0.0;\
2356 inherit: "default" 0.0;\
2360 state: "horizontal" 0.0;\
2361 inherit: "default" 0.0;\
2365 #define CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART \
2367 name: "right_separator";\
2372 state: "default" 0.0;\
2374 color: CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_COLOR;\
2375 min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
2376 max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
2387 state: "vertical" 0.0;\
2388 inherit: "default" 0.0;\
2392 state: "horizontal" 0.0;\
2393 inherit: "default" 0.0;\
2397 ///////////////////////////////////////////////////////////////////////////////////////
2400 name: "elm/ctxpopup/text_style_item/extended/entry";
2401 alias: "elm/ctxpopup/text_style_item/extended/entry/pass_event";
2403 image: "copy&paste_press_center.png" COMP;
2404 image: "copy&paste_press_left.png" COMP;
2405 image: "copy&paste_press_right.png" COMP;
2409 name: "event_blocker";
2412 state: "default" 0.0;
2416 CTXPOPUP_ENTRY_ITEM_BG_PART
2417 CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART
2418 CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART
2419 CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
2420 CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
2421 CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
2422 CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
2429 state: "default" 0.0;
2430 min: 1 CTXPOPUP_ENTRY_ITEM_HEIGHT;
2431 max: CTXPOPUP_ENTRY_ITEM_WIDTH_MAX CTXPOPUP_ENTRY_ITEM_HEIGHT;
2434 rel1 {relative: 1.0 0.0; to: "left_padding";}
2435 rel2 {relative: 0.0 1.0; to: "right_padding";}
2436 color: CTXPOPUP_ENTRY_ITEM_TEXT_COLOR;
2438 font: "SLP:style=Roman";
2439 size: CTXPOPUP_ENTRY_ITEM_FONT_SIZE;
2445 state: "clicked" 0.0;
2446 inherit: "default" 0.0;
2447 color: CTXPOPUP_ENTRY_ITEM_TEXT_COLOR;
2454 ignore_flags: ON_HOLD;
2456 state: "default" 0.0;
2464 state: "default" 0.0;
2471 state: "default" 0.0;
2475 state: "disabled" 0.0;
2477 color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
2483 name: "item_unclick";
2484 signal: "mouse,up,1";
2486 action: SIGNAL_EMIT "elm,action,click" "";
2490 signal: "elm,state,disabled";
2492 action: STATE_SET "disabled" 0.0;
2497 signal: "elm,state,enabled";
2499 action: STATE_SET "default" 0.0;
2503 name: "item_click2";
2504 signal: "mouse,down,1";
2507 set_state(PART:"elm.text", "clicked", 0.0);
2508 set_state(PART:"bg", "clicked", 0.0);
2509 set_state(PART:"left_bg_padding", "clicked", 0.0);
2510 set_state(PART:"right_bg_padding", "clicked", 0.0);
2514 name: "item_unclick2";
2515 signal: "mouse,up,1";
2518 set_state(PART:"elm.text", "default", 0.0);
2519 set_state(PART:"bg", "default", 0.0);
2520 set_state(PART:"left_bg_padding", "default", 0.0);
2521 set_state(PART:"right_bg_padding", "default", 0.0);
2526 signal: "elm,state,default";
2529 set_state(PART:"left_separator", "default", 0.0);
2530 set_state(PART:"right_separator", "default", 0.0);
2535 signal: "elm,state,vertical";
2538 set_state(PART:"left_separator", "vertical", 0.0);
2539 set_state(PART:"right_separator", "vertical", 0.0);
2544 signal: "elm,state,horizontal";
2547 set_state(PART:"left_separator", "horizontal", 0.0);
2548 set_state(PART:"right_separator", "horizontal", 0.0);
2553 ///////////////////////////////////////////////////////////////////////////////
2555 name: "elm/ctxpopup/icon_style_item/extended/entry";
2557 image: "copy&paste_press_center.png" COMP;
2558 image: "copy&paste_press_left.png" COMP;
2559 image: "copy&paste_press_right.png" COMP;
2563 name: "event_blocker";
2566 state: "default" 0.0;
2570 CTXPOPUP_ENTRY_ITEM_BG_PART
2571 CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART
2572 CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART
2573 CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
2574 CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
2575 CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
2576 CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
2578 name: "elm.swallow.icon";
2582 state: "default" 0.0;
2588 rel1 {relative: 1.0 0.0; to: "left_padding";}
2589 rel2 {relative: 0.0 1.0; to: "right_padding";}
2593 name: "elm.swallow.icon.paint";
2597 state: "default" 0.0;
2599 color: 255 255 0 255;
2600 rel1 { to: "elm.swallow.icon"; }
2601 rel2 { to: "elm.swallow.icon"; }
2608 ignore_flags: ON_HOLD;
2610 state: "default" 0.0;
2618 state: "default" 0.0;
2625 state: "default" 0.0;
2629 state: "disabled" 0.0;
2631 color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
2637 name: "item_unclick";
2638 signal: "mouse,up,1";
2640 action: SIGNAL_EMIT "elm,action,click" "";
2644 signal: "elm,state,disabled";
2646 action: STATE_SET "disabled" 0.0;
2650 name: "item_click2";
2651 signal: "mouse,down,1";
2654 set_state(PART:"bg", "clicked", 0.0);
2655 set_state(PART:"left_bg_padding", "clicked", 0.0);
2656 set_state(PART:"right_bg_padding", "clicked", 0.0);
2660 name: "item_unclick2";
2661 signal: "mouse,up,1";
2664 set_state(PART:"bg", "default", 0.0);
2665 set_state(PART:"left_bg_padding", "default", 0.0);
2666 set_state(PART:"right_bg_padding", "default", 0.0);
2671 signal: "elm,state,default";
2674 set_state(PART:"left_separator", "default", 0.0);
2675 set_state(PART:"right_separator", "default", 0.0);
2680 signal: "elm,state,vertical";
2683 set_state(PART:"left_separator", "vertical", 0.0);
2684 set_state(PART:"right_separator", "vertical", 0.0);
2689 signal: "elm,state,horizontal";
2692 set_state(PART:"left_separator", "horizontal", 0.0);
2693 set_state(PART:"right_separator", "horizontal", 0.0);
2699 ///////////////////////////////////////////////////////////////////////////////////////
2700 #define CTXPOPUP_IE_FONT_COLOR 255 255 255 255
2701 #define CTXPOPUP_IE_CLICKED_FONT_COLOR 255 255 100 255
2702 #define CTXPOPUP_IE_SEPARATOR_COLOR 120 120 120 255
2703 #define CTXPOPUP_IE_ITEM_DISABLED_COLOR 200 200 200 127
2704 #define CTXPOPUP_IE_SEPARATOR_PADDING_SIZE 6 2
2705 ///////////////////////////////////////////////////////////////////////////////
2707 name: "elm/ctxpopup/base/extended/imageeditor";
2709 image: "imageeditor_bg.png" COMP;
2713 name: "ctxpopup_frame";
2718 normal: "imageeditor_bg.png";
2719 border: 10 10 10 10;
2725 name: "elm.swallow.content";
2728 state: "default" 0.0;
2733 ///////////////////////////////////////////////////////////////////////////////
2734 group { name: "elm/ctxpopup/arrow/extended/imageeditor";
2736 image: "imageeditor_left_arrow.png" COMP;
2737 image: "imageeditor_right_arrow.png" COMP;
2738 image: "imageeditor_top_arrow.png" COMP;
2739 image: "imageeditor_bottom_arrow.png" COMP;
2743 name: "ctxpopup_arrow";
2747 state: "default" 0.0;
2748 min: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
2749 max: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
2756 min: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
2757 max: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
2761 normal: "imageeditor_left_arrow.png";
2766 min: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
2767 max: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
2771 normal: "imageeditor_right_arrow.png";
2776 min: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
2777 max: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
2781 normal: "imageeditor_top_arrow.png";
2785 state: "bottom" 0.0;
2786 min: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
2787 max: CTXPOPUP_IE_ARROW_SIZE_INC CTXPOPUP_IE_ARROW_SIZE_INC;
2791 normal: "imageeditor_bottom_arrow.png";
2798 name: "enable_left_arrow";
2799 signal: "elm,state,left";
2801 action: STATE_SET "left" 0.0;
2802 target: "ctxpopup_arrow";
2805 name: "enable_right_arrow";
2806 signal: "elm,state,right";
2808 action: STATE_SET "right" 0.0;
2809 target: "ctxpopup_arrow";
2812 name: "enable_top_arrow";
2813 signal: "elm,state,top";
2815 action: STATE_SET "top" 0.0;
2816 target: "ctxpopup_arrow";
2819 name: "enable_bottom_arrow";
2820 signal: "elm,state,bottom";
2822 action: STATE_SET "bottom" 0.0;
2823 target: "ctxpopup_arrow";
2827 ///////////////////////////////////////////////////////////////////////////////
2829 name: "elm/ctxpopup/icon_text_style_item/extended/imageeditor";
2831 image: "imageeditor_bar_press.png" COMP;
2836 name: "event_blocker";
2839 state: "default" 0.0;
2848 state: "default" 0.0;
2849 rel1 { to:"separator_left_top_padding"; relative: 1 0; }
2850 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
2854 state: "clicked" 0.0;
2855 rel1 { to:"separator_left_top_padding"; relative: 1 0; }
2856 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
2858 normal: "imageeditor_bar_press.png";
2859 border: 10 10 10 10;
2866 name: "icon_left_padding";
2871 state: "default" 0.0;
2872 min: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
2873 max: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
2880 name: "separator_left_top_padding";
2884 state: "default" 0.0;
2886 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2887 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2893 name: "separator_right_top_padding";
2897 state: "default" 0.0;
2899 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2900 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2906 name: "separator_left_bottom_padding";
2910 state: "default" 0.0;
2912 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2913 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2919 name: "separator_right_bottom_padding";
2923 state: "default" 0.0;
2925 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2926 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2933 name: "bottom_separator";
2938 state: "default" 0.0;
2939 color: CTXPOPUP_IE_SEPARATOR_COLOR;
2940 rel1 { to:"separator_left_bottom_padding"; relative: 1 0.5; }
2941 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
2945 name: "elm.swallow.icon";
2949 state: "default" 0.0;
2950 min: CTXPOPUP_IE_ICON_WIDTH_INC CTXPOPUP_IE_ICON_HEIGHT_INC;
2951 max: CTXPOPUP_IE_ICON_WIDTH_INC CTXPOPUP_IE_ICON_HEIGHT_INC;
2954 rel1 { to:"icon_left_padding"; relative: 1 0; }
2958 name: "icon_right_padding";
2963 state: "default" 0.0;
2964 min: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
2965 max: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
2969 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
2978 state: "default" 0.0;
2979 min: 1 CTXPOPUP_IE_ITEM_HEIGHT_INC;
2980 max: (CTXPOPUP_IE_CONTENT_WIDTH_MAX_INC-(3*CTXPOPUP_IE_ITEM_PADDING_INC)-CTXPOPUP_IE_ICON_WIDTH_INC) CTXPOPUP_IE_ITEM_HEIGHT_INC;
2983 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding";}
2984 rel2 {relative: 0.0 1.0; to_x: "text_right_padding";}
2985 color: CTXPOPUP_IE_FONT_COLOR;
2988 size: CTXPOPUP_IE_FONT_SIZE_INC;
2994 state: "clicked" 0.0;
2995 inherit: "default" 0.0;
2996 color: CTXPOPUP_IE_CLICKED_FONT_COLOR;
3000 name: "text_right_padding";
3005 state: "default" 0.0;
3007 min: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
3008 max: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
3017 ignore_flags: ON_HOLD;
3019 state: "default" 0.0;
3027 state: "default" 0.0;
3034 state: "default" 0.0;
3038 state: "disabled" 0.0;
3040 color: CTXPOPUP_IE_ITEM_DISABLED_COLOR;
3046 name: "item_unclick";
3047 signal: "mouse,up,1";
3049 action: SIGNAL_EMIT "elm,action,click" "";
3053 signal: "elm,state,disabled";
3055 action: STATE_SET "disabled" 0.0;
3060 signal: "elm,state,enabled";
3062 action: STATE_SET "default" 0.0;
3066 name: "item_click2";
3067 signal: "mouse,down,1";
3070 set_state(PART:"elm.text", "clicked", 0.0);
3074 name: "item_unclick2";
3075 signal: "mouse,up,1";
3078 set_state(PART:"elm.text", "default", 0.0);
3083 ///////////////////////////////////////////////////////////////////////////////////////
3085 name: "elm/ctxpopup/text_style_item/extended/imageeditor";
3087 image: "imageeditor_bar_press.png" COMP;
3092 name: "separator_left_padding";
3096 state: "default" 0.0;
3109 state: "default" 0.0;
3110 rel1 { to:"separator_left_top_padding"; relative: 1 0; }
3111 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
3115 state: "clicked" 0.0;
3116 rel1 { to:"separator_left_top_padding"; relative: 1 0; }
3117 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
3119 normal: "imageeditor_bar_press.png";
3120 border: 10 10 10 10;
3126 name: "separator_left_top_padding";
3130 state: "default" 0.0;
3132 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
3133 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
3139 name: "separator_right_top_padding";
3143 state: "default" 0.0;
3145 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
3146 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
3152 name: "separator_left_bottom_padding";
3156 state: "default" 0.0;
3158 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
3159 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
3165 name: "separator_right_bottom_padding";
3169 state: "default" 0.0;
3171 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
3172 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
3179 name: "bottom_separator";
3184 state: "default" 0.0;
3185 color: CTXPOPUP_IE_SEPARATOR_COLOR;
3186 rel1 { to:"separator_left_bottom_padding"; relative: 1 0.5; }
3187 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
3191 name: "left_padding";
3196 state: "default" 0.0;
3197 min: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
3198 max: CTXPOPUP_IE_ITEM_PADDING_INC CTXPOPUP_IE_ITEM_HEIGHT_INC;
3210 state: "default" 0.0;
3211 min: 1 CTXPOPUP_IE_ITEM_HEIGHT_INC;
3212 max: (CTXPOPUP_IE_CONTENT_WIDTH_MAX_INC-2*CTXPOPUP_IE_ITEM_PADDING_INC) CTXPOPUP_IE_ITEM_HEIGHT_INC;
3215 rel1 {relative: 1.0 0.0; to: "left_padding";}
3216 rel2 {relative: 0.0 1.0; to: "right_padding";}
3217 color: CTXPOPUP_IE_FONT_COLOR;
3220 size: CTXPOPUP_IE_FONT_SIZE_INC;
3226 state: "clicked" 0.0;
3227 inherit: "default" 0.0;
3228 color: CTXPOPUP_IE_CLICKED_FONT_COLOR;
3232 name: "right_padding";
3236 state: "default" 0.0;
3238 min: 30 CTXPOPUP_IE_ITEM_HEIGHT_INC;
3239 max: 30 CTXPOPUP_IE_ITEM_HEIGHT_INC;
3248 ignore_flags: ON_HOLD;
3250 state: "default" 0.0;
3258 state: "default" 0.0;
3265 state: "default" 0.0;
3269 state: "disabled" 0.0;
3271 color: CTXPOPUP_IE_ITEM_DISABLED_COLOR;
3279 name: "item_unclick";
3280 signal: "mouse,up,1";
3282 action: SIGNAL_EMIT "elm,action,click" "";
3286 signal: "elm,state,disabled";
3288 action: STATE_SET "disabled" 0.0;
3293 signal: "elm,state,enabled";
3295 action: STATE_SET "default" 0.0;
3300 name: "item_click2";
3301 signal: "mouse,down,1";
3304 set_state(PART:"elm.text", "clicked", 0.0);
3308 name: "item_unclick2";
3309 signal: "mouse,up,1";
3312 set_state(PART:"elm.text", "default", 0.0);
3318 ///////////////////////////////////////////////////////////////////////////////////////
3319 #define CTXPOPUP_TP_TEXT_WIDTH 32
3320 #define CTXPOPUP_TP_PADDING 15
3321 #define CTXPOPUP_TP_FONT_COLOR 231 173 95 255
3322 #define CTXPOPUP_TP_CLICKED_FONT_COLOR 255 255 255 255
3323 #define CTXPOPUP_TP_FONT_SIZE 24
3324 ///////////////////////////////////////////////////////////////////////////////
3326 name: "elm/ctxpopup/base/datetime/default";
3327 alias: "elm/ctxpopup/base/timepicker";
3330 name: "ctxpopup_frame";
3334 color: CTXPOPUP_TP_BG_COLOR_INC;
3335 min: 1 CTXPOPUP_TP_HEIGHT_INC;
3336 rel1 { to: "elm.swallow.content"; }
3337 rel2 { to: "elm.swallow.content"; }
3341 name: "elm.swallow.content";
3345 state: "default" 0.0;
3346 min: 1 CTXPOPUP_TP_HEIGHT_INC;
3349 part { name: "arrow_area_left";
3353 description { state: "default" 0.0;
3360 to_y: "ctxpopup_frame";
3364 to:"ctxpopup_frame";
3368 part { name: "arrow_area_right";
3372 description { state: "default" 0.0;
3379 to:"ctxpopup_frame";
3383 to_y: "ctxpopup_frame";
3387 part { name: "arrow_area_up";
3391 description { state: "default" 0.0;
3398 to_x: "ctxpopup_frame";
3402 to:"ctxpopup_frame";
3406 part { name: "arrow_area_down";
3410 description { state: "default" 0.0;
3417 to:"ctxpopup_frame";
3421 to_x: "ctxpopup_frame";
3425 part { name: "elm.swallow.arrow_up";
3432 confine: "arrow_area_up";
3435 state: "default" 0.0;
3441 part { name: "elm.swallow.arrow_down";
3448 confine: "arrow_area_down";
3451 state: "default" 0.0;
3457 part { name: "elm.swallow.arrow_left";
3464 confine: "arrow_area_left";
3467 state: "default" 0.0;
3473 part { name: "elm.swallow.arrow_right";
3480 confine: "arrow_area_right";
3483 state: "default" 0.0;
3491 ///////////////////////////////////////////////////////////////////////////////
3492 group { name: "elm/ctxpopup/arrow/datetime/default";
3493 alias: "elm/ctxpopup/arrow/timepicker";
3495 image: "timepicker_left_arrow.png" COMP;
3496 image: "timepicker_right_arrow.png" COMP;
3497 image: "timepicker_top_arrow.png" COMP;
3498 image: "timepicker_bottom_arrow.png" COMP;
3502 name: "ctxpopup_arrow";
3506 state: "default" 0.0;
3507 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
3508 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
3515 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
3516 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
3520 normal: "timepicker_left_arrow.png";
3525 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
3526 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
3530 normal: "timepicker_right_arrow.png";
3535 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
3536 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
3540 normal: "timepicker_top_arrow.png";
3544 state: "bottom" 0.0;
3545 min: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
3546 max: CTXPOPUP_TP_ARROW_SIZE_INC CTXPOPUP_TP_ARROW_SIZE_INC;
3550 normal: "timepicker_bottom_arrow.png";
3557 name: "enable_left_arrow";
3558 signal: "elm,state,left";
3560 action: STATE_SET "left" 0.0;
3561 target: "ctxpopup_arrow";
3564 name: "enable_right_arrow";
3565 signal: "elm,state,right";
3567 action: STATE_SET "right" 0.0;
3568 target: "ctxpopup_arrow";
3571 name: "enable_top_arrow";
3572 signal: "elm,state,top";
3574 action: STATE_SET "top" 0.0;
3575 target: "ctxpopup_arrow";
3578 name: "enable_bottom_arrow";
3579 signal: "elm,state,bottom";
3581 action: STATE_SET "bottom" 0.0;
3582 target: "ctxpopup_arrow";
3586 ///////////////////////////////////////////////////////////////////////////////
3588 name: "elm/ctxpopup/text_style_item/datetime/default";
3589 alias: "elm/ctxpopup/text_style_item/timepicker";
3592 name: "left_padding";
3597 state: "default" 0.0;
3598 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
3599 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
3611 state: "default" 0.0;
3612 min: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
3613 max: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT_INC;
3616 rel1 {relative: 1.0 0.0; to: "left_padding";}
3617 color: CTXPOPUP_TP_FONT_COLOR;
3620 size: CTXPOPUP_TP_FONT_SIZE;
3626 state: "clicked" 0.0;
3627 inherit: "default" 0.0;
3628 color: 255 255 255 255;
3632 name: "right_padding";
3636 state: "default" 0.0;
3637 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
3638 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT_INC;
3640 rel1 {relative: 1.0 0.0; to: "elm.text";}
3648 ignore_flags: ON_HOLD;
3650 state: "default" 0.0;
3658 state: "default" 0.0;
3665 name: "item_unclick";
3666 signal: "mouse,up,1";
3668 action: SIGNAL_EMIT "elm,action,click" "";
3672 signal: "mouse,down,1";
3675 set_state(PART:"elm.text", "clicked", 0.0);
3679 name: "item_unclick2";
3680 signal: "mouse,up,1";
3683 set_state(PART:"elm.text", "default", 0.0);