fixed selecting bug

This commit is contained in:
itsmattkc
2018-07-05 23:52:28 +01:00
parent 00959ca50a
commit 77defa4ce9
11 changed files with 55 additions and 43 deletions
+1
View File
@@ -4,6 +4,7 @@
CrossDissolveTransition::CrossDissolveTransition() {
name = "Cross Dissolve";
id = VIDEO_DISSOLVE_TRANSITION;
}
void CrossDissolveTransition::process_transition(float progress) {
+1
View File
@@ -2,6 +2,7 @@
Transition::Transition() {
length = 30;
link = NULL;
}
Transition* Transition::copy() {
+12
View File
@@ -3,12 +3,24 @@
#include <QString>
enum VideoTransitions {
VIDEO_DISSOLVE_TRANSITION,
VIDEO_TRANSITION_COUNT
};
enum AudioTransitions {
AUDIO_LINEAR_FADE_TRANSITION,
AUDIO_TRANSITION_COUNT
};
class Transition
{
public:
Transition();
int id;
int length;
QString name;
Transition* link;
virtual void process_transition(float);
virtual Transition* copy();
};