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 | 18524958aa3372ad8a720e560270f69c20526149 (patch) | |
tree | 74ccb73656b5133e8ffcd6d610d5fd1ff7615e4a /gui.h | |
parent | 0ca54b8ecfa5831972ff9245d40f344e9df6a972 (diff) | |
download | openttd-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |