2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.1 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://floralicense.org/license/
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 #include "../include/edc_image_name.h"
19 #include "../include/edc_string.h"
20 #include "cam_funcs.edc"
21 #define CONTROLBAR_SMALL_H 72 //65
22 //Ctxpopup Camera Shooting mode
31 base: "font=SLP:style=Roman font_size=30 align=0.09 color=#FFFFFF ellipise=1.0 wrap=mixed";
58 name: "elm.swallow.box";
61 rel1 { to: "elm.text"; relative: 0 1; offset: 2 1;}
62 rel2 { offset: -3 -3;}
69 name:"camera/layout/setting";
89 name: "elm.swallow.box";
92 rel1 { to: "elm.text"; relative: 0 1; offset: 2 1;}
93 rel2 { offset: -3 -3;}
99 #define MENU(part_name, relx1, rely1, relx2, rely2, to_part) \
101 name: "row."part_name; \
106 state: "default" 0.0; \
113 rel1 { relative: (relx1/720) (rely1/1280); to:to_part;} \
114 rel2 { relative: (relx2/720) (rely2/1280); to:to_part;} \
121 name: "radio_label_textblock_style";
122 base: "font=SLP:style=Medium font_size=14 align=left color=#ffffff wrap=char";
124 tag: "hilight" "+ font=SLP:style=Bold";
125 tag: "b" "+ font=SLP:style=Bold";
126 tag: "whitecolor" "+ color=#ffffff";
130 name: "radio_label_textblock_disabled_style";
131 base: "font=SLP:style=Medium font_size=14 align=left color=#888888 color3=#000000 wrap=char";
133 tag: "hilight" "+ font=SLP:style=Bold";
134 tag: "b" "+ font=SLP:style=Bold";
135 tag: "whitecolor" "+ color=#ffffff";
141 name: "elm/radio/base/beat_winset_test/camera";
143 image: SETTING_POPUP_RADIO_BUTTON_OFF_IMAGE COMP;
144 image: SETTING_POPUP_RADIO_BUTTON_ON_IMAGE COMP;
152 state: "default" 0.0;
154 rel2.relative: 0.0 1.0;
168 state: "default" 0.0;
178 color: 255 255 255 255;
179 image.normal: SETTING_POPUP_RADIO_BUTTON_OFF_IMAGE;
182 state: "visible" 0.0;
183 inherit: "default" 0.0;
184 image.normal: SETTING_POPUP_RADIO_BUTTON_ON_IMAGE;
188 state: "pressed" 0.0;
189 inherit: "default" 0.0;
190 image.normal: SETTING_POPUP_RADIO_BUTTON_ON_IMAGE;
193 state: "disabled" 0.0;
194 inherit: "default" 0.0;
195 image.normal: SETTING_POPUP_RADIO_BUTTON_OFF_IMAGE;
198 state: "disabled_visible" 0.0;
199 inherit: "default" 0.0;
200 image.normal: SETTING_POPUP_RADIO_BUTTON_OFF_IMAGE;
204 name: "elm.swallow.content";
207 state: "default" 0.0;
210 color: 255 255 255 255;
213 rel1.relative: 1.0 0.0;
216 rel2.relative: 1.0 1.0;
220 state: "visible" 0.0;
221 inherit: "default" 0.0;
225 aspect_preference: VERTICAL;
228 state: "disabled" 0.0;
229 inherit: "default" 0.0;
230 color: 128 128 128 128;
233 state: "disabled_visible" 0.0;
234 inherit: "default" 0.0;
235 color: 128 128 128 128;
247 state: "default" 0.0;
250 rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; }
251 rel2 { relative: 1.0 0.5; offset: -2 -2; }
252 color: 255 255 255 255;
255 style: "radio_label_textblock_style";
260 state: "visible" 0.0;
261 inherit: "default" 0.0;
266 state: "disabled" 0.0;
267 inherit: "default" 0.0;
270 state: "disabled_visible" 0.0;
271 inherit: "default" 0.0;
274 style: "radio_label_textblock_disabled_style";
282 ignore_flags: ON_HOLD;
284 state: "default" 0.0;
292 state: "default" 0.0;
297 state: "disabled" 0.0;
298 inherit: "default" 0.0;
307 signal: "mouse,up,1";
309 action: SIGNAL_EMIT "elm,action,radio,toggle" "";
314 set_state(PART:"bg", "default", 0.0);
321 after: "bg_radio_normal";
324 name: "bg_radio_normal";
328 get_state(PART:"radio", st, 30, vl);
329 if (!strcmp(st, "pressed"))
330 set_state(PART:"radio", "default", 0.0);
331 set_state(PART:"bg", "default", 0.0);
336 signal: "mouse,down,1";
341 get_state(PART:"radio", st, 30, vl);
342 if (!strcmp(st, "default"))
343 set_state(PART:"radio", "pressed", 0.0);
348 signal: "elm,state,radio,on";
350 action: STATE_SET "visible" 0.0;
355 signal: "elm,state,radio,off";
357 action: STATE_SET "default" 0.0;
362 signal: "elm,state,text,visible";
364 action: STATE_SET "visible" 0.0;
369 signal: "elm,state,text,hidden";
371 action: STATE_SET "default" 0.0;
376 signal: "elm,state,icon,visible";
378 action: STATE_SET "visible" 0.0;
379 target: "elm.swallow.content";
383 signal: "elm,state,icon,hidden";
385 action: STATE_SET "default" 0.0;
386 target: "elm.swallow.content";
390 signal: "elm,state,disabled";
392 action: STATE_SET "disabled" 0.0;
394 after: "disable_text";
397 name: "disable_text";
401 get_state(PART:"elm.text", st, 30, vl);
402 if (!strcmp(st, "visible"))
403 set_state(PART:"elm.text", "disabled_visible", 0.0);
405 set_state(PART:"elm.text", "disabled", 0.0);
407 get_state(PART:"elm.swallow.content", st, 30, vl);
408 if (!strcmp(st, "visible"))
409 set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
411 set_state(PART:"elm.swallow.content", "disabled", 0.0);
413 get_state(PART:"radio", st, 30, vl);
414 if (!strcmp(st, "visible"))
415 set_state(PART:"radio", "disabled_visible", 0.0);
417 set_state(PART:"radio", "disabled", 0.0);
422 signal: "elm,state,enabled";
424 action: STATE_SET "default" 0.0;
426 after: "enable_text";
433 get_state(PART:"elm.text", st, 30, vl);
434 if (!strcmp(st, "disabled_visible"))
435 set_state(PART:"elm.text", "visible", 0.0);
437 set_state(PART:"elm.text", "default", 0.0);
439 get_state(PART:"elm.swallow.content", st, 30, vl);
440 if (!strcmp(st, "disabled_visible"))
441 set_state(PART:"elm.swallow.content", "visible", 0.0);
443 set_state(PART:"elm.swallow.content", "default", 0.0);
445 get_state(PART:"radio", st, 30, vl);
446 if (!strcmp(st, "disabled_visible"))
447 set_state(PART:"radio", "visible", 0.0);
449 set_state(PART:"elm.swallow.content", "default", 0.0);
456 #define CTXPOPUP_CAMERA_FRAME_WIDTH_MAX 720
457 #define CTXPOPUP_CAMERA_FRAME_HEIGHT_MAX 1280
458 #define CTXPOPUP_CAMERA_CONTENT_WIDTH_MAX 720
459 #define CTXPOPUP_CAMERA_CONTENT_HEIGHT_MAX 1280
460 /*#define CTXPOPUP_CAMERA_ARROW_SIZE 28 */
463 name: "elm/scroller/base/beat_winset_test/camera";
465 public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
468 v = get_int(sbvis_v);
470 v = get_int(sbalways_v);
472 emit("do-hide-vbar", "");
476 v = get_int(sbvis_h);
478 v = get_int(sbalways_h);
480 emit("do-hide-hbar", "");
484 set_int(sbvis_timer, 0);
496 state: "default" 0.0;
497 max: CTXPOPUP_CAMERA_CONTENT_WIDTH_MAX CTXPOPUP_CAMERA_CONTENT_HEIGHT_MAX;
501 name: "elm.swallow.content";
506 state: "default" 0.0;
507 max: CTXPOPUP_CAMERA_CONTENT_WIDTH_MAX CTXPOPUP_CAMERA_CONTENT_HEIGHT_MAX;
512 name: "sb_vbar_clip_master";
516 state: "default" 0.0;
521 color: 255 255 255 0;
525 name: "sb_vbar_clip";
526 clip_to:"sb_vbar_clip_master";
531 state: "default" 0.0;
533 rel2{ to:"clipper"; relative: 1.0 1.0;}
538 color: 255 255 255 0;
547 state: "default" 0.0;
551 rel1{ to:"clipper"; relative: 1.0 0.0; }
552 rel2{ to:"clipper"; relative: 1.0 1.0;}
556 name: "elm.dragable.vbar";
557 clip_to: "sb_vbar_clip";
566 state: "default" 0.0;
580 name: "sb_hbar_clip_master";
584 state: "default" 0.0;
589 color: 255 255 255 0;
593 name: "sb_hbar_clip";
594 clip_to: "sb_hbar_clip_master";
599 state: "default" 0.0;
601 rel2{ to:"clipper"; relative: 1.0 1.0;}
606 color: 255 255 255 0;
615 state: "default" 0.0;
619 rel1 {to:"clipper"; relative: 0.0 1.0;}
620 rel2 {to:"clipper"; relative: 1.0 1.0;}
630 set_state(PART:"sb_vbar_clip", "hidden", 0.0);
631 set_state(PART:"sb_hbar_clip", "hidden", 0.0);
634 set_int(sbalways_v, 0);
635 set_int(sbalways_h, 0);
636 set_int(sbvis_timer, 0);
641 signal: "elm,action,show,vbar";
643 action: STATE_SET "default" 0.0;
644 target: "sb_vbar_clip_master";
648 signal: "elm,action,hide,vbar";
650 action: STATE_SET "hidden" 0.0;
651 target: "sb_vbar_clip_master";
654 name: "vbar_show_always";
655 signal: "elm,action,show_always,vbar";
659 v = get_int(sbvis_v);
660 v |= get_int(sbalways_v);
662 set_int(sbalways_v, 1);
663 emit("do-show-vbar", "");
669 name: "vbar_show_notalways";
670 signal: "elm,action,show_notalways,vbar";
674 v = get_int(sbalways_v);
676 set_int(sbalways_v, 0);
677 v = get_int(sbvis_v);
679 emit("do-hide-vbar", "");
686 name: "sb_vbar_show";
687 signal: "do-show-vbar";
689 action: STATE_SET "default" 0.0;
690 transition: LINEAR 1.0;
691 target: "sb_vbar_clip";
694 name: "sb_vbar_hide";
695 signal: "do-hide-vbar";
697 action: STATE_SET "hidden" 0.0;
698 transition: LINEAR 1.0;
699 target: "sb_vbar_clip";
703 signal: "elm,action,show,hbar";
705 action: STATE_SET "default" 0.0;
706 target: "sb_hbar_clip_master";
710 signal: "elm,action,hide,hbar";
712 action: STATE_SET "hidden" 0.0;
713 target: "sb_hbar_clip_master";
716 name: "hbar_show_always";
717 signal: "elm,action,show_always,hbar";
721 v = get_int(sbvis_h);
722 v |= get_int(sbalways_h);
724 set_int(sbalways_h, 1);
725 emit("do-show-hbar", "");
731 name: "hbar_show_notalways";
732 signal: "elm,action,show_notalways,hbar";
736 v = get_int(sbalways_h);
738 set_int(sbalways_h, 0);
739 v = get_int(sbvis_h);
741 emit("do-hide-hbar", "");
748 name: "sb_hbar_show";
749 signal: "do-show-hbar";
751 action: STATE_SET "default" 0.0;
752 transition: LINEAR 1.0;
753 target: "sb_hbar_clip";
756 name: "sb_hbar_hide";
757 signal: "do-hide-hbar";
759 action: STATE_SET "hidden" 0.0;
760 transition: LINEAR 1.0;
761 target: "sb_hbar_clip";
765 signal: "elm,action,scroll";
767 action: STATE_SET "default" 0.0;
770 v = get_int(sbvis_v);
771 v |= get_int(sbalways_v);
773 emit("do-show-vbar", "");
776 v = get_int(sbvis_h);
777 v |= get_int(sbalways_h);
779 emit("do-show-hbar", "");
782 v = get_int(sbvis_timer);
783 if (v > 0) cancel_timer(v);
784 v = timer(2.0, "timer0", 0);
785 set_int(sbvis_timer, v);
792 name: "elm/ctxpopup/bg/beat_winset_test/camera";
798 state: "default" 0.0;
802 state: "visible" 0.0;
810 signal: "elm,state,show";
812 action: STATE_SET "visible" 0.0;
817 signal: "elm,state,hide";
819 action: STATE_SET "default" 0.0;
826 #define CTXPOPUP_CAMERA_ARROW_WIDTH 28
827 #define CTXPOPUP_CAMERA_ARROW_HEIGHT 42
828 #define CTXPOPUP_FRAME_CORNER_SIZE 4 4
830 ///////////////////////////////////////////////////////////////////////////////
832 name: "elm/ctxpopup/base/beat_winset_test/camera";
834 image: CTXPOPUP_BG_IMAGE COMP;
838 name: "ctxpopup_frame_left_top";
844 min: CTXPOPUP_FRAME_CORNER_SIZE;
845 max: CTXPOPUP_FRAME_CORNER_SIZE;
850 name: "ctxpopup_frame_right_top";
856 min: CTXPOPUP_FRAME_CORNER_SIZE;
857 max: CTXPOPUP_FRAME_CORNER_SIZE;
862 name: "ctxpopup_frame_left_bottom";
868 min: CTXPOPUP_FRAME_CORNER_SIZE;
869 max: CTXPOPUP_FRAME_CORNER_SIZE;
874 name: "ctxpopup_frame_right_bottom";
880 min: CTXPOPUP_FRAME_CORNER_SIZE;
881 max: CTXPOPUP_FRAME_CORNER_SIZE;
885 part { name: "arrow_area_left";
889 clip_to: "ctxpopup_clip";
890 description { state: "default" 0.0;
897 to_y: "ctxpopup_frame_left_top";
901 to:"ctxpopup_frame_left_bottom";
903 color : 255 255 255 0;
906 part { name: "arrow_area_right";
910 clip_to: "ctxpopup_clip";
911 description { state: "default" 0.0;
918 to:"ctxpopup_frame_right_top";
922 to_y: "ctxpopup_frame_right_bottom";
924 color : 255 255 255 0;
927 part { name: "arrow_area_up";
931 clip_to: "ctxpopup_clip";
932 description { state: "default" 0.0;
939 to_x: "ctxpopup_frame_left_top";
943 to:"ctxpopup_frame_right_top";
945 color : 255 255 255 0;
948 part { name: "arrow_area_down";
952 clip_to: "ctxpopup_clip";
953 description { state: "default" 0.0;
960 to:"ctxpopup_frame_left_bottom";
964 to_x: "ctxpopup_frame_right_bottom";
966 color : 255 255 255 0;
970 part { name: "elm.swallow.arrow_up";
974 clip_to: "ctxpopup_clip";
978 confine: "arrow_area_up";
981 state: "default" 0.0;
987 part { name: "elm.swallow.arrow_down";
991 clip_to: "ctxpopup_clip";
995 confine: "arrow_area_down";
998 state: "default" 0.0;
1004 part { name: "elm.swallow.arrow_left";
1008 clip_to: "ctxpopup_clip";
1012 confine: "arrow_area_left";
1015 state: "default" 0.0;
1021 part { name: "elm.swallow.arrow_right";
1025 clip_to: "ctxpopup_clip";
1029 confine: "arrow_area_right";
1032 state: "default" 0.0;
1039 name: "ctxpopup_frame";
1042 clip_to: "ctxpopup_clip";
1046 normal: CTXPOPUP_BG_IMAGE;
1047 border: 67 67 92 42;
1050 rel1 {to: "ctxpopup_frame_left_top"; relative: 0.5 0.5;}
1051 rel2 {to: "ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
1056 name: "elm.swallow.content";
1058 clip_to: "ctxpopup_clip";
1060 state: "default" 0.0;
1061 rel1 {to: "ctxpopup_frame_left_top"; relative: 0.5 0.5;}
1062 rel2 {to: "ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
1066 part { name: "ctxpopup_clip";
1068 description { state: "default" 0.0;
1069 color: 255 255 255 0;
1070 rel1 { to:"ctxpopup_frame_left_top"; relative: 0.5 0.5; }
1071 rel2 { to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5; }
1073 description { state: "show_up" 0.0;
1074 color: 255 255 255 0;
1075 rel1 { to:"arrow_area_down"; relative: 0 1; }
1076 rel2 { to:"arrow_area_down"; relative: 1 1; }
1078 description { state: "show_left" 0.0;
1079 color: 255 255 255 0;
1080 rel1 { to:"arrow_area_right"; relative: 1 0; }
1081 rel2 { to:"arrow_area_right"; relative: 1 1; }
1083 description { state: "show_right" 0.0;
1084 color: 255 255 255 0;
1085 rel1 { to:"arrow_area_left"; relative: 0 0; }
1086 rel2 { to:"arrow_area_left"; relative: 0 1; }
1088 description { state: "show_down" 0.0;
1089 color: 255 255 255 0;
1090 rel1 { to:"arrow_area_up"; relative: 0 0; }
1091 rel2 { to:"arrow_area_up"; relative: 1 0; }
1093 description { state: "hide_up" 0.0;
1094 color: 255 255 255 255;
1095 rel1 { to:"arrow_area_down"; relative: 0 1; }
1096 rel2 { to:"arrow_area_down"; relative: 1 1; }
1098 description { state: "hide_left" 0.0;
1099 color: 255 255 255 255;
1100 rel1 { to:"arrow_area_right"; relative: 1 0; }
1101 rel2 { to:"arrow_area_right"; relative: 1 1; }
1103 description { state: "hide_right" 0.0;
1104 color: 255 255 255 255;
1105 rel1 { to:"arrow_area_left"; relative: 0 0; }
1106 rel2 { to:"arrow_area_left"; relative: 0 1; }
1108 description { state: "hide_down" 0.0;
1109 color: 255 255 255 255;
1110 rel1 { to:"arrow_area_up"; relative: 0 0; }
1111 rel2 { to:"arrow_area_up"; relative: 1 0; }
1113 description { state: "visible" 0.0;
1114 color: 255 255 255 255;
1115 rel1 { to_x:"arrow_area_left"; to_y:"arrow_area_up"; }
1116 rel2 { to_x:"arrow_area_right"; to_y:"arrow_area_down"; }
1121 program { name: "show";
1122 signal: "elm,state,show";
1124 action: STATE_SET "visible" 0.0;
1125 transition: LINEAR 0.25;
1126 target: "ctxpopup_clip";
1128 program { name: "show_up";
1129 signal: "elm,state,show,up";
1131 action: STATE_SET "show_up" 0.0;
1132 transition: LINEAR 0.25;
1133 target: "ctxpopup_clip";
1135 program { name: "show_left";
1136 signal: "elm,state,show,left";
1138 action: STATE_SET "show_left" 0.0;
1139 transition: LINEAR 0.25;
1140 target: "ctxpopup_clip";
1142 program { name: "show_right";
1143 signal: "elm,state,show,right";
1145 action: STATE_SET "show_right" 0.0;
1146 transition: LINEAR 0.25;
1147 target: "ctxpopup_clip";
1149 program { name: "show_down";
1150 signal: "elm,state,show,down";
1152 action: STATE_SET "show_down" 0.0;
1153 transition: LINEAR 0.25;
1154 target: "ctxpopup_clip";
1156 program { name: "hide_up";
1157 signal: "elm,state,hide,up";
1159 action: STATE_SET "hide_up" 0.0;
1160 transition: LINEAR 0.25;
1161 target: "ctxpopup_clip";
1162 after: "hide_finished";
1164 program { name: "hide_left";
1165 signal: "elm,state,hide,left";
1167 action: STATE_SET "hide_left" 0.0;
1168 transition: LINEAR 0.25;
1169 target: "ctxpopup_clip";
1170 after: "hide_finished";
1172 program { name: "hide_right";
1173 signal: "elm,state,hide,right";
1175 action: STATE_SET "hide_right" 0.0;
1176 transition: LINEAR 0.25;
1177 target: "ctxpopup_clip";
1178 after: "hide_finished";
1180 program { name: "hide_down";
1181 signal: "elm,state,hide,down";
1183 action: STATE_SET "hide_down" 0.0;
1184 transition: LINEAR 0.25;
1185 target: "ctxpopup_clip";
1186 after: "hide_finished";
1188 program { name: "hide_finished";
1189 action: SIGNAL_EMIT "elm,action,hide,finished" "";
1194 group { name: "elm/ctxpopup/arrow/beat_winset_test/camera";
1196 image: CTXPOPUP_LEFT_ARROW_IMAGE COMP;
1197 image: CTXPOPUP_RIGHTT_ARROW_IMAGE COMP;
1198 image: CTXPOPUP_TOP_ARROW_IMAGE COMP;
1199 image: CTXPOPUP_BOTTOM_ARROW_IMAGE COMP;
1203 name: "ctxpopup_arrow";
1207 state: "default" 0.0;
1208 min: CTXPOPUP_CAMERA_ARROW_WIDTH CTXPOPUP_CAMERA_ARROW_HEIGHT;
1209 max: CTXPOPUP_CAMERA_ARROW_WIDTH CTXPOPUP_CAMERA_ARROW_HEIGHT;
1213 rel1.relative: 0.0 -0.5;
1214 rel2.relative: 0.0 1.0;
1219 min: CTXPOPUP_CAMERA_ARROW_WIDTH CTXPOPUP_CAMERA_ARROW_HEIGHT;
1220 max: CTXPOPUP_CAMERA_ARROW_WIDTH CTXPOPUP_CAMERA_ARROW_HEIGHT;
1224 normal: CTXPOPUP_LEFT_ARROW_IMAGE;
1229 min: CTXPOPUP_CAMERA_ARROW_WIDTH CTXPOPUP_CAMERA_ARROW_HEIGHT;
1230 max: CTXPOPUP_CAMERA_ARROW_WIDTH CTXPOPUP_CAMERA_ARROW_HEIGHT;
1234 normal: CTXPOPUP_RIGHTT_ARROW_IMAGE;
1239 min: CTXPOPUP_CAMERA_ARROW_HEIGHT CTXPOPUP_CAMERA_ARROW_WIDTH;
1240 max: CTXPOPUP_CAMERA_ARROW_HEIGHT CTXPOPUP_CAMERA_ARROW_WIDTH;
1244 normal: CTXPOPUP_TOP_ARROW_IMAGE;
1248 state: "bottom" 0.0;
1249 min: CTXPOPUP_CAMERA_ARROW_HEIGHT CTXPOPUP_CAMERA_ARROW_WIDTH;
1250 max: CTXPOPUP_CAMERA_ARROW_HEIGHT CTXPOPUP_CAMERA_ARROW_WIDTH;
1254 normal: CTXPOPUP_BOTTOM_ARROW_IMAGE;
1261 name: "enable_left_arrow";
1262 signal: "elm,state,left";
1264 action: STATE_SET "left" 0.0;
1265 target: "ctxpopup_arrow";
1268 name: "enable_right_arrow";
1269 signal: "elm,state,right";
1271 action: STATE_SET "right" 0.0;
1272 target: "ctxpopup_arrow";
1275 name: "enable_top_arrow";
1276 signal: "elm,state,top";
1278 action: STATE_SET "top" 0.0;
1279 target: "ctxpopup_arrow";
1282 name: "enable_bottom_arrow";
1283 signal: "elm,state,bottom";
1285 action: STATE_SET "bottom" 0.0;
1286 target: "ctxpopup_arrow";
1292 name: "elm/ctxpopup/bg/beat_winset_test/camera_no_arrow";
1298 state: "default" 0.0;
1302 state: "visible" 0.0;
1310 signal: "elm,state,show";
1312 action: STATE_SET "visible" 0.0;
1317 signal: "elm,state,hide";
1319 action: STATE_SET "default" 0.0;
1326 name: "elm/ctxpopup/base/beat_winset_test/camera_no_arrow";
1328 image: CTXPOPUP_BG_2DEPTH_IMAGE COMP;
1332 name: "ctxpopup_frame_left_top";
1338 min: CTXPOPUP_FRAME_CORNER_SIZE;
1339 max: CTXPOPUP_FRAME_CORNER_SIZE;
1344 name: "ctxpopup_frame_right_top";
1350 min: CTXPOPUP_FRAME_CORNER_SIZE;
1351 max: CTXPOPUP_FRAME_CORNER_SIZE;
1356 name: "ctxpopup_frame_left_bottom";
1362 min: CTXPOPUP_FRAME_CORNER_SIZE;
1363 max: CTXPOPUP_FRAME_CORNER_SIZE;
1368 name: "ctxpopup_frame_right_bottom";
1374 min: CTXPOPUP_FRAME_CORNER_SIZE;
1375 max: CTXPOPUP_FRAME_CORNER_SIZE;
1379 part { name: "arrow_area_left";
1383 clip_to: "ctxpopup_clip";
1384 description { state: "default" 0.0;
1391 to_y: "ctxpopup_frame_left_top";
1395 to:"ctxpopup_frame_left_bottom";
1397 color : 255 255 255 0;
1400 part { name: "arrow_area_right";
1404 clip_to: "ctxpopup_clip";
1405 description { state: "default" 0.0;
1412 to:"ctxpopup_frame_right_top";
1416 to_y: "ctxpopup_frame_right_bottom";
1418 color : 255 255 255 0;
1421 part { name: "arrow_area_up";
1425 clip_to: "ctxpopup_clip";
1426 description { state: "default" 0.0;
1433 to_x: "ctxpopup_frame_left_top";
1437 to:"ctxpopup_frame_right_top";
1439 color : 255 255 255 0;
1442 part { name: "arrow_area_down";
1446 clip_to: "ctxpopup_clip";
1447 description { state: "default" 0.0;
1454 to:"ctxpopup_frame_left_bottom";
1458 to_x: "ctxpopup_frame_right_bottom";
1460 color : 255 255 255 0;
1464 part { name: "elm.swallow.arrow_up";
1468 clip_to: "ctxpopup_clip";
1472 confine: "arrow_area_up";
1475 state: "default" 0.0;
1481 part { name: "elm.swallow.arrow_down";
1485 clip_to: "ctxpopup_clip";
1489 confine: "arrow_area_down";
1492 state: "default" 0.0;
1498 part { name: "elm.swallow.arrow_left";
1502 clip_to: "ctxpopup_clip";
1506 confine: "arrow_area_left";
1509 state: "default" 0.0;
1515 part { name: "elm.swallow.arrow_right";
1519 clip_to: "ctxpopup_clip";
1523 confine: "arrow_area_right";
1526 state: "default" 0.0;
1534 name: "ctxpopup_frame";
1537 clip_to: "ctxpopup_clip";
1540 /*color: 0 0 0 85;*/
1542 normal: CTXPOPUP_BG_2DEPTH_IMAGE;
1543 border: 67 67 92 42;
1546 rel1 {to: "ctxpopup_frame_left_top"; relative: 0.5 0.5;}
1547 rel2 {to: "ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
1549 // color : 255 255 255 200;
1554 name: "elm.swallow.content";
1556 clip_to: "ctxpopup_clip";
1558 state: "default" 0.0;
1559 rel1 {to: "ctxpopup_frame_left_top"; relative: 0.5 0.5;}
1560 rel2 {to: "ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
1564 part { name: "ctxpopup_clip";
1566 description { state: "default" 0.0;
1567 color: 255 255 255 0;
1568 rel1 { to:"ctxpopup_frame_left_top"; relative: 0.5 0.5; }
1569 rel2 { to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5; }
1571 description { state: "show_up" 0.0;
1572 color: 255 255 255 0;
1573 rel1 { to:"arrow_area_down"; relative: 0 1; }
1574 rel2 { to:"arrow_area_down"; relative: 1 1; }
1576 description { state: "show_left" 0.0;
1577 color: 255 255 255 0;
1578 rel1 { to:"arrow_area_right"; relative: 1 0; }
1579 rel2 { to:"arrow_area_right"; relative: 1 1; }
1581 description { state: "show_right" 0.0;
1582 color: 255 255 255 0;
1583 rel1 { to:"arrow_area_left"; relative: 0 0; }
1584 rel2 { to:"arrow_area_left"; relative: 0 1; }
1586 description { state: "show_down" 0.0;
1587 color: 255 255 255 0;
1588 rel1 { to:"arrow_area_up"; relative: 0 0; }
1589 rel2 { to:"arrow_area_up"; relative: 1 0; }
1591 description { state: "hide_up" 0.0;
1592 color: 255 255 255 255;
1593 rel1 { to:"arrow_area_down"; relative: 0 1; }
1594 rel2 { to:"arrow_area_down"; relative: 1 1; }
1596 description { state: "hide_left" 0.0;
1597 color: 255 255 255 255;
1598 rel1 { to:"arrow_area_right"; relative: 1 0; }
1599 rel2 { to:"arrow_area_right"; relative: 1 1; }
1601 description { state: "hide_right" 0.0;
1602 color: 255 255 255 255;
1603 rel1 { to:"arrow_area_left"; relative: 0 0; }
1604 rel2 { to:"arrow_area_left"; relative: 0 1; }
1606 description { state: "hide_down" 0.0;
1607 color: 255 255 255 255;
1608 rel1 { to:"arrow_area_up"; relative: 0 0; }
1609 rel2 { to:"arrow_area_up"; relative: 1 0; }
1611 description { state: "visible" 0.0;
1612 color: 255 255 255 255;
1613 rel1 { to_x:"arrow_area_left"; to_y:"arrow_area_up"; }
1614 rel2 { to_x:"arrow_area_right"; to_y:"arrow_area_down"; }
1619 program { name: "show";
1620 signal: "elm,state,show";
1622 action: STATE_SET "visible" 0.0;
1623 transition: LINEAR 0.25;
1624 target: "ctxpopup_clip";
1626 program { name: "show_up";
1627 signal: "elm,state,show,up";
1629 action: STATE_SET "show_up" 0.0;
1630 transition: LINEAR 0.25;
1631 target: "ctxpopup_clip";
1633 program { name: "show_left";
1634 signal: "elm,state,show,left";
1636 action: STATE_SET "show_left" 0.0;
1637 transition: LINEAR 0.25;
1638 target: "ctxpopup_clip";
1640 program { name: "show_right";
1641 signal: "elm,state,show,right";
1643 action: STATE_SET "show_right" 0.0;
1644 transition: LINEAR 0.25;
1645 target: "ctxpopup_clip";
1647 program { name: "show_down";
1648 signal: "elm,state,show,down";
1650 action: STATE_SET "show_down" 0.0;
1651 transition: LINEAR 0.25;
1652 target: "ctxpopup_clip";
1654 program { name: "hide_up";
1655 signal: "elm,state,hide,up";
1657 action: STATE_SET "hide_up" 0.0;
1658 transition: LINEAR 0.25;
1659 target: "ctxpopup_clip";
1660 after: "hide_finished";
1662 program { name: "hide_left";
1663 signal: "elm,state,hide,left";
1665 action: STATE_SET "hide_left" 0.0;
1666 transition: LINEAR 0.25;
1667 target: "ctxpopup_clip";
1668 after: "hide_finished";
1670 program { name: "hide_right";
1671 signal: "elm,state,hide,right";
1673 action: STATE_SET "hide_right" 0.0;
1674 transition: LINEAR 0.25;
1675 target: "ctxpopup_clip";
1676 after: "hide_finished";
1678 program { name: "hide_down";
1679 signal: "elm,state,hide,down";
1681 action: STATE_SET "hide_down" 0.0;
1682 transition: LINEAR 0.25;
1683 target: "ctxpopup_clip";
1684 after: "hide_finished";
1686 program { name: "hide_finished";
1687 action: SIGNAL_EMIT "elm,action,hide,finished" "";
1692 group { name: "elm/ctxpopup/arrow/beat_winset_test/camera_no_arrow";
1695 name: "ctxpopup_arrow";
1699 state: "default" 0.0;
1702 rel1.relative: 0.0 -0.5;
1703 rel2.relative: 0.0 1.0;
1708 inherit: "default" 0.0;
1712 inherit: "default" 0.0;
1716 inherit: "default" 0.0;
1719 state: "bottom" 0.0;
1720 inherit: "default" 0.0;
1727 #include "style_tizen_hd_inc.edc"
1728 #include "style_genlist_macro.edc"
1729 #include "style_genlist_normal.edc"