diff options
Diffstat (limited to 'src/gui/npclistdialog.h')
-rw-r--r-- | src/gui/npclistdialog.h | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/src/gui/npclistdialog.h b/src/gui/npclistdialog.h index e5e973e7..9d970ac2 100644 --- a/src/gui/npclistdialog.h +++ b/src/gui/npclistdialog.h @@ -56,27 +56,19 @@ class NpcListDialog : public Window, public gcn::ActionListener, void widgetResized(const gcn::Event &event); /** - * Redraws the window - */ - void draw(); - - /** * Called when receiving actions from the widgets. */ - void - action(const gcn::ActionEvent &event); + void action(const gcn::ActionEvent &event); /** * Returns the number of items in the choices list. */ - int - getNumberOfElements(); + int getNumberOfElements(); /** * Returns the name of item number i of the choices list. */ - std::string - getElementAt(int i); + std::string getElementAt(int i); /** * Adds an item to the option list. @@ -86,8 +78,7 @@ class NpcListDialog : public Window, public gcn::ActionListener, /** * Resets the list by removing all items. */ - void - reset(); + void reset(); private: gcn::ListBox *mItemList; @@ -98,4 +89,4 @@ class NpcListDialog : public Window, public gcn::ActionListener, std::vector<std::string> mItems; }; -#endif +#endif // _TMW_GUI_NPCLISTDIALOG_H |