#include <Pt/Forms/ScrollBarStyler.h>
Transient visual state of a scroll bar. More...
Public Member Functions | |
| ScrollBarState () | |
| Constructs an empty scroll bar state. | |
| bool | isEnabled () const |
| Returns true if the bar is currently enabled. | |
| void | setEnabled (bool value) |
| Sets whether the bar is enabled. | |
| bool | isFocused () const |
| Returns true if the bar currently has focus. | |
| void | setFocused (bool value) |
| Sets whether the bar has focus. | |
| bool | isHandleHovered () const |
| Returns true if the pointer is currently over the handle. | |
| void | setHandleHovered (bool value) |
| Sets whether the pointer is over the handle. | |
| bool | isHandlePressed () const |
| Returns true if the handle is currently pressed. | |
| void | setHandlePressed (bool value) |
| Sets whether the handle is pressed. | |
| bool | isDecreaseHovered () const |
| Returns true if the pointer is currently over the decrease control. | |
| void | setDecreaseHovered (bool value) |
| Sets whether the pointer is over the decrease control. | |
| bool | isDecreasePressed () const |
| Returns true if the decrease control is currently pressed. | |
| void | setDecreasePressed (bool value) |
| Sets whether the decrease control is pressed. | |
| bool | isIncreaseHovered () const |
| Returns true if the pointer is currently over the increase control. | |
| void | setIncreaseHovered (bool value) |
| Sets whether the pointer is over the increase control. | |
| bool | isIncreasePressed () const |
| Returns true if the increase control is currently pressed. | |
| void | setIncreasePressed (bool value) |
| Sets whether the increase control is pressed. | |
ScrollBarState is the snapshot a ScrollBar passes to measure, layout, and paint. It is not the application model. Enabled, focused, and hover and press of the handle and buttons describe the look of one paint pass.