Plate controls

This commit is contained in:
Lam Wei Lun
2026-09-09 11:29:18 +08:00
parent a1ee7f099f
commit cae23a933e
5 changed files with 207 additions and 13 deletions
+3
View File
@@ -775,6 +775,9 @@ public:
void apply_background_progress();
//BBS: select the plate by hover_id
int select_plate_by_hover_id(int hover_id, bool right_click = false, bool isModidyPlateName = false);
//BBS: add an empty plate and switch to it (the toolbar's Add Plate). Returns the new
// plate index, or -1 when the plate cap is reached.
int add_plate();
//BBS: delete the plate, index= -1 means the current plate
int delete_plate(int plate_index = -1);
int duplicate_plate(int plate_index = -1);