X-Git-Url: https://cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fplugins%2Finvertvideo%2Finvert.C;h=13ee8dd899523414def9f60683e0673cd7b2802b;hb=0df48ad2d876409c5beeae2e21933a728ea76c33;hp=7dc94c0103af836cff5ff37c52d9342bef41e8de;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/invertvideo/invert.C b/cinelerra-5.1/plugins/invertvideo/invert.C index 7dc94c01..13ee8dd8 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(200), yS(130), xS(200), 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();