Overload  1.1
Game engine with editor
Public Member Functions | List of all members
OvUI::Widgets::InputFields::InputInt Class Reference

#include <InputInt.h>

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

Public Member Functions

 InputInt (int p_defaultValue=0, int p_step=1, int p_fastStep=0, const std::string &p_label="", const std::string &p_format="%d", bool p_selectAllOnClick=true)
 
- Public Member Functions inherited from OvUI::Widgets::InputFields::InputSingleScalar< int >
 InputSingleScalar (ImGuiDataType p_dataType, int p_defaultValue, int p_step, int p_fastStep, const std::string &p_label, const std::string &p_format, bool p_selectAllOnClick)
 
- Public Member Functions inherited from OvUI::Widgets::DataWidget< int >
 DataWidget (int &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::InputSingleScalar< int >
int value
 
int step
 
int fastStep
 
std::string label
 
std::string format
 
bool selectAllOnClick
 
OvTools::Eventing::Event< int > ContentChangedEvent
 
OvTools::Eventing::Event< int > EnterPressedEvent
 
- Public Attributes inherited from OvUI::Widgets::AWidget
bool enabled = true
 
bool lineBreak = true
 
- Protected Member Functions inherited from OvUI::Widgets::InputFields::InputSingleScalar< int >
void _Draw_Impl () override
 
- Protected Attributes inherited from OvUI::Widgets::AWidget
Internal::WidgetContainerm_parent
 
std::string m_widgetID = "?"
 
bool m_autoExecutePlugins = true
 

Detailed Description

Input widget of type int

Constructor & Destructor Documentation

◆ InputInt()

OvUI::Widgets::InputFields::InputInt::InputInt ( int  p_defaultValue = 0,
int  p_step = 1,
int  p_fastStep = 0,
const std::string &  p_label = "",
const std::string &  p_format = "%d",
bool  p_selectAllOnClick = true 
)

Constructor

Parameters
p_defaultValue
p_step
p_fastStep
p_label
p_format
p_selectAllOnClick@project: Overload
Author
: Overload Tech. @restrictions: This software may not be resold, redistributed or otherwise conveyed to a third party.

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