X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fchromakey%2Fchromakey.C;h=90934f3e9b27807a2990c2c7d06c0642f0f2834b;hp=8618d03b605c2922c2539835bb7a042f216cd3ef;hb=9d832a1fff11b11aaa1108c460690ed05e2bdc05;hpb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb diff --git a/cinelerra-5.1/plugins/chromakey/chromakey.C b/cinelerra-5.1/plugins/chromakey/chromakey.C index 8618d03b..90934f3e 100644 --- a/cinelerra-5.1/plugins/chromakey/chromakey.C +++ b/cinelerra-5.1/plugins/chromakey/chromakey.C @@ -30,7 +30,7 @@ #include "language.h" #include "loadbalance.h" #include "playback3d.h" -#include "cicolors.h" +#include "bccolors.h" #include "pluginvclient.h" #include "vframe.h" @@ -169,6 +169,11 @@ void ChromaKeyWindow::update_sample() sample->flash(); } +void ChromaKeyWindow::done_event(int result) +{ + color_thread->close_window(); +} + @@ -279,7 +284,7 @@ int ChromaKeyUseColorPicker::handle_event() ChromaKeyColorThread::ChromaKeyColorThread(ChromaKey *plugin, ChromaKeyWindow *gui) - : ColorThread(1, _("Inner color")) + : ColorPicker(1, _("Inner color")) { this->plugin = plugin; this->gui = gui;