summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-12-29 17:54:47 +0000
committerDarkvater <Darkvater@openttd.org>2006-12-29 17:54:47 +0000
commita7f2b8095f09bc0d032f0c6f0d35c41c26e95bda (patch)
tree74ccb73656b5133e8ffcd6d610d5fd1ff7615e4a /window.h
parent324e805d5153efcb1c44c1998cfd92b20fb7c2cc (diff)
downloadopenttd-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.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/window.h b/window.h
index 39a648abe..c3bb043f2 100644
--- a/window.h
+++ b/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 */