mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-22 08:11:11 -06:00
1st installment of preview ported in c++
This commit is contained in:
parent
5fa99fd903
commit
e3e5948982
13 changed files with 718 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue