mirror of https://github.com/OpenTTD/OpenTTD.git
Add: windowshade for rail station construction window
This commit is contained in:
parent
42046af933
commit
46aca9377b
|
@ -1029,6 +1029,7 @@ public:
|
|||
|
||||
this->DrawWidgets();
|
||||
|
||||
if (this->IsShaded()) return;
|
||||
/* 'Accepts' and 'Supplies' texts. */
|
||||
NWidgetBase *cov = this->GetWidget<NWidgetBase>(WID_BRAS_COVERAGE_TEXTS);
|
||||
int top = cov->pos_y + WD_PAR_VSEP_NORMAL;
|
||||
|
@ -1378,6 +1379,7 @@ static const NWidgetPart _nested_station_builder_widgets[] = {
|
|||
NWidget(NWID_HORIZONTAL),
|
||||
NWidget(WWT_CLOSEBOX, COLOUR_DARK_GREEN),
|
||||
NWidget(WWT_CAPTION, COLOUR_DARK_GREEN), SetDataTip(STR_STATION_BUILD_RAIL_CAPTION, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS),
|
||||
NWidget(WWT_SHADEBOX, COLOUR_DARK_GREEN),
|
||||
NWidget(NWID_SELECTION, INVALID_COLOUR, WID_BRAS_SHOW_NEWST_DEFSIZE),
|
||||
NWidget(WWT_DEFSIZEBOX, COLOUR_DARK_GREEN),
|
||||
EndContainer(),
|
||||
|
|
Loading…
Reference in New Issue