mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 07:34:03 -06:00
WIP: Moved sources int src/, separated most of the source code from Perl.
The XS was left only for the unit / integration tests, and it links libslic3r only. No wxWidgets are allowed to be used from Perl starting from now.
This commit is contained in:
parent
3ddaccb641
commit
0558b53493
1706 changed files with 7413 additions and 7638 deletions
16
src/slic3r/GUI/Widget.hpp
Normal file
16
src/slic3r/GUI/Widget.hpp
Normal file
|
@ -0,0 +1,16 @@
|
|||
#ifndef WIDGET_HPP
|
||||
#define WIDGET_HPP
|
||||
#include <wx/wxprec.h>
|
||||
#ifndef WX_PRECOM
|
||||
#include <wx/wx.h>
|
||||
#endif
|
||||
|
||||
class Widget {
|
||||
protected:
|
||||
wxSizer* _sizer;
|
||||
public:
|
||||
Widget(): _sizer(nullptr) { }
|
||||
bool valid() const { return _sizer != nullptr; }
|
||||
wxSizer* sizer() const { return _sizer; }
|
||||
};
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue