about summary refs log tree commit diff
path: root/src/game/client/lineinput.hpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2009-06-13 08:22:37 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2009-06-13 08:22:37 +0000
commit69511102de9b0f3ec6ad555baf2a01d9ee1c3dfd (patch)
treeebef66e5ab0cfd16e96026d8ac8d5a708eb68219 /src/game/client/lineinput.hpp
parent9254ca61f1e459cbaf137ce4511332365da9c225 (diff)
downloadzcatch-69511102de9b0f3ec6ad555baf2a01d9ee1c3dfd.tar.gz
zcatch-69511102de9b0f3ec6ad555baf2a01d9ee1c3dfd.zip
improved the font system even futher. utf8 is now used everywhere. it uses less memory as well
Diffstat (limited to 'src/game/client/lineinput.hpp')
-rw-r--r--src/game/client/lineinput.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/client/lineinput.hpp b/src/game/client/lineinput.hpp
index 80ef3c52..75b2bd1d 100644
--- a/src/game/client/lineinput.hpp
+++ b/src/game/client/lineinput.hpp
@@ -5,9 +5,11 @@
 class LINEINPUT
 {
 	char str[256];
-	unsigned len;
-	unsigned cursor_pos;
+	int len;
+	int cursor_pos;
 public:
+	static void manipulate(INPUT_EVENT e, char *str, int str_max_size, int *str_len, int *cursor_pos);
+
 	class CALLBACK
 	{
 	public: