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

#include <GroupCollapsable.h>

Inheritance diagram for OvUI::Widgets::Layout::GroupCollapsable:
OvUI::Widgets::Layout::Group OvUI::Widgets::AWidget OvUI::Internal::WidgetContainer OvUI::API::IDrawable OvUI::Plugins::Pluginable

Public Member Functions

 GroupCollapsable (const std::string &p_name="")
- 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::string name
bool closable = false
bool opened = true
OvTools::Eventing::Event CloseEvent
OvTools::Eventing::Event OpenEvent
- 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
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

Widget that can contains other widgets and is collapsable

Constructor & Destructor Documentation

◆ GroupCollapsable()

OvUI::Widgets::Layout::GroupCollapsable::GroupCollapsable ( const std::string &  p_name = "")


p_name@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::Layout::GroupCollapsable::_Draw_Impl ( )

@project: Overload

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

Reimplemented from OvUI::Widgets::Layout::Group.

Member Data Documentation

◆ closable

bool OvUI::Widgets::Layout::GroupCollapsable::closable = false

◆ CloseEvent

OvTools::Eventing::Event OvUI::Widgets::Layout::GroupCollapsable::CloseEvent

◆ name

std::string OvUI::Widgets::Layout::GroupCollapsable::name

◆ opened

bool OvUI::Widgets::Layout::GroupCollapsable::opened = true

◆ OpenEvent

OvTools::Eventing::Event OvUI::Widgets::Layout::GroupCollapsable::OpenEvent

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