Widgets Additions and sketch3d new gui
This commit is contained in:
parent
aecc75828b
commit
762268387e
44 changed files with 1015 additions and 322 deletions
|
|
@ -2,19 +2,22 @@
|
|||
#include "WidgetApplication.hpp"
|
||||
|
||||
#include "Sketch3D.hpp"
|
||||
#include "Sketch3DWidget.hpp"
|
||||
#include "SketchGUI.hpp"
|
||||
|
||||
using namespace tp;
|
||||
|
||||
class Sketch3DApplication : public WidgetApplication {
|
||||
public:
|
||||
Sketch3DApplication() :
|
||||
mGui(*mGraphics->getCanvas(), { 1920, 1080 }) {
|
||||
Sketch3DApplication() {
|
||||
setRoot(&mGui);
|
||||
|
||||
mGui.createRenderWidget(mGraphics->getCanvas(), { 1920, 1080 });
|
||||
mGui.setProject(&mSketch);
|
||||
}
|
||||
|
||||
private:
|
||||
Sketch3DGUI mGui;
|
||||
SketchGUI mGui;
|
||||
Project mSketch;
|
||||
};
|
||||
|
||||
void runApp() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue