SDL Library

Dependents:   H261_decoder

Embed: (wiki syntax)

« Back to documentation index

SDL_MouseWheelEvent Struct Reference

SDL_MouseWheelEvent Struct Reference

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

#include <SDL_events.h>

Data Fields

Uint32 type
 SDL_MOUSEWHEEL
Uint32 windowID
 The window with mouse focus, if any.
Uint32 which
 The mouse instance id, or SDL_TOUCH_MOUSEID.
Sint32 x
 The amount scrolled horizontally, positive to the right and negative to the left.
Sint32 y
 The amount scrolled vertically, positive away from the user and negative toward the user.

Detailed Description

Mouse wheel event structure (event.wheel.

*)

Definition at line 254 of file SDL_events.h.


Field Documentation

SDL_MOUSEWHEEL

Definition at line 256 of file SDL_events.h.

The mouse instance id, or SDL_TOUCH_MOUSEID.

Definition at line 259 of file SDL_events.h.

The window with mouse focus, if any.

Definition at line 258 of file SDL_events.h.

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

Definition at line 260 of file SDL_events.h.

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

Definition at line 261 of file SDL_events.h.