mirror of https://github.com/OpenTTD/OpenTTD
(svn r17919) -Codechange (r17849): Remove the outermost NWID_LAYERED and NWID_VERTICAL containers from the load and save nested widget parts, since they do nothing.
parent
43abc7b51d
commit
70ebe13ee8
|
@ -1652,8 +1652,6 @@ enum SaveLoadWindowWidgets {
|
||||||
};
|
};
|
||||||
|
|
||||||
static const NWidgetPart _nested_load_dialog_widgets[] = {
|
static const NWidgetPart _nested_load_dialog_widgets[] = {
|
||||||
NWidget(NWID_LAYERED),
|
|
||||||
NWidget(NWID_VERTICAL),
|
|
||||||
NWidget(NWID_HORIZONTAL),
|
NWidget(NWID_HORIZONTAL),
|
||||||
NWidget(WWT_CLOSEBOX, COLOUR_GREY, SLWW_CLOSE),
|
NWidget(WWT_CLOSEBOX, COLOUR_GREY, SLWW_CLOSE),
|
||||||
NWidget(WWT_CAPTION, COLOUR_GREY, SLWW_WINDOWTITLE),
|
NWidget(WWT_CAPTION, COLOUR_GREY, SLWW_WINDOWTITLE),
|
||||||
|
@ -1680,13 +1678,9 @@ static const NWidgetPart _nested_load_dialog_widgets[] = {
|
||||||
EndContainer(),
|
EndContainer(),
|
||||||
EndContainer(),
|
EndContainer(),
|
||||||
EndContainer(),
|
EndContainer(),
|
||||||
EndContainer(),
|
|
||||||
EndContainer(),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const NWidgetPart _nested_save_dialog_widgets[] = {
|
static const NWidgetPart _nested_save_dialog_widgets[] = {
|
||||||
NWidget(NWID_LAYERED),
|
|
||||||
NWidget(NWID_VERTICAL),
|
|
||||||
NWidget(NWID_HORIZONTAL),
|
NWidget(NWID_HORIZONTAL),
|
||||||
NWidget(WWT_CLOSEBOX, COLOUR_GREY, SLWW_CLOSE),
|
NWidget(WWT_CLOSEBOX, COLOUR_GREY, SLWW_CLOSE),
|
||||||
NWidget(WWT_CAPTION, COLOUR_GREY, SLWW_WINDOWTITLE),
|
NWidget(WWT_CAPTION, COLOUR_GREY, SLWW_WINDOWTITLE),
|
||||||
|
@ -1713,8 +1707,6 @@ static const NWidgetPart _nested_save_dialog_widgets[] = {
|
||||||
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, SLWW_SAVE_GAME), SetDataTip(STR_SAVELOAD_SAVE_BUTTON, STR_SAVELOAD_SAVE_TOOLTIP), SetFill(true, false), SetResize(1, 0),
|
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, SLWW_SAVE_GAME), SetDataTip(STR_SAVELOAD_SAVE_BUTTON, STR_SAVELOAD_SAVE_TOOLTIP), SetFill(true, false), SetResize(1, 0),
|
||||||
NWidget(WWT_RESIZEBOX, COLOUR_GREY, SLWW_RESIZE),
|
NWidget(WWT_RESIZEBOX, COLOUR_GREY, SLWW_RESIZE),
|
||||||
EndContainer(),
|
EndContainer(),
|
||||||
EndContainer(),
|
|
||||||
EndContainer(),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Colours for fios types */
|
/* Colours for fios types */
|
||||||
|
|
Loading…
Reference in New Issue