summaryrefslogtreecommitdiff
path: root/src/window_func.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-04-03 20:09:41 +0000
committerfrosch <frosch@openttd.org>2012-04-03 20:09:41 +0000
commit946749fb0187fae0cd349bd8de054d1241f99eb7 (patch)
tree5b82b683f88ea91aac81d94a90427ab02d039aaf /src/window_func.h
parent1e8e911577ec1249cdb0c372608b77b4cf3edafd (diff)
downloadopenttd-946749fb0187fae0cd349bd8de054d1241f99eb7.tar.xz
(svn r24089) -Fix [FS#5136]: Conflicting strategies for resizing the main toolbar and statusbar after resizing the main window.
Diffstat (limited to 'src/window_func.h')
-rw-r--r--src/window_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_func.h b/src/window_func.h
index d430c0ccd..704885b9a 100644
--- a/src/window_func.h
+++ b/src/window_func.h
@@ -19,7 +19,7 @@ Window *FindWindowById(WindowClass cls, WindowNumber number);
Window *FindWindowByClass(WindowClass cls);
void ChangeWindowOwner(Owner old_owner, Owner new_owner);
-void ResizeWindow(Window *w, int x, int y);
+void ResizeWindow(Window *w, int x, int y, bool clamp_to_screen = true);
int PositionMainToolbar(Window *w);
int PositionStatusbar(Window *w);
int PositionNewsMessage(Window *w);