diff --git a/src/Magnum/Platform/Screen.h b/src/Magnum/Platform/Screen.h index 80fe3015a..f1615ffa6 100644 --- a/src/Magnum/Platform/Screen.h +++ b/src/Magnum/Platform/Screen.h @@ -141,8 +141,9 @@ template class BasicScreen: private Containers::LinkedListIte /** * @brief Next nearer screen * - * @see @ref BasicScreenedApplication::frontScreen(), - * @ref BasicScreenedApplication::backScreen() + * Use @cpp application().screens().first() @ce to access the front + * screen and @cpp application().screens().last() @ce to access the + * back screen. */ BasicScreen* nextNearerScreen() { return Containers::LinkedListItem, BasicScreenedApplication>::previous(); @@ -155,8 +156,9 @@ template class BasicScreen: private Containers::LinkedListIte /** * @brief Next farther screen * - * @see @ref BasicScreenedApplication::frontScreen(), - * @ref BasicScreenedApplication::backScreen() + * Use @cpp application().screens().first() @ce to access the front + * screen and @cpp application().screens().last() @ce to access the + * back screen. */ BasicScreen* nextFartherScreen() { return Containers::LinkedListItem, BasicScreenedApplication>::next(); diff --git a/src/Magnum/Platform/ScreenedApplication.h b/src/Magnum/Platform/ScreenedApplication.h index 72a1ab015..a9dd05662 100644 --- a/src/Magnum/Platform/ScreenedApplication.h +++ b/src/Magnum/Platform/ScreenedApplication.h @@ -176,31 +176,6 @@ template class BasicScreenedApplication: public Application, return static_cast>&>(*this); } - #ifdef MAGNUM_BUILD_DEPRECATED - /** - * @brief Front screen - * @deprecated Use `screens().first()` instead. - */ - CORRADE_DEPRECATED("use screens().first() instead") BasicScreen* frontScreen() { return screens().first(); } - - /** @overload - * @deprecated Use `screens().first()` instead. - */ - CORRADE_DEPRECATED("use screens().first() instead") const BasicScreen* frontScreen() const { return screens().first(); } - - /** - * @brief Back screen - * @deprecated Use `screens().last()` instead. - */ - CORRADE_DEPRECATED("use screens().last() instead") BasicScreen* backScreen() { return screens().last(); } - - /** - * @overload - * @deprecated Use `screens().last()` instead. - */ - CORRADE_DEPRECATED("use screens().last() instead") const BasicScreen* backScreen() const { return screens().last(); } - #endif - protected: /* Nobody will need to have (and delete) ScreenedApplication*, thus this is faster than public pure virtual destructor */