Add Timecode Display effect

This commit is contained in:
alcomposer
2018-11-29 19:11:10 +10:30
parent 48c196bdf5
commit 35f699e02e
5 changed files with 339 additions and 190 deletions
+4 -1
View File
@@ -60,6 +60,7 @@ extern QMutex effects_loaded;
#define EFFECT_INTERNAL_PAN 5
#define EFFECT_INTERNAL_TONE 6
#define EFFECT_INTERNAL_SHAKE 7
#define EFFECT_INTERNAL_TIMECODE 8
@@ -160,6 +161,9 @@ protected:
// superimpose effect
QImage img;
QOpenGLTexture* texture;
// enable effect to update constantly
bool enable_always_update;
private:
// superimpose effect
QString script;
@@ -169,7 +173,6 @@ private:
QGridLayout* ui_layout;
QWidget* ui;
bool bound;
bool enable_always_update;
// superimpose functions
virtual void redraw(double timecode);