diff options
author | Hüseyin ASLITÜRK <asliturk@hotmail.com> | 2020-06-12 22:01:09 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-13 12:36:30 +0200 |
commit | 3ebdb5ea30e658b145c9bfb4b2837817f947fadc (patch) | |
tree | deec56dba8c1549260b5bdd66999ab9c2dd173c4 /Applications/KeyboardMapper/KeyButton.h | |
parent | 8733da652e0baec609d29a3ca8e2ec8b61d08fe6 (diff) | |
download | serenity-3ebdb5ea30e658b145c9bfb4b2837817f947fadc.zip |
Application: KeyboardMapper, make button to like a real key
Change key paint to more like a real key :)
Diffstat (limited to 'Applications/KeyboardMapper/KeyButton.h')
-rw-r--r-- | Applications/KeyboardMapper/KeyButton.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Applications/KeyboardMapper/KeyButton.h b/Applications/KeyboardMapper/KeyButton.h index 7f1c20f122..afb57033b3 100644 --- a/Applications/KeyboardMapper/KeyButton.h +++ b/Applications/KeyboardMapper/KeyButton.h @@ -40,6 +40,8 @@ public: protected: virtual void click(unsigned modifiers = 0) override; + virtual void leave_event(Core::Event&) override; + virtual void mousemove_event(GUI::MouseEvent&) override; virtual void paint_event(GUI::PaintEvent&) override; private: |