Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2018-10-02 14:23:38 +0300
committerYuSanka <yusanka@gmail.com>2018-10-02 14:30:59 +0300
commit40022861c8031bcdf25031d41bd29042a48ca22d (patch)
tree30a93891feb127bc22030ecd83ed4ed9969ebf6c /src/slic3r/GUI/GUI.hpp
parent08c69057516dfb90a83ec17099c545748855dbc8 (diff)
Removed Localization to GUI_App
+ cleaned code from some global variables (App, AppConfig, PresetBundle, MainFrame, tab_panels..)
Diffstat (limited to 'src/slic3r/GUI/GUI.hpp')
-rw-r--r--src/slic3r/GUI/GUI.hpp39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/slic3r/GUI/GUI.hpp b/src/slic3r/GUI/GUI.hpp
index 83f954248..215a72b60 100644
--- a/src/slic3r/GUI/GUI.hpp
+++ b/src/slic3r/GUI/GUI.hpp
@@ -104,32 +104,11 @@ void enable_screensaver();
bool debugged();
void break_to_debugger();
-// Passing the wxWidgets GUI classes instantiated by the Perl part to C++.
-void set_wxapp(wxApp *app);
-void set_main_frame(wxFrame *main_frame);
-void set_progress_status_bar(ProgressStatusBar *prsb);
-void set_tab_panel(wxNotebook *tab_panel);
-void set_plater(wxPanel *plater);
-void set_app_config(AppConfig *app_config);
-void set_preset_bundle(PresetBundle *preset_bundle);
-void set_preset_updater(PresetUpdater *updater);
-void set_objects_from_perl( wxWindow* parent,
- wxBoxSizer *frequently_changed_parameters_sizer,
- wxBoxSizer *info_sizer,
- wxButton *btn_export_gcode,
- wxButton *btn_reslice,
- wxButton *btn_print,
- wxButton *btn_send_gcode,
- wxStaticBitmap *manifold_warning_icon);
void set_show_print_info(bool show);
void set_show_manifold_warning_icon(bool show);
void set_objects_list_sizer(wxBoxSizer *objects_list_sizer);
AppConfig* get_app_config();
-wxApp* get_app();
-wxFrame* get_main_frame();
-ProgressStatusBar* get_progress_status_bar();
-wxNotebook* get_tab_panel();
AppControllerPtr get_appctl();
void set_cli_appctl();
@@ -145,10 +124,6 @@ std::vector<PresetTab>* get_preset_tabs();
extern void add_menus(wxMenuBar *menu, int event_preferences_changed, int event_language_change);
-// This is called when closing the application, when loading a config file or when starting the config wizard
-// to notify the user whether he is aware that some preset changes will be lost.
-// extern bool check_unsaved_changes();
-
// Checks if configuration wizard needs to run, calls config_wizard if so.
// Returns whether the Wizard ran.
extern bool config_wizard_startup(bool app_config_exists);
@@ -157,11 +132,6 @@ extern bool config_wizard_startup(bool app_config_exists);
// The run_reason argument is actually ConfigWizard::RunReason, but int is used here because of Perl.
extern void config_wizard(int run_reason);
-// Create "Preferences" dialog after selecting menu "Preferences" in Perl part
-extern void open_preferences_dialog(int event_preferences);
-
-// Create a new preset tab (print, filament and printer),
-// 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);
@@ -180,15 +150,6 @@ void warning_catcher(wxWindow* parent, const wxString& message);
// to deliver a progress status message.
void set_print_callback_event(Print *print, int id);
-// load language saved at application config
-wxLocale* get_locale();
-bool load_language();
-// save language at application config
-void save_language();
-// get list of installed languages
-void get_installed_languages(wxArrayString & names, wxArrayLong & identifiers);
-// select language from the list of installed languages
-bool select_language(wxArrayString & names, wxArrayLong & identifiers);
// update right panel of the Plater according to view mode
void update_mode();