X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fslide%2Fslide.C;fp=cinelerra-5.1%2Fplugins%2Fslide%2Fslide.C;h=9e6b6d0e601e689e22948996e29a48bbba3c848a;hb=0df48ad2d876409c5beeae2e21933a728ea76c33;hp=99a2df8335959fce9f683bc2fcc5bff95745893e;hpb=bd570c5fa5f5473b670673368dc30356aa6c43fa;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/slide/slide.C b/cinelerra-5.1/plugins/slide/slide.C index 99a2df83..9e6b6d0e 100644 --- a/cinelerra-5.1/plugins/slide/slide.C +++ b/cinelerra-5.1/plugins/slide/slide.C @@ -137,10 +137,10 @@ int SlideOut::handle_event() SlideWindow::SlideWindow(SlideMain *plugin) : PluginClientWindow(plugin, - 320, - 100, - 320, - 100, + xS(320), + yS(100), + xS(320), + yS(100), 0) { this->plugin = plugin; @@ -153,28 +153,30 @@ SlideWindow::SlideWindow(SlideMain *plugin) void SlideWindow::create_objects() { - int x = 10, y = 10; + int xs10 = xS(10), xs100 = xS(100); + int ys10 = yS(10), ys30 = yS(30); + int x = xs10, y = ys10; add_subwindow(new BC_Title(x, y, _("Direction:"))); - x += 100; + x += xs100; add_subwindow(left = new SlideLeft(plugin, this, x, y)); - x += 100; + x += xs100; add_subwindow(right = new SlideRight(plugin, this, x, y)); - y += 30; - x = 10; + y += ys30; + x = xs10; add_subwindow(new BC_Title(x, y, _("Direction:"))); - x += 100; + x += xs100; add_subwindow(in = new SlideIn(plugin, this, x, y)); - x += 100; + x += xs100; add_subwindow(out = new SlideOut(plugin, this, x,