2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.0 (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://www.tizenopensource.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
45 text: "Shooting mode";
50 name: "elm.swallow.box";
53 rel1 { to: "elm.text"; relative: 0 1; }
54 rel2 { offset: -1 -5;}
61 name:"camera/layout/setting";
79 text: "Shooting mode";
84 name: "elm.swallow.box";
87 rel1 { to: "elm.text"; relative: 0 1; }
88 rel2 { offset: -1 -5;}
95 #define MENU(part_name, relx1, rely1, relx2, rely2, to_part) \
97 name: "row."part_name; \
102 state: "default" 0.0; \
109 rel1 { relative: (relx1/720) (rely1/1280); to:to_part;} \
110 rel2 { relative: (relx2/720) (rely2/1280); to:to_part;} \
127 state: "default" 0.0;
145 rel1 { offset: 4 0; }
146 rel2 { offset: -5 -1; }
150 name: "event_blocker";
153 state: "default" 0.0;
157 name: "check_left_padding";
162 state: "default" 0.0;
171 name: "elm.swallow.radio";
175 state: "default" 0.0;
180 rel1 { to:"check_left_padding"; relative: 1 0; }
184 name: "icon_left_padding";
189 state: "default" 0.0;
195 rel1 { to_x: "elm.swallow.radio"; relative: 1 0; }
199 name: "elm.swallow.icon";
203 state: "default" 0.0;
208 rel1 { to:"icon_left_padding"; relative: 1 0; }
212 name: "icon_right_padding";
217 state: "default" 0.0;
223 rel1 { to:"elm.swallow.icon"; relative: 1 0; }
232 state: "default" 0.0;
237 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding";}
238 rel2 {relative: 1.0 1.0; }
239 color: 255 255 255 255;
248 state: "clicked" 0.0;
249 inherit: "default" 0.0;
250 color: 255 255 0 255;
254 name: "elm.title_text";
259 state: "default" 0.0;
264 rel1 {relative: 1.0 0.0; to_x: "check_left_padding";}
265 rel2 {relative: 1.0 1.0; }
266 color: 255 255 255 255;
279 ignore_flags: ON_HOLD;
281 state: "default" 0.0;
284 state: "disabled" 0.0;
285 inherit: "default" 0.0;
294 state: "default" 0.0;
295 color: 255 255 255 0;
298 state: "clicked" 0.0;
299 color: 255 255 255 255;
305 name: "item_unclick3";
306 signal: "mouse,up,1";
308 action: SIGNAL_EMIT "elm,action,click" "";
312 signal: "elm,state,disabled";
314 after: "disable_text";
317 name: "disable_text";
319 set_state(PART:"elm.text", "disabled", 0.0);
320 set_int( disabled_v, 1 );
325 signal: "elm,state,enabled";
327 after: "enable_text";
332 set_state(PART:"elm.text", "enabled", 0.0);
333 set_int( disabled_v, 0 );
337 name: "button_click";
338 signal: "mouse,down,1";
341 if(!get_int( disabled_v)) {
342 set_state(PART:"elm.text", "clicked", 0.0);
343 emit("elm.action.mouse.down", "");
348 name: "button_clicked";
349 signal: "mouse,clicked,1";
352 if(!get_int( disabled_v)) {
353 set_state(PART:"elm.text", "default", 0.0);
354 emit("elm.action.mouse.clicked", "");
361 name: "button_unclick";
362 signal: "mouse,up,1";
365 if(!get_int(disabled_v)) {
366 set_state(PART:"elm.text", "default", 0.0);
372 //setting Item Layout
374 name: "camera/item/setting";
385 state: "default" 0.0;
403 rel1 { offset: 4 0; }
404 rel2 { offset: -5 -1; }
408 name: "event_blocker";
411 state: "default" 0.0;
415 name: "check_left_padding";
420 state: "default" 0.0;
429 name: "elm.swallow.radio";
433 state: "default" 0.0;
438 rel1 { to:"check_left_padding"; relative: 1 0; }
442 name: "icon_left_padding";
447 state: "default" 0.0;
453 rel1 { to_x: "elm.swallow.radio"; relative: 1 0; }
457 name: "elm.swallow.icon";
461 state: "default" 0.0;
466 rel1 { to:"icon_left_padding"; relative: 1 0; }
470 name: "icon_right_padding";
475 state: "default" 0.0;
481 rel1 { to:"elm.swallow.icon"; relative: 1 0; }
490 state: "default" 0.0;
495 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding";}
496 rel2 {relative: 1.0 1.0; }
497 color: 255 255 255 255;
506 state: "clicked" 0.0;
507 inherit: "default" 0.0;
508 color: 255 255 0 255;
512 name: "elm.title_text";
517 state: "default" 0.0;
522 rel1 {relative: 1.0 0.0; to_x: "check_left_padding";}
523 rel2 {relative: 1.0 1.0; }
524 color: 255 255 255 255;
537 ignore_flags: ON_HOLD;
539 state: "default" 0.0;
542 state: "disabled" 0.0;
543 inherit: "default" 0.0;
552 state: "default" 0.0;
553 color: 255 255 255 0;
556 state: "clicked" 0.0;
557 color: 255 255 255 255;
563 name: "item_unclick3";
564 signal: "mouse,up,1";
566 action: SIGNAL_EMIT "elm,action,click" "";
570 signal: "elm,state,disabled";
572 after: "disable_text";
575 name: "disable_text";
577 set_state(PART:"elm.text", "disabled", 0.0);
578 set_int( disabled_v, 1 );
583 signal: "elm,state,enabled";
585 after: "enable_text";
590 set_state(PART:"elm.text", "enabled", 0.0);
591 set_int( disabled_v, 0 );
595 name: "button_click";
596 signal: "mouse,down,1";
599 if(!get_int( disabled_v)) {
600 set_state(PART:"elm.text", "clicked", 0.0);
601 emit("elm.action.mouse.down", "");
606 name: "button_clicked";
607 signal: "mouse,clicked,1";
610 if(!get_int( disabled_v)) {
611 set_state(PART:"elm.text", "default", 0.0);
612 emit("elm.action.mouse.clicked", "");
618 name: "button_unclick";
619 signal: "mouse,up,1";
622 if(!get_int(disabled_v)) {
623 set_state(PART:"elm.text", "default", 0.0);
632 name: "radio_label_textblock_style";
633 base: "font=SLP:style=Medium font_size=14 align=left color=#ffffff wrap=char";
635 tag: "hilight" "+ font=SLP:style=Bold";
636 tag: "b" "+ font=SLP:style=Bold";
637 tag: "whitecolor" "+ color=#ffffff";
641 name: "radio_label_textblock_disabled_style";
642 base: "font=SLP:style=Medium font_size=14 align=left color=#888888 color3=#000000 wrap=char";
644 tag: "hilight" "+ font=SLP:style=Bold";
645 tag: "b" "+ font=SLP:style=Bold";
646 tag: "whitecolor" "+ color=#ffffff";
652 name: "elm/radio/base/beat_winset_test/camera";
654 image: SETTING_POPUP_RADIO_BUTTON_OFF_IMAGE COMP;
655 image: SETTING_POPUP_RADIO_BUTTON_ON_IMAGE COMP;
663 state: "default" 0.0;
665 rel2.relative: 0.0 1.0;
679 state: "default" 0.0;
689 color: 255 255 255 255;
690 image.normal: SETTING_POPUP_RADIO_BUTTON_OFF_IMAGE;
693 state: "visible" 0.0;
694 inherit: "default" 0.0;
695 image.normal: SETTING_POPUP_RADIO_BUTTON_ON_IMAGE;
699 state: "pressed" 0.0;
700 inherit: "default" 0.0;
701 image.normal: SETTING_POPUP_RADIO_BUTTON_ON_IMAGE;
704 state: "disabled" 0.0;
705 inherit: "default" 0.0;
706 image.normal: SETTING_POPUP_RADIO_BUTTON_OFF_IMAGE;
709 state: "disabled_visible" 0.0;
710 inherit: "default" 0.0;
711 image.normal: SETTING_POPUP_RADIO_BUTTON_OFF_IMAGE;
715 name: "elm.swallow.content";
718 state: "default" 0.0;
721 color: 255 255 255 255;
724 rel1.relative: 1.0 0.0;
727 rel2.relative: 1.0 1.0;
731 state: "visible" 0.0;
732 inherit: "default" 0.0;
736 aspect_preference: VERTICAL;
739 state: "disabled" 0.0;
740 inherit: "default" 0.0;
741 color: 128 128 128 128;
744 state: "disabled_visible" 0.0;
745 inherit: "default" 0.0;
746 color: 128 128 128 128;
758 state: "default" 0.0;
761 rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; }
762 rel2 { relative: 1.0 0.5; offset: -2 -2; }
763 color: 255 255 255 255;
766 style: "radio_label_textblock_style";
771 state: "visible" 0.0;
772 inherit: "default" 0.0;
777 state: "disabled" 0.0;
778 inherit: "default" 0.0;
781 state: "disabled_visible" 0.0;
782 inherit: "default" 0.0;
785 style: "radio_label_textblock_disabled_style";
793 ignore_flags: ON_HOLD;
795 state: "default" 0.0;
803 state: "default" 0.0;
808 state: "disabled" 0.0;
809 inherit: "default" 0.0;
818 signal: "mouse,up,1";
820 action: SIGNAL_EMIT "elm,action,radio,toggle" "";
825 set_state(PART:"bg", "default", 0.0);
832 after: "bg_radio_normal";
835 name: "bg_radio_normal";
839 get_state(PART:"radio", st, 30, vl);
840 if (!strcmp(st, "pressed"))
841 set_state(PART:"radio", "default", 0.0);
842 set_state(PART:"bg", "default", 0.0);
847 signal: "mouse,down,1";
852 get_state(PART:"radio", st, 30, vl);
853 if (!strcmp(st, "default"))
854 set_state(PART:"radio", "pressed", 0.0);
859 signal: "elm,state,radio,on";
861 action: STATE_SET "visible" 0.0;
866 signal: "elm,state,radio,off";
868 action: STATE_SET "default" 0.0;
873 signal: "elm,state,text,visible";
875 action: STATE_SET "visible" 0.0;
880 signal: "elm,state,text,hidden";
882 action: STATE_SET "default" 0.0;
887 signal: "elm,state,icon,visible";
889 action: STATE_SET "visible" 0.0;
890 target: "elm.swallow.content";
894 signal: "elm,state,icon,hidden";
896 action: STATE_SET "default" 0.0;
897 target: "elm.swallow.content";
901 signal: "elm,state,disabled";
903 action: STATE_SET "disabled" 0.0;
905 after: "disable_text";
908 name: "disable_text";
912 get_state(PART:"elm.text", st, 30, vl);
913 if (!strcmp(st, "visible"))
914 set_state(PART:"elm.text", "disabled_visible", 0.0);
916 set_state(PART:"elm.text", "disabled", 0.0);
918 get_state(PART:"elm.swallow.content", st, 30, vl);
919 if (!strcmp(st, "visible"))
920 set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
922 set_state(PART:"elm.swallow.content", "disabled", 0.0);
924 get_state(PART:"radio", st, 30, vl);
925 if (!strcmp(st, "visible"))
926 set_state(PART:"radio", "disabled_visible", 0.0);
928 set_state(PART:"radio", "disabled", 0.0);
933 signal: "elm,state,enabled";
935 action: STATE_SET "default" 0.0;
937 after: "enable_text";
944 get_state(PART:"elm.text", st, 30, vl);
945 if (!strcmp(st, "disabled_visible"))
946 set_state(PART:"elm.text", "visible", 0.0);
948 set_state(PART:"elm.text", "default", 0.0);
950 get_state(PART:"elm.swallow.content", st, 30, vl);
951 if (!strcmp(st, "disabled_visible"))
952 set_state(PART:"elm.swallow.content", "visible", 0.0);
954 set_state(PART:"elm.swallow.content", "default", 0.0);
956 get_state(PART:"radio", st, 30, vl);
957 if (!strcmp(st, "disabled_visible"))
958 set_state(PART:"radio", "visible", 0.0);
960 set_state(PART:"elm.swallow.content", "default", 0.0);
967 #define CTXPOPUP_CAMERA_FRAME_WIDTH_MAX 720
968 #define CTXPOPUP_CAMERA_FRAME_HEIGHT_MAX 1280
969 #define CTXPOPUP_CAMERA_CONTENT_WIDTH_MAX 720
970 #define CTXPOPUP_CAMERA_CONTENT_HEIGHT_MAX 1280
971 /*#define CTXPOPUP_CAMERA_ARROW_SIZE 28 */
974 name: "elm/scroller/base/beat_winset_test/camera";
976 public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
979 v = get_int(sbvis_v);
981 v = get_int(sbalways_v);
983 emit("do-hide-vbar", "");
987 v = get_int(sbvis_h);
989 v = get_int(sbalways_h);
991 emit("do-hide-hbar", "");
995 set_int(sbvis_timer, 0);
1007 state: "default" 0.0;
1008 max: CTXPOPUP_CAMERA_CONTENT_WIDTH_MAX CTXPOPUP_CAMERA_CONTENT_HEIGHT_MAX;
1012 name: "elm.swallow.content";
1017 state: "default" 0.0;
1018 max: CTXPOPUP_CAMERA_CONTENT_WIDTH_MAX CTXPOPUP_CAMERA_CONTENT_HEIGHT_MAX;
1023 name: "sb_vbar_clip_master";
1027 state: "default" 0.0;
1030 state: "hidden" 0.0;
1032 color: 255 255 255 0;
1036 name: "sb_vbar_clip";
1037 clip_to:"sb_vbar_clip_master";
1042 state: "default" 0.0;
1044 rel2{ to:"clipper"; relative: 1.0 1.0;}
1047 state: "hidden" 0.0;
1049 color: 255 255 255 0;
1058 state: "default" 0.0;
1062 rel1{ to:"clipper"; relative: 1.0 0.0; }
1063 rel2{ to:"clipper"; relative: 1.0 1.0;}
1067 name: "elm.dragable.vbar";
1068 clip_to: "sb_vbar_clip";
1077 state: "default" 0.0;
1091 name: "sb_hbar_clip_master";
1095 state: "default" 0.0;
1098 state: "hidden" 0.0;
1100 color: 255 255 255 0;
1104 name: "sb_hbar_clip";
1105 clip_to: "sb_hbar_clip_master";
1110 state: "default" 0.0;
1112 rel2{ to:"clipper"; relative: 1.0 1.0;}
1115 state: "hidden" 0.0;
1117 color: 255 255 255 0;
1126 state: "default" 0.0;
1130 rel1 {to:"clipper"; relative: 0.0 1.0;}
1131 rel2 {to:"clipper"; relative: 1.0 1.0;}
1141 set_state(PART:"sb_vbar_clip", "hidden", 0.0);
1142 set_state(PART:"sb_hbar_clip", "hidden", 0.0);
1143 set_int(sbvis_v, 0);
1144 set_int(sbvis_h, 0);
1145 set_int(sbalways_v, 0);
1146 set_int(sbalways_h, 0);
1147 set_int(sbvis_timer, 0);
1152 signal: "elm,action,show,vbar";
1154 action: STATE_SET "default" 0.0;
1155 target: "sb_vbar_clip_master";
1159 signal: "elm,action,hide,vbar";
1161 action: STATE_SET "hidden" 0.0;
1162 target: "sb_vbar_clip_master";
1165 name: "vbar_show_always";
1166 signal: "elm,action,show_always,vbar";
1170 v = get_int(sbvis_v);
1171 v |= get_int(sbalways_v);
1173 set_int(sbalways_v, 1);
1174 emit("do-show-vbar", "");
1175 set_int(sbvis_v, 1);
1180 name: "vbar_show_notalways";
1181 signal: "elm,action,show_notalways,vbar";
1185 v = get_int(sbalways_v);
1187 set_int(sbalways_v, 0);
1188 v = get_int(sbvis_v);
1190 emit("do-hide-vbar", "");
1191 set_int(sbvis_v, 0);
1197 name: "sb_vbar_show";
1198 signal: "do-show-vbar";
1200 action: STATE_SET "default" 0.0;
1201 transition: LINEAR 1.0;
1202 target: "sb_vbar_clip";
1205 name: "sb_vbar_hide";
1206 signal: "do-hide-vbar";
1208 action: STATE_SET "hidden" 0.0;
1209 transition: LINEAR 1.0;
1210 target: "sb_vbar_clip";
1214 signal: "elm,action,show,hbar";
1216 action: STATE_SET "default" 0.0;
1217 target: "sb_hbar_clip_master";
1221 signal: "elm,action,hide,hbar";
1223 action: STATE_SET "hidden" 0.0;
1224 target: "sb_hbar_clip_master";
1227 name: "hbar_show_always";
1228 signal: "elm,action,show_always,hbar";
1232 v = get_int(sbvis_h);
1233 v |= get_int(sbalways_h);
1235 set_int(sbalways_h, 1);
1236 emit("do-show-hbar", "");
1237 set_int(sbvis_h, 1);
1242 name: "hbar_show_notalways";
1243 signal: "elm,action,show_notalways,hbar";
1247 v = get_int(sbalways_h);
1249 set_int(sbalways_h, 0);
1250 v = get_int(sbvis_h);
1252 emit("do-hide-hbar", "");
1253 set_int(sbvis_h, 0);
1259 name: "sb_hbar_show";
1260 signal: "do-show-hbar";
1262 action: STATE_SET "default" 0.0;
1263 transition: LINEAR 1.0;
1264 target: "sb_hbar_clip";
1267 name: "sb_hbar_hide";
1268 signal: "do-hide-hbar";
1270 action: STATE_SET "hidden" 0.0;
1271 transition: LINEAR 1.0;
1272 target: "sb_hbar_clip";
1276 signal: "elm,action,scroll";
1278 action: STATE_SET "default" 0.0;
1281 v = get_int(sbvis_v);
1282 v |= get_int(sbalways_v);
1284 emit("do-show-vbar", "");
1285 set_int(sbvis_v, 1);
1287 v = get_int(sbvis_h);
1288 v |= get_int(sbalways_h);
1290 emit("do-show-hbar", "");
1291 set_int(sbvis_h, 1);
1293 v = get_int(sbvis_timer);
1294 if (v > 0) cancel_timer(v);
1295 v = timer(2.0, "timer0", 0);
1296 set_int(sbvis_timer, v);
1303 name: "elm/ctxpopup/bg/beat_winset_test/camera";
1309 state: "default" 0.0;
1313 state: "visible" 0.0;
1321 signal: "elm,state,show";
1323 action: STATE_SET "visible" 0.0;
1328 signal: "elm,state,hide";
1330 action: STATE_SET "default" 0.0;
1337 #define CTXPOPUP_CAMERA_ARROW_SIZE 41
1338 #define CTXPOPUP_FRAME_CORNER_SIZE 4 4
1339 #define CTXPOPUP_BORDER_CORNER_SIZE 9 9
1342 ///////////////////////////////////////////////////////////////////////////////
1344 name: "elm/ctxpopup/base/beat_winset_test/camera";
1346 image: CTXPOPUP_BG_IMAGE COMP;
1350 name: "ctxpopup_frame_left_top";
1356 min: CTXPOPUP_FRAME_CORNER_SIZE;
1357 max: CTXPOPUP_FRAME_CORNER_SIZE;
1362 name: "ctxpopup_frame_right_top";
1368 min: CTXPOPUP_FRAME_CORNER_SIZE;
1369 max: CTXPOPUP_FRAME_CORNER_SIZE;
1374 name: "ctxpopup_frame_left_bottom";
1380 min: CTXPOPUP_FRAME_CORNER_SIZE;
1381 max: CTXPOPUP_FRAME_CORNER_SIZE;
1386 name: "ctxpopup_frame_right_bottom";
1392 min: CTXPOPUP_FRAME_CORNER_SIZE;
1393 max: CTXPOPUP_FRAME_CORNER_SIZE;
1397 part { name: "arrow_area_left";
1401 clip_to: "ctxpopup_clip";
1402 description { state: "default" 0.0;
1409 to_y: "ctxpopup_frame_left_top";
1413 to:"ctxpopup_frame_left_bottom";
1415 color : 255 255 255 0;
1418 part { name: "arrow_area_right";
1422 clip_to: "ctxpopup_clip";
1423 description { state: "default" 0.0;
1430 to:"ctxpopup_frame_right_top";
1434 to_y: "ctxpopup_frame_right_bottom";
1436 color : 255 255 255 0;
1439 part { name: "arrow_area_up";
1443 clip_to: "ctxpopup_clip";
1444 description { state: "default" 0.0;
1451 to_x: "ctxpopup_frame_left_top";
1455 to:"ctxpopup_frame_right_top";
1457 color : 255 255 255 0;
1460 part { name: "arrow_area_down";
1464 clip_to: "ctxpopup_clip";
1465 description { state: "default" 0.0;
1472 to:"ctxpopup_frame_left_bottom";
1476 to_x: "ctxpopup_frame_right_bottom";
1478 color : 255 255 255 0;
1482 part { name: "elm.swallow.arrow_up";
1486 clip_to: "ctxpopup_clip";
1490 confine: "arrow_area_up";
1493 state: "default" 0.0;
1499 part { name: "elm.swallow.arrow_down";
1503 clip_to: "ctxpopup_clip";
1507 confine: "arrow_area_down";
1510 state: "default" 0.0;
1516 part { name: "elm.swallow.arrow_left";
1520 clip_to: "ctxpopup_clip";
1524 confine: "arrow_area_left";
1527 state: "default" 0.0;
1533 part { name: "elm.swallow.arrow_right";
1537 clip_to: "ctxpopup_clip";
1541 confine: "arrow_area_right";
1544 state: "default" 0.0;
1551 name: "ctxpopup_frame";
1554 clip_to: "ctxpopup_clip";
1557 /*color: 0 0 0 85;*/
1559 normal: CTXPOPUP_BG_IMAGE;
1560 border: 67 67 92 42;
1563 rel1 {to: "ctxpopup_frame_left_top"; relative: 0.5 0.5;}
1564 rel2 {to: "ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
1566 // color : 255 255 255 200;
1571 name: "elm.swallow.content";
1573 clip_to: "ctxpopup_clip";
1575 state: "default" 0.0;
1576 rel1 {to: "ctxpopup_frame_left_top"; relative: 0.5 0.5;}
1577 rel2 {to: "ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
1581 part { name: "ctxpopup_clip";
1583 description { state: "default" 0.0;
1584 color: 255 255 255 0;
1585 rel1 { to:"ctxpopup_frame_left_top"; relative: 0.5 0.5; }
1586 rel2 { to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5; }
1588 description { state: "show_up" 0.0;
1589 color: 255 255 255 0;
1590 rel1 { to:"arrow_area_down"; relative: 0 1; }
1591 rel2 { to:"arrow_area_down"; relative: 1 1; }
1593 description { state: "show_left" 0.0;
1594 color: 255 255 255 0;
1595 rel1 { to:"arrow_area_right"; relative: 1 0; }
1596 rel2 { to:"arrow_area_right"; relative: 1 1; }
1598 description { state: "show_right" 0.0;
1599 color: 255 255 255 0;
1600 rel1 { to:"arrow_area_left"; relative: 0 0; }
1601 rel2 { to:"arrow_area_left"; relative: 0 1; }
1603 description { state: "show_down" 0.0;
1604 color: 255 255 255 0;
1605 rel1 { to:"arrow_area_up"; relative: 0 0; }
1606 rel2 { to:"arrow_area_up"; relative: 1 0; }
1608 description { state: "hide_up" 0.0;
1609 color: 255 255 255 255;
1610 rel1 { to:"arrow_area_down"; relative: 0 1; }
1611 rel2 { to:"arrow_area_down"; relative: 1 1; }
1613 description { state: "hide_left" 0.0;
1614 color: 255 255 255 255;
1615 rel1 { to:"arrow_area_right"; relative: 1 0; }
1616 rel2 { to:"arrow_area_right"; relative: 1 1; }
1618 description { state: "hide_right" 0.0;
1619 color: 255 255 255 255;
1620 rel1 { to:"arrow_area_left"; relative: 0 0; }
1621 rel2 { to:"arrow_area_left"; relative: 0 1; }
1623 description { state: "hide_down" 0.0;
1624 color: 255 255 255 255;
1625 rel1 { to:"arrow_area_up"; relative: 0 0; }
1626 rel2 { to:"arrow_area_up"; relative: 1 0; }
1628 description { state: "visible" 0.0;
1629 color: 255 255 255 255;
1630 rel1 { to_x:"arrow_area_left"; to_y:"arrow_area_up"; }
1631 rel2 { to_x:"arrow_area_right"; to_y:"arrow_area_down"; }
1636 program { name: "show";
1637 signal: "elm,state,show";
1639 action: STATE_SET "visible" 0.0;
1640 transition: LINEAR 0.25;
1641 target: "ctxpopup_clip";
1643 program { name: "show_up";
1644 signal: "elm,state,show,up";
1646 action: STATE_SET "show_up" 0.0;
1647 transition: LINEAR 0.25;
1648 target: "ctxpopup_clip";
1650 program { name: "show_left";
1651 signal: "elm,state,show,left";
1653 action: STATE_SET "show_left" 0.0;
1654 transition: LINEAR 0.25;
1655 target: "ctxpopup_clip";
1657 program { name: "show_right";
1658 signal: "elm,state,show,right";
1660 action: STATE_SET "show_right" 0.0;
1661 transition: LINEAR 0.25;
1662 target: "ctxpopup_clip";
1664 program { name: "show_down";
1665 signal: "elm,state,show,down";
1667 action: STATE_SET "show_down" 0.0;
1668 transition: LINEAR 0.25;
1669 target: "ctxpopup_clip";
1671 program { name: "hide_up";
1672 signal: "elm,state,hide,up";
1674 action: STATE_SET "hide_up" 0.0;
1675 transition: LINEAR 0.25;
1676 target: "ctxpopup_clip";
1677 after: "hide_finished";
1679 program { name: "hide_left";
1680 signal: "elm,state,hide,left";
1682 action: STATE_SET "hide_left" 0.0;
1683 transition: LINEAR 0.25;
1684 target: "ctxpopup_clip";
1685 after: "hide_finished";
1687 program { name: "hide_right";
1688 signal: "elm,state,hide,right";
1690 action: STATE_SET "hide_right" 0.0;
1691 transition: LINEAR 0.25;
1692 target: "ctxpopup_clip";
1693 after: "hide_finished";
1695 program { name: "hide_down";
1696 signal: "elm,state,hide,down";
1698 action: STATE_SET "hide_down" 0.0;
1699 transition: LINEAR 0.25;
1700 target: "ctxpopup_clip";
1701 after: "hide_finished";
1703 program { name: "hide_finished";
1704 action: SIGNAL_EMIT "elm,action,hide,finished" "";
1709 group { name: "elm/ctxpopup/arrow/beat_winset_test/camera";
1711 image: CTXPOPUP_LEFT_ARROW_IMAGE COMP;
1712 image: CTXPOPUP_RIGHTT_ARROW_IMAGE COMP;
1713 image: CTXPOPUP_TOP_ARROW_IMAGE COMP;
1714 image: CTXPOPUP_BOTTOM_ARROW_IMAGE COMP;
1718 name: "ctxpopup_arrow";
1722 state: "default" 0.0;
1723 min: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
1724 max: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
1728 rel1.relative: 0.0 -0.5;
1729 rel2.relative: 0.0 1.0;
1734 min: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
1735 max: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
1739 normal: CTXPOPUP_LEFT_ARROW_IMAGE;
1741 // color : 255 255 255 178;
1745 min: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
1746 max: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
1750 normal: CTXPOPUP_RIGHTT_ARROW_IMAGE;
1752 // color : 255 255 255 178;
1757 min: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
1758 max: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
1762 normal: CTXPOPUP_TOP_ARROW_IMAGE;
1764 // color : 255 255 255 178;
1768 state: "bottom" 0.0;
1769 // rel1 { relative: 0.0 -0.3; }
1770 // rel2 { relative: 1.0 0.7;}
1771 min: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
1772 max: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
1776 normal: CTXPOPUP_BOTTOM_ARROW_IMAGE;
1778 // color : 255 255 255 178;
1784 name: "enable_left_arrow";
1785 signal: "elm,state,left";
1787 action: STATE_SET "left" 0.0;
1788 target: "ctxpopup_arrow";
1791 name: "enable_right_arrow";
1792 signal: "elm,state,right";
1794 action: STATE_SET "right" 0.0;
1795 target: "ctxpopup_arrow";
1798 name: "enable_top_arrow";
1799 signal: "elm,state,top";
1801 action: STATE_SET "top" 0.0;
1802 target: "ctxpopup_arrow";
1805 name: "enable_bottom_arrow";
1806 signal: "elm,state,bottom";
1808 action: STATE_SET "bottom" 0.0;
1809 target: "ctxpopup_arrow";
1815 name: "elm/ctxpopup/bg/beat_winset_test/camera_no_arrow";
1821 state: "default" 0.0;
1825 state: "visible" 0.0;
1833 signal: "elm,state,show";
1835 action: STATE_SET "visible" 0.0;
1840 signal: "elm,state,hide";
1842 action: STATE_SET "default" 0.0;
1849 name: "elm/ctxpopup/base/beat_winset_test/camera_no_arrow";
1851 image: CTXPOPUP_BG_2DEPTH_IMAGE COMP;
1855 name: "ctxpopup_frame_left_top";
1861 min: CTXPOPUP_FRAME_CORNER_SIZE;
1862 max: CTXPOPUP_FRAME_CORNER_SIZE;
1867 name: "ctxpopup_frame_right_top";
1873 min: CTXPOPUP_FRAME_CORNER_SIZE;
1874 max: CTXPOPUP_FRAME_CORNER_SIZE;
1879 name: "ctxpopup_frame_left_bottom";
1885 min: CTXPOPUP_FRAME_CORNER_SIZE;
1886 max: CTXPOPUP_FRAME_CORNER_SIZE;
1891 name: "ctxpopup_frame_right_bottom";
1897 min: CTXPOPUP_FRAME_CORNER_SIZE;
1898 max: CTXPOPUP_FRAME_CORNER_SIZE;
1902 part { name: "arrow_area_left";
1906 clip_to: "ctxpopup_clip";
1907 description { state: "default" 0.0;
1914 to_y: "ctxpopup_frame_left_top";
1918 to:"ctxpopup_frame_left_bottom";
1920 color : 255 255 255 0;
1923 part { name: "arrow_area_right";
1927 clip_to: "ctxpopup_clip";
1928 description { state: "default" 0.0;
1935 to:"ctxpopup_frame_right_top";
1939 to_y: "ctxpopup_frame_right_bottom";
1941 color : 255 255 255 0;
1944 part { name: "arrow_area_up";
1948 clip_to: "ctxpopup_clip";
1949 description { state: "default" 0.0;
1956 to_x: "ctxpopup_frame_left_top";
1960 to:"ctxpopup_frame_right_top";
1962 color : 255 255 255 0;
1965 part { name: "arrow_area_down";
1969 clip_to: "ctxpopup_clip";
1970 description { state: "default" 0.0;
1977 to:"ctxpopup_frame_left_bottom";
1981 to_x: "ctxpopup_frame_right_bottom";
1983 color : 255 255 255 0;
1987 part { name: "elm.swallow.arrow_up";
1991 clip_to: "ctxpopup_clip";
1995 confine: "arrow_area_up";
1998 state: "default" 0.0;
2004 part { name: "elm.swallow.arrow_down";
2008 clip_to: "ctxpopup_clip";
2012 confine: "arrow_area_down";
2015 state: "default" 0.0;
2021 part { name: "elm.swallow.arrow_left";
2025 clip_to: "ctxpopup_clip";
2029 confine: "arrow_area_left";
2032 state: "default" 0.0;
2038 part { name: "elm.swallow.arrow_right";
2042 clip_to: "ctxpopup_clip";
2046 confine: "arrow_area_right";
2049 state: "default" 0.0;
2057 name: "ctxpopup_frame";
2060 clip_to: "ctxpopup_clip";
2063 /*color: 0 0 0 85;*/
2065 normal: CTXPOPUP_BG_2DEPTH_IMAGE;
2066 border: 67 67 92 42;
2069 rel1 {to: "ctxpopup_frame_left_top"; relative: 0.5 0.5;}
2070 rel2 {to: "ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
2072 // color : 255 255 255 200;
2077 name: "elm.swallow.content";
2079 clip_to: "ctxpopup_clip";
2081 state: "default" 0.0;
2082 rel1 {to: "ctxpopup_frame_left_top"; relative: 0.5 0.5;}
2083 rel2 {to: "ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
2087 part { name: "ctxpopup_clip";
2089 description { state: "default" 0.0;
2090 color: 255 255 255 0;
2091 rel1 { to:"ctxpopup_frame_left_top"; relative: 0.5 0.5; }
2092 rel2 { to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5; }
2094 description { state: "show_up" 0.0;
2095 color: 255 255 255 0;
2096 rel1 { to:"arrow_area_down"; relative: 0 1; }
2097 rel2 { to:"arrow_area_down"; relative: 1 1; }
2099 description { state: "show_left" 0.0;
2100 color: 255 255 255 0;
2101 rel1 { to:"arrow_area_right"; relative: 1 0; }
2102 rel2 { to:"arrow_area_right"; relative: 1 1; }
2104 description { state: "show_right" 0.0;
2105 color: 255 255 255 0;
2106 rel1 { to:"arrow_area_left"; relative: 0 0; }
2107 rel2 { to:"arrow_area_left"; relative: 0 1; }
2109 description { state: "show_down" 0.0;
2110 color: 255 255 255 0;
2111 rel1 { to:"arrow_area_up"; relative: 0 0; }
2112 rel2 { to:"arrow_area_up"; relative: 1 0; }
2114 description { state: "hide_up" 0.0;
2115 color: 255 255 255 255;
2116 rel1 { to:"arrow_area_down"; relative: 0 1; }
2117 rel2 { to:"arrow_area_down"; relative: 1 1; }
2119 description { state: "hide_left" 0.0;
2120 color: 255 255 255 255;
2121 rel1 { to:"arrow_area_right"; relative: 1 0; }
2122 rel2 { to:"arrow_area_right"; relative: 1 1; }
2124 description { state: "hide_right" 0.0;
2125 color: 255 255 255 255;
2126 rel1 { to:"arrow_area_left"; relative: 0 0; }
2127 rel2 { to:"arrow_area_left"; relative: 0 1; }
2129 description { state: "hide_down" 0.0;
2130 color: 255 255 255 255;
2131 rel1 { to:"arrow_area_up"; relative: 0 0; }
2132 rel2 { to:"arrow_area_up"; relative: 1 0; }
2134 description { state: "visible" 0.0;
2135 color: 255 255 255 255;
2136 rel1 { to_x:"arrow_area_left"; to_y:"arrow_area_up"; }
2137 rel2 { to_x:"arrow_area_right"; to_y:"arrow_area_down"; }
2142 program { name: "show";
2143 signal: "elm,state,show";
2145 action: STATE_SET "visible" 0.0;
2146 transition: LINEAR 0.25;
2147 target: "ctxpopup_clip";
2149 program { name: "show_up";
2150 signal: "elm,state,show,up";
2152 action: STATE_SET "show_up" 0.0;
2153 transition: LINEAR 0.25;
2154 target: "ctxpopup_clip";
2156 program { name: "show_left";
2157 signal: "elm,state,show,left";
2159 action: STATE_SET "show_left" 0.0;
2160 transition: LINEAR 0.25;
2161 target: "ctxpopup_clip";
2163 program { name: "show_right";
2164 signal: "elm,state,show,right";
2166 action: STATE_SET "show_right" 0.0;
2167 transition: LINEAR 0.25;
2168 target: "ctxpopup_clip";
2170 program { name: "show_down";
2171 signal: "elm,state,show,down";
2173 action: STATE_SET "show_down" 0.0;
2174 transition: LINEAR 0.25;
2175 target: "ctxpopup_clip";
2177 program { name: "hide_up";
2178 signal: "elm,state,hide,up";
2180 action: STATE_SET "hide_up" 0.0;
2181 transition: LINEAR 0.25;
2182 target: "ctxpopup_clip";
2183 after: "hide_finished";
2185 program { name: "hide_left";
2186 signal: "elm,state,hide,left";
2188 action: STATE_SET "hide_left" 0.0;
2189 transition: LINEAR 0.25;
2190 target: "ctxpopup_clip";
2191 after: "hide_finished";
2193 program { name: "hide_right";
2194 signal: "elm,state,hide,right";
2196 action: STATE_SET "hide_right" 0.0;
2197 transition: LINEAR 0.25;
2198 target: "ctxpopup_clip";
2199 after: "hide_finished";
2201 program { name: "hide_down";
2202 signal: "elm,state,hide,down";
2204 action: STATE_SET "hide_down" 0.0;
2205 transition: LINEAR 0.25;
2206 target: "ctxpopup_clip";
2207 after: "hide_finished";
2209 program { name: "hide_finished";
2210 action: SIGNAL_EMIT "elm,action,hide,finished" "";
2215 group { name: "elm/ctxpopup/arrow/beat_winset_test/camera_no_arrow";
2218 name: "ctxpopup_arrow";
2222 state: "default" 0.0;
2223 min: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
2224 max: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
2228 rel1.relative: 0.0 -0.5;
2229 rel2.relative: 0.0 1.0;
2234 inherit: "default" 0.0;
2238 inherit: "default" 0.0;
2242 inherit: "default" 0.0;
2245 state: "bottom" 0.0;
2246 inherit: "default" 0.0;
2252 #include "style_tizen_hd_inc.edc"
2253 #include "style_genlist_macro.edc"
2254 #include "style_genlist_normal.edc"