{
public:
ChromaKeyConfig();
-
+ void reset();
void copy_from(ChromaKeyConfig &src);
int equivalent(ChromaKeyConfig &src);
void interpolate(ChromaKeyConfig &prev,
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
{
};
-class ChromaKeyColorThread : public ColorThread
+class ChromaKeyColorThread : public ColorPicker
{
public:
ChromaKeyColorThread(ChromaKeyHSV *plugin, ChromaKeyWindow *gui);
void create_objects();
void update_sample();
+ void update_gui();
+ void done_event(int result);
ChromaKeyColor *color;
ChromaKeyUseColorPicker *use_colorpicker;
ChromaKeySpillThreshold *spill_threshold;
ChromaKeySpillAmount *spill_amount;
ChromaKeyShowMask *show_mask;
+ ChromaKeyReset *reset;
BC_SubWindow *sample;
ChromaKeyHSV *plugin;
ChromaKeyColorThread *color_thread;