|
API Documentation
|
|
|
@ LEFT_TO_RIGHT
Left to right direction.
@ TOP_TO_BOTTOM
Top to bottom direction.
@ RIGHT_TO_LEFT
Right to left direction.
Slider(System *system) noexcept
virtual void importClassFromTree(nkExport::Node *rootNode) override
@ BOTTOM_TO_TOP
Bottom to top direction.
static nkMemory::UniquePtr< Slider > create(System *system=nullptr)
std::function< void(Slider *, float)> getValueChangeCallback() const
virtual void setMax(float value)
Base class for any graphical component.
Definition: Component.h:12
The main system of the component.
Definition: System.h:18
virtual void exportIntrospection(nkExport::Node *rootNode) override
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
virtual void setCurrent(float value)
@ AUTOMATIC
Automatic direction, adapting to the size of the component. Left to right if wider,...
Smart pointer owning the object instance it encapsulates.
Definition: UniquePtr.h:17
virtual void setDisplayDirection(SLIDER_DIRECTION value)
SLIDER_DIRECTION getDisplayDirection() const
virtual void setMin(float value)
Encompasses all API of component NilkinsWinUi.
Definition: Clipboard.h:7
SLIDER_DIRECTION
Lists possible slider directions.
Definition: Slider.h:12
virtual void setValueChangeCallback(std::function< void(Slider *, float)> callback)
A graphical slider.
Definition: Slider.h:28