X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ffileexr.C;h=998372b50f1d10c4f341dc64232e901701fdc6d8;hp=351da2a3acd4dacf4da3c5f591fe2fc89c610d58;hb=3b4b6f588c4f2643316afcbc486ca6a35c16a431;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1 diff --git a/cinelerra-5.1/cinelerra/fileexr.C b/cinelerra-5.1/cinelerra/fileexr.C index 351da2a3..998372b5 100644 --- a/cinelerra-5.1/cinelerra/fileexr.C +++ b/cinelerra-5.1/cinelerra/fileexr.C @@ -572,10 +572,8 @@ EXRUnit::~EXRUnit() EXRConfigVideo::EXRConfigVideo(BC_WindowBase *parent_window, Asset *asset) : BC_Window(_(PROGRAM_NAME ": Video Compression"), - parent_window->get_abs_cursor_x(1), - parent_window->get_abs_cursor_y(1), - 300, - BC_OKButton::calculate_h() + 100) + parent_window->get_abs_cursor_x(1), parent_window->get_abs_cursor_y(1), + xS(300), BC_OKButton::calculate_h() + yS(100)) { this->parent_window = parent_window; this->asset = asset; @@ -588,13 +586,13 @@ EXRConfigVideo::~EXRConfigVideo() void EXRConfigVideo::create_objects() { lock_window("EXRConfigVideo::create_objects"); - int x = 10, y = 10; + int x = xS(10), y = yS(10); add_subwindow(new EXRUseAlpha(this, x, y)); - y += 30; + y += yS(30); EXRCompression *menu; add_subwindow(new BC_Title(x, y, _("Compression:"))); - x += 110; - add_subwindow(menu = new EXRCompression(this, x, y, 100)); + x += xS(110); + add_subwindow(menu = new EXRCompression(this, x, y, xS(100))); menu->create_objects(); add_subwindow(new BC_OKButton(this)); show_window(1); @@ -623,9 +621,7 @@ int EXRUseAlpha::handle_event() EXRCompression::EXRCompression(EXRConfigVideo *gui, int x, int y, int w) - : BC_PopupMenu(x, - y, - w, + : BC_PopupMenu(x, y, w, FileEXR::compression_to_str(gui->asset->exr_compression)) { this->gui = gui;