mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Implement Preparation for Edit Custom Gcode
Original Commit: prusa3d/PrusaSlicer@7db83d5 Co-authored-by: YuSanka <yusanka@gmail.com>
This commit is contained in:
@@ -196,6 +196,8 @@ protected:
|
||||
ScalableBitmap *m_bmp_non_system;
|
||||
// Bitmaps to be shown on the "Undo user changes" button next to each input field.
|
||||
ScalableBitmap m_bmp_value_revert;
|
||||
// Bitmaps to be shown on the "Undo user changes" button next to each input field.
|
||||
ScalableBitmap m_bmp_edit_value;
|
||||
|
||||
std::vector<ScalableButton*> m_scaled_buttons = {};
|
||||
std::vector<ScalableBitmap*> m_scaled_bitmaps = {};
|
||||
@@ -402,6 +404,7 @@ public:
|
||||
void restore_last_select_item();
|
||||
|
||||
static bool validate_custom_gcode(const wxString& title, const std::string& gcode);
|
||||
void edit_custom_gcode(const t_config_option_key &opt_key);
|
||||
bool validate_custom_gcodes();
|
||||
bool validate_custom_gcodes_was_shown{ false };
|
||||
void set_just_edit(bool just_edit);
|
||||
|
||||
Reference in New Issue
Block a user