Contents User Forum Source Index APIs by Task APIs by Level Data


GEvent.h File Reference

Maintainer:
Morgan McGuire, morgan@graphics3d.com
More...

#include "G3D/platform.h"
#include "G3D/g3dmath.h"
#include "GLG3D/GKey.h"

Namespaces

namespace  G3D

Classes

class  G3D::ActiveEvent
 Application visibility event structure. More...
class  G3D::ExposeEvent
 The "screen redraw" event. More...
class  G3D::FileDropEvent
 Triggered when one or more files are dropped onto a window. More...
union  G3D::GEvent
 General low-level event structure. More...
class  G3D::GEventType
 Event code enumerations. More...
class  G3D::GuiCloseEvent
 Triggered by pressing the close button on a G3D::GuiWindow. More...
class  G3D::GuiEvent
 Events triggered by the G3D Gui system (see G3D::GuiWindow for discussion). More...
class  G3D::JoyAxisEvent
 Joystick axis motion event structure. More...
class  G3D::JoyBallEvent
 Joystick trackball motion event structure. More...
class  G3D::JoyButtonEvent
class  G3D::JoyHatEvent
 Joystick hat position change event structure. More...
class  G3D::KeyboardEvent
 Keyboard event structure. More...
class  G3D::MouseButtonEvent
class  G3D::MouseMotionEvent
 Mouse motion event structure. More...
class  G3D::QuitEvent
 The "quit requested" event. More...
class  G3D::ResizeEvent
class  G3D::SDL_keysym
struct  G3D::SDL_SysWMEvent
class  G3D::UserEvent
 A user-defined event type. More...

Defines

#define GKEYMOD_ALT   (GKEYMOD_LALT | GKEYMOD_RALT)
#define GKEYMOD_CTRL   (GKEYMOD_LCTRL | GKEYMOD_RCTRL)
#define GKEYMOD_META   (GKEYMOD_LMETA | GKEYMOD_RMETA)
#define GKEYMOD_SHIFT   (GKEYMOD_LSHIFT | GKEYMOD_RSHIFT)
#define SDL_ALL_HOTKEYS   0xFFFFFFFF
#define SDL_HAT_CENTERED   0x00
#define SDL_HAT_DOWN   0x04
#define SDL_HAT_LEFT   0x08
#define SDL_HAT_LEFTDOWN   (SDL_HAT_LEFT|SDL_HAT_DOWN)
#define SDL_HAT_LEFTUP   (SDL_HAT_LEFT|SDL_HAT_UP)
#define SDL_HAT_RIGHT   0x02
#define SDL_HAT_RIGHTDOWN   (SDL_HAT_RIGHT|SDL_HAT_DOWN)
#define SDL_HAT_RIGHTUP   (SDL_HAT_RIGHT|SDL_HAT_UP)
#define SDL_HAT_UP   0x01

Typedefs

typedef _SDL_Joystick G3D::SDL_Joystick
typedef G3D::SDL_SysWMEvent G3D::SDL_SysWMEvent
typedef SDL_SysWMmsg G3D::SDL_SysWMmsg

Enumerations

enum  { G3D::SDL_PRESSED = 0x01, G3D::SDL_RELEASED = 0x00 }
enum  G3D::GKeyMod {
  G3D::GKEYMOD_NONE = 0x0000, G3D::GKEYMOD_LSHIFT = 0x0001, G3D::GKEYMOD_RSHIFT = 0x0002, G3D::GKEYMOD_LCTRL = 0x0040,
  G3D::GKEYMOD_RCTRL = 0x0080, G3D::GKEYMOD_LALT = 0x0100, G3D::GKEYMOD_RALT = 0x0200, G3D::GKEYMOD_LMETA = 0x0400,
  G3D::GKEYMOD_RMETA = 0x0800, G3D::GKEYMOD_NUM = 0x1000, G3D::GKEYMOD_CAPS = 0x2000, G3D::GKEYMOD_MODE = 0x4000,
  G3D::GKEYMOD_RESERVED = 0x8000
}

Functions

 G3D_DECLARE_ENUM_CLASS_HASHCODE (G3D::GEventType)


Detailed Description

Maintainer:
Morgan McGuire, morgan@graphics3d.com

Created:
2006-10-20
Last modified:
2007-01-27

Define Documentation

#define GKEYMOD_ALT   (GKEYMOD_LALT | GKEYMOD_RALT)

#define GKEYMOD_CTRL   (GKEYMOD_LCTRL | GKEYMOD_RCTRL)

#define GKEYMOD_META   (GKEYMOD_LMETA | GKEYMOD_RMETA)

#define GKEYMOD_SHIFT   (GKEYMOD_LSHIFT | GKEYMOD_RSHIFT)

#define SDL_ALL_HOTKEYS   0xFFFFFFFF

#define SDL_HAT_CENTERED   0x00

#define SDL_HAT_DOWN   0x04

#define SDL_HAT_LEFT   0x08

#define SDL_HAT_LEFTDOWN   (SDL_HAT_LEFT|SDL_HAT_DOWN)

#define SDL_HAT_LEFTUP   (SDL_HAT_LEFT|SDL_HAT_UP)

#define SDL_HAT_RIGHT   0x02

#define SDL_HAT_RIGHTDOWN   (SDL_HAT_RIGHT|SDL_HAT_DOWN)

#define SDL_HAT_RIGHTUP   (SDL_HAT_RIGHT|SDL_HAT_UP)

#define SDL_HAT_UP   0x01


Function Documentation

G3D_DECLARE_ENUM_CLASS_HASHCODE ( G3D::GEventType   ) 


Generated on Thu Aug 2 11:40:42 2007 for G3D by doxygen 1.5.2
Hosted by SourceForge.net Logo