projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
titler overlay rework, clear yuv vframe
[goodguy/history.git]
/
cinelerra-5.1
/
plugins
/
chromakeyhsv
/
chromakey.h
diff --git
a/cinelerra-5.1/plugins/chromakeyhsv/chromakey.h
b/cinelerra-5.1/plugins/chromakeyhsv/chromakey.h
index d8007109b066565efb633fc450b0957e5fe8115a..51bcbcf75ab52997fb0580494f06d3d59da4befb 100644
(file)
--- a/
cinelerra-5.1/plugins/chromakeyhsv/chromakey.h
+++ b/
cinelerra-5.1/plugins/chromakeyhsv/chromakey.h
@@
-45,7
+45,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,
@@
-90,6
+90,16
@@
public:
ChromaKeyWindow *gui;
};
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 ChromaKeyMinBrightness : public BC_FSlider
{
@@
-182,7
+192,7
@@
public:
};
};
-class ChromaKeyColorThread : public Color
Thread
+class ChromaKeyColorThread : public Color
Picker
{
public:
ChromaKeyColorThread(ChromaKeyHSV *plugin, ChromaKeyWindow *gui);
{
public:
ChromaKeyColorThread(ChromaKeyHSV *plugin, ChromaKeyWindow *gui);
@@
-209,6
+219,8
@@
public:
void create_objects();
void update_sample();
void create_objects();
void update_sample();
+ void update_gui();
+ void done_event(int result);
ChromaKeyColor *color;
ChromaKeyUseColorPicker *use_colorpicker;
ChromaKeyColor *color;
ChromaKeyUseColorPicker *use_colorpicker;
@@
-223,6
+235,7
@@
public:
ChromaKeySpillThreshold *spill_threshold;
ChromaKeySpillAmount *spill_amount;
ChromaKeyShowMask *show_mask;
ChromaKeySpillThreshold *spill_threshold;
ChromaKeySpillAmount *spill_amount;
ChromaKeyShowMask *show_mask;
+ ChromaKeyReset *reset;
BC_SubWindow *sample;
ChromaKeyHSV *plugin;
ChromaKeyColorThread *color_thread;
BC_SubWindow *sample;
ChromaKeyHSV *plugin;
ChromaKeyColorThread *color_thread;