20 lines
476 B
C++
20 lines
476 B
C++
#ifndef SOLIDEFFECT_H
|
|
#define SOLIDEFFECT_H
|
|
|
|
#include "../effect.h"
|
|
|
|
class SolidEffect : public Effect {
|
|
Q_OBJECT
|
|
public:
|
|
SolidEffect(Clip* c);
|
|
EffectField* solid_type;
|
|
EffectField* solid_color_field;
|
|
EffectField* opacity_field;
|
|
void process_gl(double timecode, QOpenGLShaderProgram& shaders, GLTextureCoords& coords);
|
|
void process_image(long p, uint8_t* data, int width, int height);
|
|
private slots:
|
|
void enable_color();
|
|
};
|
|
|
|
#endif // SOLIDEFFECT_H
|