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 | c03cb2c8dbc83119dc811f65ed2a48cdeb3e6f2b (patch) | |
tree | f4c661f7c16cd7e6a54b5db9b261dbabb7f187ed /src/industry_gui.cpp | |
parent | f01f2c3a666361f5859b8684ab9e937b2ec8a5d9 (diff) | |
download | openttd-c03cb2c8dbc83119dc811f65ed2a48cdeb3e6f2b.tar.xz |
(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r-- | src/industry_gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp index 7b98af0be..12f985457 100644 --- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -363,7 +363,7 @@ static const Widget _build_dynamic_industry_widgets[] = { }; static const WindowDesc _build_industry_dynamic_desc = { - WDP_AUTO, WDP_AUTO, 170, 212, + WDP_AUTO, WDP_AUTO, 170, 212, 170, 212, WC_BUILD_INDUSTRY, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_RESIZABLE, _build_dynamic_industry_widgets, @@ -598,7 +598,7 @@ static const Widget _industry_view_widgets[] = { }; static const WindowDesc _industry_view_desc = { - WDP_AUTO, WDP_AUTO, 260, 160, + WDP_AUTO, WDP_AUTO, 260, 160, 260, 160, WC_INDUSTRY_VIEW, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, _industry_view_widgets, @@ -855,7 +855,7 @@ static void IndustryDirectoryWndProc(Window *w, WindowEvent *e) /* Industry List */ static const WindowDesc _industry_directory_desc = { - WDP_AUTO, WDP_AUTO, 508, 190, + WDP_AUTO, WDP_AUTO, 508, 190, 508, 190, WC_INDUSTRY_DIRECTORY, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE, _industry_directory_widgets, |