OpenShot Library | libopenshot  0.3.3
TimelineBase.h
Go to the documentation of this file.
1 
9 // Copyright (c) 2008-2019 OpenShot Studios, LLC
10 //
11 // SPDX-License-Identifier: LGPL-3.0-or-later
12 
13 #ifndef OPENSHOT_TIMELINE_BASE_H
14 #define OPENSHOT_TIMELINE_BASE_H
15 
16 #include <cstdint>
17 #include <list>
18 
19 
20 namespace openshot {
21  // Forward decl
22  class Clip;
23 
33  {
34  bool is_top_clip;
36  };
37 
41  class TimelineBase {
42 
43  public:
46 
48  TimelineBase();
49 
53  virtual std::list<openshot::Clip*> Clips() = 0;
54 
55  virtual ~TimelineBase() = default;
56  };
57 }
58 
59 #endif
openshot::TimelineBase::TimelineBase
TimelineBase()
Constructor for the base timeline.
Definition: TimelineBase.cpp:18
openshot::TimelineBase::preview_width
int preview_width
Optional preview width of timeline image. If your preview window is smaller than the timeline,...
Definition: TimelineBase.h:44
openshot::TimelineBase::~TimelineBase
virtual ~TimelineBase()=default
openshot
This namespace is the default namespace for all code in the openshot library.
Definition: Compressor.h:28
openshot::TimelineBase::preview_height
int preview_height
Optional preview width of timeline image. If your preview window is smaller than the timeline,...
Definition: TimelineBase.h:45
openshot::TimelineInfoStruct::is_before_clip_keyframes
bool is_before_clip_keyframes
Is this before clip keyframes are applied.
Definition: TimelineBase.h:35
openshot::TimelineInfoStruct
This struct contains info about the current Timeline clip instance.
Definition: TimelineBase.h:32
openshot::TimelineBase
This class represents a timeline (used for building generic timeline implementations)
Definition: TimelineBase.h:41
openshot::TimelineInfoStruct::is_top_clip
bool is_top_clip
Is clip on top (if overlapping another clip)
Definition: TimelineBase.h:34
openshot::TimelineBase::Clips
virtual std::list< openshot::Clip * > Clips()=0