#include "stringinput.h" StringInput::StringInput(Node* parent, const QString& id, const QString& name, bool rich_text, bool savable, bool keyframable) : EffectRow(parent, id, name, savable, keyframable) { AddField(new StringField(this, rich_text)); AddAcceptedNodeInput(olive::nodes::kString); } QString StringInput::GetStringAt(double timecode) { return static_cast(Field(0))->GetStringAt(timecode); }