merged effects into node structure
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "colorinput.h"
|
||||
|
||||
ColorInput::ColorInput(Effect* parent, const QString& id, const QString& name, bool savable, bool keyframable) :
|
||||
ColorInput::ColorInput(Node* parent, const QString& id, const QString& name, bool savable, bool keyframable) :
|
||||
EffectRow(parent, id, name, savable, keyframable)
|
||||
{
|
||||
AddField(new ColorField(this));
|
||||
@@ -10,5 +10,5 @@ ColorInput::ColorInput(Effect* parent, const QString& id, const QString& name, b
|
||||
|
||||
QColor ColorInput::GetColorAt(double timecode)
|
||||
{
|
||||
static_cast<ColorField*>(Field(0))->GetColorAt(timecode);
|
||||
return static_cast<ColorField*>(Field(0))->GetColorAt(timecode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user