From d7c67fa2b6faa3e81269244224da4b72f045d659 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 31 May 2015 14:23:11 +0300 Subject: Convert ProgressColorId enum into strong typed enum. --- src/gui/theme.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui/theme.h') 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; /** -- cgit v1.2.3-60-g2f50