summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textfield.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/textfield.h')
-rw-r--r--src/gui/widgets/textfield.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gui/widgets/textfield.h b/src/gui/widgets/textfield.h
index 675e9761d..abff9cf2a 100644
--- a/src/gui/widgets/textfield.h
+++ b/src/gui/widgets/textfield.h
@@ -131,6 +131,10 @@ class TextField : public gcn::TextField,
void moveCaretForward();
+ void moveCaretWordBack();
+
+ void moveCaretWordForward();
+
void caretDelete();
void caretDeleteToStart();
@@ -146,6 +150,14 @@ class TextField : public gcn::TextField,
bool mSendAlwaysEvents;
+ bool handleNormalKeys(const int action, bool &consumed);
+
+ void handleCtrlKeys(const int action, bool &consumed);
+
+#ifndef USE_SDL2
+ void handleSDLKeys(const int val, bool &consumed);
+#endif
+
static Skin *mSkin;
private: