From 69511102de9b0f3ec6ad555baf2a01d9ee1c3dfd Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sat, 13 Jun 2009 08:22:37 +0000 Subject: improved the font system even futher. utf8 is now used everywhere. it uses less memory as well --- src/game/client/lineinput.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/game/client/lineinput.hpp') 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: -- cgit 1.4.1