SDL_MouseButtonEvent Struct Reference

#include <SDL_events.h>


Data Fields

Uint8 type
Uint8 which
Uint8 button
Uint8 state
Uint16 x
Uint16 y


Detailed Description

Mouse button event structure

Field Documentation

Uint8 button

The mouse button index

Uint8 state

SDL_PRESSED or SDL_RELEASED

Uint8 type

SDL_MOUSEBUTTONDOWN or SDL_MOUSEBUTTONUP

Uint8 which

The mouse device index

Uint16 y

The X/Y coordinates of the mouse at press time


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

Generated on Mon Sep 21 21:29:50 2009 for Simple DirectMedia Layer by  doxygen 1.5.8