4 * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
6 * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
7 * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
8 * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
10 * This library is free software; you can redistribute it and/or modify it under
11 * the terms of the GNU Lesser General Public License as published by the
12 * Free Software Foundation; either version 2.1 of the License, or (at your option)
15 * This library is distributed in the hope that it will be useful, but WITHOUT ANY
16 * WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
18 * License for more details.
20 * You should have received a copy of the GNU Lesser General Public License
21 * along with this library; if not, write to the Free Software Foundation, Inc., 51
22 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
26 ///////////////////////////////////////////////////////////////////////////////////////
30 ///////////////////////////////////////////////////////////////////////////////////////
32 #define CTXPOPUP_ITEM_PADDING 15
33 #define CTXPOPUP_SHADOW_PADDING 10
34 #define CTXPOPUP_FRAME_CORNER_SIZE 4 4
35 #define CTXPOPUP_ITEM_HEIGHT 70
36 #define CTXPOPUP_CONTENT_WIDTH_MIN 240
37 #define CTXPOPUP_CONTENT_WIDTH_MAX 420
38 #define CTXPOPUP_CONTENT_HEIGHT_MAX 630
39 #define CTXPOPUP_SEPARATOR_COLOR 204 198 180 255
40 #define CTXPOPUP_FONT_COLOR 0 0 0 255
41 #define CTXPOPUP_CLICKED_FONT_COLOR 255 255 255 255
42 #define CTXPOPUP_ITEM_DISABLED_COLOR 200 200 200 127
43 #define CTXPOPUP_ICON_WIDTH 50
44 #define CTXPOPUP_ICON_HEIGHT 50
45 #define CTXPOPUP_ARROW_SIZE 30 30
46 #define CTXPOPUP_LIST_PADDING 10
47 #define CTXPOPUP_LIST_SHADOW_PADDING 3
49 ///////////////////////////////////////////////////////////////////////////////
51 name: "elm/scroller/base/ctxpopup";
53 public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
58 v = get_int(sbalways_v);
60 emit("do-hide-vbar", "");
66 v = get_int(sbalways_h);
68 emit("do-hide-hbar", "");
72 set_int(sbvis_timer, 0);
77 image: "01_scroller.png" COMP;
90 name: "elm.swallow.content";
100 name: "sb_vbar_clip_master";
104 state: "default" 0.0;
109 color: 255 255 255 0;
113 name: "sb_vbar_clip";
114 clip_to:"sb_vbar_clip_master";
119 state: "default" 0.0;
121 rel2{ to:"clipper"; relative: 1.0 1.0;}
126 color: 255 255 255 0;
135 state: "default" 0.0;
139 rel1{ to:"clipper"; relative: 1.0 0.0; }
140 rel2{ to:"clipper"; relative: 1.0 1.0;}
144 name: "elm.dragable.vbar";
145 clip_to: "sb_vbar_clip";
154 state: "default" 0.0;
166 normal: "01_scroller.png";
173 name: "sb_hbar_clip_master";
177 state: "default" 0.0;
182 color: 255 255 255 0;
186 name: "sb_hbar_clip";
187 clip_to: "sb_hbar_clip_master";
192 state: "default" 0.0;
194 rel2{ to:"clipper"; relative: 1.0 1.0;}
199 color: 255 255 255 0;
208 state: "default" 0.0;
212 rel1 {to:"clipper"; relative: 0.0 1.0;}
213 rel2 {to:"clipper"; relative: 1.0 1.0;}
217 name: "elm.dragable.hbar";
218 clip_to: "sb_hbar_clip";
227 state: "default" 0.0;
230 rel1 {relative: 0.5 0.5; to: "sb_hbar";}
231 rel2 {relative: 0.5 0.5; to: "sb_hbar";}
233 normal: "01_scroller.png";
246 set_state(PART:"sb_vbar_clip", "hidden", 0.0);
247 set_state(PART:"sb_hbar_clip", "hidden", 0.0);
250 set_int(sbalways_v, 0);
251 set_int(sbalways_h, 0);
252 set_int(sbvis_timer, 0);
257 signal: "elm,action,show,vbar";
259 action: STATE_SET "default" 0.0;
260 target: "sb_vbar_clip_master";
264 signal: "elm,action,hide,vbar";
266 action: STATE_SET "hidden" 0.0;
267 target: "sb_vbar_clip_master";
270 name: "vbar_show_always";
271 signal: "elm,action,show_always,vbar";
275 v = get_int(sbvis_v);
276 v |= get_int(sbalways_v);
278 set_int(sbalways_v, 1);
279 emit("do-show-vbar", "");
285 name: "vbar_show_notalways";
286 signal: "elm,action,show_notalways,vbar";
290 v = get_int(sbalways_v);
292 set_int(sbalways_v, 0);
293 v = get_int(sbvis_v);
295 emit("do-hide-vbar", "");
302 name: "sb_vbar_show";
303 signal: "do-show-vbar";
305 action: STATE_SET "default" 0.0;
306 transition: LINEAR 1.0;
307 target: "sb_vbar_clip";
310 name: "sb_vbar_hide";
311 signal: "do-hide-vbar";
313 action: STATE_SET "hidden" 0.0;
314 transition: LINEAR 1.0;
315 target: "sb_vbar_clip";
319 signal: "elm,action,show,hbar";
321 action: STATE_SET "default" 0.0;
322 target: "sb_hbar_clip_master";
326 signal: "elm,action,hide,hbar";
328 action: STATE_SET "hidden" 0.0;
329 target: "sb_hbar_clip_master";
332 name: "hbar_show_always";
333 signal: "elm,action,show_always,hbar";
337 v = get_int(sbvis_h);
338 v |= get_int(sbalways_h);
340 set_int(sbalways_h, 1);
341 emit("do-show-hbar", "");
347 name: "hbar_show_notalways";
348 signal: "elm,action,show_notalways,hbar";
352 v = get_int(sbalways_h);
354 set_int(sbalways_h, 0);
355 v = get_int(sbvis_h);
357 emit("do-hide-hbar", "");
364 name: "sb_hbar_show";
365 signal: "do-show-hbar";
367 action: STATE_SET "default" 0.0;
368 transition: LINEAR 1.0;
369 target: "sb_hbar_clip";
372 name: "sb_hbar_hide";
373 signal: "do-hide-hbar";
375 action: STATE_SET "hidden" 0.0;
376 transition: LINEAR 1.0;
377 target: "sb_hbar_clip";
381 signal: "elm,action,scroll";
383 action: STATE_SET "default" 0.0;
386 v = get_int(sbvis_v);
387 v |= get_int(sbalways_v);
389 emit("do-show-vbar", "");
392 v = get_int(sbvis_h);
393 v |= get_int(sbalways_h);
395 emit("do-show-hbar", "");
398 v = get_int(sbvis_timer);
399 if (v > 0) cancel_timer(v);
400 v = timer(2.0, "timer0", 0);
401 set_int(sbvis_timer, v);
406 ///////////////////////////////////////////////////////////////////////////////
408 name: "elm/ctxpopup/bg/pass_event";
409 alias: "elm/ctxpopup/bg/extended/entry/pass_event";
415 state: "default" 0.0;
419 state: "visible" 0.0;
427 signal: "elm,state,show";
429 action: STATE_SET "visible" 0.0;
434 signal: "elm,state,hide";
436 action: STATE_SET "default" 0.0;
441 ///////////////////////////////////////////////////////////////////////////////
443 name: "elm/ctxpopup/bg/default";
450 state: "default" 0.0;
454 state: "visible" 0.0;
462 name: "clicked_event";
463 signal: "mouse,clicked,1";
465 action: SIGNAL_EMIT "elm,action,click" "";
469 signal: "elm,state,show";
471 action: STATE_SET "visible" 0.0;
476 signal: "elm,state,hide";
478 action: STATE_SET "default" 0.0;
483 ///////////////////////////////////////////////////////////////////////////////
485 name: "elm/ctxpopup/base/no_bg_content";
487 image: "ctxpopup_bg.png" COMP;
488 image: "ctxpopup_shadow.png" COMP;
492 name:"frame_shadow_left_top_padding";
497 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
498 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
505 name:"frame_shadow_right_bottom_padding";
510 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
511 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
519 name: "frame_shadow";
524 state: "default" 0.0;
525 rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
526 rel2 {to:"frame_shadow_right_bottom_padding";}
528 normal: "ctxpopup_shadow.png";
532 color: 255 255 255 255;
536 name: "ctxpopup_frame";
541 normal: "ctxpopup_bg.png";
545 rel1 {to:"content_left_top_padding"; relative: 1 1;}
546 rel2 {to:"content_right_bottom_padding"; relative: 0 0;}
550 name:"list_shadow_right_bottom_padding";
555 min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
556 max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
560 rel1 {to:"elm.swallow.content"; relative: 1 1;}
564 name:"content_left_top_padding";
569 state: "default" 0.0;
570 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
571 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
578 name:"content_right_bottom_padding";
583 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
584 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
585 rel1 { relative: 1 1;}
586 rel2 { relative: 1 1;}
593 name: "elm.swallow.content";
596 state: "default" 0.0;
597 rel1 {to:"content_left_top_padding"; relative: 1 1;}
598 rel2 {to:"content_right_bottom_padding"; relative: 0 0;}
603 ///////////////////////////////////////////////////////////////////////////////
605 name: "elm/ctxpopup/base/default";
607 image: "00_popup_bubble_bg_left_top.png" COMP;
608 image: "00_popup_bubble_bg_right_top.png" COMP;
609 image: "00_popup_bubble_bg_left_bottom.png" COMP;
610 image: "00_popup_bubble_bg_right_bottom.png" COMP;
611 image: "00_popup_bubble_bg_no_shadow.png" COMP;
612 image: "00_popup_bubble_bg.png" COMP;
616 name:"frame_shadow_left_top_padding";
621 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
622 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
623 rel2 { relative: 0 0; }
630 name:"frame_shadow_right_bottom_padding";
635 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
636 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
644 name: "frame_shadow";
649 state: "default" 0.0;
650 rel1 {to:"frame_shadow_left_top_padding";}
651 rel2 {to:"frame_shadow_right_bottom_padding";}
653 normal: "00_popup_bubble_bg.png";
657 color: 255 255 255 255;
662 name: "ctxpopup_frame_left_top";
667 min: CTXPOPUP_FRAME_CORNER_SIZE;
668 max: CTXPOPUP_FRAME_CORNER_SIZE;
670 normal: "00_popup_bubble_bg_left_top.png";
676 name: "ctxpopup_frame_right_top";
681 min: CTXPOPUP_FRAME_CORNER_SIZE;
682 max: CTXPOPUP_FRAME_CORNER_SIZE;
684 normal: "00_popup_bubble_bg_right_top.png";
690 name: "ctxpopup_frame_left_bottom";
695 min: CTXPOPUP_FRAME_CORNER_SIZE;
696 max: CTXPOPUP_FRAME_CORNER_SIZE;
698 normal: "00_popup_bubble_bg_left_bottom.png";
704 name: "ctxpopup_frame_right_bottom";
709 min: CTXPOPUP_FRAME_CORNER_SIZE;
710 max: CTXPOPUP_FRAME_CORNER_SIZE;
712 normal: "00_popup_bubble_bg_right_bottom.png";
718 name: "ctxpopup_frame_top";
723 normal: "00_popup_bubble_bg_no_shadow.png";
726 rel1 {to:"ctxpopup_frame_left_top"; relative: 1 0;}
727 rel2 {to:"ctxpopup_frame_right_top"; relative: 0 1;}
732 name: "ctxpopup_frame";
737 normal: "00_popup_bubble_bg_no_shadow.png";
740 rel1 {to:"ctxpopup_frame_left_top"; relative: 0 1;}
741 rel2 {to:"ctxpopup_frame_right_bottom"; relative: 1 0;}
746 name: "ctxpopup_frame_bottom";
751 normal: "00_popup_bubble_bg_no_shadow.png";
754 rel1 {to:"ctxpopup_frame_left_bottom"; relative: 1 0;}
755 rel2 {to:"ctxpopup_frame_right_bottom"; relative: 0 1;}
760 name:"list_shadow_right_bottom_padding";
765 min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
766 max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
770 rel1 {to:"elm.swallow.content"; relative: 1 1;}
774 name:"content_left_top_padding";
779 state: "default" 0.0;
780 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
781 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
788 name:"content_right_bottom_padding";
793 min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
794 max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
795 rel1 { relative: 1 1;}
796 rel2 { relative: 1 1;}
803 name: "elm.swallow.content";
806 state: "default" 0.0;
808 rel1 {to:"ctxpopup_frame_left_top"; relative: 0.5 0.5;}
809 rel2 {to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
817 ///////////////////////////////////////////////////////////////////////////////
818 group { name: "elm/ctxpopup/arrow/default";
820 image: "00_popup_tail_left.png" COMP;
821 image: "00_popup_tail_right.png" COMP;
822 image: "00_popup_tail_top.png" COMP;
823 image: "00_popup_tail_bottom.png" COMP;
827 name: "ctxpopup_arrow";
831 state: "default" 0.0;
832 min: CTXPOPUP_ARROW_SIZE;
833 max: CTXPOPUP_ARROW_SIZE;
840 min: CTXPOPUP_ARROW_SIZE;
841 max: CTXPOPUP_ARROW_SIZE;
845 normal: "00_popup_tail_left.png";
850 min: CTXPOPUP_ARROW_SIZE;
851 max: CTXPOPUP_ARROW_SIZE;
855 normal: "00_popup_tail_right.png";
860 min: CTXPOPUP_ARROW_SIZE;
861 max: CTXPOPUP_ARROW_SIZE;
865 normal: "00_popup_tail_top.png";
870 min: CTXPOPUP_ARROW_SIZE;
871 max: CTXPOPUP_ARROW_SIZE;
875 normal: "00_popup_tail_bottom.png";
882 name: "enable_left_arrow";
883 signal: "elm,state,left";
885 action: STATE_SET "left" 0.0;
886 target: "ctxpopup_arrow";
889 name: "enable_right_arrow";
890 signal: "elm,state,right";
892 action: STATE_SET "right" 0.0;
893 target: "ctxpopup_arrow";
896 name: "enable_top_arrow";
897 signal: "elm,state,top";
899 action: STATE_SET "top" 0.0;
900 target: "ctxpopup_arrow";
903 name: "enable_bottom_arrow";
904 signal: "elm,state,bottom";
906 action: STATE_SET "bottom" 0.0;
907 target: "ctxpopup_arrow";
911 ///////////////////////////////////////////////////////////////////////////////
913 name: "elm/ctxpopup/text_style_item/default";
915 image: "00_list_bar_press.png" COMP;
919 name: "event_blocker";
922 state: "default" 0.0;
931 state: "default" 0.0;
935 state: "clicked" 0.0;
937 normal: "00_list_bar_press.png";
949 state: "default" 0.0;
950 color: CTXPOPUP_SEPARATOR_COLOR;
957 state: "horizontal" 0.0;
958 color: CTXPOPUP_SEPARATOR_COLOR;
965 state: "vertical" 0.0;
966 color: CTXPOPUP_SEPARATOR_COLOR;
974 name: "left_padding";
978 state: "default" 0.0;
979 min: 30 CTXPOPUP_ITEM_HEIGHT;
980 max: 30 CTXPOPUP_ITEM_HEIGHT;
992 state: "default" 0.0;
993 min: 1 CTXPOPUP_ITEM_HEIGHT;
994 max: (CTXPOPUP_CONTENT_WIDTH_MAX-2*CTXPOPUP_ITEM_PADDING) CTXPOPUP_ITEM_HEIGHT;
997 rel1 {relative: 1.0 0.0; to: "left_padding";}
998 rel2 {relative: 0.0 1.0; to: "right_padding";}
999 color: CTXPOPUP_FONT_COLOR;
1001 font: "SLP:style=Roman";
1008 state: "clicked" 0.0;
1009 inherit: "default" 0.0;
1010 color: CTXPOPUP_CLICKED_FONT_COLOR;
1014 name: "right_padding";
1018 state: "default" 0.0;
1020 min: 30 CTXPOPUP_ITEM_HEIGHT;
1021 max: 30 CTXPOPUP_ITEM_HEIGHT;
1030 ignore_flags: ON_HOLD;
1032 state: "default" 0.0;
1040 state: "default" 0.0;
1047 state: "default" 0.0;
1051 state: "disabled" 0.0;
1053 color: CTXPOPUP_ITEM_DISABLED_COLOR;
1059 name: "item_unclick";
1060 signal: "mouse,up,1";
1062 action: SIGNAL_EMIT "elm,action,click" "";
1066 signal: "elm,state,disabled";
1068 action: STATE_SET "disabled" 0.0;
1073 signal: "elm,state,enabled";
1075 action: STATE_SET "default" 0.0;
1080 signal: "elm,state,default";
1083 set_state(PART:"separator", "default", 0.0);
1088 signal: "elm,state,vertical";
1091 set_state(PART:"separator", "vertical", 0.0);
1096 signal: "elm,state,horizontal";
1099 set_state(PART:"separator", "horizontal", 0.0);
1103 name: "item_click2";
1104 signal: "mouse,down,1";
1107 set_state(PART:"elm.text", "clicked", 0.0);
1108 set_state(PART:"bg", "clicked", 0.0);
1112 name: "item_unclick2";
1113 signal: "mouse,up,1";
1116 set_state(PART:"elm.text", "default", 0.0);
1117 set_state(PART:"bg", "default", 0.0);
1122 ///////////////////////////////////////////////////////////////////////////////
1124 name: "elm/ctxpopup/icon_style_item/default";\
1126 image: "00_list_bar_press.png" COMP;
1130 name: "event_blocker";
1133 state: "default" 0.0;
1142 state: "default" 0.0;
1146 state: "clicked" 0.0;
1148 normal: "00_list_bar_press.png";
1149 border: 10 10 10 10;
1155 name: "left_top_padding";
1158 min: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_PADDING;
1159 max: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_PADDING;
1171 state: "default" 0.0;
1172 color: CTXPOPUP_SEPARATOR_COLOR;
1179 state: "horizontal" 0.0;
1180 color: CTXPOPUP_SEPARATOR_COLOR;
1187 state: "vertical" 0.0;
1188 color: CTXPOPUP_SEPARATOR_COLOR;
1196 name: "elm.swallow.icon";
1200 state: "default" 0.0;
1201 min: (CTXPOPUP_ICON_WIDTH+30) CTXPOPUP_ICON_HEIGHT;
1202 max: (CTXPOPUP_ICON_WIDTH+30) CTXPOPUP_ICON_HEIGHT;
1205 rel1 { to: "left_top_padding"; relative: 1 1; }
1206 rel2 { to: "right_bottom_padding"; relative: 0 0; }
1210 name: "right_bottom_padding";
1213 min: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_PADDING;
1214 max: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_PADDING;
1224 ignore_flags: ON_HOLD;
1226 state: "default" 0.0;
1234 state: "default" 0.0;
1241 state: "default" 0.0;
1245 state: "disabled" 0.0;
1247 color: CTXPOPUP_ITEM_DISABLED_COLOR;
1254 signal: "elm,state,default";
1257 set_state(PART:"separator", "default", 0.0);
1262 signal: "elm,state,vertical";
1265 set_state(PART:"separator", "vertical", 0.0);
1270 signal: "elm,state,horizontal";
1273 set_state(PART:"separator", "horizontal", 0.0);
1277 name: "item_unclick";
1278 signal: "mouse,up,1";
1280 action: SIGNAL_EMIT "elm,action,click" "";
1284 signal: "elm,state,disabled";
1286 action: STATE_SET "disabled" 0.0;
1291 signal: "elm,state,enabled";
1293 action: STATE_SET "default" 0.0;
1297 name: "item_click2";
1298 signal: "mouse,down,1";
1301 set_state(PART:"bg", "clicked", 0.0);
1305 name: "item_unclick2";
1306 signal: "mouse,up,1";
1309 set_state(PART:"bg", "default", 0.0);
1314 ///////////////////////////////////////////////////////////////////////////////
1316 name: "elm/ctxpopup/icon_text_style_item/default";
1318 image: "00_list_bar_press.png" COMP;
1322 name: "event_blocker";
1325 state: "default" 0.0;
1333 state: "default" 0.0;
1337 state: "clicked" 0.0;
1339 normal: "00_list_bar_press.png";
1340 border: 10 10 10 10;
1346 name: "icon_left_padding";
1350 state: "default" 0.0;
1351 min: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_HEIGHT;
1352 max: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_HEIGHT;
1364 state: "default" 0.0;
1365 color: CTXPOPUP_SEPARATOR_COLOR;
1372 state: "horizontal" 0.0;
1373 color: CTXPOPUP_SEPARATOR_COLOR;
1380 state: "vertical" 0.0;
1381 color: CTXPOPUP_SEPARATOR_COLOR;
1389 name: "elm.swallow.icon";
1393 state: "default" 0.0;
1394 min: CTXPOPUP_ICON_WIDTH CTXPOPUP_ICON_HEIGHT;
1395 max: CTXPOPUP_ICON_WIDTH CTXPOPUP_ICON_HEIGHT;
1398 rel1 { to:"icon_left_padding"; relative: 1 0; }
1402 name: "icon_right_padding";
1406 state: "default" 0.0;
1407 min: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_HEIGHT;
1408 max: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_HEIGHT;
1412 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
1421 state: "default" 0.0;
1422 min: 1 CTXPOPUP_ITEM_HEIGHT;
1423 max: (CTXPOPUP_CONTENT_WIDTH_MAX-(3*CTXPOPUP_ITEM_PADDING)-CTXPOPUP_ICON_WIDTH) CTXPOPUP_ITEM_HEIGHT;
1426 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding";}
1427 rel2 {relative: 0.0 1.0; to_x: "text_right_padding";}
1428 color: CTXPOPUP_FONT_COLOR;
1430 font: "SLP:style=Roman";
1437 state: "clicked" 0.0;
1438 inherit: "default" 0.0;
1439 color: CTXPOPUP_CLICKED_FONT_COLOR;
1443 name: "text_right_padding";
1448 state: "default" 0.0;
1450 min: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_HEIGHT;
1451 max: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_HEIGHT;
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;
1489 name: "item_unclick";
1490 signal: "mouse,up,1";
1492 action: SIGNAL_EMIT "elm,action,click" "";
1496 signal: "elm,state,disabled";
1498 action: STATE_SET "disabled" 0.0;
1503 signal: "elm,state,enabled";
1505 action: STATE_SET "default" 0.0;
1510 signal: "elm,state,default";
1513 set_state(PART:"separator", "default", 0.0);
1518 signal: "elm,state,vertical";
1521 set_state(PART:"separator", "vertical", 0.0);
1526 signal: "elm,state,horizontal";
1529 set_state(PART:"separator", "horizontal", 0.0);
1533 name: "item_click2";
1534 signal: "mouse,down,1";
1537 set_state(PART:"elm.text", "clicked", 0.0);
1538 set_state(PART:"bg", "clicked", 0.0);
1542 name: "item_unclick2";
1543 signal: "mouse,up,1";
1546 set_state(PART:"elm.text", "default", 0.0);
1547 set_state(PART:"bg", "default", 0.0);
1553 ///////////////////////////////////////////////////////////////////////////////////////
1554 #define CTXPOPUP_ENTRY_LIST_PADDING_LEFT 3
1555 #define CTXPOPUP_ENTRY_LIST_PADDING_TOP 6
1556 #define CTXPOPUP_ENTRY_LIST_PADDING_RIGHT 3
1557 #define CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM 6
1558 #define CTXPOPUP_ENTRY_FONT_COLOR 255 255 255 255
1559 #define CTXPOPUP_ENTRY_SEPARATOR_COLOR 0 0 0 0
1560 #define CTXPOPUP_ENTRY_ITEM_HEIGHT 44
1561 #define CTXPOPUP_ENTRY_ICON_SIZE 40
1562 #define CTXPOPUP_ENTRY_ITEM_WIDTH_MAX 150
1563 #define CTXPOPUP_ENTRY_LIST_SHADOW_PADDING 3
1564 #define CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR 200 200 200 127
1565 #define CTXPOPUP_ENTRY_ARROW_SIZE 14
1566 ///////////////////////////////////////////////////////////////////////////////////////
1568 name: "elm/ctxpopup/base/extended/entry";
1569 alias: "elm/ctxpopup/base/extended/entry/pass_event";
1571 image: "ctxpopup_bg.png" COMP;
1572 image: "ctxpopup_shadow.png" COMP;
1573 image: "copypaste_btn_bg.png" COMP;
1577 name:"frame_shadow_left_top_padding";
1582 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1583 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1590 name:"frame_shadow_right_bottom_padding";
1595 min: CTXPOPUP_ENTRY_LIST_PADDING_RIGHT CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM;
1596 max: CTXPOPUP_ENTRY_LIST_PADDING_RIGHT CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM;
1597 rel1{relative: 1 1;}
1604 name: "frame_shadow";
1609 state: "default" 0.0;
1610 rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
1611 rel2 {to:"frame_shadow_right_bottom_padding";}
1613 normal: "ctxpopup_shadow.png";
1614 border: 10 10 10 10;
1617 color: 255 255 255 0;
1621 inherit: "default" 0.0;
1622 color: 255 255 255 255;
1626 name: "ctxpopup_frame";
1631 rel2 {offset: -1 11;}
1633 normal: "copypaste_btn_bg.png";
1640 name: "ctxpopup_frame_rect";
1649 name:"list_shadow_right_bottom_padding";
1654 min: CTXPOPUP_ENTRY_LIST_SHADOW_PADDING CTXPOPUP_ENTRY_LIST_SHADOW_PADDING;
1655 max: CTXPOPUP_ENTRY_LIST_SHADOW_PADDING CTXPOPUP_ENTRY_LIST_SHADOW_PADDING;
1659 rel1 {to:"elm.swallow.content"; relative: 1 1;}
1663 name: "ctxpopup_list";
1668 state: "default" 0.0;
1669 rel1 {to: "elm.swallow.content";}
1670 rel2 {to: "list_shadow_right_bottom_padding";}
1671 color: 255 255 255 0;
1675 inherit: "default" 0.0;
1676 color: 255 255 255 255;
1680 name:"content_left_top_padding";
1685 state: "default" 0.0;
1686 min: CTXPOPUP_ENTRY_LIST_PADDING_LEFT CTXPOPUP_ENTRY_LIST_PADDING_TOP;
1687 max: CTXPOPUP_ENTRY_LIST_PADDING_LEFT CTXPOPUP_ENTRY_LIST_PADDING_TOP;
1694 name:"content_right_bottom_padding";
1699 min: CTXPOPUP_ENTRY_LIST_PADDING_RIGHT CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM;
1700 max: CTXPOPUP_ENTRY_LIST_PADDING_RIGHT CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM;
1701 rel1 { relative: 1 1;}
1702 rel2 { relative: 1 1;}
1709 name: "elm.swallow.content";
1712 state: "default" 0.0;
1713 rel1 {to:"content_left_top_padding"; relative: 1 1;}
1714 rel2 {to:"content_right_bottom_padding"; relative: 0 0;}
1719 ///////////////////////////////////////////////////////////////////////////////////////
1721 name: "elm/ctxpopup/arrow/extended/entry";
1722 alias: "elm/ctxpopup/arrow/extended/entry/pass_event";
1724 image: "copypaste_btn_arrow_left.png" COMP;
1725 image: "copypaste_btn_arrow_right.png" COMP;
1726 image: "copypaste_btn_arrow_top.png" COMP;
1727 image: "copypaste_btn_arrow_bottom.png" COMP;
1731 name: "ctxpopup_arrow";
1735 state: "default" 0.0;
1736 min: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE;
1737 max: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE;
1744 min: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE;
1745 max: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE;
1749 normal: "copypaste_btn_arrow_left.png";
1754 min: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE;
1755 max: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE;
1759 normal: "copypaste_btn_arrow_right.png";
1764 min: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE;
1765 max: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE;
1769 normal: "copypaste_btn_arrow_top.png";
1773 state: "bottom" 0.0;
1774 min: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE;
1775 max: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE;
1779 normal: "copypaste_btn_arrow_bottom.png";
1786 name: "enable_left_arrow";
1787 signal: "elm,state,left";
1789 action: STATE_SET "left" 0.0;
1790 target: "ctxpopup_arrow";
1793 name: "enable_right_arrow";
1794 signal: "elm,state,right";
1796 action: STATE_SET "right" 0.0;
1797 target: "ctxpopup_arrow";
1800 name: "enable_top_arrow";
1801 signal: "elm,state,top";
1803 action: STATE_SET "top" 0.0;
1804 target: "ctxpopup_arrow";
1807 name: "enable_bottom_arrow";
1808 signal: "elm,state,bottom";
1810 action: STATE_SET "bottom" 0.0;
1811 target: "ctxpopup_arrow";
1815 ///////////////////////////////////////////////////////////////////////////////////////
1817 name: "elm/ctxpopup/text_style_item/extended/entry";
1818 alias: "elm/ctxpopup/text_style_item/extended/entry/pass_event";
1820 image: "copypaste_btn_normal.png" COMP;
1821 image: "copypaste_btn_press.png" COMP;
1825 name: "event_blocker";
1828 state: "default" 0.0;
1833 name: "left_bg_padding";
1837 state: "default" 0.0;
1838 min: 3 CTXPOPUP_ENTRY_ITEM_HEIGHT;
1839 max: 3 CTXPOPUP_ENTRY_ITEM_HEIGHT;
1846 name: "right_bg_padding";
1850 state: "default" 0.0;
1852 min: 3 CTXPOPUP_ENTRY_ITEM_HEIGHT;
1853 max: 3 CTXPOPUP_ENTRY_ITEM_HEIGHT;
1863 state: "default" 0.0;
1864 rel1 {to:"left_bg_padding"; relative: 1 0;}
1865 rel2 {to:"right_bg_padding"; relative: 0 1;}
1867 normal: "copypaste_btn_normal.png";
1873 state: "clicked" 0.0;
1874 inherit: "default" 0.0;
1876 normal: "copypaste_btn_press.png";
1883 name: "left_padding";
1887 state: "default" 0.0;
1888 min: 16 CTXPOPUP_ENTRY_ITEM_HEIGHT;
1889 max: 16 CTXPOPUP_ENTRY_ITEM_HEIGHT;
1896 name: "bottom_separator";
1901 state: "default" 0.0;
1903 color: CTXPOPUP_ENTRY_SEPARATOR_COLOR;
1910 name: "right_separator";
1915 state: "default" 0.0;
1916 color: CTXPOPUP_ENTRY_SEPARATOR_COLOR;
1928 state: "default" 0.0;
1929 min: 1 CTXPOPUP_ENTRY_ITEM_HEIGHT;
1930 max: CTXPOPUP_ENTRY_ITEM_WIDTH_MAX CTXPOPUP_ENTRY_ITEM_HEIGHT;
1933 rel1 {relative: 1.0 0.0; to: "left_padding";}
1934 rel2 {relative: 0.0 1.0; to: "right_padding";}
1935 color: CTXPOPUP_ENTRY_FONT_COLOR;
1937 font: "SLP:style=Roman";
1944 state: "clicked" 0.0;
1945 inherit: "default" 0.0;
1946 color: CTXPOPUP_CLICKED_FONT_COLOR;
1950 name: "right_padding";
1954 state: "default" 0.0;
1956 min: 16 CTXPOPUP_ENTRY_ITEM_HEIGHT;
1957 max: 16 CTXPOPUP_ENTRY_ITEM_HEIGHT;
1966 ignore_flags: ON_HOLD;
1968 state: "default" 0.0;
1976 state: "default" 0.0;
1983 state: "default" 0.0;
1987 state: "disabled" 0.0;
1989 color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
1995 name: "item_unclick";
1996 signal: "mouse,up,1";
1998 action: SIGNAL_EMIT "elm,action,click" "";
2002 signal: "elm,state,disabled";
2004 action: STATE_SET "disabled" 0.0;
2009 signal: "elm,state,enabled";
2011 action: STATE_SET "default" 0.0;
2015 name: "item_click2";
2016 signal: "mouse,down,1";
2019 set_state(PART:"elm.text", "clicked", 0.0);
2020 set_state(PART:"bg", "clicked", 0.0);
2025 name: "item_unclick2";
2026 signal: "mouse,up,1";
2029 set_state(PART:"elm.text", "default", 0.0);
2030 set_state(PART:"bg", "default", 0.0);
2034 ///////////////////////////////////////////////////////////////////////////////
2036 name: "elm/ctxpopup/icon_style_item/extended/entry";\
2038 image: "copypaste_btn_normal.png" COMP;
2039 image: "copypaste_btn_press.png" COMP;
2043 name: "event_blocker";
2046 state: "default" 0.0;
2051 name: "left_bg_padding";
2055 state: "default" 0.0;
2056 min: 3 CTXPOPUP_ENTRY_ITEM_HEIGHT;
2057 max: 3 CTXPOPUP_ENTRY_ITEM_HEIGHT;
2064 name: "right_bg_padding";
2068 state: "default" 0.0;
2070 min: 3 CTXPOPUP_ENTRY_ITEM_HEIGHT;
2071 max: 3 CTXPOPUP_ENTRY_ITEM_HEIGHT;
2081 state: "default" 0.0;
2082 rel1 {to:"left_bg_padding"; relative: 1 0;}
2083 rel2 {to:"right_bg_padding"; relative: 0 1;}
2085 normal: "copypaste_btn_normal.png";
2091 state: "clicked" 0.0;
2092 inherit: "default" 0.0;
2094 normal: "copypaste_btn_press.png";
2101 name: "left_top_padding";
2114 name: "right_bottom_padding";
2127 name: "right_separator";
2132 state: "default" 0.0;
2133 color: CTXPOPUP_ENTRY_SEPARATOR_COLOR;
2140 name: "elm.swallow.icon";
2144 state: "default" 0.0;
2145 min: CTXPOPUP_ENTRY_ICON_SIZE CTXPOPUP_ENTRY_ICON_SIZE;
2146 max: CTXPOPUP_ENTRY_ICON_SIZE CTXPOPUP_ENTRY_ICON_SIZE;
2149 rel1 { to: "left_top_padding"; relative: 1 1; }
2150 rel2 { to: "right_bottom_padding"; relative: 0 0; }
2154 name: "elm.swallow.icon.paint";
2158 state: "default" 0.0;
2160 color: 255 255 0 255;
2161 rel1 { to: "elm.swallow.icon"; }
2162 rel2 { to: "elm.swallow.icon"; }
2169 ignore_flags: ON_HOLD;
2171 state: "default" 0.0;
2179 state: "default" 0.0;
2186 state: "default" 0.0;
2190 state: "disabled" 0.0;
2192 color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
2198 name: "item_unclick";
2199 signal: "mouse,up,1";
2201 action: SIGNAL_EMIT "elm,action,click" "";
2205 signal: "elm,state,disabled";
2207 action: STATE_SET "disabled" 0.0;
2212 signal: "elm,state,enabled";
2214 action: STATE_SET "default" 0.0;
2218 name: "item_click2";
2219 signal: "mouse,down,1";
2222 set_state(PART:"bg", "clicked", 0.0);
2226 name: "item_unclick2";
2227 signal: "mouse,up,1";
2230 set_state(PART:"bg", "default", 0.0);
2236 ///////////////////////////////////////////////////////////////////////////////////////
2237 #define CTXPOPUP_IE_HEIGHT_ 46
2238 #define CTXPOPUP_IE_CONTENT_WIDTH_MAX 480
2239 #define CTXPOPUP_IE_CONTENT_HEIGHT_MAX 600
2240 #define CTXPOPUP_IE_ARROW_SIZE 34
2241 #define CTXPOPUP_IE_ITEM_PADDING 15
2242 #define CTXPOPUP_IE_ITEM_HEIGHT 47
2243 #define CTXPOPUP_IE_ICON_WIDTH 40
2244 #define CTXPOPUP_IE_ICON_HEIGHT 40
2245 #define CTXPOPUP_IE_FONT_COLOR 255 255 255 255
2246 #define CTXPOPUP_IE_CLICKED_FONT_COLOR 255 255 100 255
2247 #define CTXPOPUP_IE_FONT_SIZE 26
2248 #define CTXPOPUP_IE_SEPARATOR_COLOR 120 120 120 255
2249 #define CTXPOPUP_IE_ITEM_DISABLED_COLOR 200 200 200 127
2250 #define CTXPOPUP_IE_SEPARATOR_PADDING_SIZE 6 2
2251 ///////////////////////////////////////////////////////////////////////////////
2253 name: "elm/ctxpopup/base/extended/imageeditor";
2255 image: "imageeditor_bg.png" COMP;
2259 name: "ctxpopup_frame";
2264 normal: "imageeditor_bg.png";
2265 border: 10 10 10 10;
2271 name: "elm.swallow.content";
2274 state: "default" 0.0;
2279 ///////////////////////////////////////////////////////////////////////////////
2280 group { name: "elm/ctxpopup/arrow/extended/imageeditor";
2282 image: "imageeditor_left_arrow.png" COMP;
2283 image: "imageeditor_right_arrow.png" COMP;
2284 image: "imageeditor_top_arrow.png" COMP;
2285 image: "imageeditor_bottom_arrow.png" COMP;
2289 name: "ctxpopup_arrow";
2293 state: "default" 0.0;
2294 min: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE;
2295 max: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE;
2302 min: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE;
2303 max: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE;
2307 normal: "imageeditor_left_arrow.png";
2312 min: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE;
2313 max: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE;
2317 normal: "imageeditor_right_arrow.png";
2322 min: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE;
2323 max: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE;
2327 normal: "imageeditor_top_arrow.png";
2331 state: "bottom" 0.0;
2332 min: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE;
2333 max: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE;
2337 normal: "imageeditor_bottom_arrow.png";
2344 name: "enable_left_arrow";
2345 signal: "elm,state,left";
2347 action: STATE_SET "left" 0.0;
2348 target: "ctxpopup_arrow";
2351 name: "enable_right_arrow";
2352 signal: "elm,state,right";
2354 action: STATE_SET "right" 0.0;
2355 target: "ctxpopup_arrow";
2358 name: "enable_top_arrow";
2359 signal: "elm,state,top";
2361 action: STATE_SET "top" 0.0;
2362 target: "ctxpopup_arrow";
2365 name: "enable_bottom_arrow";
2366 signal: "elm,state,bottom";
2368 action: STATE_SET "bottom" 0.0;
2369 target: "ctxpopup_arrow";
2373 ///////////////////////////////////////////////////////////////////////////////
2375 name: "elm/ctxpopup/icon_text_style_item/extended/imageeditor";
2377 image: "imageeditor_bar_press.png" COMP;
2382 name: "event_blocker";
2385 state: "default" 0.0;
2394 state: "default" 0.0;
2395 rel1 { to:"separator_left_top_padding"; relative: 1 0; }
2396 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
2400 state: "clicked" 0.0;
2401 rel1 { to:"separator_left_top_padding"; relative: 1 0; }
2402 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
2404 normal: "imageeditor_bar_press.png";
2405 border: 10 10 10 10;
2412 name: "icon_left_padding";
2417 state: "default" 0.0;
2418 min: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT;
2419 max: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT;
2426 name: "separator_left_top_padding";
2430 state: "default" 0.0;
2432 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2433 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2439 name: "separator_right_top_padding";
2443 state: "default" 0.0;
2445 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2446 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2452 name: "separator_left_bottom_padding";
2456 state: "default" 0.0;
2458 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2459 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2465 name: "separator_right_bottom_padding";
2469 state: "default" 0.0;
2471 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2472 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2479 name: "bottom_separator";
2484 state: "default" 0.0;
2485 color: CTXPOPUP_IE_SEPARATOR_COLOR;
2486 rel1 { to:"separator_left_bottom_padding"; relative: 1 0.5; }
2487 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
2491 name: "elm.swallow.icon";
2495 state: "default" 0.0;
2496 min: CTXPOPUP_IE_ICON_WIDTH CTXPOPUP_IE_ICON_HEIGHT;
2497 max: CTXPOPUP_IE_ICON_WIDTH CTXPOPUP_IE_ICON_HEIGHT;
2500 rel1 { to:"icon_left_padding"; relative: 1 0; }
2504 name: "icon_right_padding";
2509 state: "default" 0.0;
2510 min: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT;
2511 max: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT;
2515 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
2524 state: "default" 0.0;
2525 min: 1 CTXPOPUP_IE_ITEM_HEIGHT;
2526 max: (CTXPOPUP_IE_CONTENT_WIDTH_MAX-(3*CTXPOPUP_IE_ITEM_PADDING)-CTXPOPUP_IE_ICON_WIDTH) CTXPOPUP_IE_ITEM_HEIGHT;
2529 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding";}
2530 rel2 {relative: 0.0 1.0; to_x: "text_right_padding";}
2531 color: CTXPOPUP_IE_FONT_COLOR;
2534 size: CTXPOPUP_IE_FONT_SIZE;
2540 state: "clicked" 0.0;
2541 inherit: "default" 0.0;
2542 color: CTXPOPUP_IE_CLICKED_FONT_COLOR;
2546 name: "text_right_padding";
2551 state: "default" 0.0;
2553 min: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT;
2554 max: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT;
2563 ignore_flags: ON_HOLD;
2565 state: "default" 0.0;
2573 state: "default" 0.0;
2580 state: "default" 0.0;
2584 state: "disabled" 0.0;
2586 color: CTXPOPUP_IE_ITEM_DISABLED_COLOR;
2592 name: "item_unclick";
2593 signal: "mouse,up,1";
2595 action: SIGNAL_EMIT "elm,action,click" "";
2599 signal: "elm,state,disabled";
2601 action: STATE_SET "disabled" 0.0;
2606 signal: "elm,state,enabled";
2608 action: STATE_SET "default" 0.0;
2612 name: "item_click2";
2613 signal: "mouse,down,1";
2616 set_state(PART:"elm.text", "clicked", 0.0);
2620 name: "item_unclick2";
2621 signal: "mouse,up,1";
2624 set_state(PART:"elm.text", "default", 0.0);
2629 ///////////////////////////////////////////////////////////////////////////////////////
2631 name: "elm/ctxpopup/text_style_item/extended/imageeditor";
2633 image: "imageeditor_bar_press.png" COMP;
2638 name: "separator_left_padding";
2642 state: "default" 0.0;
2655 state: "default" 0.0;
2656 rel1 { to:"separator_left_top_padding"; relative: 1 0; }
2657 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
2661 state: "clicked" 0.0;
2662 rel1 { to:"separator_left_top_padding"; relative: 1 0; }
2663 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
2665 normal: "imageeditor_bar_press.png";
2666 border: 10 10 10 10;
2672 name: "separator_left_top_padding";
2676 state: "default" 0.0;
2678 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2679 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2685 name: "separator_right_top_padding";
2689 state: "default" 0.0;
2691 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2692 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2698 name: "separator_left_bottom_padding";
2702 state: "default" 0.0;
2704 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2705 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2711 name: "separator_right_bottom_padding";
2715 state: "default" 0.0;
2717 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2718 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2725 name: "bottom_separator";
2730 state: "default" 0.0;
2731 color: CTXPOPUP_IE_SEPARATOR_COLOR;
2732 rel1 { to:"separator_left_bottom_padding"; relative: 1 0.5; }
2733 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
2737 name: "left_padding";
2742 state: "default" 0.0;
2743 min: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT;
2744 max: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT;
2756 state: "default" 0.0;
2757 min: 1 CTXPOPUP_IE_HEIGHT_;
2758 max: (CTXPOPUP_IE_CONTENT_WIDTH_MAX-2*CTXPOPUP_IE_ITEM_PADDING) CTXPOPUP_IE_HEIGHT_;
2761 rel1 {relative: 1.0 0.0; to: "left_padding";}
2762 rel2 {relative: 0.0 1.0; to: "right_padding";}
2763 color: CTXPOPUP_IE_FONT_COLOR;
2766 size: CTXPOPUP_IE_FONT_SIZE;
2772 state: "clicked" 0.0;
2773 inherit: "default" 0.0;
2774 color: CTXPOPUP_IE_CLICKED_FONT_COLOR;
2778 name: "right_padding";
2782 state: "default" 0.0;
2784 min: 30 CTXPOPUP_IE_ITEM_HEIGHT;
2785 max: 30 CTXPOPUP_IE_ITEM_HEIGHT;
2794 ignore_flags: ON_HOLD;
2796 state: "default" 0.0;
2804 state: "default" 0.0;
2811 state: "default" 0.0;
2815 state: "disabled" 0.0;
2817 color: CTXPOPUP_IE_ITEM_DISABLED_COLOR;
2825 name: "item_unclick";
2826 signal: "mouse,up,1";
2828 action: SIGNAL_EMIT "elm,action,click" "";
2832 signal: "elm,state,disabled";
2834 action: STATE_SET "disabled" 0.0;
2839 signal: "elm,state,enabled";
2841 action: STATE_SET "default" 0.0;
2846 name: "item_click2";
2847 signal: "mouse,down,1";
2850 set_state(PART:"elm.text", "clicked", 0.0);
2854 name: "item_unclick2";
2855 signal: "mouse,up,1";
2858 set_state(PART:"elm.text", "default", 0.0);
2864 ///////////////////////////////////////////////////////////////////////////////////////
2865 #define CTXPOPUP_TP_CONTENT_MAX 800
2866 #define CTXPOPUP_TP_TEXT_WIDTH 32
2867 #define CTXPOPUP_TP_ARROW_SIZE 20
2868 #define CTXPOPUP_TP_PADDING 15
2869 #define CTXPOPUP_TP_HEIGHT 66
2870 #define CTXPOPUP_TP_BG_COLOR 221 134 21 255
2871 #define CTXPOPUP_TP_FONT_COLOR 231 173 95 255
2872 #define CTXPOPUP_TP_CLICKED_FONT_COLOR 255 255 255 255
2873 #define CTXPOPUP_TP_FONT_SIZE 24
2874 ///////////////////////////////////////////////////////////////////////////////
2876 name: "elm/ctxpopup/base/extended/timepicker";
2879 name: "ctxpopup_frame";
2883 color: CTXPOPUP_TP_BG_COLOR;
2884 min: 1 CTXPOPUP_TP_HEIGHT;
2885 max: CTXPOPUP_TP_CONTENT_MAX CTXPOPUP_TP_HEIGHT;
2889 name: "elm.swallow.content";
2892 state: "default" 0.0;
2893 min: 1 CTXPOPUP_TP_HEIGHT;
2894 max: CTXPOPUP_TP_CONTENT_MAX CTXPOPUP_TP_HEIGHT;
2896 rel1 { to: "ctxpopup_frame"; }
2901 ///////////////////////////////////////////////////////////////////////////////
2902 group { name: "elm/ctxpopup/arrow/extended/timepicker";
2904 image: "timepicker_left_arrow.png" COMP;
2905 image: "timepicker_right_arrow.png" COMP;
2906 image: "timepicker_top_arrow.png" COMP;
2907 image: "timepicker_bottom_arrow.png" COMP;
2911 name: "ctxpopup_arrow";
2915 state: "default" 0.0;
2916 min: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE;
2917 max: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE;
2924 min: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE;
2925 max: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE;
2929 normal: "timepicker_left_arrow.png";
2934 min: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE;
2935 max: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE;
2939 normal: "timepicker_right_arrow.png";
2944 min: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE;
2945 max: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE;
2949 normal: "timepicker_top_arrow.png";
2953 state: "bottom" 0.0;
2954 min: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE;
2955 max: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE;
2959 normal: "timepicker_bottom_arrow.png";
2966 name: "enable_left_arrow";
2967 signal: "elm,state,left";
2969 action: STATE_SET "left" 0.0;
2970 target: "ctxpopup_arrow";
2973 name: "enable_right_arrow";
2974 signal: "elm,state,right";
2976 action: STATE_SET "right" 0.0;
2977 target: "ctxpopup_arrow";
2980 name: "enable_top_arrow";
2981 signal: "elm,state,top";
2983 action: STATE_SET "top" 0.0;
2984 target: "ctxpopup_arrow";
2987 name: "enable_bottom_arrow";
2988 signal: "elm,state,bottom";
2990 action: STATE_SET "bottom" 0.0;
2991 target: "ctxpopup_arrow";
2995 ///////////////////////////////////////////////////////////////////////////////
2997 name: "elm/ctxpopup/text_style_item/extended/timepicker";
3000 name: "left_padding";
3005 state: "default" 0.0;
3006 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT;
3007 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT;
3019 state: "default" 0.0;
3020 min: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT;
3021 max: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT;
3024 rel1 {relative: 1.0 0.0; to: "left_padding";}
3025 color: CTXPOPUP_TP_FONT_COLOR;
3028 size: CTXPOPUP_TP_FONT_SIZE;
3034 state: "clicked" 0.0;
3035 inherit: "default" 0.0;
3036 color: 255 255 255 255;
3040 name: "right_padding";
3044 state: "default" 0.0;
3045 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT;
3046 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT;
3048 rel1 {relative: 1.0 0.0; to: "elm.text";}
3056 ignore_flags: ON_HOLD;
3058 state: "default" 0.0;
3066 state: "default" 0.0;
3073 name: "item_unclick";
3074 signal: "mouse,up,1";
3076 action: SIGNAL_EMIT "elm,action,click" "";
3080 signal: "mouse,down,1";
3083 set_state(PART:"elm.text", "clicked", 0.0);
3087 name: "item_unclick2";
3088 signal: "mouse,up,1";
3091 set_state(PART:"elm.text", "default", 0.0);