diff options
author | frosch <frosch@openttd.org> | 2013-05-26 19:30:07 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-05-26 19:30:07 +0000 |
commit | 4e4e635916d7852c0da9a53edd2d510080922ed5 (patch) | |
tree | 3131851c69f879767d377c68d8e7c8a3f9910a9a /src/fios_gui.cpp | |
parent | 559b7ef35eb4896e4f2e35d2dc8afb3d86519c3e (diff) | |
download | openttd-4e4e635916d7852c0da9a53edd2d510080922ed5.tar.xz |
(svn r25294) -Feature: Add another button to window title bars to resize the window to its default size.
Diffstat (limited to 'src/fios_gui.cpp')
-rw-r--r-- | src/fios_gui.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fios_gui.cpp b/src/fios_gui.cpp index 75a9dd2fb..c3ef3b717 100644 --- a/src/fios_gui.cpp +++ b/src/fios_gui.cpp @@ -73,6 +73,7 @@ static const NWidgetPart _nested_load_dialog_widgets[] = { NWidget(NWID_HORIZONTAL), NWidget(WWT_CLOSEBOX, COLOUR_GREY), NWidget(WWT_CAPTION, COLOUR_GREY, WID_SL_CAPTION), + NWidget(WWT_DEFSIZEBOX, COLOUR_GREY), EndContainer(), NWidget(WWT_PANEL, COLOUR_GREY, WID_SL_BACKGROUND), SetFill(1, 0), SetResize(1, 0), EndContainer(), NWidget(NWID_HORIZONTAL, NC_EQUALSIZE), @@ -115,6 +116,7 @@ static const NWidgetPart _nested_load_heightmap_dialog_widgets[] = { NWidget(NWID_HORIZONTAL), NWidget(WWT_CLOSEBOX, COLOUR_GREY), NWidget(WWT_CAPTION, COLOUR_GREY, WID_SL_CAPTION), + NWidget(WWT_DEFSIZEBOX, COLOUR_GREY), EndContainer(), NWidget(WWT_PANEL, COLOUR_GREY, WID_SL_BACKGROUND), SetFill(1, 0), SetResize(1, 0), EndContainer(), NWidget(NWID_VERTICAL), @@ -145,6 +147,7 @@ static const NWidgetPart _nested_save_dialog_widgets[] = { NWidget(NWID_HORIZONTAL), NWidget(WWT_CLOSEBOX, COLOUR_GREY), NWidget(WWT_CAPTION, COLOUR_GREY, WID_SL_CAPTION), + NWidget(WWT_DEFSIZEBOX, COLOUR_GREY), EndContainer(), NWidget(WWT_PANEL, COLOUR_GREY, WID_SL_BACKGROUND), SetFill(1, 0), SetResize(1, 0), EndContainer(), NWidget(NWID_HORIZONTAL, NC_EQUALSIZE), |