add BC_SCALE env var for hi def monitors, cleanup theme data
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / reframert / reframert.C
index 1c52881f37c22d0a9e7ea48de7bb093c1593c88d..9558a3432baaf9168172f308a8c76af5d9240851 100644 (file)
@@ -108,7 +108,7 @@ void ReframeRTConfig::boundaries()
 
 
 ReframeRTWindow::ReframeRTWindow(ReframeRT *plugin)
- : PluginClientWindow(plugin, 230, 235, 230, 235, 0)
+ : PluginClientWindow(plugin, xS(230), yS(235), xS(230), yS(235), 0)
 {
        this->plugin = plugin;
 }
@@ -144,11 +144,11 @@ void ReframeRTWindow::create_objects()
 
        y += denom->get_h() + plugin->get_theme()->widget_border;
        add_subwindow(stretch = new ReframeRTStretch(plugin, this, x, y));
-       y += 30;
+       y += yS(30);
        add_subwindow(downsample = new ReframeRTDownsample(plugin, this, x, y));
-       y += 30;
+       y += yS(30);
        add_subwindow(interpolate = new ReframeRTInterpolate(plugin, this, x, y));
-       y += 40;
+       y += yS(40);
        add_subwindow(reset = new ReframeRTReset(plugin, this, x, y));
        show_window();
 }