diff options
Diffstat (limited to 'src/core/theme_manager.cpp')
| -rw-r--r-- | src/core/theme_manager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/theme_manager.cpp b/src/core/theme_manager.cpp index db48e12..4ae025f 100644 --- a/src/core/theme_manager.cpp +++ b/src/core/theme_manager.cpp @@ -4,7 +4,7 @@ namespace Donut { Theme ThemeManager::s_current_theme = Theme::Dark; - void ThemeManager::set_theme(Theme theme) + auto ThemeManager::set_theme(Theme theme) -> void { s_current_theme = theme; @@ -22,7 +22,7 @@ namespace Donut } } - void ThemeManager::apply_dark_theme() + auto ThemeManager::apply_dark_theme() -> void { ImGuiStyle& style = ImGui::GetStyle(); ImVec4* colors = style.Colors; @@ -111,7 +111,7 @@ namespace Donut style.DisabledAlpha = 0.6f; } - void ThemeManager::apply_light_theme() + auto ThemeManager::apply_light_theme() -> void { ImGuiStyle& style = ImGui::GetStyle(); ImVec4* colors = style.Colors; @@ -200,7 +200,7 @@ namespace Donut style.DisabledAlpha = 0.6f; } - void ThemeManager::apply_blue_theme() + auto ThemeManager::apply_blue_theme() -> void { ImGuiStyle& style = ImGui::GetStyle(); ImVec4* colors = style.Colors; |
