X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Floopvideo%2Floopvideo.C;h=d6cfdad8bc14cf4f8ce195ae660a52617779db5b;hb=refs%2Fheads%2Fmaster;hp=17983efadf9efdd677d65715af54ce4c28aa1ee3;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/loopvideo/loopvideo.C b/cinelerra-5.1/plugins/loopvideo/loopvideo.C index 17983efa..57116932 100644 --- a/cinelerra-5.1/plugins/loopvideo/loopvideo.C +++ b/cinelerra-5.1/plugins/loopvideo/loopvideo.C @@ -2,6 +2,7 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams + * Copyright (C) 2003-2016 Cinelerra CV contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -100,10 +101,10 @@ LoopVideoConfig::LoopVideoConfig() LoopVideoWindow::LoopVideoWindow(LoopVideo *plugin) : PluginClientWindow(plugin, - 210, - 160, - 200, - 160, + xS(160), + yS(70), + xS(160), + yS(70), 0) { this->plugin = plugin; @@ -115,10 +116,12 @@ LoopVideoWindow::~LoopVideoWindow() void LoopVideoWindow::create_objects() { - int x = 10, y = 10; + int xs10 = xS(10); + int ys10 = yS(10), ys20 = yS(20); + int x = xs10, y = ys10; add_subwindow(new BC_Title(x, y, _("Frames to loop:"))); - y += 20; + y += ys20; add_subwindow(frames = new LoopVideoFrames(plugin, x, y)); @@ -141,7 +144,7 @@ LoopVideoFrames::LoopVideoFrames(LoopVideo *plugin, int y) : BC_TextBox(x, y, - 100, + xS(100), 1, plugin->config.frames) {