Overload  1.1
Game engine with editor
Public Member Functions | List of all members
OvEditor::Core::PanelsManager Class Reference

#include <PanelsManager.h>

Public Member Functions

 PanelsManager (OvUI::Modules::Canvas &p_canvas)
 
template<typename T , typename... Args>
void CreatePanel (const std::string &p_id, Args &&... p_args)
 
template<typename T >
T & GetPanelAs (const std::string &p_id)
 

Detailed Description

Handle the creation and storage of UI panels

Constructor & Destructor Documentation

◆ PanelsManager()

OvEditor::Core::PanelsManager::PanelsManager ( OvUI::Modules::Canvas p_canvas)

Constructor

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

Member Function Documentation

◆ CreatePanel()

template<typename T , typename... Args>
void OvEditor::Core::PanelsManager::CreatePanel ( const std::string &  p_id,
Args &&...  p_args 
)
inline

Create a panel

Parameters
p_id
p_args

◆ GetPanelAs()

template<typename T >
T& OvEditor::Core::PanelsManager::GetPanelAs ( const std::string &  p_id)
inline

Returns the panel identified by the given id casted in the given type

Parameters
p_id

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