diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 50e6870dc..1c4759fa1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -177,10 +177,11 @@ IF(wxWidgets_FOUND) include_directories(${wxWidgets_INCLUDE}) add_library(slic3r_gui STATIC - ${GUI_LIBDIR}/MainFrame.cpp - ${GUI_LIBDIR}/GUI.cpp - ${GUI_LIBDIR}/Settings.cpp ${GUI_LIBDIR}/AboutDialog.cpp + ${GUI_LIBDIR}/GUI.cpp + ${GUI_LIBDIR}/MainFrame.cpp + ${GUI_LIBDIR}/Plater.cpp + ${GUI_LIBDIR}/Settings.cpp ${GUI_LIBDIR}/misc_ui.cpp ) #only build GUI lib if building with wx diff --git a/src/GUI/Plater.cpp b/src/GUI/Plater.cpp new file mode 100644 index 000000000..57b4d1120 --- /dev/null +++ b/src/GUI/Plater.cpp @@ -0,0 +1,13 @@ +#include "Plater.hpp" + +namespace Slic3r { namespace GUI { + +Plater::Plater(wxWindow* parent, const wxString& title) : + wxPanel(parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL, title) { } +void Plater::add() { + +} + + +}} // Namespace Slic3r::GUI + diff --git a/src/GUI/Plater.hpp b/src/GUI/Plater.hpp index bf7aa917a..7b0031519 100644 --- a/src/GUI/Plater.hpp +++ b/src/GUI/Plater.hpp @@ -1,14 +1,17 @@ #ifndef PLATER_HPP #define PLATER_HPP +#include +#ifndef WX_PRECOMP + #include +#endif namespace Slic3r { namespace GUI { class Plater : public wxPanel { public: - Plater(wxWindow* parent, const wxString& title) : - wxPanel(parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL, title) - { } + Plater(wxWindow* parent, const wxString& title); + void add(); };