summaryrefslogtreecommitdiff
path: root/src/gui/npcdialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2010-11-18 21:01:13 +0200
committerAndrei Karas <akaras@inbox.ru>2010-11-29 22:44:48 +0200
commit2af31544b36b803f066100780d9cfc1c2b5d543a (patch)
tree2830ab3d223df8f5787eb563ef03fee469f06601 /src/gui/npcdialog.h
parent1f69108501c4bf51f3adac9ffbf7a7631fb12b9a (diff)
downloadmana-2af31544b36b803f066100780d9cfc1c2b5d543a.tar.gz
mana-2af31544b36b803f066100780d9cfc1c2b5d543a.tar.bz2
mana-2af31544b36b803f066100780d9cfc1c2b5d543a.tar.xz
mana-2af31544b36b803f066100780d9cfc1c2b5d543a.zip
Allow enter OK button key in input field.
By default OK shortcut is space key. Reviewed-by: Jaxad0127, Kage
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 a8521ce9..337da6f2 100644
--- a/src/gui/npcdialog.h
+++ b/src/gui/npcdialog.h
@@ -133,6 +133,8 @@ class NpcDialog : public Window, public gcn::ActionListener,
bool isInputFocused() const;
+ bool isTextInputFocused() const;
+
static bool isAnyInputFocused();
/**