diff options
author | Enrico Turri <enricoturri@seznam.cz> | 2018-10-17 13:17:25 +0300 |
---|---|---|
committer | Enrico Turri <enricoturri@seznam.cz> | 2018-10-17 13:17:25 +0300 |
commit | 7d1828df05e9f18cc988a6f4913a3e39b428f909 (patch) | |
tree | 3f44da0685a2bdb1b6d996c27cd0c74afb2c85d7 /src/slic3r/GUI/MainFrame.hpp | |
parent | 3059438853cc75c6100a1a7b46c62a7e0eb3c95b (diff) |
Object context menu wip / Removed links to settings dialog from user interface / Fixed and unified append_menu_item() function / Fixed File->Open menu item / Fixed Window menu items / Added Plater menu
Diffstat (limited to 'src/slic3r/GUI/MainFrame.hpp')
-rw-r--r-- | src/slic3r/GUI/MainFrame.hpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/slic3r/GUI/MainFrame.hpp b/src/slic3r/GUI/MainFrame.hpp index ed2646b69..1015e783c 100644 --- a/src/slic3r/GUI/MainFrame.hpp +++ b/src/slic3r/GUI/MainFrame.hpp @@ -57,17 +57,9 @@ class MainFrame : public wxFrame AppController* m_appController { nullptr }; std::map<std::string, Tab*> m_options_tabs; - wxMenuItem* append_menu_item(wxMenu* menu, - int id, - const wxString& string, - const wxString& description, - std::function<void(wxCommandEvent& event)> cb, - const std::string& icon = ""); - wxMenuItem* m_menu_item_reslice_now { nullptr }; wxMenu* m_plater_menu { nullptr }; - wxMenu* m_object_menu { nullptr }; - wxMenu* m_viewMenu { nullptr }; + wxMenu* m_viewMenu{ nullptr }; std::string get_base_name(const wxString full_name) const ; std::string get_dir_name(const wxString full_name) const ; @@ -93,7 +85,6 @@ public: bool is_loaded() const { return m_loaded; } bool is_last_input_file() const { return !m_qs_last_input_file.IsEmpty(); } - void on_plater_selection_changed(const bool have_selection); void slice_to_png(); void quick_slice(const int qs = qsUndef); void reslice_now(); |