summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-20 22:47:48 -0700
committerIra Rice <irarice@gmail.com>2009-01-20 22:47:48 -0700
commit8b88dffb8222bb4c59d09e11c00b1046f93d51fe (patch)
treec8356ddf4e4c72734c5f33bab72c82ef82fc29fc /src/gui/inventorywindow.h
parentb0ff8cc281d7e7f8f3c2666d6bbe6424fec74f9c (diff)
downloadmana-client-8b88dffb8222bb4c59d09e11c00b1046f93d51fe.tar.gz
mana-client-8b88dffb8222bb4c59d09e11c00b1046f93d51fe.tar.bz2
mana-client-8b88dffb8222bb4c59d09e11c00b1046f93d51fe.tar.xz
mana-client-8b88dffb8222bb4c59d09e11c00b1046f93d51fe.zip
Reflowed inventory window to use layout code, as well as fixed the npc
list dialog to be more consistant with other windows. Also revised the skill window to default to being only as big as the number of skills listed. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/inventorywindow.h')
-rw-r--r--src/gui/inventorywindow.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h
index 922dd28f..166bf1c4 100644
--- a/src/gui/inventorywindow.h
+++ b/src/gui/inventorywindow.h
@@ -62,23 +62,8 @@ class InventoryWindow : public Window, gcn::ActionListener,
*/
Item* getSelectedItem() const;
- /**
- * Updates labels to currently selected item.
- */
- void valueChanged(const gcn::SelectionEvent &event);
-
void mouseClicked(gcn::MouseEvent &event);
- /**
- * Updates window drawing.
- */
- void draw();
-
- /**
- * Called whenever the widget changes size.
- */
- void widgetResized(const gcn::Event &event);
-
private:
void updateButtons(); /**< Updates button states. */
@@ -89,7 +74,7 @@ class InventoryWindow : public Window, gcn::ActionListener,
std::string mMaxWeight;
gcn::Button *mUseButton, *mDropButton;
gcn::ScrollArea *mInvenScroll;
- TextBox *mWeightLabel;
+ gcn::Label *mWeightLabel;
bool mItemDesc;
};