forked from enlightenment/enlightenment
fix the cslider and spectrum little end glose so u can find the line
location if its on a light bg... SVN revision: 79559
This commit is contained in:
parent
212ebbc5ad
commit
46e0d3582c
|
@ -156,6 +156,10 @@ img/clock_ss5.png \
|
|||
img/clock_ss6.png \
|
||||
img/clock_ss7.png \
|
||||
img/clock_ss.png \
|
||||
img/col_sel_end_bottom.png \
|
||||
img/col_sel_end_left.png \
|
||||
img/col_sel_end_right.png \
|
||||
img/col_sel_end_top.png \
|
||||
img/darken_rounded_square.png \
|
||||
img/diagonal_stripes.png \
|
||||
img/digit_0.png \
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
group { name: "e/widgets/cslider";
|
||||
images.image: "inset_shadow.png" COMP;
|
||||
images.image: "bevel_in.png" COMP;
|
||||
images.image: "col_sel_end_bottom.png" COMP;
|
||||
images.image: "col_sel_end_top.png" COMP;
|
||||
images.image: "col_sel_end_left.png" COMP;
|
||||
images.image: "col_sel_end_right.png" COMP;
|
||||
parts {
|
||||
part { name: "bg"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
|
@ -32,22 +36,16 @@ group { name: "e/widgets/cslider";
|
|||
dragable.x: 1 1 0;
|
||||
dragable.y: -1 1 0;
|
||||
description { state: "default" 0.0;
|
||||
min: 1 99999;
|
||||
max: 1 99999;
|
||||
min: 1 1;
|
||||
max: 1 1;
|
||||
fixed: 1 1;
|
||||
visible: 0;
|
||||
rel1.to: "e.swallow.content";
|
||||
rel1.relative: 0.5 0.0;
|
||||
rel2.to: "e.swallow.content";
|
||||
rel2.relative: 0.5 1.0;
|
||||
rel2.relative: 0.5 0.5;
|
||||
color: 255 255 255 150;
|
||||
}
|
||||
description { state: "vertical" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
min: 99999 1;
|
||||
max: 99999 1;
|
||||
rel1.relative: 0.0 0.5;
|
||||
rel2.relative: 1.0 0.5;
|
||||
}
|
||||
}
|
||||
part { name: "shadow"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
|
@ -60,6 +58,54 @@ group { name: "e/widgets/cslider";
|
|||
color: 255 255 255 128;
|
||||
}
|
||||
}
|
||||
part { name: "end1"; mouse_events: 0;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "col_sel_end_top.png";
|
||||
FIXED_SIZE(11, 8)
|
||||
align: 0.5 0.0;
|
||||
rel1.to: "cursor";
|
||||
rel2.to: "cursor";
|
||||
}
|
||||
description { state: "vertical" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "col_sel_end_left.png";
|
||||
FIXED_SIZE(8, 11)
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
}
|
||||
part { name: "end2"; mouse_events: 0;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "col_sel_end_bottom.png";
|
||||
FIXED_SIZE(11, 8)
|
||||
align: 0.5 1.0;
|
||||
rel1.to: "cursor";
|
||||
rel2.to: "cursor";
|
||||
}
|
||||
description { state: "vertical" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "col_sel_end_right.png";
|
||||
FIXED_SIZE(8, 11)
|
||||
align: 1.0 0.5;
|
||||
}
|
||||
}
|
||||
part { name: "cursor"; type: RECT; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_x: "e.dragable.cursor";
|
||||
rel1.to_y: "e.swallow.content";
|
||||
rel2.to_x: "e.dragable.cursor";
|
||||
rel2.to_y: "e.swallow.content";
|
||||
color: 255 255 255 150;
|
||||
}
|
||||
description { state: "vertical" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.to_x: "e.swallow.content";
|
||||
rel1.to_y: "e.dragable.cursor";
|
||||
rel2.to_x: "e.swallow.content";
|
||||
rel2.to_y: "e.dragable.cursor";
|
||||
}
|
||||
}
|
||||
part { name: "inset"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "bevel_in.png";
|
||||
|
@ -77,8 +123,9 @@ group { name: "e/widgets/cslider";
|
|||
program {
|
||||
signal: "e,state,direction,v"; source: "e";
|
||||
action: STATE_SET "vertical" 0.0;
|
||||
target: "e.dragable.cursor";
|
||||
target: "e.swallow.content";
|
||||
target: "cursor";
|
||||
target: "end1";
|
||||
target: "end2";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,clicked,1"; source: "inset";
|
||||
|
|
|
@ -2,6 +2,10 @@ group { name: "e/widgets/spectrum";
|
|||
images.image: "inset_shadow.png" COMP;
|
||||
images.image: "bevel_in.png" COMP;
|
||||
images.image: "dot_pattern.png" COMP;
|
||||
images.image: "col_sel_end_bottom.png" COMP;
|
||||
images.image: "col_sel_end_top.png" COMP;
|
||||
images.image: "col_sel_end_left.png" COMP;
|
||||
images.image: "col_sel_end_right.png" COMP;
|
||||
parts {
|
||||
part { name: "bg"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
|
@ -46,18 +50,6 @@ group { name: "e/widgets/spectrum";
|
|||
color: 255 255 255 128;
|
||||
}
|
||||
}
|
||||
part { name: "inset";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "bevel_in.png";
|
||||
image.border: 1 1 1 1;
|
||||
image.middle: 0;
|
||||
rel1.to: "bg";
|
||||
rel1.offset: -1 -1;
|
||||
rel2.to: "bg";
|
||||
rel2.offset: 0 0;
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part { name: "e.dragable.cursor"; type: RECT;
|
||||
dragable.confine: "e.swallow.content";
|
||||
dragable.x: 1 1 0;
|
||||
|
@ -73,31 +65,75 @@ group { name: "e/widgets/spectrum";
|
|||
rel2.relative: 0.5 0.5;
|
||||
}
|
||||
}
|
||||
part { name: "end1"; mouse_events: 0;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "col_sel_end_top.png";
|
||||
FIXED_SIZE(11, 8)
|
||||
align: 0.5 0.0;
|
||||
rel1.to: "cursor_x";
|
||||
rel2.to: "cursor_x";
|
||||
}
|
||||
}
|
||||
part { name: "end2"; mouse_events: 0;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "col_sel_end_bottom.png";
|
||||
FIXED_SIZE(11, 8)
|
||||
align: 0.5 1.0;
|
||||
rel1.to: "cursor_x";
|
||||
rel2.to: "cursor_x";
|
||||
}
|
||||
}
|
||||
part { name: "end3"; mouse_events: 0;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "col_sel_end_left.png";
|
||||
FIXED_SIZE(8, 11)
|
||||
align: 0.0 0.5;
|
||||
rel1.to: "cursor_y";
|
||||
rel2.to: "cursor_y";
|
||||
}
|
||||
}
|
||||
part { name: "end4"; mouse_events: 0;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "col_sel_end_right.png";
|
||||
FIXED_SIZE(8, 11)
|
||||
align: 1.0 0.5;
|
||||
rel1.to: "cursor_y";
|
||||
rel2.to: "cursor_y";
|
||||
}
|
||||
}
|
||||
part { name: "cursor_x"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1 {
|
||||
to_x: "e.dragable.cursor";
|
||||
to_y: "e.swallow.content";
|
||||
}
|
||||
rel2 {
|
||||
to_x: "e.dragable.cursor";
|
||||
to_y: "e.swallow.content";
|
||||
}
|
||||
rel1.to_x: "e.dragable.cursor";
|
||||
rel1.to_y: "e.swallow.content";
|
||||
rel2.to_x: "e.dragable.cursor";
|
||||
rel2.to_y: "e.swallow.content";
|
||||
color: 255 255 255 150;
|
||||
}
|
||||
}
|
||||
part { name: "cursor_y"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1 {
|
||||
to_x: "e.swallow.content";
|
||||
to_y: "e.dragable.cursor";
|
||||
}
|
||||
rel2 {
|
||||
to_x: "e.swallow.content";
|
||||
to_y: "e.dragable.cursor";
|
||||
}
|
||||
rel1.to_x: "e.swallow.content";
|
||||
rel1.to_y: "e.dragable.cursor";
|
||||
rel2.to_x: "e.swallow.content";
|
||||
rel2.to_y: "e.dragable.cursor";
|
||||
color: 255 255 255 150;
|
||||
}
|
||||
}
|
||||
part { name: "inset";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "bevel_in.png";
|
||||
image.border: 1 1 1 1;
|
||||
image.middle: 0;
|
||||
rel1.to: "bg";
|
||||
rel1.offset: -1 -1;
|
||||
rel2.to: "bg";
|
||||
rel2.offset: 0 0;
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 210 B |
Binary file not shown.
After Width: | Height: | Size: 223 B |
Binary file not shown.
After Width: | Height: | Size: 172 B |
Binary file not shown.
After Width: | Height: | Size: 224 B |
Loading…
Reference in New Issue