finished moving field data retrieving to row
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#include "boolinput.h"
|
||||
|
||||
BoolInput::BoolInput(Effect* parent, const QString& id, const QString& name, bool savable, bool keyframable) :
|
||||
EffectRow(parent, id, name, savable, keyframable)
|
||||
{
|
||||
BoolField* bool_field = new BoolField(this);
|
||||
connect(bool_field, SIGNAL(Toggled(bool)), this, SIGNAL(Toggled(bool)));
|
||||
AddField(bool_field);
|
||||
}
|
||||
|
||||
bool BoolInput::GetBoolAt(double timecode)
|
||||
{
|
||||
return static_cast<BoolField*>(Field(0))->GetBoolAt(timecode);
|
||||
}
|
||||
Reference in New Issue
Block a user