From 2c51c98625b225cecfb9628c30d62d4e30f7e3e1 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Thu, 25 Jan 2024 15:41:57 +0100 Subject: Ported to SDL2 --- src/gui/widgets/textfield.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gui/widgets/textfield.h') diff --git a/src/gui/widgets/textfield.h b/src/gui/widgets/textfield.h index 94cada41..bf60cbc3 100644 --- a/src/gui/widgets/textfield.h +++ b/src/gui/widgets/textfield.h @@ -26,6 +26,7 @@ #include +class TextInput; class ImageRect; class TextField; @@ -115,6 +116,11 @@ class TextField : public gcn::TextField */ void keyPressed(gcn::KeyEvent &keyEvent); + /** + * Handle text input (should possibly be new event in Guichan). + */ + void textInput(const TextInput &textInput); + /** * Set the minimum value for a range */ -- cgit v1.2.3-70-g09d2