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
commitd0a0d6fcb5193c2b0a3b744147332ec2b24f213e (patch)
treeb3abbef3ec0c78027bf6b01ef5ca1b7b224c77fe /gui.h
parent0cd53574ec659e283a0029f6cd037ffd66999e60 (diff)
downloadopenttd-d0a0d6fcb5193c2b0a3b744147332ec2b24f213e.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);