#define CTXPOPUP_SCROLLER_V_MIN_SIZE_INC 9 18
#define CTXPOPUP_SCROLLER_H_MIN_SIZE_INC 18 9
#define CTXPOPUP_FRAME_CORNER_ARROW_PADDING 22
+#define CTXPOPUP_ICON_CLIP_DEFAULT_COLOR_INC 255 255 255 255
+#define CTXPOPUP_ICON_CLIP_DIM_COLOR_INC 255 255 255 76
#define CTXPOPUP_MAIN_TEXT_COLOR_INC 255 255 255 255
-#define CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC 255 255 255 178
+#define CTXPOPUP_MAIN_TEXT_DIM_COLOR_INC 255 255 255 76
#define CTXPOPUP_MAIN_TEXT_PRESS_COLOR_INC 255 255 255 255
#define CTXPOPUP_LIST_MAIN_TEXT_COLOR_INC 255 255 255 255
-#define CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC 255 255 255 178
+#define CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC 255 255 255 76
#define CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC 255 255 255 255
#define CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC 1
#define CTXPOPUP_SEPARATOR_PADDING_INC 20
part {
name: "elm.swallow.icon";
type: SWALLOW;
+ clip_to: "icon_clip";
scale: 1;
description {
state: "default" 0.0;
}
}
part {
+ name: "icon_clip";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.to: "elm.swallow.icon";
+ rel2.to: "elm.swallow.icon";
+ color: CTXPOPUP_ICON_CLIP_DEFAULT_COLOR_INC;
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: CTXPOPUP_ICON_CLIP_DIM_COLOR_INC;
+ }
+ }
+ part {
name: "right_padding";
scale: 1;
description {
source: "elm";
action: STATE_SET "disabled" 0.0;
target: "disclip";
+ target: "icon_clip";
}
program {
name: "enable";
source: "elm";
action: STATE_SET "default" 0.0;
target: "disclip";
+ target: "icon_clip";
}
program {
name: "item_click2";
part {
name: "elm.swallow.icon";
type: SWALLOW;
+ clip_to: "icon_clip";
scale: 1;
description {
state: "default" 0.0;
}
}
part {
+ name: "icon_clip";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.to: "elm.swallow.icon";
+ rel2.to: "elm.swallow.icon";
+ color: CTXPOPUP_ICON_CLIP_DEFAULT_COLOR_INC;
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: CTXPOPUP_ICON_CLIP_DIM_COLOR_INC;
+ }
+ }
+ part {
name: "icon_right_padding";
scale: 1;
mouse_events: 0;
set_state(PART:"elm.text", "ellipsis_disabled", 0.0);
else
set_state(PART:"elm.text", "disabled", 0.0);
-
+ set_state(PART:"icon_clip", "disabled", 0.0);
set_state(PART:"disclip", "disabled", 0.0);
}
}
set_state(PART:"elm.text", "ellipsis", 0.0);
else
set_state(PART:"elm.text", "default", 0.0);
-
+ set_state(PART:"icon_clip", "default", 0.0);
set_state(PART:"disclip", "default", 0.0);
}
}
part {
name: "elm.swallow.icon";
type: SWALLOW;
+ clip_to: "icon_clip";
scale: 1;
description {
state: "default" 0.0;
}
}
part {
+ name: "icon_clip";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.to: "elm.swallow.icon";
+ rel2.to: "elm.swallow.icon";
+ color: CTXPOPUP_ICON_CLIP_DEFAULT_COLOR_INC;
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: CTXPOPUP_ICON_CLIP_DIM_COLOR_INC;
+ }
+ }
+ part {
name: "icon_right_padding";
scale: 1;
mouse_events: 0;
set_state(PART:"elm.text", "ellipsis_disabled", 0.0);
else
set_state(PART:"elm.text", "disabled", 0.0);
-
+ set_state(PART:"icon_clip", "disabled", 0.0);
set_state(PART:"disclip", "disabled", 0.0);
}
}
set_state(PART:"elm.text", "ellipsis", 0.0);
else
set_state(PART:"elm.text", "default", 0.0);
-
+ set_state(PART:"icon_clip", "default", 0.0);
set_state(PART:"disclip", "default", 0.0);
}
}