Browse Source

Platform: removed refs to unimplemented features from GlfwApplication.

pull/158/head
Vladimír Vondruš 10 years ago
parent
commit
ebdf234772
  1. 12
      src/Magnum/Platform/GlfwApplication.h

12
src/Magnum/Platform/GlfwApplication.h

@ -211,17 +211,6 @@ class GlfwApplication {
/** @{ @name Mouse handling */ /** @{ @name Mouse handling */
public: public:
/**
* @brief Mouse cursor
*
* @see @ref setMouseCursor()
*/
enum class MouseCursor: int {
Default = GLFW_CURSOR_NORMAL, /**< Default cursor provided by parent window */
Hidden = GLFW_CURSOR_HIDDEN, /**< Hidden cursor */
None = GLFW_CURSOR_DISABLED /**< No cursor */
};
/** @brief Warp mouse cursor to given coordinates */ /** @brief Warp mouse cursor to given coordinates */
void warpCursor(const Vector2i& position) { void warpCursor(const Vector2i& position) {
glfwSetCursorPos(_window, Double(position.x()), Double(position.y())); glfwSetCursorPos(_window, Double(position.x()), Double(position.y()));
@ -243,7 +232,6 @@ class GlfwApplication {
* *
* Called when any mouse button is pressed and mouse is moved. Default * Called when any mouse button is pressed and mouse is moved. Default
* implementation does nothing. * implementation does nothing.
* @see @ref setMouseTracking()
*/ */
virtual void mouseMoveEvent(MouseMoveEvent& event); virtual void mouseMoveEvent(MouseMoveEvent& event);

Loading…
Cancel
Save