diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-11-16 19:53:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-11-16 19:53:58 +0300 |
commit | 78f40e3833b69b987678c66685ee9338d71806eb (patch) | |
tree | 8ce46cf066cef58fa003672bc2e809953196cbcf /src/gui/widgets/textfield.h | |
parent | f18489753fb66394ca3683d070d1ba7b4494deb7 (diff) | |
download | mv-78f40e3833b69b987678c66685ee9338d71806eb.tar.gz mv-78f40e3833b69b987678c66685ee9338d71806eb.tar.bz2 mv-78f40e3833b69b987678c66685ee9338d71806eb.tar.xz mv-78f40e3833b69b987678c66685ee9338d71806eb.zip |
fix gui shortcuts in SDL2 text fields.
Diffstat (limited to 'src/gui/widgets/textfield.h')
-rw-r--r-- | src/gui/widgets/textfield.h | 10 |
1 files changed, 10 insertions, 0 deletions
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; |