sams last ladspa icons, libopus/vp9, mixer fixer, plugin resets, fmt frmsz, shm fixes
[goodguy/history.git] / cinelerra-5.1 / plugins / chromakey / chromakey.h
index 8e1a1aafada53e5bb08dba57560de047c04f31e8..f282554fec9df80c558dedaa5b29802ec0276a69 100644 (file)
@@ -39,7 +39,7 @@ class ChromaKeyConfig
 {
 public:
        ChromaKeyConfig();
 {
 public:
        ChromaKeyConfig();
-
+       void reset();
        void copy_from(ChromaKeyConfig &src);
        int equivalent(ChromaKeyConfig &src);
        void interpolate(ChromaKeyConfig &prev,
        void copy_from(ChromaKeyConfig &src);
        int equivalent(ChromaKeyConfig &src);
        void interpolate(ChromaKeyConfig &prev,
@@ -93,6 +93,15 @@ public:
        ChromaKey *plugin;
 };
 
        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:
 class ChromaKeyUseColorPicker : public BC_GenericButton
 {
 public:
@@ -120,6 +129,7 @@ public:
        ~ChromaKeyWindow();
 
        void create_objects();
        ~ChromaKeyWindow();
 
        void create_objects();
+       void update_gui();
        void update_sample();
        void done_event(int result);
 
        void update_sample();
        void done_event(int result);
 
@@ -128,6 +138,7 @@ public:
        ChromaKeyUseValue *use_value;
        ChromaKeyUseColorPicker *use_colorpicker;
        ChromaKeySlope *slope;
        ChromaKeyUseValue *use_value;
        ChromaKeyUseColorPicker *use_colorpicker;
        ChromaKeySlope *slope;
+       ChromaKeyReset *reset;
        BC_SubWindow *sample;
        ChromaKey *plugin;
        ChromaKeyColorThread *color_thread;
        BC_SubWindow *sample;
        ChromaKey *plugin;
        ChromaKeyColorThread *color_thread;