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

#include <InputText.h>

Inheritance diagram for OvUI::Widgets::InputFields::InputText:
OvUI::Widgets::DataWidget< std::string > OvUI::Widgets::AWidget OvUI::API::IDrawable OvUI::Plugins::Pluginable

Public Member Functions

 InputText (const std::string &p_content="", const std::string &p_label="")
- Public Member Functions inherited from OvUI::Widgets::DataWidget< std::string >
 DataWidget (std::string &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

std::string content
std::string label
bool selectAllOnClick = false
OvTools::Eventing::Event< std::string > ContentChangedEvent
OvTools::Eventing::Event< std::string > 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
std::string m_widgetID = "?"
bool m_autoExecutePlugins = true

Detailed Description

Input widget of type string

Constructor & Destructor Documentation

◆ InputText()

OvUI::Widgets::InputFields::InputText::InputText ( const std::string &  p_content = "",
const std::string &  p_label = "" 


p_label@project: Overload
: Overload Tech. @restrictions: This software may not be resold, redistributed or otherwise conveyed to a third party.

Member Function Documentation

◆ _Draw_Impl()

void OvUI::Widgets::InputFields::InputText::_Draw_Impl ( )

Member Data Documentation

◆ content

std::string OvUI::Widgets::InputFields::InputText::content

◆ ContentChangedEvent

OvTools::Eventing::Event<std::string> OvUI::Widgets::InputFields::InputText::ContentChangedEvent

◆ EnterPressedEvent

OvTools::Eventing::Event<std::string> OvUI::Widgets::InputFields::InputText::EnterPressedEvent

◆ label

std::string OvUI::Widgets::InputFields::InputText::label

◆ selectAllOnClick

bool OvUI::Widgets::InputFields::InputText::selectAllOnClick = false

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