summaryrefslogtreecommitdiff
path: root/src/gui/npc.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-10-20 11:33:17 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-10-20 11:33:17 +0000
commitce2813cb1f4988669422c6af3e8c4442776e45c8 (patch)
tree098177c279f5376bd27d4db30f913f6e61471537 /src/gui/npc.h
parent5acb9213cc2ee949a252a5c08a9a9a13542b94d5 (diff)
downloadmana-client-ce2813cb1f4988669422c6af3e8c4442776e45c8.tar.gz
mana-client-ce2813cb1f4988669422c6af3e8c4442776e45c8.tar.bz2
mana-client-ce2813cb1f4988669422c6af3e8c4442776e45c8.tar.xz
mana-client-ce2813cb1f4988669422c6af3e8c4442776e45c8.zip
Added garbage collection to the ScrollArea class. Fixed slider not being updated in the item amount box when the buttons are used.
Diffstat (limited to 'src/gui/npc.h')
-rw-r--r--src/gui/npc.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/gui/npc.h b/src/gui/npc.h
index e9960cd2..6ab49138 100644
--- a/src/gui/npc.h
+++ b/src/gui/npc.h
@@ -51,11 +51,6 @@ class NpcListDialog : public Window, public gcn::ActionListener,
NpcListDialog();
/**
- * Destructor.
- */
- ~NpcListDialog();
-
- /**
* Called when receiving actions from the widgets.
*/
void
@@ -88,14 +83,9 @@ class NpcListDialog : public Window, public gcn::ActionListener,
reset();
private:
- gcn::Button *okButton;
- gcn::Button *cancelButton;
- gcn::ListBox *itemList;
- gcn::ScrollArea *scrollArea;
+ gcn::ListBox *mItemList;
std::vector<std::string> items;
};
-extern NpcListDialog *npcListDialog;
-
#endif