X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ffilejpeglist.C;h=4d9a9fb563a3a4ff999e1c43123b95fb0cdac8d1;hp=d1c7ba9f8ae974408d974fd13643054e33ded353;hb=0df48ad2d876409c5beeae2e21933a728ea76c33;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1 diff --git a/cinelerra-5.1/cinelerra/filejpeglist.C b/cinelerra-5.1/cinelerra/filejpeglist.C index d1c7ba9f..4d9a9fb5 100644 --- a/cinelerra-5.1/cinelerra/filejpeglist.C +++ b/cinelerra-5.1/cinelerra/filejpeglist.C @@ -127,7 +127,7 @@ JPEGConfigVideo::JPEGConfigVideo(BC_WindowBase *parent_window, Asset *asset) : BC_Window(_(PROGRAM_NAME ": Video Compression"), parent_window->get_abs_cursor_x(), parent_window->get_abs_cursor_y(), - 400, 100) + xS(400), yS(100)) { this->parent_window = parent_window; this->asset = asset; @@ -139,11 +139,11 @@ JPEGConfigVideo::~JPEGConfigVideo() void JPEGConfigVideo::create_objects() { - int x = 10, y = 10; + int x = xS(10), y = yS(10); lock_window("JPEGConfigVideo::create_objects"); add_subwindow(new BC_Title(x, y, _("Quality:"))); - add_subwindow(new BC_ISlider(x + 80, y, 0, - 200, 200, 0, 100, asset->quality, + add_subwindow(new BC_ISlider(x + xS(80), y, 0, + 200, 200, 0, xS(100), asset->quality, 0, 0, &asset->quality)); add_subwindow(new BC_OKButton(this));