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

#include <InputSingleScalar.h>

Inheritance diagram for OvUI::Widgets::InputFields::InputSingleScalar< T >:
OvUI::Widgets::DataWidget< T > OvUI::Widgets::AWidget OvUI::API::IDrawable OvUI::Plugins::Pluginable

Public Member Functions

 InputSingleScalar (ImGuiDataType p_dataType, T p_defaultValue, T p_step, T p_fastStep, const std::string &p_label, const std::string &p_format, bool p_selectAllOnClick)
 
- 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

value
 
step
 
fastStep
 
std::string label
 
std::string format
 
bool selectAllOnClick
 
OvTools::Eventing::Event< T > ContentChangedEvent
 
OvTools::Eventing::Event< T > EnterPressedEvent
 
- 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::InputFields::InputSingleScalar< T >

Input widget of generic type

Constructor & Destructor Documentation

◆ InputSingleScalar()

template<typename T>
OvUI::Widgets::InputFields::InputSingleScalar< T >::InputSingleScalar ( ImGuiDataType  p_dataType,
p_defaultValue,
p_step,
p_fastStep,
const std::string &  p_label,
const std::string &  p_format,
bool  p_selectAllOnClick 
)
inline

Constructor

Parameters
p_dataType
p_defaultValue
p_step
p_fastStep
p_label
p_format
p_selectAllOnClick

Member Function Documentation

◆ _Draw_Impl()

template<typename T>
void OvUI::Widgets::InputFields::InputSingleScalar< T >::_Draw_Impl ( )
inlineoverrideprotectedvirtual

Member Data Documentation

◆ ContentChangedEvent

template<typename T>
OvTools::Eventing::Event<T> OvUI::Widgets::InputFields::InputSingleScalar< T >::ContentChangedEvent

◆ EnterPressedEvent

template<typename T>
OvTools::Eventing::Event<T> OvUI::Widgets::InputFields::InputSingleScalar< T >::EnterPressedEvent

◆ fastStep

template<typename T>
T OvUI::Widgets::InputFields::InputSingleScalar< T >::fastStep

◆ format

template<typename T>
std::string OvUI::Widgets::InputFields::InputSingleScalar< T >::format

◆ label

template<typename T>
std::string OvUI::Widgets::InputFields::InputSingleScalar< T >::label

◆ selectAllOnClick

template<typename T>
bool OvUI::Widgets::InputFields::InputSingleScalar< T >::selectAllOnClick

◆ step

template<typename T>
T OvUI::Widgets::InputFields::InputSingleScalar< T >::step

◆ value

template<typename T>
T OvUI::Widgets::InputFields::InputSingleScalar< T >::value

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