Files
oak-editor/nodes/inputs/fontinput.cpp
T
2019-04-11 11:48:20 +10:00

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);
}