add BC_SCALE env var for hi def monitors, cleanup theme data
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / cropvideo.C
index f1c2abf57d83321287bd8be42f19c45b7a3abb77..72aa0b9d96f0f390828c77cf07f89bbd80bc8080 100644 (file)
@@ -94,7 +94,7 @@ int CropVideo::save_defaults()
 }
 
 CropVideoWindow::CropVideoWindow(MWindow *mwindow, CropVideo *thread)
- : BC_Window(_(PROGRAM_NAME ": Crop"), 380, 75, 0, 0)
+ : BC_Window(_(PROGRAM_NAME ": Crop"), xS(380), yS(75), 0, 0)
 {
        this->mwindow = mwindow;
        this->thread = thread;
@@ -107,11 +107,11 @@ CropVideoWindow::~CropVideoWindow()
 void CropVideoWindow::create_objects()
 {
        lock_window("CropVideoWindow::create_objects");
-       int x = 10, y = 10;
+       int x = xS(10), y = yS(10);
        add_subwindow(new BC_Title(x, y, _("Select a region to crop in the video output window")));
-       y += 30;
+       y += yS(30);
        add_subwindow(new BC_OKButton(x, y));
-       x = get_w() - 100;
+       x = get_w() - xS(100);
        add_subwindow(new BC_CancelButton(x, y));
        unlock_window();
 }