
SCROLL BAR
----------

Proportional scroll bar gadget with configurable look, for modular usage with modules supporting standard Offset/Visible/Total attributes, like the Sample Display Edit and others.

The scrollbar orientation is dictated by the gadget box size: when width >= height, the scrollbar works in horizontal mode, otherwise it works in vertical mode.



NOTE
----

In SE 1.4 Struct View, graphics may look not so good and CTRL key to increase motion accuracy does not work. These are caused by SE bugs of the old Struct View



PIN DESCRIPTION
---------------

(All cosmetic pins are unexposed)

Terms: Track is the active box, including both the cursor and the rectangular area the cursor is free to slide in. Frame is an inactive rectangle which can be drawn around or even inside the Track and has just aesthetical purposes.


Offset, Visible, Total (In/Out): the scrollbar attributes, internally clamped together for consistency

Mouse Down (Out): True when the mouse button is pressed on the scrollbar cursor

Enabled: When disabled, the gadget won't respond to input and will be drawn with an user-selectable degree of transparency

Alpha Disabled: amount of transparency for the disabled state, from 0 (invisible) to 1 (100% solid)

Rpt Delay and Rpt Rate: in milliseconds, delay and rate for auto-repetition when pressing Dec or Inc

Cursor and Frame Round: curvature radius in pixels for rounding the cursor or the frame, where 0 means no rounding

Cursor 3D: render the cursor with an embossed look

Cursor Grip: draw grip lines on the cursor

Track and Frame Length %: percentage of track or frame size reduction along the main direction (max 100 %)

Track and Frame Tall %: percentage of track or frame size reduction along the orthogonal direction (max 100%)

Dec, Inc (In): connect two arrow buttons to increment / decrement the scrollbar offset, if needed

Cursor, Active Cursor, Frame and Background (BG) ARGB: standard 32-bits hexadecimal strings describing the ARGB color of the respective elements





