1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:37:36 +00:00

Magnifier: Add the option to save captures

This commit is contained in:
Roberto Bampi 2022-08-22 22:38:37 +02:00 committed by Sam Atkins
parent eb0657c23e
commit 69f7a59a34
3 changed files with 45 additions and 2 deletions

View file

@ -18,6 +18,7 @@ public:
virtual ~MagnifierWidget() override = default;
void set_scale_factor(int scale_factor);
void set_color_filter(OwnPtr<Gfx::ColorBlindnessFilter>);
void pause_capture(bool pause)
{
m_pause_capture = pause;
@ -26,6 +27,7 @@ public:
}
void display_previous_frame();
void display_next_frame();
RefPtr<Gfx::Bitmap> current_bitmap() const { return m_grabbed_bitmap; };
private:
MagnifierWidget();