Overload  1.1
Game engine with editor
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
OvUI::Panels::APanel Class Referenceabstract

#include <APanel.h>

Inheritance diagram for OvUI::Panels::APanel:
OvUI::API::IDrawable OvUI::Internal::WidgetContainer OvUI::Panels::APanelTransformable OvUI::Panels::PanelMenuBar OvUI::Panels::PanelUndecorated OvUI::Panels::PanelWindow OvEditor::Panels::MenuBar OvGame::Utils::FPSCounter OvEditor::Panels::AssetBrowser OvEditor::Panels::AView OvEditor::Panels::Console OvEditor::Panels::HardwareInfo OvEditor::Panels::HelpWindow OvEditor::Panels::Hierarchy OvEditor::Panels::Inspector OvEditor::Panels::MaterialEditor OvEditor::Panels::Profiler OvEditor::Panels::ProjectSettings OvEditor::Panels::Toolbar ProjectHubPanel

Public Member Functions

 APanel ()
 
void Draw () override
 
const std::string & GetPanelID () const
 
- 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

bool enabled = true
 

Protected Member Functions

virtual void _Draw_Impl ()=0
 

Protected Attributes

std::string m_panelID
 
- Protected Attributes inherited from OvUI::Internal::WidgetContainer
std::vector< std::pair< OvUI::Widgets::AWidget *, Internal::EMemoryMode > > m_widgets
 

Detailed Description

A Panel is a component of a canvas. It is a sort of window in the UI

Constructor & Destructor Documentation

◆ APanel()

OvUI::Panels::APanel::APanel ( )

Constructor

Member Function Documentation

◆ _Draw_Impl()

virtual void OvUI::Panels::APanel::_Draw_Impl ( )
protectedpure virtual

◆ Draw()

void OvUI::Panels::APanel::Draw ( )
overridevirtual

Draw the panel

Implements OvUI::API::IDrawable.

◆ GetPanelID()

const std::string & OvUI::Panels::APanel::GetPanelID ( ) const

Returns the panel identifier

Member Data Documentation

◆ enabled

bool OvUI::Panels::APanel::enabled = true

◆ m_panelID

std::string OvUI::Panels::APanel::m_panelID
protected

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