diff options
author | Darkvater <Darkvater@openttd.org> | 2006-10-24 22:57:44 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-10-24 22:57:44 +0000 |
commit | c8a176b73f5b77a450148f996820670b20e7ac64 (patch) | |
tree | f1b49fed0bd10b13082a8846aac259e173795f64 /gui.h | |
parent | 906ca1a217c17cc361929c44ac91022acfd680b5 (diff) | |
download | openttd-c8a176b73f5b77a450148f996820670b20e7ac64.tar.xz |
(svn r6937) -Codechange: Add an InitializeTextBuffer() function that handles setting up the
textbuffer instead of typing it out each and every time.
Diffstat (limited to 'gui.h')
-rw-r--r-- | gui.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -112,6 +112,7 @@ bool DeleteTextBufferChar(Textbuf *tb, int delmode); bool InsertTextBufferChar(Textbuf *tb, byte key); bool InsertTextBufferClipboard(Textbuf *tb); bool MoveTextBufferPos(Textbuf *tb, int navmode); +void InitializeTextBuffer(Textbuf *tb, const char *buf, uint16 maxlength, uint16 maxwidth); void UpdateTextBufferSize(Textbuf *tb); void BuildFileList(void); |