summaryrefslogtreecommitdiff
path: root/src/gui/ministatus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/ministatus.cpp')
-rw-r--r--src/gui/ministatus.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/gui/ministatus.cpp b/src/gui/ministatus.cpp
index ed124d3b4..214a745ec 100644
--- a/src/gui/ministatus.cpp
+++ b/src/gui/ministatus.cpp
@@ -91,7 +91,10 @@ MiniStatusWindow::MiniStatusWindow():
"inventory slots bar", _("inventory slots bar"));
mMoneyBar = createBar(0, 130, 20, Theme::PROG_INVY_SLOTS,
- "money bar", _("money bar"));
+ "money bar", _("money bar"));
+
+ mArrowsBar = createBar(0, 50, 20, Theme::PROG_INVY_SLOTS,
+ "arrows bar", _("arrows bar"));
mStatusBar = createBar(100, 150, 20, Theme::PROG_EXP,
"status bar", _("status bar"));
@@ -110,6 +113,7 @@ MiniStatusWindow::MiniStatusWindow():
inv->addInventoyListener(this);
StatusWindow::updateMoneyBar(mMoneyBar);
+ StatusWindow::updateArrowsBar(mArrowsBar);
updateStatus();
}
@@ -407,6 +411,8 @@ void MiniStatusWindow::loadBars()
mInvSlotsBar->setVisible(false);
if (mMoneyBar)
mMoneyBar->setVisible(false);
+ if (mArrowsBar)
+ mArrowsBar->setVisible(false);
return;
}
@@ -451,3 +457,8 @@ void MiniStatusWindow::slotsChanged(Inventory* inventory)
if (inventory->getType() == Inventory::INVENTORY)
StatusWindow::updateInvSlotsBar(mInvSlotsBar);
}
+
+void MiniStatusWindow::updateArrows()
+{
+ StatusWindow::updateArrowsBar(mArrowsBar);
+}