1st installment of preview ported in c++

This commit is contained in:
Enrico Turri 2018-09-18 13:35:05 +02:00
parent 5fa99fd903
commit e3e5948982
13 changed files with 718 additions and 10 deletions

View file

@ -39,6 +39,11 @@ class AppConfig;
class PresetUpdater;
class DynamicPrintConfig;
class TabIface;
//##############################################################################################################################################################
class PreviewIface;
class Print;
class GCodePreviewData;
//##############################################################################################################################################################
#define _(s) Slic3r::GUI::I18N::translate((s))
@ -165,6 +170,10 @@ extern void open_preferences_dialog(int event_preferences);
void create_preset_tabs(int event_value_change, int event_presets_changed);
TabIface* get_preset_tab_iface(char *name);
//##############################################################################################################################################################
PreviewIface* create_preview_iface(wxNotebook* notebook, DynamicPrintConfig* config, Print* print, GCodePreviewData* gcode_preview_data);
//##############################################################################################################################################################
// add it at the end of the tab panel.
void add_created_tab(Tab* panel, int event_value_change, int event_presets_changed);
// Change option value in config