diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-04 20:39:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-04 20:39:27 +0300 |
commit | 087576e8e9e7c1555f6cabe9d34317bdddff2c78 (patch) | |
tree | f9de1d5a1c3f7f239739d39b45d99a00bd961c17 /src/gui/windows/ministatuswindow.h | |
parent | cdca37e368923c0298691847eba1c394a287e52f (diff) | |
download | plus-087576e8e9e7c1555f6cabe9d34317bdddff2c78.tar.gz plus-087576e8e9e7c1555f6cabe9d34317bdddff2c78.tar.bz2 plus-087576e8e9e7c1555f6cabe9d34317bdddff2c78.tar.xz plus-087576e8e9e7c1555f6cabe9d34317bdddff2c78.zip |
add ability to set text colors on ministatus window bars.
Also add PROGRESSBAR_OUTLINE color.
Diffstat (limited to 'src/gui/windows/ministatuswindow.h')
-rw-r--r-- | src/gui/windows/ministatuswindow.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windows/ministatuswindow.h b/src/gui/windows/ministatuswindow.h index 82ba64034..2ec31ef25 100644 --- a/src/gui/windows/ministatuswindow.h +++ b/src/gui/windows/ministatuswindow.h @@ -96,8 +96,9 @@ class MiniStatusWindow final : public Popup, private: bool isInBar(ProgressBar *bar, int x, int y) const; - ProgressBar *createBar(const float progress, const int width, - const int height, const int color, + ProgressBar *createBar(const float progress, + const int width, const int height, + const int textColor, const int backColor, const std::string &name, const std::string &description) A_WARN_UNUSED; |