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/windows | |
parent | b072723595e729eed79199f246439ffed62cdbb5 (diff) | |
download | mv-d7c67fa2b6faa3e81269244224da4b72f045d659.tar.gz mv-d7c67fa2b6faa3e81269244224da4b72f045d659.tar.bz2 mv-d7c67fa2b6faa3e81269244224da4b72f045d659.tar.xz mv-d7c67fa2b6faa3e81269244224da4b72f045d659.zip |
Convert ProgressColorId enum into strong typed enum.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/ministatuswindow.cpp | 5 | ||||
-rw-r--r-- | src/gui/windows/ministatuswindow.h | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp index 96901249e..7d0e030b3 100644 --- a/src/gui/windows/ministatuswindow.cpp +++ b/src/gui/windows/ministatuswindow.cpp @@ -173,9 +173,10 @@ MiniStatusWindow::~MiniStatusWindow() } ProgressBar *MiniStatusWindow::createBar(const float progress, - const int width, const int height, + const int width, + const int height, const int textColor, - const int backColor, + const ProgressColorIdT backColor, const std::string &restrict skin, const std::string &restrict skinFill, const std::string &restrict name, diff --git a/src/gui/windows/ministatuswindow.h b/src/gui/windows/ministatuswindow.h index bd1e6a393..2edb8e66e 100644 --- a/src/gui/windows/ministatuswindow.h +++ b/src/gui/windows/ministatuswindow.h @@ -110,8 +110,10 @@ class MiniStatusWindow final : public Window, bool isInBar(ProgressBar *bar, int x, int y) const; ProgressBar *createBar(const float progress, - const int width, const int height, - const int textColor, const int backColor, + const int width, + const int height, + const int textColor, + const ProgressColorIdT backColor, const std::string &restrict skin, const std::string &restrict skinFill, const std::string &restrict name, |