summaryrefslogtreecommitdiff
path: root/src/gui/windows/statuswindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-09 14:12:04 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-09 14:12:04 +0300
commitea84eba2562bfb87ecbc469000082d022b209505 (patch)
tree2b669cbcebfbd4e759b85ec63e49c03834682f64 /src/gui/windows/statuswindow.cpp
parent28999e7571b66733dcf0ddbc7e376c2c3fc1bfae (diff)
downloadplus-ea84eba2562bfb87ecbc469000082d022b209505.tar.gz
plus-ea84eba2562bfb87ecbc469000082d022b209505.tar.bz2
plus-ea84eba2562bfb87ecbc469000082d022b209505.tar.xz
plus-ea84eba2562bfb87ecbc469000082d022b209505.zip
Add text colors for xp bar.
New theme colors: XP_BAR, XP_BAR_OUTLINE
Diffstat (limited to 'src/gui/windows/statuswindow.cpp')
-rw-r--r--src/gui/windows/statuswindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp
index bf93efbee..2f3d5f1e0 100644
--- a/src/gui/windows/statuswindow.cpp
+++ b/src/gui/windows/statuswindow.cpp
@@ -199,6 +199,8 @@ StatusWindow::StatusWindow() :
static_cast<float>(PlayerInfo::getAttribute(PlayerInfo::EXP))
/ static_cast<float>(max):
static_cast<float>(0), 80, 0, Theme::PROG_EXP);
+ mXpBar->setColor(Theme::getThemeColor(Theme::XP_BAR),
+ Theme::getThemeColor(Theme::XP_BAR_OUTLINE));
const bool magicBar = Net::getGameHandler()->canUseMagicBar();
const int job = Net::getPlayerHandler()->getJobLocation()