add BC_SCALE env var for hi def monitors, cleanup theme data
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / fileppm.C
index 7df92707a11e56d567b9e68424bbff2ec28a1f60..625223eaa5f476a266bceaf785d9ab97eeef086b 100644 (file)
@@ -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);