From 27c42e6505a99a0464361aca0fb6e23dce9b863e Mon Sep 17 00:00:00 2001 From: Aaron Marks Date: Thu, 5 May 2005 09:18:49 +0000 Subject: - Equipped items now listed in inventory as "Eq.". - Depending on whether selected inventory is equipment or item the button which was previously only labeled "Use" will be labelled either: "Use", "Equip" or "Unequip". --- src/gui/itemcontainer.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/itemcontainer.cpp') diff --git a/src/gui/itemcontainer.cpp b/src/gui/itemcontainer.cpp index 61e9383f..fd3020d4 100644 --- a/src/gui/itemcontainer.cpp +++ b/src/gui/itemcontainer.cpp @@ -89,6 +89,8 @@ void ItemContainer::draw(gcn::Graphics* graphics) std::stringstream ss; if(!items[i].equipped) ss << items[i].quantity; + else + ss << "Eq."; graphics->drawText(ss.str(), itemX + 12, itemY + 16, -- cgit v1.2.3-70-g09d2