X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ffileppm.C;h=625223eaa5f476a266bceaf785d9ab97eeef086b;hb=9e3d90a964c0fbe97c0b58235336a47111932d5d;hp=7df92707a11e56d567b9e68424bbff2ec28a1f60;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/fileppm.C b/cinelerra-5.1/cinelerra/fileppm.C index 7df92707..625223ea 100644 --- a/cinelerra-5.1/cinelerra/fileppm.C +++ b/cinelerra-5.1/cinelerra/fileppm.C @@ -195,7 +195,8 @@ int FilePPM::get_best_colormodel(Asset *asset, int driver) PPMConfigVideo::PPMConfigVideo(BC_WindowBase *gui, Asset *asset) : BC_Window(_(PROGRAM_NAME ": Video Compression"), - gui->get_abs_cursor_x(1), gui->get_abs_cursor_y(1), 200, 100) + gui->get_abs_cursor_x(1), gui->get_abs_cursor_y(1), + xS(200), yS(100)) { this->gui = gui; this->asset = asset; @@ -204,7 +205,7 @@ PPMConfigVideo::PPMConfigVideo(BC_WindowBase *gui, Asset *asset) void PPMConfigVideo::create_objects() { lock_window("PPMConfigVideo::create_objects"); - int x = 10, y = 10; + int x = xS(10), y = yS(10); add_subwindow(new BC_Title(x, y, _("PPM, RGB raw only"))); add_subwindow(new BC_OKButton(this)); show_window(1);