Overload  1.1
Game engine with editor
Public Member Functions | List of all members
OvUI::Widgets::InputFields::InputMultipleFloats< _Size > Class Template Reference

#include <InputMultipleFloats.h>

Inheritance diagram for OvUI::Widgets::InputFields::InputMultipleFloats< _Size >:
OvUI::Widgets::InputFields::InputMultipleScalars< float, _Size > OvUI::Widgets::DataWidget< std::array< float, _Size > > OvUI::Widgets::AWidget OvUI::API::IDrawable OvUI::Plugins::Pluginable

Public Member Functions

 InputMultipleFloats (float p_defaultValue=0.0f, float p_step=0.1f, float p_fastStep=0.0f, const std::string &p_label="", const std::string &p_format="%.3f", bool p_selectAllOnClick=true)
 
- Public Member Functions inherited from OvUI::Widgets::InputFields::InputMultipleScalars< float, _Size >
 InputMultipleScalars (ImGuiDataType p_dataType, float p_defaultValue, float p_step, float p_fastStep, const std::string &p_label, const std::string &p_format, bool p_selectAllOnClick)
 
- Public Member Functions inherited from OvUI::Widgets::DataWidget< std::array< float, _Size > >
 DataWidget (std::array< float, _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 ()
 

Additional Inherited Members

- Public Attributes inherited from OvUI::Widgets::InputFields::InputMultipleScalars< float, _Size >
std::array< float, _Size > values
 
float step
 
float fastStep
 
std::string label
 
std::string format
 
bool selectAllOnClick
 
OvTools::Eventing::Event< std::array< float, _Size > & > ContentChangedEvent
 
OvTools::Eventing::Event< std::array< float, _Size > & > EnterPressedEvent
 
- Public Attributes inherited from OvUI::Widgets::AWidget
bool enabled = true
 
bool lineBreak = true
 
- Protected Member Functions inherited from OvUI::Widgets::InputFields::InputMultipleScalars< float, _Size >
void _Draw_Impl () override
 
- Protected Attributes inherited from OvUI::Widgets::AWidget
Internal::WidgetContainerm_parent
 
std::string m_widgetID = "?"
 
bool m_autoExecutePlugins = true
 

Detailed Description

template<size_t _Size>
class OvUI::Widgets::InputFields::InputMultipleFloats< _Size >

Input widget of multiple type float

Constructor & Destructor Documentation

◆ InputMultipleFloats()

template<size_t _Size>
OvUI::Widgets::InputFields::InputMultipleFloats< _Size >::InputMultipleFloats ( float  p_defaultValue = 0.0f,
float  p_step = 0.1f,
float  p_fastStep = 0.0f,
const std::string &  p_label = "",
const std::string &  p_format = "%.3f",
bool  p_selectAllOnClick = true 
)
inline

Constructor

Parameters
p_defaultValue
p_step
p_fastStep
p_label
p_format
p_selectAllOnClick

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