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

#include <SliderMultipleScalars.h>

Inheritance diagram for OvUI::Widgets::Sliders::SliderMultipleScalars< T, _Size >:
OvUI::Widgets::DataWidget< std::array< T, _Size > > OvUI::Widgets::AWidget OvUI::API::IDrawable OvUI::Plugins::Pluginable

Public Member Functions

 SliderMultipleScalars (ImGuiDataType_ p_dataType, T p_min, T p_max, T p_value, const std::string &p_label, const std::string &p_format)
 
- Public Member Functions inherited from OvUI::Widgets::DataWidget< std::array< T, _Size > >
 DataWidget (std::array< T, _Size > &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
 
std::array< T, _Size > values
 
std::string label
 
std::string format
 
OvTools::Eventing::Event< std::array< T, _Size > & > ValueChangedEvent
 
- Public Attributes inherited from OvUI::Widgets::AWidget
bool enabled = true
 
bool lineBreak = true
 

Protected Member Functions

void _Draw_Impl () override
 

Protected Attributes

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

Detailed Description

template<typename T, size_t _Size>
class OvUI::Widgets::Sliders::SliderMultipleScalars< T, _Size >

Slider widget of multiple generic type

Constructor & Destructor Documentation

◆ SliderMultipleScalars()

template<typename T, size_t _Size>
OvUI::Widgets::Sliders::SliderMultipleScalars< T, _Size >::SliderMultipleScalars ( ImGuiDataType_  p_dataType,
p_min,
p_max,
p_value,
const std::string &  p_label,
const std::string &  p_format 
)
inline

Constructor

Parameters
p_dataType
p_min
p_max
p_value
p_label
p_format

Member Function Documentation

◆ _Draw_Impl()

template<typename T, size_t _Size>
void OvUI::Widgets::Sliders::SliderMultipleScalars< T, _Size >::_Draw_Impl ( )
inlineoverrideprotectedvirtual

Member Data Documentation

◆ format

template<typename T, size_t _Size>
std::string OvUI::Widgets::Sliders::SliderMultipleScalars< T, _Size >::format

◆ label

template<typename T, size_t _Size>
std::string OvUI::Widgets::Sliders::SliderMultipleScalars< T, _Size >::label

◆ m_dataType

template<typename T, size_t _Size>
ImGuiDataType_ OvUI::Widgets::Sliders::SliderMultipleScalars< T, _Size >::m_dataType
protected

◆ max

template<typename T, size_t _Size>
T OvUI::Widgets::Sliders::SliderMultipleScalars< T, _Size >::max

◆ min

template<typename T, size_t _Size>
T OvUI::Widgets::Sliders::SliderMultipleScalars< T, _Size >::min

◆ ValueChangedEvent

template<typename T, size_t _Size>
OvTools::Eventing::Event<std::array<T, _Size>&> OvUI::Widgets::Sliders::SliderMultipleScalars< T, _Size >::ValueChangedEvent

◆ values

template<typename T, size_t _Size>
std::array<T, _Size> OvUI::Widgets::Sliders::SliderMultipleScalars< T, _Size >::values

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