X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Finvertvideo%2Finvert.C;h=4eaf830b0cfdbad775fac229f8f69c731c7b2764;hp=7dc94c0103af836cff5ff37c52d9342bef41e8de;hb=HEAD;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1 diff --git a/cinelerra-5.1/plugins/invertvideo/invert.C b/cinelerra-5.1/plugins/invertvideo/invert.C index 7dc94c01..4eaf830b 100644 --- a/cinelerra-5.1/plugins/invertvideo/invert.C +++ b/cinelerra-5.1/plugins/invertvideo/invert.C @@ -157,25 +157,21 @@ int InvertVideoEnable::handle_event() InvertVideoWindow::InvertVideoWindow(InvertVideoEffect *plugin) - : PluginClientWindow(plugin, - 260, - 130, - 260, - 130, - 0) + : PluginClientWindow(plugin, xS(150), yS(130), xS(150), yS(130), 0) { this->plugin = plugin; } void InvertVideoWindow::create_objects() { - int x = 10, y = 10; + int ys30 = yS(30); + int x = xS(10), y = yS(10); add_subwindow(r = new InvertVideoEnable(plugin, &plugin->config.r, x, y, _("Invert R"))); - y += 30; + y += ys30; add_subwindow(g = new InvertVideoEnable(plugin, &plugin->config.g, x, y, _("Invert G"))); - y += 30; + y += ys30; add_subwindow(b = new InvertVideoEnable(plugin, &plugin->config.b, x, y, _("Invert B"))); - y += 30; + y += ys30; add_subwindow(a = new InvertVideoEnable(plugin, &plugin->config.a, x, y, _("Invert A"))); show_window();