summaryrefslogtreecommitdiff
path: root/Widgets/Event.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-11 04:40:05 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-11 04:40:05 +0100
commitb95aa1831529d7cbd9cdfa05797836bf5fce21be (patch)
tree77f9dc503258188597b6ed161453ccf8d4686027 /Widgets/Event.h
parenta3c39ea9d6782b69196eb623cdc2d30276e0f1fa (diff)
downloadserenity-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.h1
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 };