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

#include <DragMultipleInts.h>

Inheritance diagram for OvUI::Widgets::Drags::DragMultipleInts< _Size >:
OvUI::Widgets::Drags::DragMultipleScalars< int, _Size > OvUI::Widgets::DataWidget< std::array< int, _Size > > OvUI::Widgets::AWidget OvUI::API::IDrawable OvUI::Plugins::Pluginable

Public Member Functions

 DragMultipleInts (int p_min=0, int p_max=100, int p_value=50, float p_speed=1.0f, const std::string &p_label="", const std::string &p_format="%d")
 
- Public Member Functions inherited from OvUI::Widgets::Drags::DragMultipleScalars< int, _Size >
 DragMultipleScalars (ImGuiDataType_ p_dataType, int p_min, int p_max, int p_value, float p_speed, const std::string &p_label, const std::string &p_format)
 
- Public Member Functions inherited from OvUI::Widgets::DataWidget< std::array< int, _Size > >
 DataWidget (std::array< int, _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::Drags::DragMultipleScalars< int, _Size >
int min
 
int max
 
float speed
 
std::array< int, _Size > values
 
std::string label
 
std::string format
 
OvTools::Eventing::Event< std::array< int, _Size > & > ValueChangedEvent
 
- Public Attributes inherited from OvUI::Widgets::AWidget
bool enabled = true
 
bool lineBreak = true
 
- Protected Member Functions inherited from OvUI::Widgets::Drags::DragMultipleScalars< int, _Size >
void _Draw_Impl () override
 
- Protected Attributes inherited from OvUI::Widgets::Drags::DragMultipleScalars< int, _Size >
ImGuiDataType_ m_dataType
 
- 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::Drags::DragMultipleInts< _Size >

Drag widget of multiple type int

Constructor & Destructor Documentation

◆ DragMultipleInts()

template<size_t _Size>
OvUI::Widgets::Drags::DragMultipleInts< _Size >::DragMultipleInts ( int  p_min = 0,
int  p_max = 100,
int  p_value = 50,
float  p_speed = 1.0f,
const std::string &  p_label = "",
const std::string &  p_format = "%d" 
)
inline

Constructor

Parameters
p_min
p_max
p_value
p_speed
p_label
p_format

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