![]() |
Lysa.ui
0.0
Lysa 3D Engine
|
A scroll bar widget whose value represents a scroll position within [min, max].
Inherits from: ValueSelect
Lua full name: lysa.ui.ScrollBar
Public Member Functions | |
| nil | set_resources (area: string, cage: string) |
| Reloads the visual style: area = resource string for the scroll track, cage = resource string for the scroll thumb. More... | |
Properties | |
| integer | scroll_bar_type |
| The orientation of this scroll bar (see lysa.ui.ScrollBarType). (read-only) | |
| SpinButtons | buttons |
| The two buttons scrolling by one step, at the end of the bar. (read-only) | |
| integer | buttons_placement |
| End of the bar where the two buttons are placed (see lysa.ui.ScrollBarButtonsPlacement): TOP or BOTTOM for a vertical bar, LEFT or RIGHT for an horizontal bar. | |
|
Reloads the visual style: area = resource string for the scroll track, cage = resource string for the scroll thumb.
| area | string |
| cage | string |
| integer scroll_bar_type |
The orientation of this scroll bar (see lysa.ui.ScrollBarType). (read-only)
| SpinButtons buttons |
The two buttons scrolling by one step, at the end of the bar. (read-only)
| integer buttons_placement |
End of the bar where the two buttons are placed (see lysa.ui.ScrollBarButtonsPlacement): TOP or BOTTOM for a vertical bar, LEFT or RIGHT for an horizontal bar.