mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Added popup menu with multiple choice of settings
This commit is contained in:
parent
a6b1e8466d
commit
36f8050d7b
3 changed files with 122 additions and 33 deletions
|
@ -6,6 +6,7 @@ class wxSizer;
|
|||
class wxBoxSizer;
|
||||
class wxString;
|
||||
class wxArrayString;
|
||||
class wxMenu;
|
||||
|
||||
namespace Slic3r {
|
||||
class ModelObject;
|
||||
|
@ -15,9 +16,10 @@ namespace GUI {
|
|||
enum ogGroup{
|
||||
ogFrequentlyChangingParameters,
|
||||
ogFrequentlyObjectSettings,
|
||||
ogObjectSettings,
|
||||
ogObjectMovers,
|
||||
ogPartSettings
|
||||
ogCurrentSettings
|
||||
// ogObjectSettings,
|
||||
// ogObjectMovers,
|
||||
// ogPartSettings
|
||||
};
|
||||
|
||||
enum LambdaTypeIDs{
|
||||
|
@ -43,6 +45,9 @@ void add_objects_list(wxWindow* parent, wxBoxSizer* sizer);
|
|||
void add_object_settings(wxWindow* parent, wxBoxSizer* sizer);
|
||||
void show_collpane_settings(bool expert_mode);
|
||||
|
||||
wxMenu *create_add_settings_popupmenu(bool is_part);
|
||||
wxMenu *create_add_part_popupmenu();
|
||||
|
||||
// Add object to the list
|
||||
//void add_object(const std::string &name);
|
||||
void add_object_to_list(const std::string &name, ModelObject* model_object);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue