Ctrl+click on shared list button in order/timetable window to add veh to group

This commit is contained in:
Jonathan G Rennison
2017-08-18 19:17:16 +01:00
parent 4255d8a131
commit 2e7e712f06
7 changed files with 72 additions and 4 deletions

View File

@@ -43,7 +43,9 @@ enum OrderWidgets {
WID_O_SEL_TOP_ROW_GROUNDVEHICLE, ///< #NWID_SELECTION widget for the top row of the 'your train' order window.
WID_O_SEL_TOP_ROW, ///< #NWID_SELECTION widget for the top row of the 'your non-trains' order window.
WID_O_SEL_BOTTOM_MIDDLE, ///< #NWID_SELECTION widget for the middle part of the bottom row of the 'your train' order window.
WID_O_SEL_SHARED, ///< #NWID_SELECTION widget for WID_O_SHARED_ORDER_LIST and WID_O_ADD_VEH_GROUP
WID_O_SHARED_ORDER_LIST, ///< Open list of shared vehicles.
WID_O_ADD_VEH_GROUP, ///< Add single vehicle to new group button.
WID_O_SEL_OCCUPANCY, ///< #NWID_SELECTION widget for the occupancy list panel.
WID_O_OCCUPANCY_LIST, ///< Occupancy list panel.
WID_O_OCCUPANCY_TOGGLE, ///< Toggle display of occupancy measures.

View File

@@ -28,7 +28,9 @@ enum VehicleTimetableWidgets {
WID_VT_AUTOMATE, ///< Automate button.
WID_VT_AUTO_SEPARATION, ///< Auto separation button.
WID_VT_EXPECTED, ///< Toggle between expected and scheduled arrivals.
WID_VT_SEL_SHARED, ///< #NWID_SELECTION widget for WID_VT_SHARED_ORDER_LIST and WID_VT_ADD_VEH_GROUP
WID_VT_SHARED_ORDER_LIST, ///< Show the shared order list.
WID_VT_ADD_VEH_GROUP, ///< Create new group from single vehicle
WID_VT_ARRIVAL_DEPARTURE_SELECTION, ///< Disable/hide the arrival departure panel.
WID_VT_AUTO_SELECTION, ///< Disable/hide the automate button.
WID_VT_EXPECTED_SELECTION, ///< Disable/hide the expected selection button.