summaryrefslogtreecommitdiff
path: root/src/gui/npcdialog.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-05-13 10:57:05 -0600
committerJared Adams <jaxad0127@gmail.com>2009-05-13 10:57:05 -0600
commit7cddbca0dcfff234b6c6f124cb91840279c36118 (patch)
treecce25bc9e93c0bb9bd5b41185d1b32e776f4c2d3 /src/gui/npcdialog.h
parentd401dcb26695bddec8c39edc8151dbe309378519 (diff)
downloadmana-7cddbca0dcfff234b6c6f124cb91840279c36118.tar.gz
mana-7cddbca0dcfff234b6c6f124cb91840279c36118.tar.bz2
mana-7cddbca0dcfff234b6c6f124cb91840279c36118.tar.xz
mana-7cddbca0dcfff234b6c6f124cb91840279c36118.zip
Allow more control of NpcDialog using the keyboard
The move up and move down keys will now let you navigate the list mode and change the value on the integer mode.
Diffstat (limited to 'src/gui/npcdialog.h')
-rw-r--r--src/gui/npcdialog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/npcdialog.h b/src/gui/npcdialog.h
index bd738e81..ecce0c62 100644
--- a/src/gui/npcdialog.h
+++ b/src/gui/npcdialog.h
@@ -141,6 +141,8 @@ class NpcDialog : public Window, public gcn::ActionListener,
*/
void integerRequest(int defaultValue = 0, int min = 0, int max = 2000);
+ void move(int amount);
+
/**
* Called when resizing the window.
*