From 10c8bd75164c68417b89c4e4b6668f201b5f58a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 31 Jul 2019 17:34:13 +0200 Subject: [PATCH] Platform: group Screen members the same way as in Applications. --- src/Magnum/Platform/Screen.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Magnum/Platform/Screen.h b/src/Magnum/Platform/Screen.h index 8be79f6a2..55ee041eb 100644 --- a/src/Magnum/Platform/Screen.h +++ b/src/Magnum/Platform/Screen.h @@ -172,6 +172,8 @@ template class BasicScreen: private Containers::LinkedListIte } protected: + /** @{ @name Screen handling */ + /** @brief Request redraw */ virtual void redraw() { application()->redraw(); } @@ -224,6 +226,10 @@ template class BasicScreen: private Containers::LinkedListIte */ virtual void drawEvent() = 0; + /*@}*/ + + /** @{ @name Keyboard handling */ + /** * @brief Key press event * @@ -242,6 +248,10 @@ template class BasicScreen: private Containers::LinkedListIte */ virtual void keyReleaseEvent(KeyEvent& event); + /*@}*/ + + /** @{ @name Mouse handling */ + /** * @brief Mouse press event * @@ -269,6 +279,8 @@ template class BasicScreen: private Containers::LinkedListIte */ virtual void mouseMoveEvent(MouseMoveEvent& event); + /*@}*/ + private: #ifndef DOXYGEN_GENERATING_OUTPUT /* https://bugzilla.gnome.org/show_bug.cgi?id=776986 */ friend Containers::LinkedListItem, BasicScreenedApplication>;