From 0dbd8a2f8f450d3d72e6f5fb084d18e38a78dfdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 22 Apr 2016 15:28:12 +0200 Subject: [PATCH] Platform: doc++. Also fixed a minor typo in enum name. --- src/Magnum/Platform/GlfwApplication.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/Magnum/Platform/GlfwApplication.h b/src/Magnum/Platform/GlfwApplication.h index 573bdbeab..3b9dd98b6 100644 --- a/src/Magnum/Platform/GlfwApplication.h +++ b/src/Magnum/Platform/GlfwApplication.h @@ -353,10 +353,16 @@ class GlfwApplication::Configuration { */ typedef Containers::EnumSet WindowFlags; + /** @brief Cursor mode */ enum class CursorMode: Int { - Normal = GLFW_CURSOR_NORMAL, /**< Visible unconstrained cursor */ - Hidden = GLFW_CURSOR_HIDDEN, /**< Hidden cursor */ - Diabled = GLFW_CURSOR_DISABLED /**< Cursor hidden and locked window */ + /** Visible unconstrained cursor */ + Normal = GLFW_CURSOR_NORMAL, + + /** Hidden cursor */ + Hidden = GLFW_CURSOR_HIDDEN, + + /** Cursor hidden and locked window */ + Disabled = GLFW_CURSOR_DISABLED }; /*implicit*/ Configuration(); @@ -426,7 +432,7 @@ class GlfwApplication::Configuration { } /** - * @brief Set cursor flags + * @brief Set cursor mode * @return Reference to self (for method chaining) * * Default is @ref CursorMode::Normal.