#define POPUP_CUSTOMSTYLE_TITLE_BOTTOM_LINE_COLOR_INC 70 82 102 255
#define POPUP_CUSTOMSTYLE_TITLE_TEXT_COLOR_INC 249 249 249 255
+#define CTXPOPUP_ARROW_LEFT_OFFSET 0.0
+#define CTXPOPUP_ARROW_RIGHT_OFFSET 1.0
+#define CTXPOPUP_ARROW_UP_OFFSET 0.0
+#define CTXPOPUP_ARROW_DOWN_OFFSET 1.0
#define CTXPOPUP_BUBBLE_BG_IMAGE "00_popup_bubble_bg.png"
#define CTXPOPUP_BG_IMAGE "00_popup_bg.png"
+#define CTXPOPUP_FRAME_BG_LEFT_TOP_PADDING "ctxpopup_frame_left_top"
+#define CTXPOPUP_FRAME_BG_RIGHT_BOTTOM_PADDING "ctxpopup_frame_right_bottom"
#define CTXPOPUP_BUBBLE_BG_IMAGE_BORDER 13 13 13 13
#define CTXPOPUP_BG_IMAGE_BORDER 3 3 3 3
#define CTXPOPUP_BG_COLOR_INC 0 0 0 255
}
}
}
+ part {
+ name: "frame_bg";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ clip_to: "ctxpopup_clip";
+ description {
+ state: "default" 0.0;
+ rel1 {to:CTXPOPUP_FRAME_BG_LEFT_TOP_PADDING;}
+ rel2 {to:CTXPOPUP_FRAME_BG_RIGHT_BOTTOM_PADDING;}
+ image {
+ normal: CTXPOPUP_BG_IMAGE;
+ border: CTXPOPUP_BG_IMAGE_BORDER;
+ border_scale: 1;
+ }
+ }
+ }
part { name: "arrow_area_left";
type: RECT;
mouse_events: 0;
fixed: 1 1;
align: 1 0.5;
rel1 {
- relative: 0 1;
+ relative: CTXPOPUP_ARROW_LEFT_OFFSET 1;
to_y: "ctxpopup_frame_left_top";
}
rel2 {
- relative:0 0;
+ relative: CTXPOPUP_ARROW_LEFT_OFFSET 0;
to:"ctxpopup_frame_left_bottom";
}
}
fixed: 1 1;
align: 0 0.5;
rel1 {
- relative: 1 1;
+ relative: CTXPOPUP_ARROW_RIGHT_OFFSET 1;
to:"ctxpopup_frame_right_top";
}
rel2 {
- relative: 1 0;
+ relative: CTXPOPUP_ARROW_RIGHT_OFFSET 0;
to_y: "ctxpopup_frame_right_bottom";
}
}
fixed: 1 1;
align: 0.5 1;
rel1 {
- relative: 1 0;
+ relative: 1 CTXPOPUP_ARROW_UP_OFFSET;
to_x: "ctxpopup_frame_left_top";
}
rel2 {
- relative: 0 0;
+ relative: 0 CTXPOPUP_ARROW_UP_OFFSET;
to:"ctxpopup_frame_right_top";
}
}
fixed: 1 1;
align: 0.5 0;
rel1 {
- relative: 1 1;
+ relative: 1 CTXPOPUP_ARROW_DOWN_OFFSET;
to:"ctxpopup_frame_left_bottom";
}
rel2 {
- relative: 0 1;
+ relative: 0 CTXPOPUP_ARROW_DOWN_OFFSET;
to_x: "ctxpopup_frame_right_bottom";
}
}
}
}
part {
- name: "frame_bg";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- clip_to: "ctxpopup_clip";
- description {
- state: "default" 0.0;
- rel1 {to:"ctxpopup_frame_left_top";}
- rel2 {to:"ctxpopup_frame_right_bottom";}
- image {
- normal: CTXPOPUP_BG_IMAGE;
- border: CTXPOPUP_BG_IMAGE_BORDER;
- border_scale: 1;
- }
- }
- }
- part {
name: "elm.swallow.content";
type: SWALLOW;
clip_to: "ctxpopup_clip";