|
WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
|
Mutable state for the UI layer: dialogs, fonts, log viewer, folder picker. More...
#include <AppState.h>
Public Member Functions | |
| bool & | panel (const char *name) |
Public Attributes | |
| bool | showAboutDialog = false |
| bool | showLanguageDialog = false |
| std::unordered_map< std::string, bool > | panelOpen |
| bool | showImportDialog = false |
| bool | showFolderPicker = false |
| bool | importPopupJustOpened = false |
| std::vector< FontEntry > | availableFonts |
| bool | fontsDirty = false |
| float | dpiScale = 1.0f |
| std::filesystem::path | folderPickerCurrent |
| std::vector< std::filesystem::path > | folderPickerEntries |
| bool | folderPickerNeedsRefresh = true |
| std::vector< std::string > | logLines |
| bool | logAutoScroll = true |
| bool | logNeedsReload = true |
Mutable state for the UI layer: dialogs, fonts, log viewer, folder picker.
Definition at line 109 of file AppState.h.
|
inline |
Returns a reference to the open flag for a named panel. Missing entries are inserted as true (open by default).
Definition at line 121 of file AppState.h.
| std::vector<FontEntry> UIState::availableFonts |
Definition at line 135 of file AppState.h.
| float UIState::dpiScale = 1.0f |
Definition at line 137 of file AppState.h.
| std::filesystem::path UIState::folderPickerCurrent |
Definition at line 140 of file AppState.h.
| std::vector<std::filesystem::path> UIState::folderPickerEntries |
Definition at line 141 of file AppState.h.
| bool UIState::folderPickerNeedsRefresh = true |
Definition at line 142 of file AppState.h.
| bool UIState::fontsDirty = false |
Definition at line 136 of file AppState.h.
| bool UIState::importPopupJustOpened = false |
Definition at line 132 of file AppState.h.
| bool UIState::logAutoScroll = true |
Definition at line 146 of file AppState.h.
| std::vector<std::string> UIState::logLines |
Definition at line 145 of file AppState.h.
| bool UIState::logNeedsReload = true |
Definition at line 147 of file AppState.h.
| std::unordered_map<std::string, bool> UIState::panelOpen |
Definition at line 117 of file AppState.h.
| bool UIState::showAboutDialog = false |
Definition at line 112 of file AppState.h.
| bool UIState::showFolderPicker = false |
Definition at line 129 of file AppState.h.
| bool UIState::showImportDialog = false |
Definition at line 128 of file AppState.h.
| bool UIState::showLanguageDialog = false |
Definition at line 113 of file AppState.h.