mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 18:27:58 -06:00
get_option moved from Tab to ConfigOptionsGroup and extended. Added change_opt_value to changing option value in config
This commit is contained in:
parent
e62c17bddf
commit
16458e070a
7 changed files with 291 additions and 205 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "Config.hpp"
|
||||
|
||||
class wxApp;
|
||||
class wxFrame;
|
||||
|
@ -15,6 +16,7 @@ namespace Slic3r {
|
|||
class PresetBundle;
|
||||
class PresetCollection;
|
||||
class AppConfig;
|
||||
class DynamicPrintConfig;
|
||||
|
||||
namespace GUI {
|
||||
|
||||
|
@ -36,6 +38,8 @@ void add_debug_menu(wxMenuBar *menu);
|
|||
void create_preset_tabs(PresetBundle *preset_bundle, AppConfig *app_config);
|
||||
// add it at the end of the tab panel.
|
||||
void add_created_tab(Tab* panel, PresetBundle *preset_bundle, AppConfig *app_config);
|
||||
// Change option value in config
|
||||
void change_opt_value(DynamicPrintConfig& config, t_config_option_key opt_key, boost::any value);
|
||||
|
||||
void show_error(wxWindow* parent, std::string message);
|
||||
void show_info(wxWindow* parent, std::string message, std::string title);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue