X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fbandslide%2Fbandslide.C;h=880d5ff97db6ba6a1a98c4c3ca78075ff12c2b63;hb=964a629cd40e9cf5ca64e7ec8c5f630830e9d11b;hp=e122251af3d97badef153092d162ee8a938aae16;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/bandslide/bandslide.C b/cinelerra-5.1/plugins/bandslide/bandslide.C index e122251a..880d5ff9 100644 --- a/cinelerra-5.1/plugins/bandslide/bandslide.C +++ b/cinelerra-5.1/plugins/bandslide/bandslide.C @@ -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,