diff options
| author | hachem <im@hachem.wtf> | 2025-08-16 17:36:57 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-08-16 17:36:57 +0200 |
| commit | f7334b82e8ab8b4a36847d7f9dd2a56f29dd0cbf (patch) | |
| tree | 75cdf9b8bd802309ffc070a30af0fa72530b6d19 /src/core/theme_manager.h | |
| parent | 8f906c3139a813b9a829821944b464b3facdad59 (diff) | |
feat: themes and better UI
Diffstat (limited to 'src/core/theme_manager.h')
| -rw-r--r-- | src/core/theme_manager.h | 27 |
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..7c1a295 --- /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 void set_theme(Theme theme); + static Theme get_current_theme() { return s_current_theme; } + + static void apply_dark_theme(); + static void apply_light_theme(); + static void apply_blue_theme(); + + private: + static Theme s_current_theme; + }; +} |
