Hymn to Beauty
C++ 3D Engine
SettingsWindow.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4#include <string>
5
6namespace GUI {
9 public:
12
14 void Show();
15
17
20 bool IsVisible() const;
21
23
26 void SetVisible(bool visible);
27
28 private:
29 bool visible = false;
30
31 std::vector<std::string> themes;
32 int theme = 0;
33 const char** dropDownItems = nullptr;
34 char themeName[128];
35};
36} // namespace GUI
Used to edit Hymn to Beauty settings.
Definition: SettingsWindow.hpp:8
void Show()
Show the settings window.
Definition: SettingsWindow.cpp:26
SettingsWindow()
Create new settings window.
Definition: SettingsWindow.cpp:10
bool IsVisible() const
Get whether the window is visible.
Definition: SettingsWindow.cpp:85
void SetVisible(bool visible)
Set whether the window should be visible.
Definition: SettingsWindow.cpp:89
Definition: AssetEditor.hpp:9