|
WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
|
Enumerations | |
| enum | Theme { Dark = 0 , Light , UE5 , Count } |
Functions | |
| static void | updateTitleBarColor (Theme theme, GLFWwindow *window) |
| void | apply (Theme theme, GLFWwindow *window) |
| Theme | currentTheme () noexcept |
| Currently active theme index. | |
| int & | currentThemeRef () noexcept |
| Writable reference so ImGui::Combo can bind directly. | |
| const char * | themeName (int index) noexcept |
| Human-readable name for a theme. | |
| const char *const * | themeNames () noexcept |
| Pointer to the contiguous name array (for ImGui::Combo items). | |
| constexpr int | themeCount () noexcept |
| Number of available themes. | |
Variables | |
| static int | s_currentTheme = static_cast<int>(UE5) |
| static const char * | s_themeNames [] |
| enum ThemeManager::Theme |
| Enumerator | |
|---|---|
| Dark | |
| Light | |
| UE5 | |
| Count | |
Definition at line 8 of file ThemeManager.h.
| void ThemeManager::apply | ( | Theme | theme, |
| GLFWwindow * | window | ||
| ) |
Apply the given theme to the current ImGui context and update the native title-bar colour on Windows. Pass the GLFW window so the DWM caption colour can be set (may be nullptr if unavailable).
Definition at line 61 of file ThemeManager.cpp.
|
noexcept |
Currently active theme index.
Definition at line 232 of file ThemeManager.cpp.
|
noexcept |
Writable reference so ImGui::Combo can bind directly.
Definition at line 237 of file ThemeManager.cpp.
|
constexprnoexcept |
Number of available themes.
Definition at line 34 of file ThemeManager.h.
|
noexcept |
Human-readable name for a theme.
Definition at line 242 of file ThemeManager.cpp.
|
noexcept |
Pointer to the contiguous name array (for ImGui::Combo items).
Definition at line 249 of file ThemeManager.cpp.
|
static |
|
static |
Definition at line 20 of file ThemeManager.cpp.
|
static |
Definition at line 22 of file ThemeManager.cpp.