Mercurial > minori
comparison include/gui/theme.h @ 369:47c9f8502269
*: clang-format all the things
I've edited the formatting a bit. Now pointer asterisks (and reference
ampersands) are on the variable instead of the type, as well as having
newlines for function braces (but nothing else)
author | Paper <paper@tflc.us> |
---|---|
date | Fri, 25 Jul 2025 10:16:02 -0400 |
parents | 657fda1b9cac |
children |
comparison
equal
deleted
inserted
replaced
368:6d37a998cf91 | 369:47c9f8502269 |
---|---|
9 Default, | 9 Default, |
10 Light, | 10 Light, |
11 Dark | 11 Dark |
12 }; | 12 }; |
13 | 13 |
14 constexpr std::array<Theme, 3> Themes{ | 14 constexpr std::array<Theme, 3> Themes{Theme::Default, Theme::Light, Theme::Dark}; |
15 Theme::Default, | |
16 Theme::Light, | |
17 Theme::Dark | |
18 }; | |
19 | 15 |
20 class ThemeManager final { | 16 class ThemeManager final { |
21 public: | 17 public: |
22 ThemeManager(Theme theme = Theme::Default); | 18 ThemeManager(Theme theme = Theme::Default); |
23 void SetTheme(Theme theme); | 19 void SetTheme(Theme theme); |