projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add drag edit render_handle_frame
[goodguy/history.git]
/
cinelerra-5.1
/
plugins
/
chromakey
/
chromakey.h
diff --git
a/cinelerra-5.1/plugins/chromakey/chromakey.h
b/cinelerra-5.1/plugins/chromakey/chromakey.h
index cefa8d9de6684a96fa989a008dc005db4ad96d95..f282554fec9df80c558dedaa5b29802ec0276a69 100644
(file)
--- a/
cinelerra-5.1/plugins/chromakey/chromakey.h
+++ b/
cinelerra-5.1/plugins/chromakey/chromakey.h
@@
-39,7
+39,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,
@@
-93,6
+93,15
@@
public:
ChromaKey *plugin;
};
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 ChromaKeyUseColorPicker : public BC_GenericButton
{
public:
@@
-103,7
+112,7
@@
public:
};
};
-class ChromaKeyColorThread : public Color
Thread
+class ChromaKeyColorThread : public Color
Picker
{
public:
ChromaKeyColorThread(ChromaKey *plugin, ChromaKeyWindow *gui);
{
public:
ChromaKeyColorThread(ChromaKey *plugin, ChromaKeyWindow *gui);
@@
-120,13
+129,16
@@
public:
~ChromaKeyWindow();
void create_objects();
~ChromaKeyWindow();
void create_objects();
+ void update_gui();
void update_sample();
void update_sample();
+ void done_event(int result);
ChromaKeyColor *color;
ChromaKeyThreshold *threshold;
ChromaKeyUseValue *use_value;
ChromaKeyUseColorPicker *use_colorpicker;
ChromaKeySlope *slope;
ChromaKeyColor *color;
ChromaKeyThreshold *threshold;
ChromaKeyUseValue *use_value;
ChromaKeyUseColorPicker *use_colorpicker;
ChromaKeySlope *slope;
+ ChromaKeyReset *reset;
BC_SubWindow *sample;
ChromaKey *plugin;
ChromaKeyColorThread *color_thread;
BC_SubWindow *sample;
ChromaKey *plugin;
ChromaKeyColorThread *color_thread;