summaryrefslogtreecommitdiff
path: root/src/textbuf_type.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-03-17 13:05:18 +0000
committerfrosch <frosch@openttd.org>2013-03-17 13:05:18 +0000
commit1ddf5a0786a59431c3092673fd65a7a8aca755a3 (patch)
treec58bd7ce5668a594ed54e7cdea41dcbccaae7cac /src/textbuf_type.h
parent19b18d782247690048420a55a2ec37127c02feb8 (diff)
downloadopenttd-1ddf5a0786a59431c3092673fd65a7a8aca755a3.tar.xz
(svn r25091) -Codechange: Call keycodes by their name.
Diffstat (limited to 'src/textbuf_type.h')
-rw-r--r--src/textbuf_type.h8
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();