refactored some classes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user