(svn r7621) -Codechange: Rework ShowQuery into a general modal popup window. It gets passed
a parent pointer which will be blocked as long as the popup is open. This applies to newgrf-apply, heightmap warning, genworld progress.
This commit is contained in:
10
window.h
10
window.h
@@ -350,16 +350,6 @@ typedef struct querystr_d {
|
||||
} querystr_d;
|
||||
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(querystr_d));
|
||||
|
||||
typedef struct query_d {
|
||||
StringID caption;
|
||||
StringID message;
|
||||
WindowClass wnd_class;
|
||||
WindowNumber wnd_num;
|
||||
void (*ok_cancel_callback)(bool ok_clicked);
|
||||
bool calledback;
|
||||
} query_d;
|
||||
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(query_d));
|
||||
|
||||
typedef struct {
|
||||
byte item_count; /* follow_vehicle */
|
||||
byte sel_index; /* scrollpos_x */
|
||||
|
||||
Reference in New Issue
Block a user