started new timeline paradigm

This commit is contained in:
itsmattkc
2019-03-30 19:43:22 +11:00
parent 7f92774dc9
commit 8e95210b22
19 changed files with 272 additions and 72 deletions
+34 -1
View File
@@ -8,7 +8,10 @@ int olive::timeline::kTrackHeightIncrement = 10;
Track::Track(TrackList* parent, Type type) :
parent_(parent),
type_(type)
type_(type),
muted_(false),
soloed_(false),
locked_(false)
{
}
@@ -172,3 +175,33 @@ long Track::GetEndFrame()
return end_frame;
}
bool Track::IsMuted()
{
return muted_;
}
void Track::SetMuted(bool muted)
{
muted_ = muted;
}
bool Track::IsSoloed()
{
return soloed_;
}
void Track::SetSoloed(bool soloed)
{
soloed_ = soloed;
}
bool Track::IsLocked()
{
return locked_;
}
void Track::SetLocked(bool locked)
{
locked_ = locked;
}