X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fcropvideo.C;h=72aa0b9d96f0f390828c77cf07f89bbd80bc8080;hb=4180fd8871d42ead45706fba4d6ebddca977f307;hp=f1c2abf57d83321287bd8be42f19c45b7a3abb77;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/cropvideo.C b/cinelerra-5.1/cinelerra/cropvideo.C index f1c2abf5..72aa0b9d 100644 --- a/cinelerra-5.1/cinelerra/cropvideo.C +++ b/cinelerra-5.1/cinelerra/cropvideo.C @@ -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(); }