Browse Source

Platform: don't use magic constants in Sdl2Application.

The values now have aliases.
pull/23/head
Vladimír Vondruš 13 years ago
parent
commit
79052f0e9b
  1. 4
      src/Platform/Sdl2Application.h

4
src/Platform/Sdl2Application.h

@ -522,8 +522,8 @@ class Sdl2Application::MouseEvent: public Sdl2Application::InputEvent {
Left = SDL_BUTTON_LEFT, /**< Left button */
Middle = SDL_BUTTON_MIDDLE, /**< Middle button */
Right = SDL_BUTTON_RIGHT, /**< Right button */
WheelUp = 4, /**< Wheel up */
WheelDown = 5 /**< Wheel down */
WheelUp = SDL_BUTTON_X1, /**< Wheel up */
WheelDown = SDL_BUTTON_X2 /**< Wheel down */
};
/** @brief Button */

Loading…
Cancel
Save