auto interpolate_from orig_id fix, move brender set_video_map update to write_frame_done
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / bandslide / bandslide.C
index e122251af3d97badef153092d162ee8a938aae16..880d5ff97db6ba6a1a98c4c3ca78075ff12c2b63 100644 (file)
@@ -120,10 +120,10 @@ int BandSlideOut::handle_event()
 
 BandSlideWindow::BandSlideWindow(BandSlideMain *plugin)
  : PluginClientWindow(plugin,
-       320,
-       100,
-       320,
-       100,
+       xS(320),
+       yS(100),
+       xS(320),
+       yS(100),
        0)
 {
        this->plugin = plugin;
@@ -132,24 +132,26 @@ BandSlideWindow::BandSlideWindow(BandSlideMain *plugin)
 
 void BandSlideWindow::create_objects()
 {
-       int x = 10, y = 10;
+       int xs10 = xS(10), xs50 = xS(50), xs100 = xS(100);
+       int ys10 = yS(10), ys30 = yS(30);
+       int x = xs10, y = ys10;
        add_subwindow(new BC_Title(x, y, _("Bands:")));
-       x += 50;
+       x += xs50;
        count = new BandSlideCount(plugin,
                this,
                x,
                y);
        count->create_objects();
 
-       y += 30;
-       x = 10;
+       y += ys30;
+       x = xs10;
        add_subwindow(new BC_Title(x, y, _("Direction:")));
-       x += 100;
+       x += xs100;
        add_subwindow(in = new BandSlideIn(plugin,
                this,
                x,
                y));
-       x += 100;
+       x += xs100;
        add_subwindow(out = new BandSlideOut(plugin,
                this,
                x,