sams last ladspa icons, libopus/vp9, mixer fixer, plugin resets, fmt frmsz, shm fixes
[goodguy/history.git] / cinelerra-5.1 / plugins / chromakeyhsv / chromakey.h
index 68fd8b3b2f2df146860d857a320e4929e4476da1..51bcbcf75ab52997fb0580494f06d3d59da4befb 100644 (file)
@@ -45,7 +45,7 @@ class ChromaKeyConfig
 {
 public:
        ChromaKeyConfig();
-
+       void reset();
        void copy_from(ChromaKeyConfig &src);
        int equivalent(ChromaKeyConfig &src);
        void interpolate(ChromaKeyConfig &prev,
@@ -90,6 +90,16 @@ public:
        ChromaKeyWindow *gui;
 };
 
+class ChromaKeyReset : public BC_GenericButton
+{
+public:
+       ChromaKeyReset(ChromaKeyHSV *plugin, ChromaKeyWindow *gui, int x, int y);
+       int handle_event();
+       ChromaKeyHSV *plugin;
+       ChromaKeyWindow *gui;
+};
+
+
 
 class ChromaKeyMinBrightness : public BC_FSlider
 {
@@ -209,6 +219,7 @@ public:
 
        void create_objects();
        void update_sample();
+       void update_gui();
        void done_event(int result);
 
        ChromaKeyColor *color;
@@ -224,6 +235,7 @@ public:
        ChromaKeySpillThreshold *spill_threshold;
        ChromaKeySpillAmount *spill_amount;
        ChromaKeyShowMask *show_mask;
+       ChromaKeyReset *reset;
        BC_SubWindow *sample;
        ChromaKeyHSV *plugin;
        ChromaKeyColorThread *color_thread;