26 bool InsertTextBufferClipboard(Textbuf *tb); |
26 bool InsertTextBufferClipboard(Textbuf *tb); |
27 bool MoveTextBufferPos(Textbuf *tb, int navmode); |
27 bool MoveTextBufferPos(Textbuf *tb, int navmode); |
28 void InitializeTextBuffer(Textbuf *tb, const char *buf, uint16 maxlength, uint16 maxwidth); |
28 void InitializeTextBuffer(Textbuf *tb, const char *buf, uint16 maxlength, uint16 maxwidth); |
29 void UpdateTextBufferSize(Textbuf *tb); |
29 void UpdateTextBufferSize(Textbuf *tb); |
30 |
30 |
|
31 typedef void QueryCallbackProc(Window*, bool); |
|
32 |
31 void ShowQueryString(StringID str, StringID caption, uint maxlen, uint maxwidth, Window *parent, CharSetFilter afilter); |
33 void ShowQueryString(StringID str, StringID caption, uint maxlen, uint maxwidth, Window *parent, CharSetFilter afilter); |
32 void ShowQuery(StringID caption, StringID message, Window *w, void (*callback)(Window*, bool)); |
34 void ShowQuery(StringID caption, StringID message, Window *w, QueryCallbackProc *callback); |
33 |
35 |
34 /** The number of 'characters' on the on-screen keyboard. */ |
36 /** The number of 'characters' on the on-screen keyboard. */ |
35 static const uint OSK_KEYBOARD_ENTRIES = 50; |
37 static const uint OSK_KEYBOARD_ENTRIES = 50; |
36 |
38 |
37 /** |
39 /** |