diff options
Diffstat (limited to 'src/gui/npc_text.h')
-rw-r--r-- | src/gui/npc_text.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gui/npc_text.h b/src/gui/npc_text.h index f030115b..011c7bcf 100644 --- a/src/gui/npc_text.h +++ b/src/gui/npc_text.h @@ -77,11 +77,24 @@ class NpcTextDialog : public Window, public gcn::ActionListener void showCloseButton(); + /** + * Notifies the server that the client has performed a next action. + */ void nextDialog(int npcID = current_npc); + /** + * Notifies the server that the client has performed a close action. + */ void closeDialog(int npcID = current_npc); /** + * Initializes window width to the last known setting. Since the dialog + * doesn't need any extra focus outside of what it's given in the Game + * class, this is all it does for now. + */ + void requestFocus(); + + /** * Called when resizing the window. * * @param event The calling event |