X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ffilepng.C;h=f6326079eea84e437fdbc19f01f2c009fa080c54;hb=86c9537e0540010ff43b16feb4cd7de98409eba1;hp=d4b581d7f0f9f40bda46305f6728a806976963c9;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git 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; } - -