mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Added LambdaObjectDialog
This commit is contained in:
parent
9504780ef4
commit
3e0ff5e9ef
7 changed files with 220 additions and 13 deletions
34
xs/src/slic3r/GUI/LambdaObjectDialog.hpp
Normal file
34
xs/src/slic3r/GUI/LambdaObjectDialog.hpp
Normal file
|
@ -0,0 +1,34 @@
|
|||
#ifndef slic3r_LambdaObjectDialog_hpp_
|
||||
#define slic3r_LambdaObjectDialog_hpp_
|
||||
|
||||
#include "GUI.hpp"
|
||||
|
||||
#include <wx/dialog.h>
|
||||
#include <wx/sizer.h>
|
||||
#include <wx/choicebk.h>
|
||||
|
||||
namespace Slic3r
|
||||
{
|
||||
namespace GUI
|
||||
{
|
||||
using ConfigOptionsGroupShp = std::shared_ptr<ConfigOptionsGroup>;
|
||||
class LambdaObjectDialog : public wxDialog
|
||||
{
|
||||
wxChoicebook* m_modificator_options_book;
|
||||
std::vector <ConfigOptionsGroupShp> m_optgroups;
|
||||
public:
|
||||
LambdaObjectDialog(wxWindow* parent);
|
||||
~LambdaObjectDialog(){}
|
||||
|
||||
bool CanClose() { return true; } // ???
|
||||
|
||||
ConfigOptionsGroupShp init_modificator_options_page(wxString title);
|
||||
|
||||
// Note whether the window was already closed, so a pending update is not executed.
|
||||
bool m_already_closed = false;
|
||||
OBJECT_PARAMETERS object_parameters;
|
||||
wxBoxSizer* sizer = nullptr;
|
||||
};
|
||||
} //namespace GUI
|
||||
} //namespace Slic3r
|
||||
#endif //slic3r_LambdaObjectDialog_hpp_
|
Loading…
Add table
Add a link
Reference in a new issue