Added support for the MouseWheelScrolled event

This commit is contained in:
Zachariah Brown committed 2015-05-01 15:20:45 -04:00
1 parent 1486a30e2f
commit a424e91a54
3 files changed
+36 -4

No files matched your search

+10
View File
@@ -48,6 +48,16 @@ typedef enum
sfMouseButtonCount ///< Keep last -- the total number of mouse buttons
} sfMouseButton;
////////////////////////////////////////////////////////////
/// \brief Mouse wheels
///
////////////////////////////////////////////////////////////
typedef enum
{
sfMouseVerticalWheel, ///< The vertical mouse wheel
sfMouseHorizontalWheel ///< The horizontal mouse wheel
} sfMouseWheel;
////////////////////////////////////////////////////////////
/// \brief Check if a mouse button is pressed