mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-10 07:15:08 -06:00
First steps
This commit is contained in:
parent
5cf9cd5395
commit
c5e21c1fbf
10 changed files with 694 additions and 9 deletions
12
xs/src/slic3r/GUI/Widget.hpp
Normal file
12
xs/src/slic3r/GUI/Widget.hpp
Normal file
|
@ -0,0 +1,12 @@
|
|||
#ifndef WIDGET_HPP
|
||||
#define WIDGET_HPP
|
||||
#include "wxinit.h"
|
||||
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