
LINE
----


Draws a plain vertical or horizontal line of user selectable pixel thickness, color and background color, for usage as read-only or moveable position marker.

To fit several possible usage scenarios, the gadget has four different operation modes depending on the (unexposed) Mode pin setting:

Read Only -- no response to user input, for passive indicator usage; Mouse Down pin will NEVER be set, not to steal mouse input from other modules placed in background

Click -- the line position can be set once with a mouse click; Mouse Down pin will be set always

Auto Grasp -- the line is automatically moved to mouse position and can be dragged by keeping the mouse button pressed; Mouse Down pin will be set always

Grasp -- the line can be picked and moved with the mouse like a slider (please make it thick enough to allow easy grasping); Mouse Down pin will only be set when clicking inside the line



Hint: CTRL key can be used for finer adjustment (NOT working in SE 1.4 structure view, which is buggy)


Anim Pos will receive/transmit the normalized line position, for connection to a Patch Memory or other suitable modules.

Line and background colors can be set using standard 32 bits hexadecimal ARGB strings.
Background color can be made transparent by setting its alpha channel to zero (eg. just enter 0), for laying the gadget on top of other controls.


NOTE: Line3 is identical to Line2, just it has all cosmetic pins exposed for convenience



