X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Ftracer%2Ftracer.h;h=e9918719cdefd365b162eb066ad4be1cf8df7c22;hb=HEAD;hp=cc2364e5edc36b97b4744e99c71e5096e3403e9b;hpb=f06e8ed85bd5937d704d57b65e0fb26ed288996d;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/tracer/tracer.h b/cinelerra-5.1/plugins/tracer/tracer.h index cc2364e5..d2cfc0ca 100644 --- a/cinelerra-5.1/plugins/tracer/tracer.h +++ b/cinelerra-5.1/plugins/tracer/tracer.h @@ -37,6 +37,7 @@ public: TracerPoint(float x, float y); ~TracerPoint(); + void update_parameter(TracerPoint *prev, TracerPoint *src); }; class TracerPoints : public ArrayList { @@ -52,6 +53,8 @@ public: ~TracerConfig(); int equivalent(TracerConfig &that); + void save_data(KeyFrame *keyframe); + void read_data(KeyFrame *keyframe); void copy_from(TracerConfig &that); void interpolate(TracerConfig &prev, TracerConfig &next, long prev_frame, long next_frame, long current_frame); @@ -62,10 +65,9 @@ public: int add_point(); void del_point(int i); - int drag, draw, fill; - int radius; - double scale; - int selected; + int draw, fill; + int invert, feather; + float radius; }; class TracePoint @@ -100,6 +102,8 @@ public: PLUGIN_CLASS_MEMBERS2(TracerConfig) int is_realtime(); void update_gui(); + void render_gui(void *data); + int is_dragging(); int new_point(); void save_data(KeyFrame *keyframe); void read_data(KeyFrame *keyframe); @@ -113,6 +117,10 @@ public: int smooth(); void feather(int r, double s); int load_configuration1(); + void span_keyframes(KeyFrame *src, int64_t start, int64_t end); + void update_parameter(TracerPoint *prev, TracerPoint *src); + void update_parameter(TracerConfig &prev_config, TracerConfig &src_config, + KeyFrame *keyframe); VFrame *edg, *msk, *frm; uint8_t **edg_rows; @@ -125,6 +133,7 @@ public: int color_model, bpp; int is_float, is_yuv, has_alpha; int comps, comp; + int drag, selected; }; #endif