X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Frgb601%2Frgb601window.C;h=0ddb7d87eccac44bf695affe8c835dd19ed690c5;hb=e04ca4a9e14ac5d4163e92ed4d614ac39abb7440;hp=e688a2c8d3928b369e56edf1f53959b72dbf52c3;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/rgb601/rgb601window.C b/cinelerra-5.1/plugins/rgb601/rgb601window.C index e688a2c8..0ddb7d87 100644 --- a/cinelerra-5.1/plugins/rgb601/rgb601window.C +++ b/cinelerra-5.1/plugins/rgb601/rgb601window.C @@ -34,7 +34,7 @@ RGB601Window::RGB601Window(RGB601Main *client) - : PluginClientWindow(client, 235, 100, 235, 100, 0) + : PluginClientWindow(client, xS(235), yS(100), xS(235), yS(100), 0) { this->client = client; } @@ -45,7 +45,9 @@ RGB601Window::~RGB601Window() void RGB601Window::create_objects() { - int x = 10, y = 10; + int xs10 = xS(10); + int ys10 = yS(10), ys30 = yS(30); + int x = xs10, y = ys10; add_tool(forward = new RGB601Direction(this, x, @@ -53,7 +55,7 @@ void RGB601Window::create_objects() &client->config.direction, 1, _("RGB -> 601 compression"))); - y += 30; + y += ys30; add_tool(reverse = new RGB601Direction(this, x, y,