add collect/paste effects, new videoscope graticules, boxblur update fix, theora...
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / boxblur / boxblur.C
index 8408bc3396494bd9c923a33287915b37d841ef16..006439af39a3b8e998b7dede327185fc4ac7ad23 100644 (file)
@@ -314,6 +314,7 @@ int BoxBlurNumISlider::handle_event()
 {
        int iv = get_value();
        num->update(iv);
+       num->gui->update_drag();
        return 1;
 }
 
@@ -328,6 +329,7 @@ int BoxBlurNumIText::handle_event()
 {
        int iv = atoi(get_text());
        num->update(iv);
+       num->gui->update_drag();
        return 1;
 }
 
@@ -347,6 +349,7 @@ int BoxBlurNumClear::handle_event()
 {
        int v = num->imn;
        num->update(v);
+       num->gui->update_drag();
        return 1;
 }
 
@@ -402,7 +405,6 @@ void BoxBlurNum::update(int value)
        text->update((int64_t)value);
        slider->update(value);
        *ivalue = value;
-       gui->update_drag();
 }
 
 
@@ -419,7 +421,7 @@ BoxBlurPower::BoxBlurPower(BoxBlurWindow *gui, int x, int y, int w,
 }
 
 BoxBlurWindow::BoxBlurWindow(BoxBlurEffect *plugin)
- : PluginClientWindow(plugin, xS(360), yS(240), xS(360), yS(240), 0)
+ : PluginClientWindow(plugin, xS(360), yS(246), xS(360), yS(246), 0)
 {
        this->plugin = plugin;
        blur_horz = 0;
@@ -485,7 +487,7 @@ void BoxBlurWindow::create_objects()
        blur_power = new BoxBlurPower(this, x, y, ww, _("Power:"),
                        &plugin->config.power);
        blur_power->create_objects();
-       y += blur_power->get_h() + margin;
+       y += blur_power->get_h() + margin + yS(8);
        BC_Bar *bar;
        add_subwindow(bar = new BC_Bar(x, y, ww));
        y += bar->get_h() + 2*margin;