Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
SettingsWindow.hpp
1#pragma once
2
3#include <vector>
4#include <string>
5#include <Common/Memory/SmartPointers/UniquePtr.hpp>
6#include "BaseSettingsPage.hpp"
7
8namespace Grindstone::Editor::ImguiEditor::Settings {
9 struct PageData {
10 std::string title;
12 };
13
15 public:
16 virtual ~SettingsWindow() {};
17
18 void Open();
19 void OpenPage(size_t preferencesPage);
20 void Render();
21 void RenderSettingsPage();
22 void RenderSideBar();
23 bool IsOpen() const;
24 protected:
25 bool isOpen = false;
26 size_t settingIndex = 0;
27 std::string settingsTitle;
28 std::vector<PageData> pages;
29 };
30}
Definition UniquePtr.hpp:7