began work setting several timings to use rational rather than long/double

This commit is contained in:
itsmattkc
2019-06-16 15:13:53 -07:00
parent 0acee942f4
commit 771572f65b
63 changed files with 448 additions and 397 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ ColorField::ColorField(NodeIO* parent) :
EffectField(parent, EffectField::EFFECT_FIELD_COLOR)
{}
QColor ColorField::GetColorAt(double timecode)
QColor ColorField::GetColorAt(const rational& timecode)
{
return GetValueAt(timecode).value<QColor>();
}
@@ -45,7 +45,7 @@ QWidget *ColorField::CreateWidget(QWidget *existing)
return cb;
}
void ColorField::UpdateWidgetValue(QWidget *widget, double timecode)
void ColorField::UpdateWidgetValue(QWidget *widget, const rational &timecode)
{
ColorButton* cb = static_cast<ColorButton*>(widget);