mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-21 18:02:09 +00:00
Add timelapse storage location selection
This commit is contained in:
@@ -228,6 +228,7 @@ public:
|
||||
void update_options(std::vector<POItem> ops, const wxString &tips);
|
||||
void update_tooltip(const wxString &tips);
|
||||
void update_title_display();
|
||||
void insert_extra_widget(wxWindow* widget);
|
||||
|
||||
void msw_rescale();
|
||||
|
||||
@@ -335,6 +336,11 @@ private:
|
||||
std::string m_required_data_file_name;
|
||||
std::string m_required_data_file_path;
|
||||
|
||||
// timelapse internal storage selection
|
||||
std::string m_timelapse_storage; // "internal" or "external"; empty = unsupported
|
||||
ScalableButton* m_timelapse_folder_btn { nullptr };
|
||||
PopupWindow* m_timelapse_storage_popup { nullptr };
|
||||
|
||||
std::vector<POItem> ops_auto;
|
||||
std::vector<POItem> ops_no_auto;
|
||||
|
||||
@@ -572,6 +578,10 @@ private:
|
||||
void update_option_opts(MachineObject *obj);
|
||||
void update_options_layout();
|
||||
|
||||
/* timelapse storage-location selector */
|
||||
void update_timelapse_folder_btn_icon();
|
||||
void show_timelapse_folder_popup();
|
||||
|
||||
// save and restore from config
|
||||
void load_option_vals(MachineObject* obj);
|
||||
void save_option_vals();
|
||||
|
||||
Reference in New Issue
Block a user