summaryrefslogtreecommitdiff
path: root/src/gui/theme.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-31 14:23:11 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-31 14:23:11 +0300
commitd7c67fa2b6faa3e81269244224da4b72f045d659 (patch)
tree596010d034e44ff46eabccca3c77d995626fca88 /src/gui/theme.h
parentb072723595e729eed79199f246439ffed62cdbb5 (diff)
downloadplus-d7c67fa2b6faa3e81269244224da4b72f045d659.tar.gz
plus-d7c67fa2b6faa3e81269244224da4b72f045d659.tar.bz2
plus-d7c67fa2b6faa3e81269244224da4b72f045d659.tar.xz
plus-d7c67fa2b6faa3e81269244224da4b72f045d659.zip
Convert ProgressColorId enum into strong typed enum.
Diffstat (limited to 'src/gui/theme.h')
-rw-r--r--src/gui/theme.h4
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;
/**