glv::Event Namespace Reference

Recognized event types. More...


Enumerations

enum  t {
  Null = 0, Quit, WindowCreate, WindowDestroy,
  WindowResize, FocusGained, FocusLost, MouseDown,
  MouseUp, MouseMove, MouseDrag, MouseWheel,
  KeyDown, KeyUp, KeyRepeat, Unused,
  NumTypes
}
 Event type enum. More...

Functions

const char * string (const Event::t e)
 Returns a string of event type.


Detailed Description

Recognized event types.

Enumeration Type Documentation

Event type enum.

Enumerator:
Null  No event
Quit  Application quit
WindowCreate  Sent by window upon creation to its attached GLV
WindowDestroy  Sent by window upon destruction to its attached GLV
WindowResize  Sent by window upon resize to its attached GLV
FocusGained  View got focus
FocusLost  View lost focus
MouseDown  Mouse button pressed
MouseUp  Mouse button released
MouseMove  Mouse has moved
MouseDrag  Mouse has moved with a button pressed
MouseWheel  Mouse wheel moved
KeyDown  Keyboard key pressed
KeyUp  Keyboard key released
KeyRepeat  Keyboard key auto-repeated
Unused  Add to this for runtime event types
NumTypes  Number of event types


Generated on Thu Aug 12 23:55:17 2010 for GLV by  doxygen 1.5.5