diff options
author | Ira Rice <irarice@gmail.com> | 2008-11-01 03:36:47 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-07 01:59:09 +0100 |
commit | 48edf44d7fafe90321e92e05cb22b300d9cad6d9 (patch) | |
tree | 319c44509c1d55b1db6e4bc1923430c0dc1eb528 /src/gui/npclistdialog.h | |
parent | b6d2aeca1439c1a929e4f4e164735ad123ca0da2 (diff) | |
download | mana-48edf44d7fafe90321e92e05cb22b300d9cad6d9.tar.gz mana-48edf44d7fafe90321e92e05cb22b300d9cad6d9.tar.bz2 mana-48edf44d7fafe90321e92e05cb22b300d9cad6d9.tar.xz mana-48edf44d7fafe90321e92e05cb22b300d9cad6d9.zip |
Made NPC dialogues resizeable.
Conflicts:
src/gui/inventorywindow.cpp
src/gui/npc_text.cpp
(cherry picked from eAthena commit 523eed88816298b1660ecb9e67db80776e4007bb)
Diffstat (limited to 'src/gui/npclistdialog.h')
-rw-r--r-- | src/gui/npclistdialog.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gui/npclistdialog.h b/src/gui/npclistdialog.h index e21f9e8c..e5e973e7 100644 --- a/src/gui/npclistdialog.h +++ b/src/gui/npclistdialog.h @@ -49,6 +49,18 @@ class NpcListDialog : public Window, public gcn::ActionListener, NpcListDialog(); /** + * Called when resizing the window + * + * @param event The calling event + */ + void widgetResized(const gcn::Event &event); + + /** + * Redraws the window + */ + void draw(); + + /** * Called when receiving actions from the widgets. */ void @@ -79,6 +91,9 @@ class NpcListDialog : public Window, public gcn::ActionListener, private: gcn::ListBox *mItemList; + gcn::ScrollArea *scrollArea; + gcn::Button *okButton; + gcn::Button *cancelButton; std::vector<std::string> mItems; }; |