Sketch ini

This commit is contained in:
Ilusha 2024-03-17 10:04:52 +03:00 committed by Ilya Shurupov
parent 8866290d29
commit f8c38a8a37
16 changed files with 2510 additions and 0 deletions

View file

@ -0,0 +1,29 @@
#include "gui/Widgets.h"
#include "nodes.h"
#include "StrokesObject.h"
namespace nd {
struct StrokesWidget : Widget {
static obj::ObjectType TypeData;
static struct Vtable : Widget::Vtable {} vtable;
strokes::Renderer mRenderer;
nd::GUIdrawer::ImageHandle mImage;
nd::GUIdrawer* mDrawer = NULL;
static void constructor(StrokesWidget* self);
static void destructor(StrokesWidget* self);
static void copy(Widget* self, const Widget* in);
static void procInputs(StrokesWidget* self, nd::GUIInputs* inputs);
static void presentOutput(StrokesWidget* self, nd::GUIdrawer* drawer);
strokes::Project* getTargetProject();
static void OpsInit();
static void OpsUnInit();
static void addShortcuts(nd::NodesCore* core);
};
};