SDL_MouseButtonEvent Struct Reference

Mouse button event structure (event.button.*). More...

#include <SDL_events.h>


Data Fields

Uint8 type
SDL_WindowID windowID
Uint8 which
Uint8 button
Uint8 state
int x
int y


Detailed Description

Mouse button event structure (event.button.*).

Field Documentation

The mouse button index

SDL_PRESSED or SDL_RELEASED

SDL_MOUSEBUTTONDOWN or SDL_MOUSEBUTTONUP

The mouse device index

The window with mouse focus, if any

int x

X coordinate, relative to window

int y

Y coordinate, relative to window


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

Generated on Mon Sep 21 21:32:25 2009 for Simple DirectMedia Layer by  doxygen 1.5.8