started base transition type
Like the base "Block" type, the "Transition" type will not be a node used on its own, it will have to be derived. This type defines some basic behavior for a transition (e.g. how much it overlaps its "from" and "to" blocks).
This commit is contained in:
@@ -42,7 +42,8 @@ public:
|
||||
enum Type {
|
||||
kClip,
|
||||
kGap,
|
||||
kTrack
|
||||
kTrack,
|
||||
kTransition
|
||||
};
|
||||
|
||||
virtual Type type() const = 0;
|
||||
@@ -54,9 +55,9 @@ public:
|
||||
void set_in(const rational& in);
|
||||
void set_out(const rational& out);
|
||||
|
||||
const rational &length() const;
|
||||
void set_length(const rational &length);
|
||||
void set_length_and_media_in(const rational &length);
|
||||
const rational& length() const;
|
||||
virtual void set_length(const rational &length);
|
||||
virtual void set_length_and_media_in(const rational &length);
|
||||
|
||||
Block* previous();
|
||||
Block* next();
|
||||
|
||||
Reference in New Issue
Block a user