X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fpitch%2Fpitch.C;h=9f1b1b57ca1ea172afb55646eafd79dc5492fb81;hp=673c33c173b341ba886f5d539e3e48e72fe1a324;hb=5ec378f09aeeb646705fdb8035b39a186374fba0;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1 diff --git a/cinelerra-5.1/plugins/pitch/pitch.C b/cinelerra-5.1/plugins/pitch/pitch.C index 673c33c1..9f1b1b57 100644 --- a/cinelerra-5.1/plugins/pitch/pitch.C +++ b/cinelerra-5.1/plugins/pitch/pitch.C @@ -401,10 +401,10 @@ void PitchConfig::interpolate(PitchConfig &prev, PitchWindow::PitchWindow(PitchEffect *plugin) : PluginClientWindow(plugin, - 150, - 100, - 150, - 100, + xS(150), + yS(100), + xS(150), + yS(100), 0) { this->plugin = plugin; @@ -412,7 +412,7 @@ PitchWindow::PitchWindow(PitchEffect *plugin) void PitchWindow::create_objects() { - int x1 = 10, x = 10, y = 10; + int x1 = xS(10), x = xS(10), y = yS(10); BC_Title *title; add_subwindow(title = new BC_Title(x, y, _("Scale:"))); @@ -465,7 +465,7 @@ int PitchScale::handle_event() PitchSize::PitchSize(PitchWindow *window, PitchEffect *plugin, int x, int y) - : BC_PopupMenu(x, y, 100, "4096", 1) + : BC_PopupMenu(x, y, xS(110), "4096", 1) { this->plugin = plugin; }