diff options
author | rubidium <rubidium@openttd.org> | 2007-07-27 12:49:04 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-27 12:49:04 +0000 |
commit | 13ab17bca8f57c7bf3b832963e2cc45576811fbb (patch) | |
tree | f4c661f7c16cd7e6a54b5db9b261dbabb7f187ed /src/smallmap_gui.cpp | |
parent | ff85f640db4871a197a92e283147a55c6b2e6132 (diff) | |
download | openttd-13ab17bca8f57c7bf3b832963e2cc45576811fbb.tar.xz |
(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
Diffstat (limited to 'src/smallmap_gui.cpp')
-rw-r--r-- | src/smallmap_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index 3a80677c0..2703dd67d 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -912,7 +912,7 @@ static void SmallMapWindowProc(Window *w, WindowEvent *e) } static const WindowDesc _smallmap_desc = { - WDP_AUTO, WDP_AUTO, 446, 314, + WDP_AUTO, WDP_AUTO, 446, 314, 446, 314, WC_SMALLMAP, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_RESIZABLE, _smallmap_widgets, @@ -1027,7 +1027,7 @@ static void ExtraViewPortWndProc(Window *w, WindowEvent *e) } static const WindowDesc _extra_view_port_desc = { - WDP_AUTO, WDP_AUTO, 300, 268, + WDP_AUTO, WDP_AUTO, 300, 268, 300, 268, WC_EXTRA_VIEW_PORT, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE, _extra_view_port_widgets, |