{
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:
~ChromaKeyWindow();
void create_objects();
+ void update_gui();
void update_sample();
void done_event(int result);
ChromaKeyUseValue *use_value;
ChromaKeyUseColorPicker *use_colorpicker;
ChromaKeySlope *slope;
+ ChromaKeyReset *reset;
BC_SubWindow *sample;
ChromaKey *plugin;
ChromaKeyColorThread *color_thread;