summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textfield.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2009-10-31 15:42:28 +0200
committerBlue <bluesansdouze@gmail.com>2010-01-07 23:12:10 +0100
commitbe5460f2a294bb8e50b40f498f29a556b31bedd7 (patch)
tree5256167e0b8487fdb2c49090986cc883614fb9b1 /src/gui/widgets/textfield.h
parent84da747711ed1713984ca514a8bb786219a85d9b (diff)
downloadmana-be5460f2a294bb8e50b40f498f29a556b31bedd7.tar.gz
mana-be5460f2a294bb8e50b40f498f29a556b31bedd7.tar.bz2
mana-be5460f2a294bb8e50b40f498f29a556b31bedd7.tar.xz
mana-be5460f2a294bb8e50b40f498f29a556b31bedd7.zip
Chat auto completing
Diffstat (limited to 'src/gui/widgets/textfield.h')
-rw-r--r--src/gui/widgets/textfield.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/textfield.h b/src/gui/widgets/textfield.h
index 9130e441..e101e112 100644
--- a/src/gui/widgets/textfield.h
+++ b/src/gui/widgets/textfield.h
@@ -38,8 +38,7 @@ class TextField : public gcn::TextField
/**
* Constructor, initializes the text field with the given string.
*/
- TextField(const std::string &text = "");
-
+ TextField(const std::string &text = "", bool loseFocusOnTab = true);
~TextField();
/**
@@ -98,6 +97,7 @@ class TextField : public gcn::TextField
bool mNumeric;
int mMinimum;
int mMaximum;
+ bool mLoseFocusOnTab;
};
#endif