summaryrefslogtreecommitdiff
path: root/gui.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 /gui.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 'gui.h')
-rw-r--r--gui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui.h b/gui.h
index 888e9797c..02e57cd2e 100644
--- a/gui.h
+++ b/gui.h
@@ -127,7 +127,7 @@ void ShowBuildBridgeWindow(uint start, uint end, byte type);
void ShowBuildIndustryWindow(void);
void ShowQueryString(StringID str, StringID caption, uint maxlen, uint maxwidth, WindowClass window_class, WindowNumber window_number, CharSetFilter afilter);
-void ShowQuery(StringID caption, StringID message, void (*ok_cancel_callback)(bool ok_clicked), WindowClass window_class, WindowNumber window_number);
+void ShowQuery(StringID caption, StringID message, Window *w, void (*callback)(Window*, bool));
void ShowMusicWindow(void);
/* main_gui.c */