refactored some classes

This commit is contained in:
itsmattkc
2019-05-08 00:41:44 +10:00
parent 127a773c54
commit 9a13776b2c
133 changed files with 1698 additions and 1627 deletions
+2 -2
View File
@@ -20,7 +20,7 @@
#include "keyframedrawing.h"
#include "nodes/node.h"
#include "nodes/oldeffectnode.h"
#include "timeline/clip.h"
#define KEYFRAME_POINT_COUNT 4
@@ -54,7 +54,7 @@ void draw_keyframe(QPainter &p, int type, int x, int y, bool darker, int r, int
}
// adjusts keyframe's internal time (in clip time) to timeline time
long adjust_row_keyframe(EffectRow* row, long time, long visible_in) {
long adjust_row_keyframe(NodeIO* row, long time, long visible_in) {
return time
- row->GetParentEffect()->parent_clip->clip_in()
+ (row->GetParentEffect()->parent_clip->timeline_in() - visible_in);