diff --git a/src/Magnum/Platform/Screen.h b/src/Magnum/Platform/Screen.h index 80ba7a096..075199715 100644 --- a/src/Magnum/Platform/Screen.h +++ b/src/Magnum/Platform/Screen.h @@ -175,12 +175,13 @@ template class BasicScreen: private Containers::LinkedListIte return Containers::LinkedListItem, BasicScreenedApplication>::next(); } - protected: /** @{ @name Screen handling */ + protected: /** @brief Request redraw */ virtual void redraw() { application()->redraw(); } + private: /** * @brief Focus event * diff --git a/src/Magnum/Platform/ScreenedApplication.h b/src/Magnum/Platform/ScreenedApplication.h index 22fefc91f..887e5e447 100644 --- a/src/Magnum/Platform/ScreenedApplication.h +++ b/src/Magnum/Platform/ScreenedApplication.h @@ -185,11 +185,7 @@ template class BasicScreenedApplication: public Application, this is faster than public pure virtual destructor */ ~BasicScreenedApplication(); - #ifdef DOXYGEN_GENERATING_OUTPUT - protected: - #else private: - #endif /** * @brief Global viewport event * @@ -210,7 +206,6 @@ template class BasicScreenedApplication: public Application, */ virtual void globalDrawEvent() = 0; - private: #ifndef DOXYGEN_GENERATING_OUTPUT /* https://bugzilla.gnome.org/show_bug.cgi?id=776986 */ friend Containers::LinkedList>; friend Containers::LinkedListItem, BasicScreenedApplication>;