mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:57:35 +00:00
Magnifier: Add the option to save captures
This commit is contained in:
parent
eb0657c23e
commit
69f7a59a34
3 changed files with 45 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue