summaryrefslogtreecommitdiff
path: root/src/gui/textfield.h
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-09-20 22:17:21 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-09-20 22:17:21 +0000
commit7b67e852086ad3ccd98a622f890b245ab6a0a321 (patch)
treef7341709ff3119209cc69bb114aec5ff95447d8a /src/gui/textfield.h
parent9cfafa755012bfd68c661996ddaea76e2e265f81 (diff)
downloadmana-7b67e852086ad3ccd98a622f890b245ab6a0a321.tar.gz
mana-7b67e852086ad3ccd98a622f890b245ab6a0a321.tar.bz2
mana-7b67e852086ad3ccd98a622f890b245ab6a0a321.tar.xz
mana-7b67e852086ad3ccd98a622f890b245ab6a0a321.zip
Added support for unicode charset in textfields and chat.
Diffstat (limited to 'src/gui/textfield.h')
-rw-r--r--src/gui/textfield.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/textfield.h b/src/gui/textfield.h
index 4748830c..e36380e3 100644
--- a/src/gui/textfield.h
+++ b/src/gui/textfield.h
@@ -55,6 +55,11 @@ class TextField : public gcn::TextField {
*/
void drawBorder(gcn::Graphics *graphics);
+ /**
+ * Processes one keypress.
+ */
+ void keyPressed(gcn::KeyEvent &keyEvent);
+
private:
static int instances;
static ImageRect skin;