add in support for passing down the "natural" (or flipped) scrolling direction in the MouseWheelEvent event

This commit is contained in:
Edward Rudd
2014-11-23 21:09:54 -05:00
parent 70438be272
commit 5b5823eeb5
13 changed files with 33 additions and 15 deletions

View File

@@ -60,6 +60,15 @@ typedef enum
SDL_NUM_SYSTEM_CURSORS
} SDL_SystemCursor;
/**
* \brief Scroll direction types for the Scroll event
*/
typedef enum
{
SDL_MOUSEWHEEL_NORMAL, /**< The scroll direction is normal */
SDL_MOUSEWHEEL_FLIPPED /**< The scroll direction is flipped / natural */
} SDL_MouseWheelDirection;
/* Function prototypes */
/**