X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fshapewipe%2Fshapewipe.h;fp=cinelerra-5.1%2Fplugins%2Fshapewipe%2Fshapewipe.h;h=f9f67c59bccfd7bc64b32499d3a6c9df4c945a32;hp=76b6efcea6e1be597f1e3b40ed578fd2ec8b5d51;hb=75267dc010a3c3f351a2312469deb5b419fae819;hpb=befe1fe45b4ac2b6430d43c6e6f6d8ecad9795e0 diff --git a/cinelerra-5.1/plugins/shapewipe/shapewipe.h b/cinelerra-5.1/plugins/shapewipe/shapewipe.h index 76b6efce..f9f67c59 100644 --- a/cinelerra-5.1/plugins/shapewipe/shapewipe.h +++ b/cinelerra-5.1/plugins/shapewipe/shapewipe.h @@ -29,6 +29,8 @@ class ShapeWipeW2B; class ShapeWipeB2W; class ShapeWipeTumble; class ShapeWipeFeather; +class ShapeWipeFSlider; +class ShapeWipeReset; class ShapeWipeShape; class ShapeWipePreserveAspectRatio; class ShapePackage; @@ -79,18 +81,40 @@ public: ShapeWipeWindow *window; }; -class ShapeWipeFeather : public BC_FSlider +class ShapeWipeFeather : public BC_TumbleTextBox { public: ShapeWipeFeather(ShapeWipeMain *client, ShapeWipeWindow *window, int x, int y); - char *get_caption(); int handle_event(); ShapeWipeMain *client; ShapeWipeWindow *window; }; +class ShapeWipeFSlider : public BC_FSlider +{ +public: + ShapeWipeFSlider(ShapeWipeMain *client, + ShapeWipeWindow *window, int x, int y, int w); + int handle_event(); + + ShapeWipeMain *client; + ShapeWipeWindow *window; +}; + +class ShapeWipeReset : public BC_Button +{ +public: + ShapeWipeReset(ShapeWipeMain *client, + ShapeWipeWindow *window, int x, int y); + int handle_event(); + static int calculate_w(ShapeWipeMain *client); + + ShapeWipeMain *client; + ShapeWipeWindow *window; +}; + class ShapeWipeShape : public BC_PopupTextBox { public: @@ -129,6 +153,8 @@ public: ShapeWipeTumble *shape_tumbler; ShapeWipeShape *shape_text; ShapeWipeFeather *shape_feather; + ShapeWipeFSlider *shape_fslider; + ShapeWipeReset *shape_reset; ArrayList shapes; };