}
}
part { name: "left_arrow";
- mouse_events: 0;
+ mouse_events: 1;
+ scale: 1;
description { state: "default" 0.0;
image.normal: "icon_left_arrow.png";
aspect: 1.0 1.0;
}
}
part { name: "right_arrow";
- mouse_events: 0;
+ mouse_events: 1;
+ scale: 1;
description { state: "default" 0.0;
image.normal: "icon_right_arrow.png";
aspect: 1.0 1.0;
color: 255 255 255 0;
}
}
- part { name: "event";
+ 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";
type: RECT;
mouse_events: 1;
repeat_events: 1;
target: "right_arrow";
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";
+ }
}
}