summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-05-26 19:30:07 +0000
committerfrosch <frosch@openttd.org>2013-05-26 19:30:07 +0000
commit4e4e635916d7852c0da9a53edd2d510080922ed5 (patch)
tree3131851c69f879767d377c68d8e7c8a3f9910a9a /src/network
parent559b7ef35eb4896e4f2e35d2dc8afb3d86519c3e (diff)
downloadopenttd-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/network')
-rw-r--r--src/network/network_content_gui.cpp1
-rw-r--r--src/network/network_gui.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp
index 619526c17..4a23f95d5 100644
--- a/src/network/network_content_gui.cpp
+++ b/src/network/network_content_gui.cpp
@@ -960,6 +960,7 @@ static const NWidgetPart _nested_network_content_list_widgets[] = {
NWidget(NWID_HORIZONTAL),
NWidget(WWT_CLOSEBOX, COLOUR_LIGHT_BLUE),
NWidget(WWT_CAPTION, COLOUR_LIGHT_BLUE), SetDataTip(STR_CONTENT_TITLE, STR_NULL),
+ NWidget(WWT_DEFSIZEBOX, COLOUR_LIGHT_BLUE),
EndContainer(),
NWidget(WWT_PANEL, COLOUR_LIGHT_BLUE, WID_NCL_BACKGROUND),
NWidget(NWID_SPACER), SetMinimalSize(0, 7), SetResize(1, 0),
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 56cc35e4e..ca66a9bb3 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -924,6 +924,7 @@ static const NWidgetPart _nested_network_game_widgets[] = {
NWidget(NWID_HORIZONTAL),
NWidget(WWT_CLOSEBOX, COLOUR_LIGHT_BLUE),
NWidget(WWT_CAPTION, COLOUR_LIGHT_BLUE), SetDataTip(STR_NETWORK_SERVER_LIST_CAPTION, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS),
+ NWidget(WWT_DEFSIZEBOX, COLOUR_LIGHT_BLUE),
EndContainer(),
NWidget(WWT_PANEL, COLOUR_LIGHT_BLUE, WID_NG_MAIN),
NWidget(NWID_VERTICAL), SetPIP(10, 7, 0),