summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-12-07 00:47:35 +0000
committerDarkvater <darkvater@openttd.org>2006-12-07 00:47:35 +0000
commitcf385cccf3585299391aa73fad4f49a79bc88f55 (patch)
tree72c6c258e6241f045f0881bf3c4a5bcfcd95c521 /window.h
parent5f06024a2a6fd7f6fab6cc55464541090011fc65 (diff)
downloadopenttd-cf385cccf3585299391aa73fad4f49a79bc88f55.tar.xz
(svn r7409) -Codechange: Make the ResizeWindow function also available outside of window.c. This makes
it possible to programmatically resize windows specifying a delta x,y.
Diffstat (limited to 'window.h')
-rw-r--r--window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/window.h b/window.h
index 27c4097d4..ce1114e7d 100644
--- a/window.h
+++ b/window.h
@@ -630,6 +630,7 @@ Window *AllocateWindowDesc(const WindowDesc *desc);
Window *AllocateWindowDescFront(const WindowDesc *desc, int window_number);
void DrawWindowViewport(const Window *w);
+void ResizeWindow(Window *w, int x, int y);
/**
* Sets the enabled/disabled status of a widget.