summaryrefslogtreecommitdiff
path: root/gui.h
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2005-05-30 16:03:21 +0000
committerDarkvater <Darkvater@openttd.org>2005-05-30 16:03:21 +0000
commit53b1de7d70c92d78d3ef5d5d6021bea0bfe39073 (patch)
treeb3abbef3ec0c78027bf6b01ef5ca1b7b224c77fe /gui.h
parent2d355e0826fc32e9b40a1b0d9b623362b9ea45f5 (diff)
downloadopenttd-53b1de7d70c92d78d3ef5d5d6021bea0bfe39073.tar.xz
(svn r2385) - Feature: shortcut CTRL + U that clears the commandline of the current input-box. As requested by Tron.
Diffstat (limited to 'gui.h')
-rw-r--r--gui.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui.h b/gui.h
index f3f19b613..6ea156678 100644
--- a/gui.h
+++ b/gui.h
@@ -108,6 +108,7 @@ void HandleEditBox(Window *w, int wid);
int HandleEditBoxKey(Window *w, int wid, WindowEvent *we);
bool HandleCaret(Textbuf *tb);
+void DeleteTextBufferAll(Textbuf *tb);
bool DeleteTextBufferChar(Textbuf *tb, int delmode);
bool InsertTextBufferChar(Textbuf *tb, byte key);
bool InsertTextBufferClipboard(Textbuf *tb);