add switch node
This commit is contained in:
17
doric-Qt/example/doric/shader/DoricSwitchNode.h
Normal file
17
doric-Qt/example/doric/shader/DoricSwitchNode.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef DORICSWITCHNODE_H
|
||||
#define DORICSWITCHNODE_H
|
||||
|
||||
#include "DoricExport.h"
|
||||
|
||||
#include "DoricViewNode.h"
|
||||
|
||||
class DORIC_EXPORT DoricSwitchNode : public DoricViewNode {
|
||||
public:
|
||||
using DoricViewNode::DoricViewNode;
|
||||
|
||||
QQuickItem *build() override;
|
||||
|
||||
virtual void blend(QQuickItem *view, QString name, QJsonValue prop) override;
|
||||
};
|
||||
|
||||
#endif // DORICSWITCHNODE_H
|
Reference in New Issue
Block a user