ImageViewer: Scale image to window on resize

This commit is contained in:
Lucas CHOLLET 2023-03-22 14:15:25 -04:00 committed by Andreas Kling
commit 17eb77cf55
Notes: sideshowbarker 2024-07-17 05:21:12 +09:00
2 changed files with 7 additions and 0 deletions

View file

@ -61,6 +61,7 @@ private:
virtual void mouseup_event(GUI::MouseEvent&) override;
virtual void drag_enter_event(GUI::DragEvent&) override;
virtual void drop_event(GUI::DropEvent&) override;
virtual void resize_event(GUI::ResizeEvent&) override;
void set_bitmap(Gfx::Bitmap const* bitmap);
void animate();