X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fchromakey%2Fchromakey.h;h=f282554fec9df80c558dedaa5b29802ec0276a69;hp=8e1a1aafada53e5bb08dba57560de047c04f31e8;hb=667ff598ae2a94f48c7056aee1d77d7cde39066b;hpb=ad2996ab94e6e12c9c14a5b9f14792f76111dff7 diff --git a/cinelerra-5.1/plugins/chromakey/chromakey.h b/cinelerra-5.1/plugins/chromakey/chromakey.h index 8e1a1aaf..f282554f 100644 --- a/cinelerra-5.1/plugins/chromakey/chromakey.h +++ b/cinelerra-5.1/plugins/chromakey/chromakey.h @@ -39,7 +39,7 @@ class ChromaKeyConfig { public: ChromaKeyConfig(); - + void reset(); void copy_from(ChromaKeyConfig &src); int equivalent(ChromaKeyConfig &src); void interpolate(ChromaKeyConfig &prev, @@ -93,6 +93,15 @@ public: ChromaKey *plugin; }; +class ChromaKeyReset : public BC_GenericButton +{ +public: + ChromaKeyReset(ChromaKey *plugin, ChromaKeyWindow *gui, int x, int y); + int handle_event(); + ChromaKey *plugin; + ChromaKeyWindow *gui; +}; + class ChromaKeyUseColorPicker : public BC_GenericButton { public: @@ -120,6 +129,7 @@ public: ~ChromaKeyWindow(); void create_objects(); + void update_gui(); void update_sample(); void done_event(int result); @@ -128,6 +138,7 @@ public: ChromaKeyUseValue *use_value; ChromaKeyUseColorPicker *use_colorpicker; ChromaKeySlope *slope; + ChromaKeyReset *reset; BC_SubWindow *sample; ChromaKey *plugin; ChromaKeyColorThread *color_thread;