From 78f40e3833b69b987678c66685ee9338d71806eb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 16 Nov 2013 19:53:58 +0300 Subject: fix gui shortcuts in SDL2 text fields. --- src/gui/widgets/textfield.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/gui/widgets/textfield.h') diff --git a/src/gui/widgets/textfield.h b/src/gui/widgets/textfield.h index 70a722e53..3942d610a 100644 --- a/src/gui/widgets/textfield.h +++ b/src/gui/widgets/textfield.h @@ -126,6 +126,16 @@ class TextField : public gcn::TextField, void focusLost(const gcn::Event &event) override; + void moveCaretBack(); + + void moveCaretForward(); + + void caretDelete(); + + void caretDeleteToStart(); + + void caretDeleteWord(); + protected: void drawCaret(gcn::Graphics* graphics, int x) override final; -- cgit v1.2.3-60-g2f50