{
public:
ChromaKeyConfig();
-
+ void reset();
void copy_from(ChromaKeyConfig &src);
int equivalent(ChromaKeyConfig &src);
void interpolate(ChromaKeyConfig &prev,
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 ChromaKeyColorThread : public ColorThread
+class ChromaKeyColorThread : public ColorPicker
{
public:
ChromaKeyColorThread(ChromaKey *plugin, ChromaKeyWindow *gui);
~ChromaKeyWindow();
void create_objects();
+ void update_gui();
void update_sample();
+ void done_event(int result);
ChromaKeyColor *color;
ChromaKeyThreshold *threshold;
ChromaKeyUseValue *use_value;
ChromaKeyUseColorPicker *use_colorpicker;
ChromaKeySlope *slope;
+ ChromaKeyReset *reset;
BC_SubWindow *sample;
ChromaKey *plugin;
ChromaKeyColorThread *color_thread;