Allow using ShowQuery with std::string texts

This commit is contained in:
Jonathan G Rennison
2023-05-14 12:46:07 +01:00
parent b8f2d96250
commit b26d91770f
2 changed files with 64 additions and 13 deletions

View File

@@ -30,6 +30,7 @@ typedef void QueryCallbackProc(Window*, bool);
void ShowQueryString(StringID str, StringID caption, uint max_len, Window *parent, CharSetFilter afilter, QueryStringFlags flags);
void ShowQuery(StringID caption, StringID message, Window *w, QueryCallbackProc *callback);
void ShowQuery(std::string caption, std::string message, Window *parent, QueryCallbackProc *callback);
/** The number of 'characters' on the on-screen keyboard. */
static const uint OSK_KEYBOARD_ENTRIES = 50;