OpenShot Library | libopenshot 0.4.0
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
20namespace openshot {
21 // Forward decl
22 class Clip;
23
33 {
36 };
37
42
43 public:
46
49
53 virtual std::list<openshot::Clip*> Clips() = 0;
54
55 virtual ~TimelineBase() = default;
56 };
57}
58
59#endif
This class represents a timeline (used for building generic timeline implementations)
Definition: TimelineBase.h:41
int preview_height
Optional preview width of timeline image. If your preview window is smaller than the timeline,...
Definition: TimelineBase.h:45
TimelineBase()
Constructor for the base timeline.
virtual ~TimelineBase()=default
virtual std::list< openshot::Clip * > Clips()=0
int preview_width
Optional preview width of timeline image. If your preview window is smaller than the timeline,...
Definition: TimelineBase.h:44
This namespace is the default namespace for all code in the openshot library.
Definition: Compressor.h:29
This struct contains info about the current Timeline clip instance.
Definition: TimelineBase.h:33
bool is_before_clip_keyframes
Is this before clip keyframes are applied.
Definition: TimelineBase.h:35
bool is_top_clip
Is clip on top (if overlapping another clip)
Definition: TimelineBase.h:34