1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-01 10:59:12 +00:00

(svn r17573) -Codechange: NWID_SELECTION containers have a selected widget-plane, and optionally an index in the nested_array.

This commit is contained in:
alberth
2009-09-19 11:55:44 +00:00
parent 116c77c342
commit ceab116065
6 changed files with 61 additions and 13 deletions

View File

@@ -811,7 +811,7 @@ static const NWidgetPart _nested_network_content_list_widgets[] = {
/* Bottom. */
NWidget(NWID_HORIZONTAL),
NWidget(NWID_SPACER), SetMinimalSize(10, 0),
NWidget(NWID_SELECTION),
NWidget(NWID_SELECTION, INVALID_COLOUR, -1),
NWidget(WWT_PUSHTXTBTN, COLOUR_WHITE, NCLWW_SELECT_ALL), SetMinimalSize(101, 12),
SetDataTip(STR_CONTENT_SELECT_ALL_CAPTION, STR_CONTENT_SELECT_ALL_CAPTION_TOOLTIP),
NWidget(WWT_PUSHTXTBTN, COLOUR_WHITE, NCLWW_SELECT_UPDATE), SetMinimalSize(101, 12),