Browse Source

Platform: doc++

pull/157/merge
Vladimír Vondruš 10 years ago
parent
commit
5ae55c15c7
  1. 4
      src/Magnum/Platform/GlfwApplication.h
  2. 7
      src/Magnum/Platform/Sdl2Application.h

4
src/Magnum/Platform/GlfwApplication.h

@ -250,8 +250,8 @@ class GlfwApplication {
/**
* @brief Mouse scroll event
*
* Called when a scrolling device is used (mouse wheel or scrolling area
* on touchpad). Default implementation does nothing.
* Called when a scrolling device is used (mouse wheel or scrolling
* area on touchpad). Default implementation does nothing.
*/
virtual void mouseScrollEvent(MouseScrollEvent& event);

7
src/Magnum/Platform/Sdl2Application.h

@ -1140,7 +1140,12 @@ class Sdl2Application::MouseEvent: public Sdl2Application::InputEvent {
/** @brief Button */
constexpr Button button() const { return _button; }
/** @brief Position */
/**
* @brief Position
*
* For whell events this contains the horizontal and vertical scroll
* amount.
*/
constexpr Vector2i position() const { return _position; }
/**

Loading…
Cancel
Save