ScrollBar

ScrollBarSetStyle

Set the characters used to draw the scroll bar

Syntax

Signature
xBool          ScrollBarSetStyle( ScrollBar *scrollBar, const char *style );

Arguments

scrollBar the scroll bar.

style a four-character UTF-8 string to copy, or NULL to restore "↑░▓↓" for a vertical bar or "←░▓→" for a horizontal bar.

Return value

T on success, or F if the object is NULL or a supplied style contains fewer or more than four characters.

Description

The characters give the previous arrow, track, thumb and next arrow, in that order. Call `ScrollBarDisplay()` to draw the complete bar with the new style.

See also