scale: 1;
description { state: "default" 0.0;
align: 0.0 0.0;
- rel2{ to:"clipper"; relative: 1.0 1.0;}
+ rel2{ to:"clipper"; relative: 1.0 1.0; }
}
description { state: "hidden" 0.0;
visible: 0;
scale: 1;
description { state: "default" 0.0;
align: 0.0 0.0;
- rel2{ to:"clipper"; relative: 1.0 1.0;}
+ rel2{ to:"clipper"; relative: 1.0 1.0; }
}
description { state: "hidden" 0.0;
visible: 0;
set_int(sbvis_v, 0);
set_int(sbvis_h, 0);
set_int(sbalways_v, 0);
- set_int(sbalways_h, 0);
+ set_int(sbalways_h, 0);
set_int(sbvis_timer, 0);
}
}
program { name: "sb_vbar_show";
signal: "do-show-vbar";
source: "";
- action: STATE_SET "default" 0.0;
+ action: STATE_SET "default" 0.0;
transition: LINEAR 1.0;
target: "sb_vbar_clip";
}
program { name: "sb_vbar_hide";
signal: "do-hide-vbar";
source: "";
- action: STATE_SET "hidden" 0.0;
+ action: STATE_SET "hidden" 0.0;
transition: LINEAR 1.0;
target: "sb_vbar_clip";
}
program { name: "hbar_show";
signal: "elm,action,show,hbar";
source: "elm";
- action: STATE_SET "default" 0.0;
+ action: STATE_SET "default" 0.0;
target: "sb_hbar_clip_master";
}
program { name: "hbar_hide";
program { name: "sb_hbar_show";
signal: "do-show-hbar";
source: "";
- action: STATE_SET "default" 0.0;
+ action: STATE_SET "default" 0.0;
transition: LINEAR 1.0;
target: "sb_hbar_clip";
}
program { name: "sb_hbar_hide";
signal: "do-hide-hbar";
source: "";
- action: STATE_SET "hidden" 0.0;
+ action: STATE_SET "hidden" 0.0;
transition: LINEAR 1.0;
target: "sb_hbar_clip";
}
mouse_events: 0;
description { state: "default" 0.0;
visible: 0;
- min: 40 0;
+ min: 20 0;
fixed: 1 1;
align: 1 0.5;
rel1 {
mouse_events: 0;
description { state: "default" 0.0;
visible: 0;
- min: 40 0;
+ min: 20 0;
fixed: 1 1;
align: 0 0.5;
rel1 {
mouse_events: 0;
description { state: "default" 0.0;
visible: 0;
- min: 0 40;
+ min: 0 20;
fixed: 1 1;
align: 0.5 1;
rel1 {
mouse_events: 0;
description { state: "default" 0.0;
visible: 0;
- min: 0 40;
+ min: 0 20;
fixed: 1 1;
align: 0.5 0;
rel1 {
y: 1 1 0;
confine: "arrow_area_up";
}
- description {
- state: "default" 0.0;
- min: 40 40;
+ description { state: "default" 0.0;
+ min: 36 20;
fixed: 1 1;
visible: 1;
}
y: 1 1 0;
confine: "arrow_area_down";
}
- description {
- state: "default" 0.0;
- min: 40 40;
+ description { state: "default" 0.0;
+ min: 36 20;
fixed: 1 1;
visible: 1;
}
y: 1 1 0;
confine: "arrow_area_left";
}
- description {
- state: "default" 0.0;
- min: 40 40;
+ description { state: "default" 0.0;
+ min: 20 36;
fixed: 1 1;
visible: 1;
}
y: 1 1 0;
confine: "arrow_area_right";
}
- description {
- state: "default" 0.0;
- min: 40 40;
+ description { state: "default" 0.0;
+ min: 20 36;
fixed: 1 1;
visible: 1;
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
- rel1 { to:"base"; offset: 4 4; };
- rel2 { to:"base"; offset: -5 -5; };
+ rel1 { to:"base"; offset: 4 4; }
+ rel2 { to:"base"; offset: -5 -5; }
}
}
}
///////////////////////////////////////////////////////////////////////////////
group { name: "elm/ctxpopup/arrow/default";
images {
- image: "icon_arrow_left.png" COMP;
- image: "icon_arrow_right.png" COMP;
- image: "icon_arrow_up.png" COMP;
- image: "icon_arrow_down.png" COMP;
+ image: "ctxpopup_arrow_left.png" COMP;
+ image: "ctxpopup_arrow_right.png" COMP;
+ image: "ctxpopup_arrow_up.png" COMP;
+ image: "ctxpopup_arrow_down.png" COMP;
}
parts {
part { name: "ctxpopup_arrow";
scale: 1;
description {
state: "default" 0.0;
- min: 40 40;
+ min: 36 36;
fixed: 1 1;
visible: 0;
align: 0.5 0.5;
}
description {
state: "left" 0.0;
- min: 40 40;
+ min: 20 36;
fixed: 1 1;
align: 0.0 0.5;
- image { normal: "icon_arrow_left.png";
- }
+ rel1 { offset: 3 0; }
+ rel2 { offset: 2 -1; }
+ image { normal: "ctxpopup_arrow_left.png"; }
}
description { state: "right" 0.0;
- min: 40 40;
+ min: 20 36;
fixed: 1 1;
align: 1.0 0.5;
- image { normal: "icon_arrow_right.png";
- }
+ rel1 { offset: -5 0; }
+ rel2 { offset: -6 -1; }
+ image { normal: "ctxpopup_arrow_right.png"; }
}
description { state: "top" 0.0;
- min: 40 40;
+ min: 36 20;
fixed: 1 1;
align: 0.5 0.0;
- image { normal: "icon_arrow_up.png";
- }
+ rel1 { offset: 0 5; }
+ rel2 { offset: -1 4; }
+ image { normal: "ctxpopup_arrow_up.png"; }
}
description { state: "bottom" 0.0;
- min: 40 40;
+ min: 36 20;
fixed: 1 1;
align: 0.5 1.0;
- image { normal: "icon_arrow_down.png";
- }
+ rel1 { offset: 0 -5; }
+ rel2 { offset: -1 -6; }
+ image { normal: "ctxpopup_arrow_down.png"; }
}
}
}
///////////////////////////////////////////////////////////////////////////////
group {
name: "elm/ctxpopup/icon_text_style_item/default";
- alias: "elm/ctxpopup/text_style_item/default";
- alias: "elm/ctxpopup/icon_style_item/default";
+ alias: "elm/ctxpopup/text_style_item/default";
+ alias: "elm/ctxpopup/icon_style_item/default";
images {
image: "hoversel_entry_bg.png" COMP;
}
}
part { name: "elm.swallow.icon";
type: SWALLOW;
+ clip_to: "disclip";
scale: 1;
description { state: "default" 0.0;
min: 25 25;
- max: 25 25;
+ max: 25 25;
align: 0 0.5;
aspect: 1.0 1.0;
- rel1 { offset: 10 10; }
- rel2 { offset: 0 -10; }
+ rel1 { offset: 10 10; }
+ rel2 { offset: 0 -10; }
}
}
part { name: "elm.text";
type: TEXT;
mouse_events: 0;
+ clip_to: "disclip";
scale: 1;
description { state: "default" 0.0;
min: 1 40;
part { name: "disclip";
type: RECT;
description { state: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "enabled" 0.0;
+ color: 127 127 127 127;
+ }
+ }
+ part { name: "blocker";
+ description { state: "default" 0.0;
visible: 0;
}
description { state: "enabled" 0.0;
visible: 1;
- color: 50 50 50 127;
- rel1.offset: 4 4;
- rel2.offset: -5 -5;
+ color: 0 0 0 0;
}
}
}
source: "elm";
action: STATE_SET "enabled" 0.0;
target: "disclip";
+ target: "blocker";
}
program { name: "enable";
signal: "elm,state,enabled";
source: "elm";
action: STATE_SET "default" 0.0;
target: "disclip";
+ target: "blocker";
}
program { name: "item_click2";
signal: "mouse,down,1";
signal: "mouse,up,1";
source: "over2";
script {
- set_state(PART:"elm.text", "default", 0.0);
+ set_state(PART:"elm.text", "default", 0.0);
set_state(PART:"bg", "default", 0.0);
}
}
edje_object_part_swallow(wd->base, "elm.swallow.arrow_left", wd->arrow);
if (base_size.h > 0)
{
- if (y < (arrow_size.h * 0.5) + base_size.y) y = 0;
- else if (y > base_size.y + base_size.h - (arrow_size.h * 0.5)) y = base_size.h - arrow_size.h;
- else y = y - base_size.y - (arrow_size.h * 0.5);
+ if (y < ((arrow_size.h * 0.5) + base_size.y))
+ y = 0;
+ else if (y > base_size.y + base_size.h - (arrow_size.h * 0.5))
+ y = base_size.h - arrow_size.h;
+ else
+ y = y - base_size.y - (arrow_size.h * 0.5);
edje_object_part_drag_value_set(wd->base, "elm.swallow.arrow_left", 1,
(double) (y) / (double) (base_size.h - arrow_size.h));
- }
+ }
break;
case ELM_CTXPOPUP_DIRECTION_RIGHT:
edje_object_signal_emit(wd->arrow, "elm,state,right", "elm");
edje_object_part_swallow(wd->base, "elm.swallow.arrow_right", wd->arrow);
if (base_size.h > 0)
{
- if (y < (arrow_size.h * 0.5) + base_size.y) y = 0;
- else if (y > base_size.y + base_size.h - (arrow_size.h * 0.5)) y = base_size.h - arrow_size.h;
+ if (y < (arrow_size.h * 0.5) + base_size.y)
+ y = 0;
+ else if (y > (base_size.y + base_size.h - (arrow_size.h * 0.5)))
+ y = base_size.h - arrow_size.h;
else y = y - base_size.y - (arrow_size.h * 0.5);
edje_object_part_drag_value_set(wd->base, "elm.swallow.arrow_right", 0,
(double) (y) / (double) (base_size.h - arrow_size.h));
edje_object_part_swallow(wd->base, "elm.swallow.arrow_up", wd->arrow);
if (base_size.w > 0)
{
- if (x < (arrow_size.w * 0.5) + base_size.x) x = 0;
- else if (x > base_size.x + base_size.w - (arrow_size.w * 0.5)) x = base_size.w - arrow_size.w;
- else x = x - base_size.x - (arrow_size.w * 0.5);
+ if (x < (arrow_size.w * 0.5) + base_size.x)
+ x = 0;
+ else if (x > (base_size.x + base_size.w - (arrow_size.w * 0.5)))
+ x = base_size.w - arrow_size.w;
+ else
+ x = x - base_size.x - (arrow_size.w * 0.5);
edje_object_part_drag_value_set(wd->base, "elm.swallow.arrow_up",
(double) (x) / (double) (base_size.w - arrow_size.w), 1);
}
edje_object_part_swallow(wd->base, "elm.swallow.arrow_down", wd->arrow);
if (base_size.w > 0)
{
- if (x < (arrow_size.w * 0.5) + base_size.x) x = 0;
- else if (x > base_size.x + base_size.w - (arrow_size.w * 0.5)) x = base_size.w - arrow_size.w;
+ if (x < (arrow_size.w * 0.5) + base_size.x)
+ x = 0;
+ else if (x > (base_size.x + base_size.w - (arrow_size.w * 0.5)))
+ x = base_size.w - arrow_size.w;
else x = x - base_size.x - (arrow_size.w * 0.5);
edje_object_part_drag_value_set(wd->base, "elm.swallow.arrow_down",
(double) (x) / (double) (base_size.w - arrow_size.w), 0);