add command
This commit is contained in:
parent
3597c5972a
commit
69e550886b
@ -34,3 +34,7 @@ void DoricShaderPlugin::render(QString jsValueString, QString callbackId) {
|
|||||||
},
|
},
|
||||||
DoricThreadMode::UI);
|
DoricThreadMode::UI);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void DoricShaderPlugin::command(QString jsValueString, QString callbackId) {
|
||||||
|
qCritical() << "command: " << jsValueString << " " << callbackId;
|
||||||
|
}
|
||||||
|
@ -11,6 +11,8 @@ public:
|
|||||||
using DoricNativePlugin::DoricNativePlugin;
|
using DoricNativePlugin::DoricNativePlugin;
|
||||||
|
|
||||||
Q_INVOKABLE void render(QString jsValueString, QString callbackId);
|
Q_INVOKABLE void render(QString jsValueString, QString callbackId);
|
||||||
|
|
||||||
|
Q_INVOKABLE void command(QString jsValueString, QString callbackId);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // SHADERPLUGIN_H
|
#endif // SHADERPLUGIN_H
|
||||||
|
@ -25,6 +25,7 @@ DoricViewNode *DoricSliderNode::getSubNodeById(QString id) {
|
|||||||
return childNodes.at(i);
|
return childNodes.at(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DoricSliderNode::blendSubNode(QJsonValue subProperties) {
|
void DoricSliderNode::blendSubNode(QJsonValue subProperties) {
|
||||||
|
Reference in New Issue
Block a user