OpenShot Library | libopenshot 0.3.1
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 {
35 };
36
41
42 public:
45
48
52 virtual std::list<openshot::Clip*> Clips() = 0;
53
54 virtual ~TimelineBase() = default;
55 };
56}
57
58#endif
This class represents a timeline (used for building generic timeline implementations)
Definition: TimelineBase.h:40
int preview_height
Optional preview width of timeline image. If your preview window is smaller than the timeline,...
Definition: TimelineBase.h:44
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:43
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_top_clip
Is clip on top (if overlapping another clip)
Definition: TimelineBase.h:34