15 lines
378 B
C++
15 lines
378 B
C++
#include "fontinput.h"
|
|
|
|
FontInput::FontInput(Effect* parent, const QString& id, const QString& name, bool savable, bool keyframable) :
|
|
EffectRow(parent, id, name, savable, keyframable)
|
|
{
|
|
AddField(new FontField(this));
|
|
|
|
AddNodeInput(olive::nodes::kFont);
|
|
}
|
|
|
|
QString FontInput::GetFontAt(double timecode)
|
|
{
|
|
return static_cast<FontField*>(Field(0))->GetFontAt(timecode);
|
|
}
|