diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-09 13:35:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-09 13:35:16 +0300 |
commit | 7cccaaa192c2ed274b3aa9d26788479f6fbed611 (patch) | |
tree | ac634bb89f01c89ec4d1b53d7f2881e00231916d /src/gui/windows/statuswindow.cpp | |
parent | 087576e8e9e7c1555f6cabe9d34317bdddff2c78 (diff) | |
download | manaverse-7cccaaa192c2ed274b3aa9d26788479f6fbed611.tar.gz manaverse-7cccaaa192c2ed274b3aa9d26788479f6fbed611.tar.bz2 manaverse-7cccaaa192c2ed274b3aa9d26788479f6fbed611.tar.xz manaverse-7cccaaa192c2ed274b3aa9d26788479f6fbed611.zip |
Add text colors for hp bar.
New theme colors: HP_BAR, HP_BAR_OUTLINE
Diffstat (limited to 'src/gui/windows/statuswindow.cpp')
-rw-r--r-- | src/gui/windows/statuswindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp index 5d90ad078..19d862443 100644 --- a/src/gui/windows/statuswindow.cpp +++ b/src/gui/windows/statuswindow.cpp @@ -191,6 +191,8 @@ StatusWindow::StatusWindow() : mHpBar = new ProgressBar(this, static_cast<float>(PlayerInfo::getAttribute( PlayerInfo::HP)) / static_cast<float>(max), 80, 0, Theme::PROG_HP); + mHpBar->setColor(Theme::getThemeColor(Theme::HP_BAR), + Theme::getThemeColor(Theme::HP_BAR_OUTLINE)); max = PlayerInfo::getAttribute(PlayerInfo::EXP_NEEDED); mXpBar = new ProgressBar(this, max ? |