diff options
author | Darkvater <darkvater@openttd.org> | 2006-12-07 00:47:35 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-12-07 00:47:35 +0000 |
commit | cf385cccf3585299391aa73fad4f49a79bc88f55 (patch) | |
tree | 72c6c258e6241f045f0881bf3c4a5bcfcd95c521 /window.h | |
parent | 5f06024a2a6fd7f6fab6cc55464541090011fc65 (diff) | |
download | openttd-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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. |