X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fsketcher%2Fsketcherwindow.h;h=a0a5e3ce374353327c041423ce0ae78128ba9387;hb=830002fd22c63a959136e2ac0694c56f22f60def;hp=72fcc166be25ad6e6d1579891d9690eeee571688;hpb=5d8a7826b0f80f00622e46baf75453995a76e343;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/sketcher/sketcherwindow.h b/cinelerra-5.1/plugins/sketcher/sketcherwindow.h index 72fcc166..a0a5e3ce 100644 --- a/cinelerra-5.1/plugins/sketcher/sketcherwindow.h +++ b/cinelerra-5.1/plugins/sketcher/sketcherwindow.h @@ -53,6 +53,7 @@ class SketcherPointUp; class SketcherPointDn; class SketcherResetCurves; class SketcherResetPoints; +class SketcherHelp; class SketcherWindow; @@ -373,6 +374,16 @@ public: SketcherWindow *gui; }; +class SketcherHelp : public BC_CheckBox +{ +public: + SketcherHelp(SketcherWindow *gui, Sketcher *plugin, int x, int y); + ~SketcherHelp(); + int handle_event(); + + Sketcher *plugin; + SketcherWindow *gui; +}; class SketcherWindow : public PluginClientWindow { @@ -385,6 +396,7 @@ public: void update_gui(); int grab_event(XEvent *event); int do_grab_event(XEvent *event); + int handle_ungrab(); int grab_button_press(XEvent *event); int grab_cursor_motion(); void send_configure_change(); @@ -404,6 +416,7 @@ public: SketcherAliasing *aliasing; SketcherCurveList *curve_list; SketcherResetCurves *reset_curves; + SketcherHelp *help; SketcherResetPoints *reset_points; SketcherDrag *drag; @@ -426,8 +439,10 @@ public: float track_x, track_y; int state, dragging; int pending_motion, pending_config; + int helped, help_y, help_h; XEvent motion_event; float last_x, last_y; + int64_t last_time; BC_Title *notes0, *notes1, *notes2, *notes3; }; #endif