Add app getter in Window
This commit is contained in:
parent
b29e20a4b0
commit
58bf25ff16
|
|
@ -25,6 +25,9 @@ namespace Nz
|
||||||
void AddMenuAction(const std::string& path, const std::string& shortcut, ActionCallback callback);
|
void AddMenuAction(const std::string& path, const std::string& shortcut, ActionCallback callback);
|
||||||
void AddMenuSeparator(const std::string& path);
|
void AddMenuSeparator(const std::string& path);
|
||||||
|
|
||||||
|
EditorBaseApplication* GetApplication() { return m_application; }
|
||||||
|
const EditorBaseApplication* GetApplication() const { return m_application; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void DrawMenus();
|
void DrawMenus();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue