diff options
author | frosch <frosch@openttd.org> | 2013-03-17 13:05:18 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-03-17 13:05:18 +0000 |
commit | 1ddf5a0786a59431c3092673fd65a7a8aca755a3 (patch) | |
tree | c58bd7ce5668a594ed54e7cdea41dcbccaae7cac /src/textbuf_type.h | |
parent | 19b18d782247690048420a55a2ec37127c02feb8 (diff) | |
download | openttd-1ddf5a0786a59431c3092673fd65a7a8aca755a3.tar.xz |
(svn r25091) -Codechange: Call keycodes by their name.
Diffstat (limited to 'src/textbuf_type.h')
-rw-r--r-- | src/textbuf_type.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/textbuf_type.h b/src/textbuf_type.h index 2582d1e25..e467a70da 100644 --- a/src/textbuf_type.h +++ b/src/textbuf_type.h @@ -36,10 +36,12 @@ struct Textbuf { void CDECL Print(const char *format, ...) WARN_FORMAT(2, 3); void DeleteAll(); - bool DeleteChar(int delmode); - bool InsertChar(uint32 key); bool InsertClipboard(); - bool MovePos(int navmode); + + bool InsertChar(uint32 key); + + bool DeleteChar(uint16 keycode); + bool MovePos(uint16 keycode); bool HandleCaret(); void UpdateSize(); |