mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:47:44 +00:00
Magnifier: Allow locking location at current cursor position
This commit is contained in:
parent
6d4e37138e
commit
837625e422
3 changed files with 22 additions and 1 deletions
|
@ -27,6 +27,7 @@ public:
|
|||
if (!pause)
|
||||
m_frame_offset_from_head = 0;
|
||||
}
|
||||
void lock_location(bool);
|
||||
void display_previous_frame();
|
||||
void display_next_frame();
|
||||
RefPtr<Gfx::Bitmap> current_bitmap() const { return m_grabbed_bitmap; };
|
||||
|
@ -45,4 +46,5 @@ private:
|
|||
CircularQueue<RefPtr<Gfx::Bitmap>, 512> m_grabbed_bitmaps {};
|
||||
ssize_t m_frame_offset_from_head { 0 };
|
||||
bool m_pause_capture { false };
|
||||
Optional<Gfx::IntPoint> m_locked_location {};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue