(svn r6937) -Codechange: Add an InitializeTextBuffer() function that handles setting up the

textbuffer instead of typing it out each and every time.
This commit is contained in:
Darkvater
2006-10-24 22:57:44 +00:00
parent 906ca1a217
commit c8a176b73f
4 changed files with 26 additions and 31 deletions

1
gui.h
View File

@@ -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);