various fixes

This commit is contained in:
itsmattkc
2018-07-22 10:21:47 +01:00
parent c340901419
commit ce4d7fda60
14 changed files with 114 additions and 63 deletions
+5
View File
@@ -40,6 +40,7 @@ class TransformEffect : public Effect {
Q_OBJECT
public:
TransformEffect(Clip* c);
void init();
void process_gl(int* anchor_x, int* anchor_y);
Effect* copy(Clip* c);
void load(QXmlStreamReader* stream);
@@ -107,8 +108,12 @@ public:
private slots:
void update_texture();
private:
void destroy_texture();
QOpenGLTexture* texture;
QImage pixmap;
QFont font;
int width;
int height;
};
class SolidEffect : public Effect {