Add order management dropdown, add duplicate order and move jump target

Add setting to control if order management button shown

Move order list management to order management dropdown if enabled

See: #439
This commit is contained in:
Jonathan G Rennison
2022-10-08 00:46:22 +01:00
parent fc22d50653
commit d61fbb977e
9 changed files with 187 additions and 19 deletions

View File

@@ -20,6 +20,8 @@ enum OrderWidgets {
WID_O_SCROLLBAR, ///< Order list scrollbar.
WID_O_SKIP, ///< Skip current order.
WID_O_MANAGE_LIST, ///< Manage order list.
WID_O_MGMT_BTN, ///< Management button.
WID_O_MGMT_LIST_BTN, ///< Management list button.
WID_O_DELETE, ///< Delete selected order.
WID_O_STOP_SHARING, ///< Stop sharing orders.
WID_O_NON_STOP, ///< Goto non-stop to destination.
@@ -47,6 +49,7 @@ enum OrderWidgets {
WID_O_SEL_COND_VALUE, ///< Widget for conditional value or conditional cargo type.
WID_O_SEL_COND_AUX, ///< Widget for auxiliary conditional cargo type.
WID_O_SEL_COND_AUX2, ///< Widget for auxiliary conditional via button.
WID_O_SEL_MGMT, ///< Widget for management buttons.
WID_O_SEL_TOP_LEFT, ///< #NWID_SELECTION widget for left part of the top row of the 'your train' order window.
WID_O_SEL_TOP_MIDDLE, ///< #NWID_SELECTION widget for middle part of the top row of the 'your train' order window.
WID_O_SEL_TOP_RIGHT, ///< #NWID_SELECTION widget for right part of the top row of the 'your train' order window.