shape: add rounded rectangle

This commit is contained in:
itsmattkc
2022-08-09 11:49:11 -07:00
parent cc7893e7bc
commit 920a294387
3 changed files with 82 additions and 17 deletions
+6 -1
View File
@@ -33,7 +33,8 @@ public:
enum Type {
kRectangle,
kEllipse
kEllipse,
kRoundedRectangle
};
NODE_DEFAULT_FUNCTIONS(ShapeNode)
@@ -49,6 +50,10 @@ public:
virtual void Value(const NodeValueRow& value, const NodeGlobals &globals, NodeValueTable *table) const override;
static QString kTypeInput;
static QString kRadiusInput;
protected:
virtual void InputValueChangedEvent(const QString &input, int element) override;
};