diff options
author | Darkvater <Darkvater@openttd.org> | 2006-12-29 17:54:47 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-12-29 17:54:47 +0000 |
commit | a7f2b8095f09bc0d032f0c6f0d35c41c26e95bda (patch) | |
tree | 74ccb73656b5133e8ffcd6d610d5fd1ff7615e4a /window.h | |
parent | 324e805d5153efcb1c44c1998cfd92b20fb7c2cc (diff) | |
download | openttd-a7f2b8095f09bc0d032f0c6f0d35c41c26e95bda.tar.xz |
(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.
Diffstat (limited to 'window.h')
-rw-r--r-- | window.h | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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 */ |