X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fshapewipe%2Fshapewipe.h;h=1f4d449ed336ae14de0ed5c4469217175b87e828;hb=205a66f9f2abd6eac72076f773ce5d75921fa151;hp=76b6efcea6e1be597f1e3b40ed578fd2ec8b5d51;hpb=befe1fe45b4ac2b6430d43c6e6f6d8ecad9795e0;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/shapewipe/shapewipe.h b/cinelerra-5.1/plugins/shapewipe/shapewipe.h index 76b6efce..1f4d449e 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,12 +81,33 @@ 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(); ShapeWipeMain *client; @@ -129,6 +152,8 @@ public: ShapeWipeTumble *shape_tumbler; ShapeWipeShape *shape_text; ShapeWipeFeather *shape_feather; + ShapeWipeFSlider *shape_fslider; + ShapeWipeReset *shape_reset; ArrayList shapes; }; @@ -174,8 +199,6 @@ public: char current_filename[BCTEXTLEN]; char current_name[BCTEXTLEN]; unsigned char **pattern_image; - unsigned char min_value; - unsigned char max_value; int frame_width; int frame_height; int preserve_aspect;