+// Key parameters section
+ y += ys30;
+ add_subwindow(title_bar = new BC_TitleBar(x, y, get_w()-2*x, xs20, xs10, _("Key parameters")));
+ y += ys20;
+ add_subwindow(title = new BC_Title(x, y, _("Threshold:")));
+ threshold_text = new ChromaKeyFText(plugin, this,
+ 0, &(plugin->config.threshold), (x + x2), y, MIN_VALUE, MAX_VALUE);
+ threshold_text->create_objects();
+ threshold_slider = new ChromaKeyFSlider(plugin,
+ threshold_text, &(plugin->config.threshold), x3, y, MIN_VALUE, MAX_VALUE, xs200);
+ add_subwindow(threshold_slider);
+ threshold_text->slider = threshold_slider;
+ add_subwindow(threshold_Clr = new ChromaKeyClr(plugin, this, clr_x, y, RESET_THRESHOLD));