#define CALENDAR_HEADER_MIN_WIDTH_INC 98
#define CALENDAR_HEADER_MIN_HEIGHT_INC 90
+#define CTXPOPUP_ENTRY_CENTER_IMAGE_BORDER 12 12 9 9
+#define CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 12
#define CTXPOPUP_ENTRY_ITEM_TEXT_COLOR 249 249 249 255
-#define CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_COLOR 74 74 74 255
-#define CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_COLOR 164 164 164 255
+#define CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_COLOR 68 68 68 255
+#define CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_COLOR 0 0 0 255
#define CTXPOPUP_ENTRY_SEPARATOR_WIDTH 1
-#define CTXPOPUP_ENTRY_SEPARATOR_HEIGHT 48
-#define CTXPOPUP_ENTRY_ITEM_HEIGHT 73
-#define CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH 16
+#define CTXPOPUP_ENTRY_SEPARATOR_HEIGHT 50
+#define CTXPOPUP_ENTRY_ITEM_HEIGHT 74
+#define CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH 14
#define CTXPOPUP_ENTRY_ITEM_FONT_SIZE 28
-#define CTXPOPUP_ENTRY_ICON_SIZE 57
+#define CTXPOPUP_ENTRY_ICON_SIZE 58
#define CTXPOPUP_ENTRY_ITEM_WIDTH_MAX 240
#define CTXPOPUP_ENTRY_LIST_SHADOW_PADDING 3
#define CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR 200 200 200 127
-#define CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 28
-#define CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH 48
+#define CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 18
+#define CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH 29
#define TICKERNOTI_DEFAULT_BG_MIN_HEIGHT_INC 98
#define TICKERNOTI_DEFAULT_BG_BOTTOM_MIN_HEIGHT_INC 8
alias: "elm/ctxpopup/base/extended/entry/pass_event";
images {
image: "copy&paste_bg_center.png" COMP;
+ image: "ctxpopup_shadow.png" COMP;
}
parts {
part {
- name: "ctxpopup_frame";
+ name:"frame_shadow_left_top_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
+ max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
+ align: 0 0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name:"frame_shadow_right_bottom_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
+ max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
+ rel1{relative: 1 1;}
+ align: 0 0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name: "frame_shadow";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
+ rel2 {to:"frame_shadow_right_bottom_padding";}
+ image {
+ normal: "ctxpopup_shadow.png";
+ border: 10 10 10 10;
+ border_scale: 1;
+ }
+ }
+ }
+ part {
+ name: "frame_bg";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ rel1 {to:"elm.swallow.content";}
+ rel2 {to:"elm.swallow.content";}
+ image {
+ normal: "copy&paste_bg_center.png";
+ border: CTXPOPUP_ENTRY_CENTER_IMAGE_BORDER;
+ border_scale: 1;
+ }
+ }
+ }
+ part {
+ name: "arrow_area_left";
type: RECT;
+ mouse_events: 0;
scale: 1;
description {
+ state: "default" 0.0;
visible: 0;
+ min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
+ fixed: 1 1;
+ align: 1 0.5;
rel1 {
- to: "frame_left_padding";
- relative: 0 0;
+ relative: 0 1;
+ to_y: "ctxpopup_frame_left_top";
}
rel2 {
- to: "frame_right_padding";
+ relative:0 0;
+ to:"ctxpopup_frame_left_bottom";
+ }
+ }
+ }
+ part {
+ name: "arrow_area_right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 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:"frame_left_padding";
- type:RECT;
+ name: "arrow_area_up";
+ type: RECT;
+ mouse_events: 0;
scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
+ fixed: 1 1;
+ align: 0.5 1;
+ rel1 {
+ relative: 0 0;
+ to: "frame_bg";
+ }
+ rel2 {
+ relative: 1 0;
+ to: "frame_bg";
+ }
+ }
+ }
+ part {
+ name: "arrow_area_down";
+ type: RECT;
mouse_events: 0;
+ scale: 1;
description {
+ state: "default" 0.0;
visible: 0;
- min: 7 1;
- max: 7 1;
+ min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
+ fixed: 1 1;
+ align: 0.5 0;
+ rel1 {
+ relative: 0 1;
+ to: "frame_bg";
+ }
rel2 {
- relative: 0 0;
- to: "elm.swallow.content";
+ relative: 1 1;
+ to: "frame_bg";
}
- align: 0 0;
+ }
+ }
+ part {
+ name: "elm.swallow.arrow_up";
+ 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: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
fixed: 1 1;
+ visible: 1;
}
}
part {
- name:"frame_right_padding";
- type:RECT;
+ name: "elm.swallow.arrow_down";
+ 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: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part {
+ name: "elm.swallow.arrow_left";
+ 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: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part {
+ name: "elm.swallow.arrow_right";
+ 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: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part {
+ name: "ctxpopup_frame_left_top";
+ type: RECT;
+ scale: 1;
+ description {
+ visible: 0;
+ align: 0 0;
+ min: CTXPOPUP_FRAME_CORNER_SIZE;
+ max: CTXPOPUP_FRAME_CORNER_SIZE;
+ }
+ }
+ part {
+ name: "ctxpopup_frame_right_top";
+ type: RECT;
+ scale: 1;
+ description {
+ visible: 0;
+ align: 1 0;
+ min: CTXPOPUP_FRAME_CORNER_SIZE;
+ max: CTXPOPUP_FRAME_CORNER_SIZE;
+ }
+ }
+ part {
+ name: "ctxpopup_frame_left_bottom";
+ type: RECT;
+ scale: 1;
+ description {
+ visible: 0;
+ align: 0 1;
+ min: CTXPOPUP_FRAME_CORNER_SIZE;
+ max: CTXPOPUP_FRAME_CORNER_SIZE;
+ }
+ }
+ part {
+ name: "ctxpopup_frame_right_bottom";
+ type: RECT;
+ scale: 1;
description {
visible: 0;
- min: 7 1;
- max: 7 1;
- rel1 {
- relative: 1 1;
- to: "elm.swallow.content";
- }
align: 1 1;
+ min: CTXPOPUP_FRAME_CORNER_SIZE;
+ max: CTXPOPUP_FRAME_CORNER_SIZE;
+ }
+ }
+ part {
+ name:"list_shadow_right_bottom_padding";
+ type:RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
+ max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
+ align: 0 0;
fixed: 1 1;
+ visible: 0;
+ rel1 {to:"elm.swallow.content"; relative: 1 1;}
}
}
-
part {
- name: "ctxpopup_frame_rect";
- type: IMAGE;
+ name:"content_left_top_padding";
+ type:RECT;
scale: 1;
+ mouse_events: 0;
description {
- visible: 1;
- image {
- normal: "copy&paste_bg_center.png";
- border: 5 9 0 7;
- border_scale: 1;
- }
- rel2 { offset: 9 7; }
+ state: "default" 0.0;
+ min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
+ max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
+ align: 0 0;
+ fixed: 1 1;
+ visible: 0;
}
}
part {
scale: 1;
mouse_events: 0;
description {
- visible: 0;
- min: 4 7; // shadow 4 7
- max: 4 7;
- rel1 {to: "ctxpopup_frame_rect"; relative: 1 1;}
- rel2 {to: "ctxpopup_frame_rect"; relative: 1 1;}
+ min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
+ max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
+ rel1 { relative: 1 1;}
+ rel2 { relative: 1 1;}
align: 1 1;
fixed: 1 1;
+ visible: 0;
}
}
part {
name: "elm.swallow.content";
type: SWALLOW;
- scale: 1;
description {
state: "default" 0.0;
- rel1 {to: "ctxpopup_frame_rect"; relative: 0 0; }
-// rel1 {to: "content_left_padding"; relative: 1 0;}
- rel2 {to: "content_right_bottom_padding"; relative: 0 0; }
+ align: 0 0;
+ rel1 {to:"ctxpopup_frame_left_top"; relative: 0.5 0.5;}
+ rel2 {to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
}
}
}
rel2 { to: "event_blocker"; relative: 0 1; }\
image {\
normal: "copy&paste_press_left.png";\
- border: 6 0 0 0;\
+ border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
+ border_scale: 1;\
}\
}\
description {\
visible: 1;\
image {\
normal: "copy&paste_press_left.png";\
- border: 6 0 0 0;\
+ border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
+ border_scale: 1;\
}\
}\
}
rel2 { to: "event_blocker"; relative: 1 1; }\
image {\
normal: "copy&paste_press_right.png";\
- border: 0 6 0 0;\
+ border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
+ border_scale: 1;\
}\
}\
description {\
visible: 1;\
image {\
normal: "copy&paste_press_right.png";\
- border: 0 6 0 0;\
+ border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
+ border_scale: 1;\
}\
}\
}