Elaztek Developer Hub
Blamite Game Engine - blam!  00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
SDL_MouseWheelEvent Struct Reference

Mouse wheel event structure (event.wheel. More...

#include <SdlEmulationLayer.h>

Public Attributes

Ogre::uint32 type
 ::SDL_MOUSEWHEEL More...
 
Ogre::uint32 timestamp
 
Ogre::uint32 windowID
 The window with mouse focus, if any. More...
 
Ogre::uint32 which
 The mouse instance id, or SDL_TOUCH_MOUSEID. More...
 
Ogre::int32 x
 The amount scrolled horizontally, positive to the right and negative to the left. More...
 
Ogre::int32 y
 The amount scrolled vertically, positive away from the user and negative toward the user. More...
 
Ogre::uint32 direction
 Set to one of the SDL_MOUSEWHEEL_* defines. More...
 

Detailed Description

Mouse wheel event structure (event.wheel.

*)

Member Data Documentation

◆ direction

Ogre::uint32 SDL_MouseWheelEvent::direction

Set to one of the SDL_MOUSEWHEEL_* defines.

When FLIPPED the values in X and Y will be opposite. Multiply by -1 to change them back

◆ timestamp

Ogre::uint32 SDL_MouseWheelEvent::timestamp

◆ type

Ogre::uint32 SDL_MouseWheelEvent::type

::SDL_MOUSEWHEEL

◆ which

Ogre::uint32 SDL_MouseWheelEvent::which

The mouse instance id, or SDL_TOUCH_MOUSEID.

◆ windowID

Ogre::uint32 SDL_MouseWheelEvent::windowID

The window with mouse focus, if any.

◆ x

Ogre::int32 SDL_MouseWheelEvent::x

The amount scrolled horizontally, positive to the right and negative to the left.

◆ y

Ogre::int32 SDL_MouseWheelEvent::y

The amount scrolled vertically, positive away from the user and negative toward the user.


The documentation for this struct was generated from the following file: