diff --git a/doc/changelog.dox b/doc/changelog.dox index 53d1ae806..61a2c8515 100644 --- a/doc/changelog.dox +++ b/doc/changelog.dox @@ -166,9 +166,12 @@ See also: @subsection changelog-latest-deprecated Deprecated APIs -- `TextureTools::distanceField()` is deprecated due to inefficiency of its - statelessness when doing batch processing. Use the +- @cpp TextureTools::distanceField() @ce is deprecated due to inefficiency of + its statelessness when doing batch processing. Use the @ref TextureTools::DistanceField class instead. +- @cpp Platform::GlfwApplication::KeyEvent::Key::Smicolon @ce has a typo and + so is deprecated in favor of + @ref Platform::GlfwApplication::KeyEvent::Key::Semicolon @subsection changelog-latest-compatibility Potential compatibility breakages, removed APIs diff --git a/src/Magnum/Platform/GlfwApplication.h b/src/Magnum/Platform/GlfwApplication.h index 998430903..63faec92a 100644 --- a/src/Magnum/Platform/GlfwApplication.h +++ b/src/Magnum/Platform/GlfwApplication.h @@ -1408,7 +1408,15 @@ class GlfwApplication::KeyEvent: public GlfwApplication::InputEvent { Slash = GLFW_KEY_SLASH, /**< Slash */ /* Note: This may only be represented as SHIFT + 5 */ Percent = '%', /**< Percent */ - Smicolon = GLFW_KEY_SEMICOLON, /**< Semicolon */ + Semicolon = GLFW_KEY_SEMICOLON, /**< Semicolon */ + + #ifdef MAGNUM_BUILD_DEPRECATED + /** Semicolon + * @deprecated Use @ref Key::Semicolon instead. + */ + Smicolon CORRADE_DEPRECATED_ENUM("use Key::Semicolon instead") = Semicolon, + #endif + Equal = GLFW_KEY_EQUAL, /**< Equal */ Zero = GLFW_KEY_0, /**< Zero */