aboutsummaryrefslogtreecommitdiff
path: root/src/core/theme_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/theme_manager.h')
-rw-r--r--src/core/theme_manager.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/core/theme_manager.h b/src/core/theme_manager.h
new file mode 100644
index 0000000..d067906
--- /dev/null
+++ b/src/core/theme_manager.h
@@ -0,0 +1,27 @@
+#pragma once
+
+#include <imgui.h>
+
+namespace Donut
+{
+ enum class Theme
+ {
+ Dark = 0,
+ Light = 1,
+ Blue = 2
+ };
+
+ class ThemeManager
+ {
+ public:
+ static auto set_theme(Theme theme) -> void;
+ static auto get_current_theme() -> Theme { return s_current_theme; }
+
+ static auto apply_dark_theme() -> void;
+ static auto apply_light_theme() -> void;
+ static auto apply_blue_theme() -> void;
+
+ private:
+ static Theme s_current_theme;
+ };
+}