mocked up a prototype of decoding data into the node graph

This commit is contained in:
itsmattkc
2019-08-04 14:45:17 +10:00
parent fb8d5df24b
commit 298ae2f36c
15 changed files with 178 additions and 32 deletions
+11
View File
@@ -29,6 +29,7 @@
*/
class NodeInput : public NodeParam
{
Q_OBJECT
public:
NodeInput();
@@ -81,6 +82,13 @@ public:
*/
QVariant get_value(const rational &time);
/**
* @brief Set the value at a given time
*
* This function will only work if there are no outputs connected.
*/
void set_value(const rational& time, const QVariant& value);
/**
* @brief Return whether keyframing is enabled on this input or not
*/
@@ -96,6 +104,9 @@ public:
*/
const QList<DataType>& inputs();
signals:
void ValueChanged(const rational& start, const rational& end);
private:
/**
* @brief Internal list of accepted data types