diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2009-06-13 08:22:37 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2009-06-13 08:22:37 +0000 |
| commit | 69511102de9b0f3ec6ad555baf2a01d9ee1c3dfd (patch) | |
| tree | ebef66e5ab0cfd16e96026d8ac8d5a708eb68219 /src/game/client/lineinput.hpp | |
| parent | 9254ca61f1e459cbaf137ce4511332365da9c225 (diff) | |
| download | zcatch-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.hpp | 6 |
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: |