forked from mirror/OpenTTD
Feature: Group liveries, and livery window usability enhancements. (#7108)
* Change: Replace checkbox in livery selection window with Default option in drop down selection. This reduces clutter in the UI and allows for primary/secondary colours to independently follow the default scheme if desired. * Feature: Add vehicle group liveries.
This commit is contained in:
@@ -86,10 +86,15 @@ enum SelectCompanyLiveryWidgets {
|
||||
WID_SCL_CLASS_ROAD, ///< Class road.
|
||||
WID_SCL_CLASS_SHIP, ///< Class ship.
|
||||
WID_SCL_CLASS_AIRCRAFT, ///< Class aircraft.
|
||||
WID_SCL_GROUPS_RAIL, ///< Rail groups.
|
||||
WID_SCL_GROUPS_ROAD, ///< Road groups.
|
||||
WID_SCL_GROUPS_SHIP, ///< Ship groups.
|
||||
WID_SCL_GROUPS_AIRCRAFT, ///< Aircraft groups.
|
||||
WID_SCL_SPACER_DROPDOWN, ///< Spacer for dropdown.
|
||||
WID_SCL_PRI_COL_DROPDOWN, ///< Dropdown for primary colour.
|
||||
WID_SCL_SEC_COL_DROPDOWN, ///< Dropdown for secondary colour.
|
||||
WID_SCL_MATRIX, ///< Matrix.
|
||||
WID_SCL_MATRIX_SCROLLBAR, ///< Matrix scrollbar.
|
||||
};
|
||||
|
||||
|
||||
|
@@ -31,6 +31,7 @@ enum GroupListWidgets {
|
||||
WID_GL_CREATE_GROUP, ///< Create group button.
|
||||
WID_GL_DELETE_GROUP, ///< Delete group button.
|
||||
WID_GL_RENAME_GROUP, ///< Rename group button.
|
||||
WID_GL_LIVERY_GROUP, ///< Group livery button.
|
||||
WID_GL_REPLACE_PROTECTION, ///< Replace protection button.
|
||||
WID_GL_INFO, ///< Group info.
|
||||
};
|
||||
|
Reference in New Issue
Block a user