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
6
namespace
Grindstone::Editor::ImguiEditor::Settings {
7
class
BasePage;
8
9
struct
PageData
{
10
std::string title;
11
BasePage
* page =
nullptr
;
12
};
13
14
class
SettingsWindow
{
15
public
:
16
~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
}
Grindstone::Editor::ImguiEditor::Settings::BasePage
Definition
BaseSettingsPage.hpp:7
Grindstone::Editor::ImguiEditor::Settings::SettingsWindow
Definition
SettingsWindow.hpp:14
Grindstone::Editor::ImguiEditor::Settings::PageData
Definition
SettingsWindow.hpp:9
sources
code
Editor
ImguiEditor
Settings
SettingsWindow.hpp
Generated by
1.12.0