diff options
Diffstat (limited to 'src/gui/npc.h')
-rw-r--r-- | src/gui/npc.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/gui/npc.h b/src/gui/npc.h index 336bad62..e9960cd2 100644 --- a/src/gui/npc.h +++ b/src/gui/npc.h @@ -58,29 +58,34 @@ class NpcListDialog : public Window, public gcn::ActionListener, /** * Called when receiving actions from the widgets. */ - void action(const std::string& eventId); + void + action(const std::string& eventId); /** * 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); /** * Fills the options list for an NPC dialog. * - * @param string A string with the options separated with colons. + * @param itemString A string with the options separated with colons. */ - void parseItems(const char *string, unsigned short len); + void + parseItems(const std::string &itemString); /** * Resets the list by removing all items. */ - void reset(); + void + reset(); private: gcn::Button *okButton; |