implemented full bezier interpolation for keyframes
This commit is contained in:
+11
-1
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user