change: change code style to Linux style except indent.

This commit is contained in:
Mike Solar
2025-08-03 03:09:40 +08:00
parent 65ab76edc8
commit 74f73ab3be
789 changed files with 77113 additions and 68888 deletions
+17 -13
View File
@@ -20,43 +20,47 @@
#include "timelinecoordinate.h"
namespace olive {
namespace olive
{
TimelineCoordinate::TimelineCoordinate() :
track_(Track::kNone, 0)
TimelineCoordinate::TimelineCoordinate()
: track_(Track::kNone, 0)
{
}
TimelineCoordinate::TimelineCoordinate(const rational &frame, const Track::Reference &track) :
frame_(frame),
track_(track)
TimelineCoordinate::TimelineCoordinate(const rational &frame,
const Track::Reference &track)
: frame_(frame)
, track_(track)
{
}
TimelineCoordinate::TimelineCoordinate(const rational &frame, const Track::Type &track_type, const int &track_index) :
frame_(frame),
track_(track_type, track_index)
TimelineCoordinate::TimelineCoordinate(const rational &frame,
const Track::Type &track_type,
const int &track_index)
: frame_(frame)
, track_(track_type, track_index)
{
}
const rational &TimelineCoordinate::GetFrame() const
{
return frame_;
return frame_;
}
const Track::Reference &TimelineCoordinate::GetTrack() const
{
return track_;
return track_;
}
void TimelineCoordinate::SetFrame(const rational &frame)
{
frame_ = frame;
frame_ = frame;
}
void TimelineCoordinate::SetTrack(const Track::Reference &track)
{
track_ = track;
track_ = track;
}
}