mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-01 04:02:04 +08:00
Moved plater stubs to its own cpp
This commit is contained in:
parent
87b3f9582e
commit
c2d10aeeed
@ -177,10 +177,11 @@ IF(wxWidgets_FOUND)
|
|||||||
include_directories(${wxWidgets_INCLUDE})
|
include_directories(${wxWidgets_INCLUDE})
|
||||||
|
|
||||||
add_library(slic3r_gui STATIC
|
add_library(slic3r_gui STATIC
|
||||||
${GUI_LIBDIR}/MainFrame.cpp
|
|
||||||
${GUI_LIBDIR}/GUI.cpp
|
|
||||||
${GUI_LIBDIR}/Settings.cpp
|
|
||||||
${GUI_LIBDIR}/AboutDialog.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
|
${GUI_LIBDIR}/misc_ui.cpp
|
||||||
)
|
)
|
||||||
#only build GUI lib if building with wx
|
#only build GUI lib if building with wx
|
||||||
|
13
src/GUI/Plater.cpp
Normal file
13
src/GUI/Plater.cpp
Normal file
@ -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
|
||||||
|
|
@ -1,14 +1,17 @@
|
|||||||
#ifndef PLATER_HPP
|
#ifndef PLATER_HPP
|
||||||
#define PLATER_HPP
|
#define PLATER_HPP
|
||||||
|
#include <wx/wxprec.h>
|
||||||
|
#ifndef WX_PRECOMP
|
||||||
|
#include <wx/wx.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace Slic3r { namespace GUI {
|
namespace Slic3r { namespace GUI {
|
||||||
|
|
||||||
class Plater : public wxPanel
|
class Plater : public wxPanel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Plater(wxWindow* parent, const wxString& title) :
|
Plater(wxWindow* parent, const wxString& title);
|
||||||
wxPanel(parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL, title)
|
void add();
|
||||||
{ }
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user