X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Ftimestretch%2Ftimestretch.C;fp=cinelerra-5.1%2Fplugins%2Ftimestretch%2Ftimestretch.C;h=0653a9e2a8daef445ca2a3a6ca2442ec69731be5;hp=780c452a55fdf88518106600cf5cce30315fb24a;hb=0df48ad2d876409c5beeae2e21933a728ea76c33;hpb=bd570c5fa5f5473b670673368dc30356aa6c43fa diff --git a/cinelerra-5.1/plugins/timestretch/timestretch.C b/cinelerra-5.1/plugins/timestretch/timestretch.C index 780c452a..0653a9e2 100644 --- a/cinelerra-5.1/plugins/timestretch/timestretch.C +++ b/cinelerra-5.1/plugins/timestretch/timestretch.C @@ -49,7 +49,7 @@ REGISTER_PLUGIN(TimeStretch) TimeStretchFraction::TimeStretchFraction(TimeStretch *plugin, int x, int y) - : BC_TextBox(x, y, 100, 1, (float)(1.0 / plugin->scale)) + : BC_TextBox(x, y, xS(100), 1, (float)(1.0 / plugin->scale)) { this->plugin = plugin; } @@ -118,12 +118,12 @@ int TimeStretchTime::handle_event() TimeStretchWindow::TimeStretchWindow(TimeStretch *plugin, int x, int y) : BC_Window(_(PROGRAM_NAME ": Time stretch"), - x - 160, - y - 75, - 320, - 200, - 320, - 200, + x - xS(160), + y - yS(75), + xS(320), + yS(200), + xS(320), + yS(200), 0, 0, 1) @@ -138,7 +138,7 @@ TimeStretchWindow::~TimeStretchWindow() void TimeStretchWindow::create_objects() { - int x = 10, y = 10; + int x = xS(10), y = yS(10); BC_Title *title; add_subwindow(title = new BC_Title(x, y, _("Fraction of original speed:")));