[ctxpopup] apply dragable area, default style only
authorShinwoo Kim <cinoo.kim@samsung.com>
Mon, 23 May 2011 12:26:42 +0000 (21:26 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Mon, 23 May 2011 12:26:42 +0000 (21:26 +0900)
Change-Id: I10da6119df519a1d577e2f653574ee73d91ac623

themes/groups/ctxpopup.edc

index cb56f3f..015be22 100644 (file)
                                        color: 255 255 255 255;
                                }
                        }
+                       part { name: "arrow_area_left";
+                               type: RECT;
+                               mouse_events: 0;
+                               description { state: "default" 0.0;
+                                       visible: 0;
+                                       min: 40 0;
+                                       fixed: 1 1;
+                                       align: 1 0.5;
+                                       rel1 {
+                                               relative: 0 1;
+                                               to_y: "ctxpopup_frame_left_top";
+                                       }
+                                       rel2 {
+                                               relative:0 0;
+                                               to:"ctxpopup_frame_left_bottom";
+                                       }
+                               }
+                       }
+                       part { name: "arrow_area_right";
+                               type: RECT;
+                               mouse_events: 0;
+                               description { state: "default" 0.0;
+                                       visible: 0;
+                                       min: 40 0;
+                                       fixed: 1 1;
+                                       align: 0 0.5;
+                                       rel1 {
+                                               relative: 1 1;
+                                               to:"ctxpopup_frame_right_top";
+                                       }
+                                       rel2 {
+                                               relative: 1 0;
+                                               to_y: "ctxpopup_frame_right_bottom";
+                                       }
+                               }
+                       }
+                       part { name: "arrow_area_up";
+                               type: RECT;
+                               mouse_events: 0;
+                               description { state: "default" 0.0;
+                                       visible: 0;
+                                       min: 0 40;
+                                       fixed: 1 1;
+                                       align: 0.5 1;
+                                       rel1 {
+                                               relative: 1 0;
+                                               to_x: "ctxpopup_frame_left_top";
+                                       }
+                                       rel2 {
+                                               relative: 0 0;
+                                               to:"ctxpopup_frame_right_top";
+                                       }
+                               }
+                       }
+                       part { name: "arrow_area_down";
+                               type: RECT;
+                               mouse_events: 0;
+                               description { state: "default" 0.0;
+                                       visible: 0;
+                                       min: 0 40;
+                                       fixed: 1 1;
+                                       align: 0.5 0;
+                                       rel1 {
+                                               relative: 1 1;
+                                               to:"ctxpopup_frame_left_bottom";
+                                       }
+                                       rel2 {
+                                               relative: 0 1;
+                                               to_x: "ctxpopup_frame_right_bottom";
+                                       }
+                               }
+                       }
+                       part { name: "elm.swallow.arrowUp";
+                               type: SWALLOW;
+                               mouse_events: 0;
+                               scale: 1;
+                               dragable {
+                                       x: 1 1 0;
+                                       y: 1 1 0;
+                                       confine: "arrow_area_up";
+                               }
+                               description {
+                                       state: "default" 0.0;
+                                       min: 40 40;
+                                       fixed: 1 1;
+                                       visible: 1;
+                                       align: 0.5 1;
+                                       rel2 {
+                                               relative: 1 0;
+                                               to: "arrow_area_up";
+                                       }
+                               }
+                       }
+                       part { name: "elm.swallow.arrowDown";
+                               type: SWALLOW;
+                               mouse_events: 0;
+                               scale: 1;
+                               dragable {
+                                       x: 1 1 0;
+                                       y: 1 1 0;
+                                       confine: "arrow_area_down";
+                               }
+                               description {
+                                       state: "default" 0.0;
+                                       min: 40 40;
+                                       fixed: 1 1;
+                                       visible: 1;
+                                       align: 0.5 0;
+                                       rel1 {
+                                               relative: 1 1;
+                                               to: "arrow_area_down";
+                                       }
+                               }
+                       }
+                       part { name: "elm.swallow.arrowLeft";
+                               type: SWALLOW;
+                               mouse_events: 0;
+                               scale: 1;
+                               dragable {
+                                       x: 1 1 0;
+                                       y: 1 1 0;
+                                       confine: "arrow_area_left";
+                               }
+                               description {
+                                       state: "default" 0.0;
+                                       min: 40 40;
+                                       fixed: 1 1;
+                                       visible: 1;
+                                       align: 1 0.5;
+                                       rel2 {
+                                               relative: 0 1;
+                                               to: "arrow_area_left";
+                                       }
+                               }
+                       }
+                       part { name: "elm.swallow.arrowRight";
+                               type: SWALLOW;
+                               mouse_events: 0;
+                               scale: 1;
+                               dragable {
+                                       x: 1 1 0;
+                                       y: 1 1 0;
+                                       confine: "arrow_area_right";
+                               }
+                               description {
+                                       state: "default" 0.0;
+                                       min: 40 40;
+                                       fixed: 1 1;
+                                       visible: 1;
+                                       align: 0 0.5;
+                                       rel1 {
+                                               relative: 1 0;
+                                               to: "arrow_area_right";
+                                       }
+                               }
+                       }
 
                        part {
                                name: "ctxpopup_frame_left_top";