From f9e6f673ddacb1163c3eefbe438fe0b2ca2a2785 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Wed, 13 Sep 2023 16:12:47 -0600 Subject: [PATCH] Fix references to `sf::WindowBase::setMouseCursor` This function does exist in sf::Window via inheritence but it's more accurate to refer to the base implementation in sf::WindowBase --- include/SFML/Window/Cursor.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/SFML/Window/Cursor.hpp b/include/SFML/Window/Cursor.hpp index f0ab15e1..9c6046fc 100644 --- a/include/SFML/Window/Cursor.hpp +++ b/include/SFML/Window/Cursor.hpp @@ -208,7 +208,7 @@ private: //////////////////////////////////////////////////////////// /// \brief Get access to the underlying implementation /// - /// This is primarily designed for sf::Window::setMouseCursor, + /// This is primarily designed for sf::WindowBase::setMouseCursor, /// hence the friendship. /// /// \return a reference to the OS-specific implementation @@ -238,7 +238,7 @@ private: /// /// After loading the cursor the graphical appearance /// with either loadFromPixels() or loadFromSystem(), the -/// cursor can be changed with sf::Window::setMouseCursor(). +/// cursor can be changed with sf::WindowBase::setMouseCursor(). /// /// The behaviour is undefined if the cursor is destroyed while /// in use by the window. @@ -254,6 +254,6 @@ private: /// window.setMouseCursor(cursor); /// \endcode /// -/// \see sf::Window::setMouseCursor +/// \see sf::WindowBase::setMouseCursor /// ////////////////////////////////////////////////////////////