diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-01-11 04:40:05 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-01-11 04:40:05 +0100 |
commit | b95aa1831529d7cbd9cdfa05797836bf5fce21be (patch) | |
tree | 77f9dc503258188597b6ed161453ccf8d4686027 /Widgets/Event.h | |
parent | a3c39ea9d6782b69196eb623cdc2d30276e0f1fa (diff) | |
download | serenity-b95aa1831529d7cbd9cdfa05797836bf5fce21be.zip |
Hook up the Keyboard device to the AbstractScreen.
Basic text editing in a TextBox works. How very cool :^)
Diffstat (limited to 'Widgets/Event.h')
-rw-r--r-- | Widgets/Event.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Widgets/Event.h b/Widgets/Event.h index 7178753e9b..a1ebb45c88 100644 --- a/Widgets/Event.h +++ b/Widgets/Event.h @@ -136,6 +136,7 @@ public: private: friend class EventLoop; + friend class AbstractScreen; int m_key { 0 }; bool m_ctrl { false }; bool m_alt { false }; |