add BC_SCALE env var for hi def monitors, cleanup theme data
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / gaborobj / gaborobjwindow.C
index 4f8ef76ebcfa92785d0be5c0def44e3f433d0528..ea8b2cef3c9b7df90020524f7075ed22e71afde3 100644 (file)
@@ -26,7 +26,7 @@
 #include "theme.h"
 
 GaborObjWindow::GaborObjWindow(GaborObj *plugin)
- : PluginClientWindow(plugin, 320, 240, 320, 240, 0)
+ : PluginClientWindow(plugin, xS(320), yS(240), xS(320), yS(240), 0)
 {
        this->plugin = plugin; 
 }
@@ -37,7 +37,7 @@ GaborObjWindow::~GaborObjWindow()
 
 void GaborObjWindow::create_objects()
 {
-       int x = 10, y = 10;
+       int x = xS(10), y = yS(10);
        BC_Title *title = new BC_Title(x, y, _("GaborObj"));
        add_subwindow(title);
        show_window(1);