diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-31 14:23:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-31 14:23:11 +0300 |
commit | d7c67fa2b6faa3e81269244224da4b72f045d659 (patch) | |
tree | 596010d034e44ff46eabccca3c77d995626fca88 /src/gui/theme.h | |
parent | b072723595e729eed79199f246439ffed62cdbb5 (diff) | |
download | manaplus-d7c67fa2b6faa3e81269244224da4b72f045d659.tar.gz manaplus-d7c67fa2b6faa3e81269244224da4b72f045d659.tar.bz2 manaplus-d7c67fa2b6faa3e81269244224da4b72f045d659.tar.xz manaplus-d7c67fa2b6faa3e81269244224da4b72f045d659.zip |
Convert ProgressColorId enum into strong typed enum.
Diffstat (limited to 'src/gui/theme.h')
-rw-r--r-- | src/gui/theme.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/theme.h b/src/gui/theme.h index 3d0c21998..edbe31a08 100644 --- a/src/gui/theme.h +++ b/src/gui/theme.h @@ -25,6 +25,8 @@ #ifndef GUI_THEME_H #define GUI_THEME_H +#include "enums/gui/progresscolorid.h" + #include "listeners/configlistener.h" #include "render/graphics.h" @@ -91,7 +93,7 @@ class Theme final : public Palette, const int w, const int h)A_WARN_UNUSED; - static Color getProgressColor(const int type, + static Color getProgressColor(const ProgressColorIdT type, const float progress) A_WARN_UNUSED; /** |