mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-04 08:30:38 +08:00
29 lines
885 B
C++
29 lines
885 B
C++
#ifndef PREVIEWDLP_HPP
|
|
#define PREVIEWDLP_HPP
|
|
#include <wx/wxprec.h>
|
|
#ifndef WX_PRECOMP
|
|
#include <wx/wx.h>
|
|
#endif
|
|
|
|
#include "Settings.hpp"
|
|
#include "Model.hpp"
|
|
#include "Config.hpp"
|
|
|
|
namespace Slic3r { namespace GUI {
|
|
|
|
class PreviewDLP : public wxPanel {
|
|
public:
|
|
void reload_print() {};
|
|
PreviewDLP(wxWindow* parent, const wxSize& size, std::vector<PlaterObject>& _objects, std::shared_ptr<Model> _model, std::shared_ptr<Config> _config, std::shared_ptr<Settings> _settings) :
|
|
wxPanel(parent, wxID_ANY, wxDefaultPosition, size, wxTAB_TRAVERSAL), objects(_objects), model(_model), config(_config), settings(_settings)
|
|
{}
|
|
private:
|
|
std::vector<PlaterObject>& objects; //< reference to parent vector
|
|
std::shared_ptr<Slic3r::Model> model;
|
|
std::shared_ptr<Slic3r::Config> config;
|
|
std::shared_ptr<Settings> settings;
|
|
};
|
|
|
|
} } // Namespace Slic3r::GUI
|
|
#endif
|