|
WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
|
Persistent application settings backed by userSettings/Config.ini. More...
#include <AppSettings.h>
Public Member Functions | |
| void | load () |
| Load from Config.ini (also restores the current ThemeManager theme). | |
| void | save () const |
| Persist to Config.ini and save the ImGui layout to disk. | |
Public Attributes | |
| std::string | gamePath |
| bool | enableDbCache = false |
| bool | showConsole = false |
| bool | drawGrid = true |
| glm::vec3 | bgColor {0.22f, 0.22f, 0.22f} |
| int | currentFont = 0 |
| float | fontSize = 18.0f |
Static Public Attributes | |
| static constexpr const char * | configPath = "userSettings/Config.ini" |
| static constexpr const char * | imguiIniPath = "userSettings/imgui_layout.ini" |
Persistent application settings backed by userSettings/Config.ini.
Definition at line 7 of file AppSettings.h.
| void AppSettings::load | ( | ) |
Load from Config.ini (also restores the current ThemeManager theme).
Definition at line 11 of file AppSettings.cpp.
| void AppSettings::save | ( | ) | const |
Persist to Config.ini and save the ImGui layout to disk.
Definition at line 37 of file AppSettings.cpp.
| glm::vec3 AppSettings::bgColor {0.22f, 0.22f, 0.22f} |
Definition at line 18 of file AppSettings.h.
|
staticconstexpr |
Definition at line 25 of file AppSettings.h.
| int AppSettings::currentFont = 0 |
Definition at line 21 of file AppSettings.h.
| bool AppSettings::drawGrid = true |
Definition at line 17 of file AppSettings.h.
| bool AppSettings::enableDbCache = false |
Definition at line 13 of file AppSettings.h.
| float AppSettings::fontSize = 18.0f |
Definition at line 22 of file AppSettings.h.
| std::string AppSettings::gamePath |
Definition at line 10 of file AppSettings.h.
|
staticconstexpr |
Definition at line 26 of file AppSettings.h.
| bool AppSettings::showConsole = false |
Definition at line 14 of file AppSettings.h.