Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00012 #ifndef TEXTBUF_GUI_H
00013 #define TEXTBUF_GUI_H
00014
00015 #include "window_type.h"
00016 #include "string_type.h"
00017 #include "strings_type.h"
00018
00020 enum QueryStringFlags {
00021 QSF_NONE = 0,
00022 QSF_ACCEPT_UNCHANGED = 0x01,
00023 QSF_ENABLE_DEFAULT = 0x02,
00024 QSF_LEN_IN_CHARS = 0x04,
00025 };
00026
00027 DECLARE_ENUM_AS_BIT_SET(QueryStringFlags)
00028
00029
00030 typedef void QueryCallbackProc(Window*, bool);
00031
00032 void ShowQueryString(StringID str, StringID caption, uint max_len, Window *parent, CharSetFilter afilter, QueryStringFlags flags);
00033 void ShowQuery(StringID caption, StringID message, Window *w, QueryCallbackProc *callback);
00034
00036 static const uint OSK_KEYBOARD_ENTRIES = 50;
00037
00043 extern char _keyboard_opt[2][OSK_KEYBOARD_ENTRIES * 4 + 1];
00044
00045 #endif