summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/ministatuswindow.cpp5
-rw-r--r--src/gui/windows/ministatuswindow.h6
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,