mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:37:44 +00:00
PaintBrush: Make the ImageEditor accept focus
This commit is contained in:
parent
8882b6bd9a
commit
55d96715ff
1 changed files with 2 additions and 0 deletions
|
@ -66,6 +66,8 @@ public:
|
||||||
private:
|
private:
|
||||||
ImageEditor();
|
ImageEditor();
|
||||||
|
|
||||||
|
virtual bool accepts_focus() const override { return true; }
|
||||||
|
|
||||||
virtual void paint_event(GUI::PaintEvent&) override;
|
virtual void paint_event(GUI::PaintEvent&) override;
|
||||||
virtual void mousedown_event(GUI::MouseEvent&) override;
|
virtual void mousedown_event(GUI::MouseEvent&) override;
|
||||||
virtual void mousemove_event(GUI::MouseEvent&) override;
|
virtual void mousemove_event(GUI::MouseEvent&) override;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue