Imagine++
Public Attributes | List of all members
Imagine::Event Struct Reference

Event info. More...

#include "Imagine/Graphics.h"

Public Attributes

int button
 Pressed mouse button (1,2,3) if any.
 
int key
 Pressed key code if any (only for EVT_KEY_ON and EVT_KEY_OFF).
 
IntPoint2 pix
 Mouse position (only for EVT_BUT_ON, EVT_BUT_OFF and EVT_MOTION).
 
EventState state
 Keyboard and mouse state (bitfield) just before event occured.
 
int subWin
 SubWindow.
 
EventType type
 Event type.
 
Window win
 Window.
 

Detailed Description

All the info about an event... See this page for usage: Handling events

Examples:
Graphics/test/example.cpp, and Graphics/test/test.cpp.

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