OpenShot Library | libopenshot
1.1.1
Toggle main menu visibility
Loading...
Searching...
No Matches
TimelineBase.h
Go to the documentation of this file.
1
8
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
32
struct
TimelineInfoStruct
33
{
34
bool
is_top_clip
;
35
bool
is_before_clip_keyframes
;
36
};
37
41
class
TimelineBase
{
42
43
public
:
44
int
preview_width
;
45
int
preview_height
;
46
48
TimelineBase
();
49
53
virtual
std::list<openshot::Clip*>
Clips
() = 0;
54
55
virtual
~TimelineBase
() =
default
;
56
};
57
}
58
59
#endif
openshot::Clip
This class represents a clip (used to arrange readers on the timeline).
Definition
Clip.h:89
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::TimelineBase::TimelineBase
TimelineBase()
Constructor for the base timeline.
Definition
TimelineBase.cpp:18
openshot::TimelineBase::~TimelineBase
virtual ~TimelineBase()=default
openshot::TimelineBase::Clips
virtual std::list< openshot::Clip * > Clips()=0
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
This namespace is the default namespace for all code in the openshot library.
Definition
AnimatedCurve.h:24
openshot::TimelineInfoStruct
This struct contains info about the current Timeline clip instance.
Definition
TimelineBase.h:33
openshot::TimelineInfoStruct::is_before_clip_keyframes
bool is_before_clip_keyframes
Is this before clip keyframes are applied.
Definition
TimelineBase.h:35
openshot::TimelineInfoStruct::is_top_clip
bool is_top_clip
Is clip on top (if overlapping another clip).
Definition
TimelineBase.h:34
TimelineBase.h
Generated by
1.17.0