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: 1.0 0.0;}
809 rel2 {to:"ctxpopup_frame_right_bottom"; relative: 0.0 1.0;}
812 state: "horizontal" 0.0;
814 rel1 {to:"ctxpopup_frame_left_top"; relative: 0.0 1.0;}
815 rel2 {to:"ctxpopup_frame_right_bottom"; relative: 1.0 0.0;}
822 signal: "elm,state,vertical";
825 set_state(PART:"elm.swallow.content", "default", 0.0);
830 signal: "elm,state,horizontal";
833 set_state(PART:"elm.swallow.content", "horizontal", 0.0);
841 ///////////////////////////////////////////////////////////////////////////////
842 group { name: "elm/ctxpopup/arrow/default";
844 image: "00_popup_tail_left.png" COMP;
845 image: "00_popup_tail_right.png" COMP;
846 image: "00_popup_tail_top.png" COMP;
847 image: "00_popup_tail_bottom.png" COMP;
851 name: "ctxpopup_arrow";
855 state: "default" 0.0;
856 min: CTXPOPUP_ARROW_SIZE;
857 max: CTXPOPUP_ARROW_SIZE;
864 min: CTXPOPUP_ARROW_SIZE;
865 max: CTXPOPUP_ARROW_SIZE;
869 normal: "00_popup_tail_left.png";
874 min: CTXPOPUP_ARROW_SIZE;
875 max: CTXPOPUP_ARROW_SIZE;
879 normal: "00_popup_tail_right.png";
884 min: CTXPOPUP_ARROW_SIZE;
885 max: CTXPOPUP_ARROW_SIZE;
889 normal: "00_popup_tail_top.png";
894 min: CTXPOPUP_ARROW_SIZE;
895 max: CTXPOPUP_ARROW_SIZE;
899 normal: "00_popup_tail_bottom.png";
906 name: "enable_left_arrow";
907 signal: "elm,state,left";
909 action: STATE_SET "left" 0.0;
910 target: "ctxpopup_arrow";
913 name: "enable_right_arrow";
914 signal: "elm,state,right";
916 action: STATE_SET "right" 0.0;
917 target: "ctxpopup_arrow";
920 name: "enable_top_arrow";
921 signal: "elm,state,top";
923 action: STATE_SET "top" 0.0;
924 target: "ctxpopup_arrow";
927 name: "enable_bottom_arrow";
928 signal: "elm,state,bottom";
930 action: STATE_SET "bottom" 0.0;
931 target: "ctxpopup_arrow";
935 ///////////////////////////////////////////////////////////////////////////////
937 name: "elm/ctxpopup/text_style_item/default";
939 image: "00_list_bar_press.png" COMP;
943 name: "event_blocker";
946 state: "default" 0.0;
955 state: "default" 0.0;
959 state: "clicked" 0.0;
961 normal: "00_list_bar_press.png";
968 name: "bottom_separator";
973 state: "default" 0.0;
974 color: CTXPOPUP_SEPARATOR_COLOR;
978 rel2 { offset: 0 0.5; }
981 state: "horizontal" 0.0;
986 name: "right_separator";
991 state: "default" 0.0;
992 color: CTXPOPUP_SEPARATOR_COLOR;
996 rel2 { offset: 0.5 0; }
1000 state: "horizontal" 0.0;
1001 color: CTXPOPUP_SEPARATOR_COLOR;
1005 rel2 { offset: 0.5 0; }
1010 name: "left_padding";
1014 state: "default" 0.0;
1015 min: 30 CTXPOPUP_ITEM_HEIGHT;
1016 max: 30 CTXPOPUP_ITEM_HEIGHT;
1028 state: "default" 0.0;
1029 min: 1 CTXPOPUP_ITEM_HEIGHT;
1030 max: (CTXPOPUP_CONTENT_WIDTH_MAX-2*CTXPOPUP_ITEM_PADDING) CTXPOPUP_ITEM_HEIGHT;
1033 rel1 {relative: 1.0 0.0; to: "left_padding";}
1034 rel2 {relative: 0.0 1.0; to: "right_padding";}
1035 color: CTXPOPUP_FONT_COLOR;
1037 font: "SLP:style=Roman";
1044 state: "clicked" 0.0;
1045 inherit: "default" 0.0;
1046 color: CTXPOPUP_CLICKED_FONT_COLOR;
1050 name: "right_padding";
1054 state: "default" 0.0;
1056 min: 30 CTXPOPUP_ITEM_HEIGHT;
1057 max: 30 CTXPOPUP_ITEM_HEIGHT;
1066 ignore_flags: ON_HOLD;
1068 state: "default" 0.0;
1076 state: "default" 0.0;
1083 state: "default" 0.0;
1087 state: "disabled" 0.0;
1089 color: CTXPOPUP_ITEM_DISABLED_COLOR;
1095 name: "item_unclick";
1096 signal: "mouse,up,1";
1098 action: SIGNAL_EMIT "elm,action,click" "";
1102 signal: "elm,state,disabled";
1104 action: STATE_SET "disabled" 0.0;
1109 signal: "elm,state,enabled";
1111 action: STATE_SET "default" 0.0;
1116 signal: "elm,state,vertical";
1119 set_state(PART:"bottom_separator", "default", 0.0);
1120 set_state(PART:"right_separator", "default", 0.0);
1125 signal: "elm,state,horizontal";
1128 set_state(PART:"bottom_separator", "horizontal", 0.0);
1129 set_state(PART:"right_separator", "horizontal", 0.0);
1134 name: "item_click2";
1135 signal: "mouse,down,1";
1138 set_state(PART:"elm.text", "clicked", 0.0);
1139 set_state(PART:"bg", "clicked", 0.0);
1143 name: "item_unclick2";
1144 signal: "mouse,up,1";
1147 set_state(PART:"elm.text", "default", 0.0);
1148 set_state(PART:"bg", "default", 0.0);
1153 ///////////////////////////////////////////////////////////////////////////////
1155 name: "elm/ctxpopup/icon_style_item/default";\
1157 image: "00_list_bar_press.png" COMP;
1161 name: "event_blocker";
1164 state: "default" 0.0;
1173 state: "default" 0.0;
1177 state: "clicked" 0.0;
1179 normal: "00_list_bar_press.png";
1180 border: 10 10 10 10;
1186 name: "left_top_padding";
1189 min: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_PADDING;
1190 max: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_PADDING;
1197 name: "right_separator";
1202 state: "default" 0.0;
1203 color: CTXPOPUP_SEPARATOR_COLOR;
1207 rel2 { offset: 0 0.5; }
1211 name: "elm.swallow.icon";
1215 state: "default" 0.0;
1216 min: (CTXPOPUP_ICON_WIDTH+30) CTXPOPUP_ICON_HEIGHT;
1217 max: (CTXPOPUP_ICON_WIDTH+30) CTXPOPUP_ICON_HEIGHT;
1220 rel1 { to: "left_top_padding"; relative: 1 1; }
1221 rel2 { to: "right_bottom_padding"; relative: 0 0; }
1225 name: "right_bottom_padding";
1228 min: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_PADDING;
1229 max: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_PADDING;
1239 ignore_flags: ON_HOLD;
1241 state: "default" 0.0;
1249 state: "default" 0.0;
1256 state: "default" 0.0;
1260 state: "disabled" 0.0;
1262 color: CTXPOPUP_ITEM_DISABLED_COLOR;
1268 name: "item_unclick";
1269 signal: "mouse,up,1";
1271 action: SIGNAL_EMIT "elm,action,click" "";
1275 signal: "elm,state,disabled";
1277 action: STATE_SET "disabled" 0.0;
1282 signal: "elm,state,enabled";
1284 action: STATE_SET "default" 0.0;
1288 name: "item_click2";
1289 signal: "mouse,down,1";
1292 set_state(PART:"bg", "clicked", 0.0);
1296 name: "item_unclick2";
1297 signal: "mouse,up,1";
1300 set_state(PART:"bg", "default", 0.0);
1305 ///////////////////////////////////////////////////////////////////////////////
1307 name: "elm/ctxpopup/icon_text_style_item/default";
1309 image: "00_list_bar_press.png" COMP;
1313 name: "event_blocker";
1316 state: "default" 0.0;
1324 state: "default" 0.0;
1328 state: "clicked" 0.0;
1330 normal: "00_list_bar_press.png";
1331 border: 10 10 10 10;
1337 name: "icon_left_padding";
1341 state: "default" 0.0;
1342 min: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_HEIGHT;
1343 max: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_HEIGHT;
1350 name: "bottom_separator";
1355 state: "default" 0.0;
1356 color: CTXPOPUP_SEPARATOR_COLOR;
1360 rel2 { offset: 0 0.5; }
1363 state: "horizontal" 0.0;
1368 name: "right_separator";
1373 state: "default" 0.0;
1374 color: CTXPOPUP_SEPARATOR_COLOR;
1378 rel2 { offset: 0.5 0; }
1382 state: "horizontal" 0.0;
1383 color: CTXPOPUP_SEPARATOR_COLOR;
1387 rel2 { offset: 0.5 0; }
1392 name: "elm.swallow.icon";
1396 state: "default" 0.0;
1397 min: CTXPOPUP_ICON_WIDTH CTXPOPUP_ICON_HEIGHT;
1398 max: CTXPOPUP_ICON_WIDTH CTXPOPUP_ICON_HEIGHT;
1401 rel1 { to:"icon_left_padding"; relative: 1 0; }
1405 name: "icon_right_padding";
1409 state: "default" 0.0;
1410 min: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_HEIGHT;
1411 max: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_HEIGHT;
1415 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
1424 state: "default" 0.0;
1425 min: 1 CTXPOPUP_ITEM_HEIGHT;
1426 max: (CTXPOPUP_CONTENT_WIDTH_MAX-(3*CTXPOPUP_ITEM_PADDING)-CTXPOPUP_ICON_WIDTH) CTXPOPUP_ITEM_HEIGHT;
1429 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding";}
1430 rel2 {relative: 0.0 1.0; to_x: "text_right_padding";}
1431 color: CTXPOPUP_FONT_COLOR;
1433 font: "SLP:style=Roman";
1440 state: "clicked" 0.0;
1441 inherit: "default" 0.0;
1442 color: CTXPOPUP_CLICKED_FONT_COLOR;
1446 name: "text_right_padding";
1451 state: "default" 0.0;
1453 min: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_HEIGHT;
1454 max: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_HEIGHT;
1463 ignore_flags: ON_HOLD;
1465 state: "default" 0.0;
1473 state: "default" 0.0;
1480 state: "default" 0.0;
1484 state: "disabled" 0.0;
1486 color: CTXPOPUP_ITEM_DISABLED_COLOR;
1492 name: "item_unclick";
1493 signal: "mouse,up,1";
1495 action: SIGNAL_EMIT "elm,action,click" "";
1499 signal: "elm,state,disabled";
1501 action: STATE_SET "disabled" 0.0;
1506 signal: "elm,state,enabled";
1508 action: STATE_SET "default" 0.0;
1513 signal: "elm,state,vertical";
1516 set_state(PART:"bottom_separator", "default", 0.0);
1517 set_state(PART:"right_separator", "default", 0.0);
1522 signal: "elm,state,horizontal";
1525 set_state(PART:"bottom_separator", "horizontal", 0.0);
1526 set_state(PART:"right_separator", "horizontal", 0.0);
1530 name: "item_click2";
1531 signal: "mouse,down,1";
1534 set_state(PART:"elm.text", "clicked", 0.0);
1535 set_state(PART:"bg", "clicked", 0.0);
1539 name: "item_unclick2";
1540 signal: "mouse,up,1";
1543 set_state(PART:"elm.text", "default", 0.0);
1544 set_state(PART:"bg", "default", 0.0);
1550 ///////////////////////////////////////////////////////////////////////////////////////
1551 #define CTXPOPUP_ENTRY_LIST_PADDING_LEFT 3
1552 #define CTXPOPUP_ENTRY_LIST_PADDING_TOP 6
1553 #define CTXPOPUP_ENTRY_LIST_PADDING_RIGHT 3
1554 #define CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM 6
1555 #define CTXPOPUP_ENTRY_FONT_COLOR 255 255 255 255
1556 #define CTXPOPUP_ENTRY_SEPARATOR_COLOR 0 0 0 0
1557 #define CTXPOPUP_ENTRY_ITEM_HEIGHT 44
1558 #define CTXPOPUP_ENTRY_ICON_SIZE 40
1559 #define CTXPOPUP_ENTRY_ITEM_WIDTH_MAX 150
1560 #define CTXPOPUP_ENTRY_LIST_SHADOW_PADDING 3
1561 #define CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR 200 200 200 127
1562 #define CTXPOPUP_ENTRY_ARROW_SIZE 14
1563 ///////////////////////////////////////////////////////////////////////////////////////
1565 name: "elm/ctxpopup/base/extended/entry";
1566 alias: "elm/ctxpopup/base/extended/entry/pass_event";
1568 image: "ctxpopup_bg.png" COMP;
1569 image: "ctxpopup_shadow.png" COMP;
1570 image: "copypaste_btn_bg.png" COMP;
1574 name:"frame_shadow_left_top_padding";
1579 min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1580 max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
1587 name:"frame_shadow_right_bottom_padding";
1592 min: CTXPOPUP_ENTRY_LIST_PADDING_RIGHT CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM;
1593 max: CTXPOPUP_ENTRY_LIST_PADDING_RIGHT CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM;
1594 rel1{relative: 1 1;}
1601 name: "frame_shadow";
1606 state: "default" 0.0;
1607 rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
1608 rel2 {to:"frame_shadow_right_bottom_padding";}
1610 normal: "ctxpopup_shadow.png";
1611 border: 10 10 10 10;
1614 color: 255 255 255 0;
1618 inherit: "default" 0.0;
1619 color: 255 255 255 255;
1623 name: "ctxpopup_frame";
1628 rel2 {offset: -1 11;}
1630 normal: "copypaste_btn_bg.png";
1637 name: "ctxpopup_frame_rect";
1646 name:"list_shadow_right_bottom_padding";
1651 min: CTXPOPUP_ENTRY_LIST_SHADOW_PADDING CTXPOPUP_ENTRY_LIST_SHADOW_PADDING;
1652 max: CTXPOPUP_ENTRY_LIST_SHADOW_PADDING CTXPOPUP_ENTRY_LIST_SHADOW_PADDING;
1656 rel1 {to:"elm.swallow.content"; relative: 1 1;}
1660 name: "ctxpopup_list";
1665 state: "default" 0.0;
1666 rel1 {to: "elm.swallow.content";}
1667 rel2 {to: "list_shadow_right_bottom_padding";}
1668 color: 255 255 255 0;
1672 inherit: "default" 0.0;
1673 color: 255 255 255 255;
1677 name:"content_left_top_padding";
1682 state: "default" 0.0;
1683 min: CTXPOPUP_ENTRY_LIST_PADDING_LEFT CTXPOPUP_ENTRY_LIST_PADDING_TOP;
1684 max: CTXPOPUP_ENTRY_LIST_PADDING_LEFT CTXPOPUP_ENTRY_LIST_PADDING_TOP;
1691 name:"content_right_bottom_padding";
1696 min: CTXPOPUP_ENTRY_LIST_PADDING_RIGHT CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM;
1697 max: CTXPOPUP_ENTRY_LIST_PADDING_RIGHT CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM;
1698 rel1 { relative: 1 1;}
1699 rel2 { relative: 1 1;}
1706 name: "elm.swallow.content";
1709 state: "default" 0.0;
1710 rel1 {to:"content_left_top_padding"; relative: 1 1;}
1711 rel2 {to:"content_right_bottom_padding"; relative: 0 0;}
1716 ///////////////////////////////////////////////////////////////////////////////////////
1718 name: "elm/ctxpopup/arrow/extended/entry";
1719 alias: "elm/ctxpopup/arrow/extended/entry/pass_event";
1721 image: "copypaste_btn_arrow_left.png" COMP;
1722 image: "copypaste_btn_arrow_right.png" COMP;
1723 image: "copypaste_btn_arrow_top.png" COMP;
1724 image: "copypaste_btn_arrow_bottom.png" COMP;
1728 name: "ctxpopup_arrow";
1732 state: "default" 0.0;
1733 min: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE;
1734 max: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE;
1741 min: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE;
1742 max: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE;
1746 normal: "copypaste_btn_arrow_left.png";
1751 min: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE;
1752 max: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE;
1756 normal: "copypaste_btn_arrow_right.png";
1761 min: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE;
1762 max: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE;
1766 normal: "copypaste_btn_arrow_top.png";
1770 state: "bottom" 0.0;
1771 min: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE;
1772 max: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE;
1776 normal: "copypaste_btn_arrow_bottom.png";
1783 name: "enable_left_arrow";
1784 signal: "elm,state,left";
1786 action: STATE_SET "left" 0.0;
1787 target: "ctxpopup_arrow";
1790 name: "enable_right_arrow";
1791 signal: "elm,state,right";
1793 action: STATE_SET "right" 0.0;
1794 target: "ctxpopup_arrow";
1797 name: "enable_top_arrow";
1798 signal: "elm,state,top";
1800 action: STATE_SET "top" 0.0;
1801 target: "ctxpopup_arrow";
1804 name: "enable_bottom_arrow";
1805 signal: "elm,state,bottom";
1807 action: STATE_SET "bottom" 0.0;
1808 target: "ctxpopup_arrow";
1812 ///////////////////////////////////////////////////////////////////////////////////////
1814 name: "elm/ctxpopup/text_style_item/extended/entry";
1815 alias: "elm/ctxpopup/text_style_item/extended/entry/pass_event";
1817 image: "copypaste_btn_normal.png" COMP;
1818 image: "copypaste_btn_press.png" COMP;
1822 name: "event_blocker";
1825 state: "default" 0.0;
1830 name: "left_bg_padding";
1834 state: "default" 0.0;
1835 min: 3 CTXPOPUP_ENTRY_ITEM_HEIGHT;
1836 max: 3 CTXPOPUP_ENTRY_ITEM_HEIGHT;
1843 name: "right_bg_padding";
1847 state: "default" 0.0;
1849 min: 3 CTXPOPUP_ENTRY_ITEM_HEIGHT;
1850 max: 3 CTXPOPUP_ENTRY_ITEM_HEIGHT;
1860 state: "default" 0.0;
1861 rel1 {to:"left_bg_padding"; relative: 1 0;}
1862 rel2 {to:"right_bg_padding"; relative: 0 1;}
1864 normal: "copypaste_btn_normal.png";
1870 state: "clicked" 0.0;
1871 inherit: "default" 0.0;
1873 normal: "copypaste_btn_press.png";
1880 name: "left_padding";
1884 state: "default" 0.0;
1885 min: 16 CTXPOPUP_ENTRY_ITEM_HEIGHT;
1886 max: 16 CTXPOPUP_ENTRY_ITEM_HEIGHT;
1893 name: "bottom_separator";
1898 state: "default" 0.0;
1900 color: CTXPOPUP_ENTRY_SEPARATOR_COLOR;
1907 name: "right_separator";
1912 state: "default" 0.0;
1913 color: CTXPOPUP_ENTRY_SEPARATOR_COLOR;
1925 state: "default" 0.0;
1926 min: 1 CTXPOPUP_ENTRY_ITEM_HEIGHT;
1927 max: CTXPOPUP_ENTRY_ITEM_WIDTH_MAX CTXPOPUP_ENTRY_ITEM_HEIGHT;
1930 rel1 {relative: 1.0 0.0; to: "left_padding";}
1931 rel2 {relative: 0.0 1.0; to: "right_padding";}
1932 color: CTXPOPUP_ENTRY_FONT_COLOR;
1934 font: "SLP:style=Roman";
1941 state: "clicked" 0.0;
1942 inherit: "default" 0.0;
1943 color: CTXPOPUP_CLICKED_FONT_COLOR;
1947 name: "right_padding";
1951 state: "default" 0.0;
1953 min: 16 CTXPOPUP_ENTRY_ITEM_HEIGHT;
1954 max: 16 CTXPOPUP_ENTRY_ITEM_HEIGHT;
1963 ignore_flags: ON_HOLD;
1965 state: "default" 0.0;
1973 state: "default" 0.0;
1980 state: "default" 0.0;
1984 state: "disabled" 0.0;
1986 color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
1992 name: "item_unclick";
1993 signal: "mouse,up,1";
1995 action: SIGNAL_EMIT "elm,action,click" "";
1999 signal: "elm,state,disabled";
2001 action: STATE_SET "disabled" 0.0;
2006 signal: "elm,state,enabled";
2008 action: STATE_SET "default" 0.0;
2012 name: "item_click2";
2013 signal: "mouse,down,1";
2016 set_state(PART:"elm.text", "clicked", 0.0);
2017 set_state(PART:"bg", "clicked", 0.0);
2022 name: "item_unclick2";
2023 signal: "mouse,up,1";
2026 set_state(PART:"elm.text", "default", 0.0);
2027 set_state(PART:"bg", "default", 0.0);
2031 ///////////////////////////////////////////////////////////////////////////////
2033 name: "elm/ctxpopup/icon_style_item/extended/entry";\
2035 image: "copypaste_btn_normal.png" COMP;
2036 image: "copypaste_btn_press.png" COMP;
2040 name: "event_blocker";
2043 state: "default" 0.0;
2048 name: "left_bg_padding";
2052 state: "default" 0.0;
2053 min: 3 CTXPOPUP_ENTRY_ITEM_HEIGHT;
2054 max: 3 CTXPOPUP_ENTRY_ITEM_HEIGHT;
2061 name: "right_bg_padding";
2065 state: "default" 0.0;
2067 min: 3 CTXPOPUP_ENTRY_ITEM_HEIGHT;
2068 max: 3 CTXPOPUP_ENTRY_ITEM_HEIGHT;
2078 state: "default" 0.0;
2079 rel1 {to:"left_bg_padding"; relative: 1 0;}
2080 rel2 {to:"right_bg_padding"; relative: 0 1;}
2082 normal: "copypaste_btn_normal.png";
2088 state: "clicked" 0.0;
2089 inherit: "default" 0.0;
2091 normal: "copypaste_btn_press.png";
2098 name: "left_top_padding";
2111 name: "right_bottom_padding";
2124 name: "right_separator";
2129 state: "default" 0.0;
2130 color: CTXPOPUP_ENTRY_SEPARATOR_COLOR;
2137 name: "elm.swallow.icon";
2141 state: "default" 0.0;
2142 min: CTXPOPUP_ENTRY_ICON_SIZE CTXPOPUP_ENTRY_ICON_SIZE;
2143 max: CTXPOPUP_ENTRY_ICON_SIZE CTXPOPUP_ENTRY_ICON_SIZE;
2146 rel1 { to: "left_top_padding"; relative: 1 1; }
2147 rel2 { to: "right_bottom_padding"; relative: 0 0; }
2151 name: "elm.swallow.icon.paint";
2155 state: "default" 0.0;
2157 color: 255 255 0 255;
2158 rel1 { to: "elm.swallow.icon"; }
2159 rel2 { to: "elm.swallow.icon"; }
2166 ignore_flags: ON_HOLD;
2168 state: "default" 0.0;
2176 state: "default" 0.0;
2183 state: "default" 0.0;
2187 state: "disabled" 0.0;
2189 color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
2195 name: "item_unclick";
2196 signal: "mouse,up,1";
2198 action: SIGNAL_EMIT "elm,action,click" "";
2202 signal: "elm,state,disabled";
2204 action: STATE_SET "disabled" 0.0;
2209 signal: "elm,state,enabled";
2211 action: STATE_SET "default" 0.0;
2215 name: "item_click2";
2216 signal: "mouse,down,1";
2219 set_state(PART:"bg", "clicked", 0.0);
2223 name: "item_unclick2";
2224 signal: "mouse,up,1";
2227 set_state(PART:"bg", "default", 0.0);
2233 ///////////////////////////////////////////////////////////////////////////////////////
2234 #define CTXPOPUP_IE_HEIGHT_ 46
2235 #define CTXPOPUP_IE_CONTENT_WIDTH_MAX 480
2236 #define CTXPOPUP_IE_CONTENT_HEIGHT_MAX 600
2237 #define CTXPOPUP_IE_ARROW_SIZE 34
2238 #define CTXPOPUP_IE_ITEM_PADDING 15
2239 #define CTXPOPUP_IE_ITEM_HEIGHT 47
2240 #define CTXPOPUP_IE_ICON_WIDTH 40
2241 #define CTXPOPUP_IE_ICON_HEIGHT 40
2242 #define CTXPOPUP_IE_FONT_COLOR 255 255 255 255
2243 #define CTXPOPUP_IE_CLICKED_FONT_COLOR 255 255 100 255
2244 #define CTXPOPUP_IE_FONT_SIZE 26
2245 #define CTXPOPUP_IE_SEPARATOR_COLOR 120 120 120 255
2246 #define CTXPOPUP_IE_ITEM_DISABLED_COLOR 200 200 200 127
2247 #define CTXPOPUP_IE_SEPARATOR_PADDING_SIZE 6 2
2248 ///////////////////////////////////////////////////////////////////////////////
2250 name: "elm/ctxpopup/base/extended/imageeditor";
2252 image: "imageeditor_bg.png" COMP;
2256 name: "ctxpopup_frame";
2261 normal: "imageeditor_bg.png";
2262 border: 10 10 10 10;
2268 name: "elm.swallow.content";
2271 state: "default" 0.0;
2276 ///////////////////////////////////////////////////////////////////////////////
2277 group { name: "elm/ctxpopup/arrow/extended/imageeditor";
2279 image: "imageeditor_left_arrow.png" COMP;
2280 image: "imageeditor_right_arrow.png" COMP;
2281 image: "imageeditor_top_arrow.png" COMP;
2282 image: "imageeditor_bottom_arrow.png" COMP;
2286 name: "ctxpopup_arrow";
2290 state: "default" 0.0;
2291 min: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE;
2292 max: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE;
2299 min: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE;
2300 max: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE;
2304 normal: "imageeditor_left_arrow.png";
2309 min: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE;
2310 max: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE;
2314 normal: "imageeditor_right_arrow.png";
2319 min: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE;
2320 max: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE;
2324 normal: "imageeditor_top_arrow.png";
2328 state: "bottom" 0.0;
2329 min: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE;
2330 max: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE;
2334 normal: "imageeditor_bottom_arrow.png";
2341 name: "enable_left_arrow";
2342 signal: "elm,state,left";
2344 action: STATE_SET "left" 0.0;
2345 target: "ctxpopup_arrow";
2348 name: "enable_right_arrow";
2349 signal: "elm,state,right";
2351 action: STATE_SET "right" 0.0;
2352 target: "ctxpopup_arrow";
2355 name: "enable_top_arrow";
2356 signal: "elm,state,top";
2358 action: STATE_SET "top" 0.0;
2359 target: "ctxpopup_arrow";
2362 name: "enable_bottom_arrow";
2363 signal: "elm,state,bottom";
2365 action: STATE_SET "bottom" 0.0;
2366 target: "ctxpopup_arrow";
2370 ///////////////////////////////////////////////////////////////////////////////
2372 name: "elm/ctxpopup/icon_text_style_item/extended/imageeditor";
2374 image: "imageeditor_bar_press.png" COMP;
2379 name: "event_blocker";
2382 state: "default" 0.0;
2391 state: "default" 0.0;
2392 rel1 { to:"separator_left_top_padding"; relative: 1 0; }
2393 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
2397 state: "clicked" 0.0;
2398 rel1 { to:"separator_left_top_padding"; relative: 1 0; }
2399 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
2401 normal: "imageeditor_bar_press.png";
2402 border: 10 10 10 10;
2409 name: "icon_left_padding";
2414 state: "default" 0.0;
2415 min: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT;
2416 max: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT;
2423 name: "separator_left_top_padding";
2427 state: "default" 0.0;
2429 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2430 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2436 name: "separator_right_top_padding";
2440 state: "default" 0.0;
2442 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2443 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2449 name: "separator_left_bottom_padding";
2453 state: "default" 0.0;
2455 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2456 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2462 name: "separator_right_bottom_padding";
2466 state: "default" 0.0;
2468 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2469 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2476 name: "bottom_separator";
2481 state: "default" 0.0;
2482 color: CTXPOPUP_IE_SEPARATOR_COLOR;
2483 rel1 { to:"separator_left_bottom_padding"; relative: 1 0.5; }
2484 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
2488 name: "elm.swallow.icon";
2492 state: "default" 0.0;
2493 min: CTXPOPUP_IE_ICON_WIDTH CTXPOPUP_IE_ICON_HEIGHT;
2494 max: CTXPOPUP_IE_ICON_WIDTH CTXPOPUP_IE_ICON_HEIGHT;
2497 rel1 { to:"icon_left_padding"; relative: 1 0; }
2501 name: "icon_right_padding";
2506 state: "default" 0.0;
2507 min: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT;
2508 max: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT;
2512 rel1 { to:"elm.swallow.icon"; relative: 1 1; }
2521 state: "default" 0.0;
2522 min: 1 CTXPOPUP_IE_ITEM_HEIGHT;
2523 max: (CTXPOPUP_IE_CONTENT_WIDTH_MAX-(3*CTXPOPUP_IE_ITEM_PADDING)-CTXPOPUP_IE_ICON_WIDTH) CTXPOPUP_IE_ITEM_HEIGHT;
2526 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding";}
2527 rel2 {relative: 0.0 1.0; to_x: "text_right_padding";}
2528 color: CTXPOPUP_IE_FONT_COLOR;
2531 size: CTXPOPUP_IE_FONT_SIZE;
2537 state: "clicked" 0.0;
2538 inherit: "default" 0.0;
2539 color: CTXPOPUP_IE_CLICKED_FONT_COLOR;
2543 name: "text_right_padding";
2548 state: "default" 0.0;
2550 min: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT;
2551 max: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT;
2560 ignore_flags: ON_HOLD;
2562 state: "default" 0.0;
2570 state: "default" 0.0;
2577 state: "default" 0.0;
2581 state: "disabled" 0.0;
2583 color: CTXPOPUP_IE_ITEM_DISABLED_COLOR;
2589 name: "item_unclick";
2590 signal: "mouse,up,1";
2592 action: SIGNAL_EMIT "elm,action,click" "";
2596 signal: "elm,state,disabled";
2598 action: STATE_SET "disabled" 0.0;
2603 signal: "elm,state,enabled";
2605 action: STATE_SET "default" 0.0;
2609 name: "item_click2";
2610 signal: "mouse,down,1";
2613 set_state(PART:"elm.text", "clicked", 0.0);
2617 name: "item_unclick2";
2618 signal: "mouse,up,1";
2621 set_state(PART:"elm.text", "default", 0.0);
2626 ///////////////////////////////////////////////////////////////////////////////////////
2628 name: "elm/ctxpopup/text_style_item/extended/imageeditor";
2630 image: "imageeditor_bar_press.png" COMP;
2635 name: "separator_left_padding";
2639 state: "default" 0.0;
2652 state: "default" 0.0;
2653 rel1 { to:"separator_left_top_padding"; relative: 1 0; }
2654 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
2658 state: "clicked" 0.0;
2659 rel1 { to:"separator_left_top_padding"; relative: 1 0; }
2660 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
2662 normal: "imageeditor_bar_press.png";
2663 border: 10 10 10 10;
2669 name: "separator_left_top_padding";
2673 state: "default" 0.0;
2675 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2676 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2682 name: "separator_right_top_padding";
2686 state: "default" 0.0;
2688 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2689 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2695 name: "separator_left_bottom_padding";
2699 state: "default" 0.0;
2701 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2702 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2708 name: "separator_right_bottom_padding";
2712 state: "default" 0.0;
2714 min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2715 max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE;
2722 name: "bottom_separator";
2727 state: "default" 0.0;
2728 color: CTXPOPUP_IE_SEPARATOR_COLOR;
2729 rel1 { to:"separator_left_bottom_padding"; relative: 1 0.5; }
2730 rel2 { to:"separator_right_bottom_padding"; relative: 0 1; }
2734 name: "left_padding";
2739 state: "default" 0.0;
2740 min: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT;
2741 max: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT;
2753 state: "default" 0.0;
2754 min: 1 CTXPOPUP_IE_HEIGHT_;
2755 max: (CTXPOPUP_IE_CONTENT_WIDTH_MAX-2*CTXPOPUP_IE_ITEM_PADDING) CTXPOPUP_IE_HEIGHT_;
2758 rel1 {relative: 1.0 0.0; to: "left_padding";}
2759 rel2 {relative: 0.0 1.0; to: "right_padding";}
2760 color: CTXPOPUP_IE_FONT_COLOR;
2763 size: CTXPOPUP_IE_FONT_SIZE;
2769 state: "clicked" 0.0;
2770 inherit: "default" 0.0;
2771 color: CTXPOPUP_IE_CLICKED_FONT_COLOR;
2775 name: "right_padding";
2779 state: "default" 0.0;
2781 min: 30 CTXPOPUP_IE_ITEM_HEIGHT;
2782 max: 30 CTXPOPUP_IE_ITEM_HEIGHT;
2791 ignore_flags: ON_HOLD;
2793 state: "default" 0.0;
2801 state: "default" 0.0;
2808 state: "default" 0.0;
2812 state: "disabled" 0.0;
2814 color: CTXPOPUP_IE_ITEM_DISABLED_COLOR;
2822 name: "item_unclick";
2823 signal: "mouse,up,1";
2825 action: SIGNAL_EMIT "elm,action,click" "";
2829 signal: "elm,state,disabled";
2831 action: STATE_SET "disabled" 0.0;
2836 signal: "elm,state,enabled";
2838 action: STATE_SET "default" 0.0;
2843 name: "item_click2";
2844 signal: "mouse,down,1";
2847 set_state(PART:"elm.text", "clicked", 0.0);
2851 name: "item_unclick2";
2852 signal: "mouse,up,1";
2855 set_state(PART:"elm.text", "default", 0.0);
2861 ///////////////////////////////////////////////////////////////////////////////////////
2862 #define CTXPOPUP_TP_CONTENT_MAX 480
2863 #define CTXPOPUP_TP_TEXT_WIDTH 32
2864 #define CTXPOPUP_TP_ARROW_SIZE 20
2865 #define CTXPOPUP_TP_PADDING 15
2866 #define CTXPOPUP_TP_HEIGHT 66
2867 #define CTXPOPUP_TP_BG_COLOR 221 134 21 255
2868 #define CTXPOPUP_TP_FONT_COLOR 231 173 95 255
2869 #define CTXPOPUP_TP_CLICKED_FONT_COLOR 255 255 255 255
2870 #define CTXPOPUP_TP_FONT_SIZE 24
2871 ///////////////////////////////////////////////////////////////////////////////
2873 name: "elm/ctxpopup/base/extended/timepicker";
2876 name: "ctxpopup_frame";
2880 color: CTXPOPUP_TP_BG_COLOR;
2881 min: 1 CTXPOPUP_TP_HEIGHT;
2882 max: CTXPOPUP_TP_CONTENT_MAX CTXPOPUP_TP_HEIGHT;
2886 name: "elm.swallow.content";
2889 state: "default" 0.0;
2890 min: 1 CTXPOPUP_TP_HEIGHT;
2891 max: CTXPOPUP_TP_CONTENT_MAX CTXPOPUP_TP_HEIGHT;
2893 rel1 { to: "ctxpopup_frame"; }
2898 ///////////////////////////////////////////////////////////////////////////////
2899 group { name: "elm/ctxpopup/arrow/extended/timepicker";
2901 image: "timepicker_left_arrow.png" COMP;
2902 image: "timepicker_right_arrow.png" COMP;
2903 image: "timepicker_top_arrow.png" COMP;
2904 image: "timepicker_bottom_arrow.png" COMP;
2908 name: "ctxpopup_arrow";
2912 state: "default" 0.0;
2913 min: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE;
2914 max: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE;
2921 min: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE;
2922 max: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE;
2926 normal: "timepicker_left_arrow.png";
2931 min: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE;
2932 max: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE;
2936 normal: "timepicker_right_arrow.png";
2941 min: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE;
2942 max: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE;
2946 normal: "timepicker_top_arrow.png";
2950 state: "bottom" 0.0;
2951 min: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE;
2952 max: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE;
2956 normal: "timepicker_bottom_arrow.png";
2963 name: "enable_left_arrow";
2964 signal: "elm,state,left";
2966 action: STATE_SET "left" 0.0;
2967 target: "ctxpopup_arrow";
2970 name: "enable_right_arrow";
2971 signal: "elm,state,right";
2973 action: STATE_SET "right" 0.0;
2974 target: "ctxpopup_arrow";
2977 name: "enable_top_arrow";
2978 signal: "elm,state,top";
2980 action: STATE_SET "top" 0.0;
2981 target: "ctxpopup_arrow";
2984 name: "enable_bottom_arrow";
2985 signal: "elm,state,bottom";
2987 action: STATE_SET "bottom" 0.0;
2988 target: "ctxpopup_arrow";
2992 ///////////////////////////////////////////////////////////////////////////////
2994 name: "elm/ctxpopup/text_style_item/extended/timepicker";
2997 name: "left_padding";
3002 state: "default" 0.0;
3003 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT;
3004 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT;
3016 state: "default" 0.0;
3017 min: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT;
3018 max: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT;
3021 rel1 {relative: 1.0 0.0; to: "left_padding";}
3022 color: CTXPOPUP_TP_FONT_COLOR;
3025 size: CTXPOPUP_TP_FONT_SIZE;
3031 state: "clicked" 0.0;
3032 inherit: "default" 0.0;
3033 color: 255 255 255 255;
3037 name: "right_padding";
3041 state: "default" 0.0;
3042 min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT;
3043 max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT;
3045 rel1 {relative: 1.0 0.0; to: "elm.text";}
3053 ignore_flags: ON_HOLD;
3055 state: "default" 0.0;
3063 state: "default" 0.0;
3070 name: "item_unclick";
3071 signal: "mouse,up,1";
3073 action: SIGNAL_EMIT "elm,action,click" "";
3077 signal: "mouse,down,1";
3080 set_state(PART:"elm.text", "clicked", 0.0);
3084 name: "item_unclick2";
3085 signal: "mouse,up,1";
3088 set_state(PART:"elm.text", "default", 0.0);