X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fsketcher%2Fsketcher.h;h=3fb1afb1e27555c04f453ef98d62bccccc776de0;hb=e04ca4a9e14ac5d4163e92ed4d614ac39abb7440;hp=c8f3be5fda3ea5d15db5195397935491a3815a1d;hpb=096e197a21d85fa8c60547cd54944fb379c08bb9;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/sketcher/sketcher.h b/cinelerra-5.1/plugins/sketcher/sketcher.h index c8f3be5f..3fb1afb1 100644 --- a/cinelerra-5.1/plugins/sketcher/sketcher.h +++ b/cinelerra-5.1/plugins/sketcher/sketcher.h @@ -165,12 +165,11 @@ public: void interpolate(SketcherConfig &prev, SketcherConfig &next, long prev_frame, long next_frame, long current_frame); double nearest_point(int &ci, int &pi, coord x, coord y); + int new_curve(int pen, int width, int color); void limits(); void dump(); - int drag; int aliasing; - int cv_selected, pt_selected; }; class Sketcher : public PluginVClient @@ -182,6 +181,8 @@ public: int is_realtime(); int is_synthesis(); void update_gui(); + void render_gui(void *data); + int is_dragging(); void save_data(KeyFrame *keyframe); void read_data(KeyFrame *keyframe); void span_keyframes(KeyFrame *src, int64_t start, int64_t end); @@ -200,6 +201,8 @@ public: OverlayFrame *overlay_frame; int w, h, color_model, bpp, comp; int is_yuv, is_float; + int drag; + int cv_selected, pt_selected; }; #endif