implemented full bezier interpolation for keyframes

This commit is contained in:
itsmattkc
2019-01-03 21:52:01 +11:00
parent 215c784f8e
commit 30933cbfcd
25 changed files with 1311 additions and 1071 deletions
+11 -1
View File
@@ -20,11 +20,14 @@ public:
void wheelEvent(QWheelEvent *event);
void set_row(EffectRow* r);
void set_selected_keyframe_type(int type);
void set_field_visibility(int field, bool b);
signals:
void x_scroll_changed(int);
void y_scroll_changed(int);
void zoom_changed(double);
void selection_changed(bool);
void selection_changed(bool, int);
private:
int x_scroll;
int y_scroll;
@@ -39,13 +42,20 @@ private:
int get_screen_x(double);
int get_screen_y(double);
QVector<bool> field_visibility;
QVector<int> selected_keys;
QVector<int> selected_keys_fields;
QVector<long> selected_keys_old_vals;
QVector<double> selected_keys_old_doubles;
double old_handle_x;
double old_handle_y;
bool moved_keys;
int current_handle;
EffectRow* row;
};