Overload  1.1
Game engine with editor
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
OvUI::Widgets::Sliders::SliderSingleScalar< T > Class Template Reference

#include <SliderSingleScalar.h>

Inheritance diagram for OvUI::Widgets::Sliders::SliderSingleScalar< T >:
OvUI::Widgets::DataWidget< T > OvUI::Widgets::AWidget OvUI::API::IDrawable OvUI::Plugins::Pluginable

Public Member Functions

 SliderSingleScalar (ImGuiDataType p_dataType, T p_min, T p_max, T p_value, ESliderOrientation p_orientation, const std::string &p_label, const std::string &p_format)
 
- Public Member Functions inherited from OvUI::Widgets::DataWidget< T >
 DataWidget (T &p_dataHolder)
 
virtual void Draw () override
 
void NotifyChange ()
 
- Public Member Functions inherited from OvUI::Widgets::AWidget
 AWidget ()
 
void LinkTo (const AWidget &p_widget)
 
void Destroy ()
 
bool IsDestroyed () const
 
void SetParent (Internal::WidgetContainer *p_parent)
 
bool HasParent () const
 
Internal::WidgetContainerGetParent ()
 
- Public Member Functions inherited from OvUI::Plugins::Pluginable
 ~Pluginable ()
 
template<typename T , typename... Args>
T & AddPlugin (Args &&... p_args)
 
template<typename T >
T * GetPlugin ()
 
void ExecutePlugins ()
 
void RemoveAllPlugins ()
 

Public Attributes

min
 
max
 
value
 
ESliderOrientation orientation
 
OvMaths::FVector2 verticalModeSize
 
std::string label
 
std::string format
 
OvTools::Eventing::Event< T > ValueChangedEvent
 
- Public Attributes inherited from OvUI::Widgets::AWidget
bool enabled = true
 
bool lineBreak = true
 

Protected Member Functions

void _Draw_Impl () override
 

Additional Inherited Members

- Protected Attributes inherited from OvUI::Widgets::AWidget
Internal::WidgetContainerm_parent
 
std::string m_widgetID = "?"
 
bool m_autoExecutePlugins = true
 

Detailed Description

template<typename T>
class OvUI::Widgets::Sliders::SliderSingleScalar< T >

Slider widget of generic type

Constructor & Destructor Documentation

◆ SliderSingleScalar()

template<typename T>
OvUI::Widgets::Sliders::SliderSingleScalar< T >::SliderSingleScalar ( ImGuiDataType  p_dataType,
p_min,
p_max,
p_value,
ESliderOrientation  p_orientation,
const std::string &  p_label,
const std::string &  p_format 
)
inline

Constructor

Parameters
p_dataType
p_min
p_max
p_value
p_orientation
p_label
p_format

Member Function Documentation

◆ _Draw_Impl()

template<typename T>
void OvUI::Widgets::Sliders::SliderSingleScalar< T >::_Draw_Impl ( )
inlineoverrideprotectedvirtual

Member Data Documentation

◆ format

template<typename T>
std::string OvUI::Widgets::Sliders::SliderSingleScalar< T >::format

◆ label

template<typename T>
std::string OvUI::Widgets::Sliders::SliderSingleScalar< T >::label

◆ max

template<typename T>
T OvUI::Widgets::Sliders::SliderSingleScalar< T >::max

◆ min

template<typename T>
T OvUI::Widgets::Sliders::SliderSingleScalar< T >::min

◆ orientation

template<typename T>
ESliderOrientation OvUI::Widgets::Sliders::SliderSingleScalar< T >::orientation

◆ value

template<typename T>
T OvUI::Widgets::Sliders::SliderSingleScalar< T >::value

◆ ValueChangedEvent

template<typename T>
OvTools::Eventing::Event<T> OvUI::Widgets::Sliders::SliderSingleScalar< T >::ValueChangedEvent

◆ verticalModeSize

template<typename T>
OvMaths::FVector2 OvUI::Widgets::Sliders::SliderSingleScalar< T >::verticalModeSize

The documentation for this class was generated from the following file: