X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Finterpolatevideo%2Finterpolatewindow.C;fp=cinelerra-5.1%2Fplugins%2Finterpolatevideo%2Finterpolatewindow.C;h=a0052ea1fb16d30c7fdc5a45998f20c56cec576c;hp=3db333ff784c51fd0c74c6acf5ea1b8af3c83308;hb=0df48ad2d876409c5beeae2e21933a728ea76c33;hpb=bd570c5fa5f5473b670673368dc30356aa6c43fa diff --git a/cinelerra-5.1/plugins/interpolatevideo/interpolatewindow.C b/cinelerra-5.1/plugins/interpolatevideo/interpolatewindow.C index 3db333ff..a0052ea1 100644 --- a/cinelerra-5.1/plugins/interpolatevideo/interpolatewindow.C +++ b/cinelerra-5.1/plugins/interpolatevideo/interpolatewindow.C @@ -34,10 +34,10 @@ InterpolateVideoWindow::InterpolateVideoWindow(InterpolateVideo *plugin) : PluginClientWindow(plugin, - 250, - 250, - 250, - 250, + xS(250), + yS(250), + xS(250), + yS(250), 0) { this->plugin = plugin; @@ -49,7 +49,9 @@ InterpolateVideoWindow::~InterpolateVideoWindow() void InterpolateVideoWindow::create_objects() { - int x = 10, y = 10; + int xs5 = xS(5), xs10 = xS(10); + int ys10 = yS(10); + int x = xs10, y = ys10; BC_Title *title; @@ -62,7 +64,7 @@ void InterpolateVideoWindow::create_objects() y)); add_subwindow(rate_menu = new InterpolateVideoRateMenu(plugin, this, - x + rate->get_w() + 5, + x + rate->get_w() + xs5, y)); y += rate->get_h() + plugin->get_theme()->widget_border; add_subwindow(keyframes = new InterpolateVideoKeyframes(plugin, @@ -147,7 +149,7 @@ InterpolateVideoRate::InterpolateVideoRate(InterpolateVideo *plugin, int y) : BC_TextBox(x, y, - 90, + xS(90), 1, (float)plugin->config.input_rate) { @@ -171,8 +173,8 @@ InterpolateVideoRateMenu::InterpolateVideoRateMenu(InterpolateVideo *plugin, int y) : BC_ListBox(x, y, - 100, - 200, + xS(100), + yS(200), LISTBOX_TEXT, &plugin->get_theme()->frame_rates, 0,