struct MMouseEvent

Generic Mouse Event

int type
Valued to one of: E_BUTTON_PRESS, E_BUTTON_RELEASE, E_MOTION
Window window
Window which the event has occurred on
int x
Pointer x coordinate relative to the receiving object
int y
Pointer y coordinate in event to the receiving object
int x_root
X coordinate relative to the screen
int y_root
Y coordinate relative to the screen
unsigned int state
Buttons and key modifiers mask. See MGetKeyboardState
unsigned int button
Button pressed identifier.

Documentation

Generic Mouse Event
int type
Valued to one of: E_BUTTON_PRESS, E_BUTTON_RELEASE, E_MOTION

Window window
Window which the event has occurred on

int x
Pointer x coordinate relative to the receiving object

int y
Pointer y coordinate in event to the receiving object

int x_root
X coordinate relative to the screen

int y_root
Y coordinate relative to the screen

unsigned int state
Buttons and key modifiers mask. See MGetKeyboardState

unsigned int button
Button pressed identifier.

alphabetic index hierarchy of classes


MGUI Copyright 1996-2000 Vincenzo Morello

generated by doc++