Olive
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
solideffect.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 SOLIDEFFECT_H
22 #define SOLIDEFFECT_H
23 
24 #include "effects/effect.h"
25 
26 #include <QImage>
27 
28 class SolidEffect : public Effect {
29  Q_OBJECT
30 public:
31  enum SolidType {
35  };
36 
37  SolidEffect(Clip* c, const EffectMeta *em);
38  virtual void redraw(double timecode);
39 
40  void SetType(SolidType type);
41 private slots:
42  void ui_update(const QVariant &d);
43 private:
48 };
49 
50 #endif // SOLIDEFFECT_H
void SetType(SolidType type)
Definition: solideffect.cpp:200
The DoubleField class.
Definition: doublefield.h:13
SolidEffect(Clip *c, const EffectMeta *em)
Definition: solideffect.cpp:37
Definition: solideffect.h:28
Definition: solideffect.h:32
virtual void redraw(double timecode)
Definition: solideffect.cpp:76
Definition: clip.h:56
The ColorField class.
Definition: colorfield.h:11
Definition: solideffect.h:33
DoubleField * opacity_field
Definition: solideffect.h:46
Definition: effect.h:52
void ui_update(const QVariant &d)
Definition: solideffect.cpp:205
DoubleField * checkerboard_size_field
Definition: solideffect.h:47
ColorField * solid_color_field
Definition: solideffect.h:45
Definition: solideffect.h:34
SolidType
Definition: solideffect.h:31
The ComboField class.
Definition: combofield.h:24
Definition: effect.h:136
ComboField * solid_type
Definition: solideffect.h:44