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

#include <MenuBar.h>

Inheritance diagram for OvEditor::Panels::MenuBar:
OvUI::Panels::PanelMenuBar OvUI::Panels::APanel OvUI::API::IDrawable OvUI::Internal::WidgetContainer

Public Member Functions

 MenuBar ()
void HandleShortcuts (float p_deltaTime)
void RegisterPanel (const std::string &p_name, OvUI::Panels::PanelWindow &p_panel)
- Public Member Functions inherited from OvUI::Panels::APanel
 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 ()

Additional Inherited Members

- Public Attributes inherited from OvUI::Panels::APanel
bool enabled = true
- Protected Member Functions inherited from OvUI::Panels::PanelMenuBar
void _Draw_Impl () override
- Protected Attributes inherited from OvUI::Panels::APanel
std::string m_panelID
- Protected Attributes inherited from OvUI::Internal::WidgetContainer
std::vector< std::pair< OvUI::Widgets::AWidget *, Internal::EMemoryMode > > m_widgets

Constructor & Destructor Documentation

◆ MenuBar()

OvEditor::Panels::MenuBar::MenuBar ( )


Member Function Documentation

◆ HandleShortcuts()

void OvEditor::Panels::MenuBar::HandleShortcuts ( float  p_deltaTime)

Check inputs for menubar shortcuts


◆ RegisterPanel()

void OvEditor::Panels::MenuBar::RegisterPanel ( const std::string &  p_name,
OvUI::Panels::PanelWindow p_panel 

Register a panel to the menu bar window menu

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