Classes¶
UI/Slider
Brief descriptions¶
Classes |
|
Detailed information¶
ui::NauSlider¶
engine/core/modules/ui/include/nau/ui/slider.h
-
class NauSlider : public nau::ui::UIControl¶
Public Types
-
using OnValueChangedCallback = std::function<void(float value)>¶
Public Functions
-
NauSlider()¶
-
virtual ~NauSlider()¶
- inline FORCEINLINE void setOnValueChangedCallback (OnValueChangedCallback cb)
-
void setTrackSprite(const eastl::string &filename)¶
-
void setThumbSprite(const eastl::string &filename)¶
Protected Functions
-
virtual bool initialize() override¶
Protected Attributes
-
OnValueChangedCallback m_onValueChanged = {nullptr}¶
-
using OnValueChangedCallback = std::function<void(float value)>¶