added some functionality for #97
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
|
||||
#include <QOpenGLFunctions>
|
||||
|
||||
CrossDissolveTransition::CrossDissolveTransition() {
|
||||
name = "Cross Dissolve";
|
||||
}
|
||||
|
||||
void CrossDissolveTransition::process_transition(float progress) {
|
||||
float color[4];
|
||||
glGetFloatv(GL_CURRENT_COLOR, color);
|
||||
|
||||
@@ -1,16 +1,20 @@
|
||||
#ifndef TRANSITION_H
|
||||
#define TRANSITION_H
|
||||
|
||||
#include <QString>
|
||||
|
||||
class Transition
|
||||
{
|
||||
public:
|
||||
Transition();
|
||||
int length;
|
||||
QString name;
|
||||
virtual void process_transition(float);
|
||||
};
|
||||
|
||||
class CrossDissolveTransition : public Transition {
|
||||
public:
|
||||
CrossDissolveTransition();
|
||||
void process_transition(float);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user