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

Magnifier: Add option to choose grid color

This commit is contained in:
FrHun 2022-12-04 22:09:42 +01:00 committed by Sam Atkins
parent 2b635b5330
commit 808eafcf1e
3 changed files with 23 additions and 4 deletions

View file

@ -22,6 +22,8 @@ public:
void set_scale_factor(int scale_factor);
virtual void set_color_filter(OwnPtr<Gfx::ColorBlindnessFilter>) override;
void show_grid(bool);
Gfx::Color grid_color() { return m_grid_color; }
void set_grid_color(Gfx::Color);
void pause_capture(bool pause)
{
@ -50,4 +52,5 @@ private:
bool m_pause_capture { false };
Optional<Gfx::IntPoint> m_locked_location {};
bool m_show_grid { false };
Gfx::Color m_grid_color { 255, 0, 255, 100 };
};