X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ffilepng.C;h=f6326079eea84e437fdbc19f01f2c009fa080c54;hp=d4b581d7f0f9f40bda46305f6728a806976963c9;hb=0df48ad2d876409c5beeae2e21933a728ea76c33;hpb=bd570c5fa5f5473b670673368dc30356aa6c43fa diff --git a/cinelerra-5.1/cinelerra/filepng.C b/cinelerra-5.1/cinelerra/filepng.C index d4b581d7..f6326079 100644 --- a/cinelerra-5.1/cinelerra/filepng.C +++ b/cinelerra-5.1/cinelerra/filepng.C @@ -336,16 +336,6 @@ FrameWriterUnit* FilePNG::new_writer_unit(FrameWriter *writer) } - - - - - - - - - - PNGUnit::PNGUnit(FilePNG *file, FrameWriter *writer) : FrameWriterUnit(writer) { @@ -358,19 +348,10 @@ PNGUnit::~PNGUnit() } - - - - - - - PNGConfigVideo::PNGConfigVideo(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), - 200, - 100) + parent_window->get_abs_cursor_x(1), parent_window->get_abs_cursor_y(1), + xS(200), yS(100)) { this->parent_window = parent_window; this->asset = asset; @@ -383,7 +364,7 @@ PNGConfigVideo::~PNGConfigVideo() void PNGConfigVideo::create_objects() { lock_window("PNGConfigVideo::create_objects"); - int x = 10, y = 10; + int x = xS(10), y = yS(10); add_subwindow(new PNGUseAlpha(this, x, y)); add_subwindow(new BC_OKButton(this)); show_window(1); @@ -409,5 +390,3 @@ int PNGUseAlpha::handle_event() return 1; } - -