add BC_SCALE env var for hi def monitors, cleanup theme data
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / 1080to540 / 1080to540.C
index ecf9a0f82af619a31cb61b4686ad70c6f249686a..76cbeb0a74515daf54b4535754df1b23c67cd794 100644 (file)
@@ -73,10 +73,10 @@ void _1080to540Config::interpolate(_1080to540Config &prev,
 
 _1080to540Window::_1080to540Window(_1080to540Main *client)
  : PluginClientWindow(client,
-       200,
-       100,
-       200,
-       100,
+       xS(200),
+       yS(100),
+       xS(200),
+       yS(100),
        0)
 {
        this->client = client;
@@ -89,10 +89,10 @@ _1080to540Window::~_1080to540Window()
 
 void _1080to540Window::create_objects()
 {
-       int x = 10, y = 10;
+       int x = xS(10), y = yS(10);
 
        add_tool(odd_first = new _1080to540Option(client, this, 1, x, y, _("Odd field first")));
-       y += 25;
+       y += yS(25);
        add_tool(even_first = new _1080to540Option(client, this, 0, x, y, _("Even field first")));
 
        show_window();