13 lines
383 B
C++
13 lines
383 B
C++
#include "stringinput.h"
|
|
|
|
StringInput::StringInput(Effect* 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));
|
|
}
|
|
|
|
QString StringInput::GetStringAt(double timecode)
|
|
{
|
|
return static_cast<StringField*>(Field(0))->GetStringAt(timecode);
|
|
}
|