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
commit18524958aa3372ad8a720e560270f69c20526149 (patch)
tree74ccb73656b5133e8ffcd6d610d5fd1ff7615e4a /window.h
parent0ca54b8ecfa5831972ff9245d40f344e9df6a972 (diff)
downloadopenttd-18524958aa3372ad8a720e560270f69c20526149.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 */