Olive
timecodeeffect.h
Go to the documentation of this file.
1 /***
2 
3  Olive - Non-Linear Video Editor
4  Copyright (C) 2019 Olive Team
5 
6  This program is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>.
18 
19 ***/
20 
21 #ifndef TIMECODEEFFECT_H
22 #define TIMECODEEFFECT_H
23 
24 #include "project/effect.h"
25 
26 #include <QFont>
27 #include <QImage>
28 
29 class TimecodeEffect : public Effect {
30  Q_OBJECT
31 public:
32  TimecodeEffect(ClipPtr c, const EffectMeta *em);
33  void redraw(double timecode);
42 
43 private:
44  QFont font;
46 };
47 
48 #endif // TIMECODEEFFECT_H
EffectField * offset_y_val
Definition: timecodeeffect.h:39
TimecodeEffect(ClipPtr c, const EffectMeta *em)
Definition: timecodeeffect.cpp:47
Definition: effect.h:169
Definition: effect.h:50
EffectField * tc_select
Definition: timecodeeffect.h:41
std::shared_ptr< Clip > ClipPtr
Definition: cacher.h:28
EffectField * offset_x_val
Definition: timecodeeffect.h:38
void redraw(double timecode)
Definition: timecodeeffect.cpp:83
QFont font
Definition: timecodeeffect.h:44
Definition: timecodeeffect.h:29
QString display_timecode
Definition: timecodeeffect.h:45
EffectField * prepend_text
Definition: timecodeeffect.h:40
EffectField * bg_alpha
Definition: timecodeeffect.h:37
EffectField * color_bg_val
Definition: timecodeeffect.h:36
Definition: effectfield.h:43
EffectField * color_val
Definition: timecodeeffect.h:35
EffectField * scale_val
Definition: timecodeeffect.h:34