Change: Show 6 or 2 orientation buttons in NewGRF road stop picker as appropriate.

This replaces the normal method of masking unusable buttons.
This commit is contained in:
Peter Nelson
2024-02-14 17:23:17 +00:00
committed by Peter Nelson
parent 8c22690ce1
commit adb796a21a
2 changed files with 32 additions and 16 deletions

View File

@@ -58,6 +58,7 @@ enum BuildRoadStationWidgets : WidgetID {
WID_BROS_MATRIX_SCROLL, ///< Scrollbar of the #WID_BROS_SHOW_NEWST_ADDITIONS.
WID_BROS_FILTER_CONTAINER, ///< Container for the filter text box for the road stop class list.
WID_BROS_FILTER_EDITBOX, ///< Filter text box for the road stop class list.
WID_BROS_AVAILABLE_ORIENTATIONS, ///< Selection for selecting 6 or 2 orientations.
WID_BROS_SHOW_NEWST_DEFSIZE, ///< Selection for default-size button for new road stops.
WID_BROS_SHOW_NEWST_ADDITIONS, ///< Selection for new class selection list.
WID_BROS_SHOW_NEWST_MATRIX, ///< Selection for new stop image matrix.