Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Menubar.hpp
1#pragma once
2
3#include <atomic>
4#include <thread>
5
6namespace Grindstone {
7 class EngineCore;
8
9 namespace Editor::ImguiEditor {
10 class ImguiEditor;
11 class Menubar {
12 public:
13 Menubar(ImguiEditor* editor);
14 void Render();
15 private:
16 void RenderFileMenu();
17 void RenderEditMenu();
18 void RenderViewMenu();
19 private:
20 void OnNewFile();
21 void OnSaveFile();
22 void OnSaveAsFile();
23 void OnReloadFile();
24 void OnLoadFile();
25 void OnBuild();
26 void OnImportFile();
27 void OnUserSettings();
28 void OnProjectSettings();
29 void OnExit();
30
31 void SaveFile(const std::filesystem::path& path);
32 ImguiEditor* editor = nullptr;
33 };
34 }
35}