some timeline refactoring, preparing for rewrites

This commit is contained in:
itsmattkc
2021-01-09 11:41:33 +11:00
parent 3337be07e5
commit 8f729203fc
62 changed files with 638 additions and 1180 deletions
+3 -3
View File
@@ -23,18 +23,18 @@
namespace olive {
TrackReference::TrackReference() :
type_(Timeline::kTrackTypeNone),
type_(Track::kNone),
index_(0)
{
}
TrackReference::TrackReference(const Timeline::TrackType &type, const int &index) :
TrackReference::TrackReference(const Track::Type &type, const int &index) :
type_(type),
index_(index)
{
}
const Timeline::TrackType &TrackReference::type() const
const Track::Type &TrackReference::type() const
{
return type_;
}