mocked up a prototype of decoding data into the node graph
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user