X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fsketcher%2Fsketcherwindow.h;h=55dc4f4ef38169a5ee689a7daf31597c3f891511;hp=d15cf9c1776c31c5eb85244f9e1c8a488466909f;hb=ad498171bc20d8187dfa891da26d7b32a2ff0380;hpb=b64142b983e53a7f0bfe8422efc3bb4f4ebb897c diff --git a/cinelerra-5.1/plugins/sketcher/sketcherwindow.h b/cinelerra-5.1/plugins/sketcher/sketcherwindow.h index d15cf9c1..55dc4f4e 100644 --- a/cinelerra-5.1/plugins/sketcher/sketcherwindow.h +++ b/cinelerra-5.1/plugins/sketcher/sketcherwindow.h @@ -95,6 +95,7 @@ public: void update(int pen); SketcherWindow *gui; + int pen; }; class SketcherCurveColor : public BC_Button @@ -192,11 +193,12 @@ public: class SketcherCurveWidth : public SketcherNum { public: - SketcherCurveWidth(SketcherWindow *gui, int x, int y, float output) - : SketcherNum(gui, x, y, output, 0, 255) {} - ~SketcherCurveWidth() {} + SketcherCurveWidth(SketcherWindow *gui, int x, int y, int width); + ~SketcherCurveWidth(); int handle_event(); + void update(int width); + int width; }; class SketcherCurveList : public BC_ListBox @@ -266,19 +268,20 @@ public: class SketcherPointTypeItem : public BC_MenuItem { public: - SketcherPointTypeItem(int pty); + SketcherPointTypeItem(int arc); int handle_event(); - int pty; + int arc; }; class SketcherPointType : public BC_PopupMenu { public: - SketcherPointType(SketcherWindow *gui, int x, int y, int pty); + SketcherPointType(SketcherWindow *gui, int x, int y, int arc); void create_objects(); - void update(int pty); + void update(int arc); SketcherWindow *gui; + int type; }; @@ -389,10 +392,9 @@ public: void update_gui(); void start_color_thread(SketcherCurveColor *curve_color); int grab_event(XEvent *event); - int grab_button_press(XEvent *event); - int grab_cursor_motion(XEvent *event); int do_grab_event(XEvent *event); - void done_event(int result); + int grab_button_press(XEvent *event); + int grab_cursor_motion(); void send_configure_change(); int keypress_event(); @@ -433,7 +435,7 @@ public: int pending_motion, pending_config; XEvent motion_event; float last_x, last_y; - BC_Title *notes0, *notes1, *notes2; + BC_Title *notes0, *notes1, *notes2, *notes3; }; #endif