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

#include <Columns.h>

Inheritance diagram for OvUI::Widgets::Layout::Columns< _Size >:
OvUI::Widgets::AWidget OvUI::Internal::WidgetContainer OvUI::API::IDrawable OvUI::Plugins::Pluginable

Public Member Functions

 Columns ()
 
- Public Member Functions inherited from OvUI::Widgets::AWidget
 AWidget ()
 
virtual void Draw () override
 
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 Member Functions inherited from OvUI::Internal::WidgetContainer
void RemoveWidget (Widgets::AWidget &p_widget)
 
void RemoveAllWidgets ()
 
void ConsiderWidget (Widgets::AWidget &p_widget, bool p_manageMemory=true)
 
void UnconsiderWidget (Widgets::AWidget &p_widget)
 
void CollectGarbages ()
 
void DrawWidgets ()
 
template<typename T , typename ... Args>
T & CreateWidget (Args &&... p_args)
 
std::vector< std::pair< OvUI::Widgets::AWidget *, Internal::EMemoryMode > > & GetWidgets ()
 

Public Attributes

std::array< float, _Size > widths
 
- Public Attributes inherited from OvUI::Widgets::AWidget
bool enabled = true
 
bool lineBreak = true
 

Protected Member Functions

virtual 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
 
- Protected Attributes inherited from OvUI::Internal::WidgetContainer
std::vector< std::pair< OvUI::Widgets::AWidget *, Internal::EMemoryMode > > m_widgets
 

Detailed Description

template<size_t _Size>
class OvUI::Widgets::Layout::Columns< _Size >

Widget that allow columnification

Constructor & Destructor Documentation

◆ Columns()

template<size_t _Size>
OvUI::Widgets::Layout::Columns< _Size >::Columns ( )
inline

Constructor

Member Function Documentation

◆ _Draw_Impl()

template<size_t _Size>
virtual void OvUI::Widgets::Layout::Columns< _Size >::_Draw_Impl ( )
inlineoverrideprotectedvirtual

Member Data Documentation

◆ widths

template<size_t _Size>
std::array<float, _Size> OvUI::Widgets::Layout::Columns< _Size >::widths

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