projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
colorpicker cleanup, make ffmpeg probes early default
[goodguy/history.git]
/
cinelerra-5.1
/
plugins
/
threshold
/
thresholdwindow.C
diff --git
a/cinelerra-5.1/plugins/threshold/thresholdwindow.C
b/cinelerra-5.1/plugins/threshold/thresholdwindow.C
index f5706b0522e7ed61daf6556263d52a816e1836ed..7a22ba33668e91756c5bc0acad48de68de90fe7c 100644
(file)
--- a/
cinelerra-5.1/plugins/threshold/thresholdwindow.C
+++ b/
cinelerra-5.1/plugins/threshold/thresholdwindow.C
@@
-367,7
+367,7
@@
int ThresholdHighColorButton::handle_event()
ThresholdLowColorThread::ThresholdLowColorThread(ThresholdMain *plugin, ThresholdWindow *window)
ThresholdLowColorThread::ThresholdLowColorThread(ThresholdMain *plugin, ThresholdWindow *window)
- : Color
Thread
(1, _("Low color"))
+ : Color
Picker
(1, _("Low color"))
{
this->plugin = plugin;
this->window = window;
{
this->plugin = plugin;
this->window = window;
@@
-387,7
+387,7
@@
int ThresholdLowColorThread::handle_new_color(int output, int alpha)
ThresholdMidColorThread::ThresholdMidColorThread(ThresholdMain *plugin, ThresholdWindow *window)
ThresholdMidColorThread::ThresholdMidColorThread(ThresholdMain *plugin, ThresholdWindow *window)
- : Color
Thread
(1, _("Mid color"))
+ : Color
Picker
(1, _("Mid color"))
{
this->plugin = plugin;
this->window = window;
{
this->plugin = plugin;
this->window = window;
@@
-407,7
+407,7
@@
int ThresholdMidColorThread::handle_new_color(int output, int alpha)
ThresholdHighColorThread::ThresholdHighColorThread(ThresholdMain *plugin, ThresholdWindow *window)
ThresholdHighColorThread::ThresholdHighColorThread(ThresholdMain *plugin, ThresholdWindow *window)
- : Color
Thread
(1, _("High color"))
+ : Color
Picker
(1, _("High color"))
{
this->plugin = plugin;
this->window = window;
{
this->plugin = plugin;
this->window = window;
@@
-537,5
+537,12
@@
void ThresholdWindow::update_high_color()
flash(high_color_x, high_color_y, COLOR_W, COLOR_H);
}
flash(high_color_x, high_color_y, COLOR_W, COLOR_H);
}
+void ThresholdWindow::done_event(int result)
+{
+ low_color_thread->close_window();
+ mid_color_thread->close_window();
+ high_color_thread->close_window();
+}
+