forked from enlightenment/enlightenment
make arrow clicks on toolbar scroll 1 step.
SVN revision: 38829
This commit is contained in:
parent
740a12d498
commit
691a489728
|
@ -5436,7 +5436,8 @@ collections { /* begin the collection of edje groups that are in this file */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "left_arrow";
|
part { name: "left_arrow";
|
||||||
mouse_events: 0;
|
mouse_events: 1;
|
||||||
|
scale: 1;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
image.normal: "icon_left_arrow.png";
|
image.normal: "icon_left_arrow.png";
|
||||||
aspect: 1.0 1.0;
|
aspect: 1.0 1.0;
|
||||||
|
@ -5452,7 +5453,8 @@ collections { /* begin the collection of edje groups that are in this file */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "right_arrow";
|
part { name: "right_arrow";
|
||||||
mouse_events: 0;
|
mouse_events: 1;
|
||||||
|
scale: 1;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
image.normal: "icon_right_arrow.png";
|
image.normal: "icon_right_arrow.png";
|
||||||
aspect: 1.0 1.0;
|
aspect: 1.0 1.0;
|
||||||
|
@ -5467,6 +5469,19 @@ collections { /* begin the collection of edje groups that are in this file */
|
||||||
color: 255 255 255 0;
|
color: 255 255 255 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
part { name: "e.dragable.hbar";
|
||||||
|
mouse_events: 0;
|
||||||
|
dragable {
|
||||||
|
x: 1 1 0;
|
||||||
|
y: 0 0 0;
|
||||||
|
confine: "base";
|
||||||
|
}
|
||||||
|
description { state: "default" 0.0;
|
||||||
|
visible: 0;
|
||||||
|
rel1.to: "base";
|
||||||
|
rel2.to: "base";
|
||||||
|
}
|
||||||
|
}
|
||||||
part { name: "event";
|
part { name: "event";
|
||||||
type: RECT;
|
type: RECT;
|
||||||
mouse_events: 1;
|
mouse_events: 1;
|
||||||
|
@ -5493,6 +5508,18 @@ collections { /* begin the collection of edje groups that are in this file */
|
||||||
target: "right_arrow";
|
target: "right_arrow";
|
||||||
transition: LINEAR 0.5;
|
transition: LINEAR 0.5;
|
||||||
}
|
}
|
||||||
|
program { name: "sb_left";
|
||||||
|
signal: "mouse,down,1";
|
||||||
|
source: "left_arrow";
|
||||||
|
action: DRAG_VAL_STEP -1.0 0.0;
|
||||||
|
target: "e.dragable.hbar";
|
||||||
|
}
|
||||||
|
program { name: "sb_right";
|
||||||
|
signal: "mouse,down,1";
|
||||||
|
source: "right_arrow";
|
||||||
|
action: DRAG_VAL_STEP 1.0 0.0;
|
||||||
|
target: "e.dragable.hbar";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue