X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fchromakey%2Fchromakey.C;h=9d1926fc82ce83c66fde4233fe9860e8fcbcf73c;hb=6f8a01f30489bde88280931c3ef9ea4edeb44d0f;hp=8618d03b605c2922c2539835bb7a042f216cd3ef;hpb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/chromakey/chromakey.C b/cinelerra-5.1/plugins/chromakey/chromakey.C index 8618d03b..9d1926fc 100644 --- a/cinelerra-5.1/plugins/chromakey/chromakey.C +++ b/cinelerra-5.1/plugins/chromakey/chromakey.C @@ -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;