Sets the angle of the slider. \ 90 = Vertical. \ 0 = Horizontal.
Current coordinate of the slider.
Process the slider position.
Value between the min and max values specified.
Rounded value between the min and max values specified.
Maximal value possible for the slider. \ Used by ivalue() and fvalue().
Minimal value possible for the slider. \ Used by ivalue() and fvalue().
Value (from 0 to 1) before being processed/clamped/etc. \ Useful for rendering, not for getting its value as data.
The number of steps of the slider. \ 1 = The slider jumps directly from start to finish. \ More = The slider has more intermediate values.
Slider's value between 0 and 1.
If set, the canvas used to be rendered on.
Is this GUI using a canvas ?
The hint window to be shown when hovering this GUI.
The list of all its children.
The list of all its own children.
Return the first child gui.
Return the last child gui.
The number of children it currently has.
Is this gui locked ? \ Call **onLock()** on change.
Is this gui movable ? \ Call **onMovable()** on change.
Is this gui hovered ? \ Call **onHover()** on change. (<- Not for now)
Is this gui clicked ?
Is this gui selected ? \ Call **onSelect()** on change.
Does this gui has focus ? \ Call **onFocus()** on change.
Is this gui interactable ? \ Call **onInteractable()** on change.
The gui position relative to its parent and alignment. \ Call **onPosition()** and **onDeltaPosition()** and **onCenter()** on change.
The scale of the gui (changed by GuiState).
The total size (size + scale) of the gui.
The unscaled size of the gui. \ Call **onSize()** and **onDeltaSize()** and **onCenter()** on change. \ Resize the canvas if it was set (It reallocate the canvas, so be careful).
The anchor of the gui. (I don't think it's used right now). \ Call **onAnchor()** and **onDeltaAnchor()** and **onCenter()** on change.
Center of the gui. \ If the canvas is set, only drawOverlay have the coordinate of its parent, the rest are in a relative coordinate.
The top left corner of the gui. \ If the canvas is set, only drawOverlay have the coordinate of its parent, the rest are in a relative coordinate.
Extra space on top of its size. \ Call **onPadding()** and update the gui size.
Color of the actual state (GuiState) of the gui. \ Call **onColor()** on change.
Alpha of the actual state (GuiState) of the gui. \ Call **onAlpha()** on change.
Angle of the actual state (GuiState) of the gui.
Gui initialization options
Default ctor.
Is it inside the gui ?
Is it inside the gui and the gui is interactable ? \ Used to capture events.
Update the hint (Text that appear when hovering the gui) of the gui.
Set an id that will be sent to the specified gui when **triggerCallback()** is fired.
Send a previously set (with **setCallback()**) id to the previously specified gui.
Start a transition from the current state to the specified state.
The gui is set *immediately* to the specified state without transition.
Current state name or currently transitioning to.
Add a new state to the list.
Does this gui receive events (with **onEvent()**) ?
Sets the alignment relative to its parent. \ Position will be calculated from the specified alignement.
Returns the alignment relative to its parent.
Override this to set the gui logic. The deltaTime is the time ratio for the last frame to the next. It is equivallent to Actual framerate / Nominal framerate. Ideally, it's equal to 1. ___ If the canvas is set, the coordinate are those *inside* the canvas.
Override this to render the gui itself. \ If the canvas is set, the coordinate are those *inside* the canvas.
Override this to render things above the gui. \ If the canvas is set, the coordinate are those *outside* the canvas.
With the eventHook, receive all events. \ Useful if you want to control like for text input.
Fired when clicked on.
Fired upon cancelling.
Fired on the next tab event.
Fired on the previous tab event.
Fired when going up.
Fired when going down.
Fired when going left.
Fired when going right.
Fired when the application is exiting. \ Every gui in the tree receive this.
Called when the lock state is changed.
Called when the movable state is changed.
Called when the hover state is changed.
Called when the select state is changed.
Called when the focus state is changed.
Called when the interactable state is changed.
Called when the position is changed. \ The delta value is the difference with the last position.
Called when the position is changed.
Called when the size is changed. \ The delta value is the difference with the last size.
Called when the size is changed.
Called when the anchor is changed. \ The delta value is the difference with the last anchor.
Called when the anchor is changed.
Called when the center of the gui moved.
Called when the padding change.
Called when the color change.
Called when the opacity change.
Called when the angle change.
Any callback set to this gui will call this.
Add a gui as a child of this one.
Add a gui as a child of this one.
Remove all the children.
Remove the child at the specified index.
Remove the specified child.
Unregister itself from its parent or root.
Base abstract class for any vertical or horizontal slider/scrollbar.