Support Forum       G3D Web Page     
Classes | Namespaces | Macros | Typedefs | Enumerations
GEvent.h File Reference

G3D Innovation Engine http://casual-effects.com/g3d Copyright 2000-2019, Morgan McGuire All rights reserved Available under the BSD License. More...

Classes

class  G3D::ActiveEvent
 Application visibility event structure. More...
 
class  G3D::CharInputEvent
 An event triggered by character input (as from the keyboard) More...
 
class  G3D::ExposeEvent
 The "screen redraw" event. More...
 
class  G3D::FileDropEvent
 
Triggered when one or more files are dropped onto a window. More...
 
class  G3D::FocusEvent
 
class  G3D::GButtonState
 General keyboard/mouse state definitions used by GEvent. More...
 
union  G3D::GEvent
 
General low-level event structure. More...
 
class  G3D::GEventType
 Event code enumerations. More...
 
class  G3D::GKeyMod
 Enumeration of valid key modifier codes (often used ORed together) More...
 
class  G3D::GKeySym
 Symbolic key structure. 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...
 
struct  HashTrait< G3D::GButtonState ::Value >
 
struct  HashTrait< G3D::GButtonState >
 
struct  HashTrait< G3D::GEventType ::Value >
 
struct  HashTrait< G3D::GEventType >
 
struct  HashTrait< G3D::GKeyMod ::Value >
 
struct  HashTrait< G3D::GKeyMod >
 
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::MouseScroll2DEvent
 2D scroll event structure More...
 
class  G3D::QuitEvent
 The "quit requested" event. More...
 
class  G3D::ResizeEvent
 The "window resized" event When you get this event, you are responsible for setting a new video mode with the new width and height. More...
 
class  G3D::UserEvent
 A user-defined event type. More...
 

Namespaces

 G3D
 

Macros

#define G3D_gfx_GEvent_h
 
#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_APPACTIVE   0x04 /** \def SDL_APPACTIVE The application is active */
 
#define SDL_APPINPUTFOCUS   0x02 /** \def SDL_APPINPUTFOCUS The app has input focus */
 
#define SDL_APPMOUSEFOCUS   0x01 /** \def SDL_APPMOUSEFOCUS The app has mouse coverage */
 
#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 struct _SDL_Joystick SDL_Joystick
 

Enumerations

enum  {
  G3D::SDL_PRESSED = 0x01,
  G3D::SDL_RELEASED = 0x00
}
 General keyboard/mouse state definitions. More...
 
enum  {
  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
}
 

Detailed Description

G3D Innovation Engine http://casual-effects.com/g3d Copyright 2000-2019, Morgan McGuire All rights reserved Available under the BSD License.

Macro Definition Documentation

◆ G3D_gfx_GEvent_h

#define G3D_gfx_GEvent_h

◆ GKEYMOD_ALT

#define GKEYMOD_ALT   (GKEYMOD_LALT | GKEYMOD_RALT)

◆ GKEYMOD_CTRL

#define GKEYMOD_CTRL   (GKEYMOD_LCTRL | GKEYMOD_RCTRL)

◆ GKEYMOD_META

#define GKEYMOD_META   (GKEYMOD_LMETA | GKEYMOD_RMETA)

◆ GKEYMOD_SHIFT

#define GKEYMOD_SHIFT   (GKEYMOD_LSHIFT | GKEYMOD_RSHIFT)

◆ SDL_APPACTIVE

#define SDL_APPACTIVE   0x04 /** \def SDL_APPACTIVE The application is active */

◆ SDL_APPINPUTFOCUS

#define SDL_APPINPUTFOCUS   0x02 /** \def SDL_APPINPUTFOCUS The app has input focus */

◆ SDL_APPMOUSEFOCUS

#define SDL_APPMOUSEFOCUS   0x01 /** \def SDL_APPMOUSEFOCUS The app has mouse coverage */

◆ SDL_HAT_CENTERED

#define SDL_HAT_CENTERED   0x00

◆ SDL_HAT_DOWN

#define SDL_HAT_DOWN   0x04

◆ SDL_HAT_LEFT

#define SDL_HAT_LEFT   0x08

◆ SDL_HAT_LEFTDOWN

#define SDL_HAT_LEFTDOWN   (SDL_HAT_LEFT|SDL_HAT_DOWN)

◆ SDL_HAT_LEFTUP

#define SDL_HAT_LEFTUP   (SDL_HAT_LEFT|SDL_HAT_UP)

◆ SDL_HAT_RIGHT

#define SDL_HAT_RIGHT   0x02

◆ SDL_HAT_RIGHTDOWN

#define SDL_HAT_RIGHTDOWN   (SDL_HAT_RIGHT|SDL_HAT_DOWN)

◆ SDL_HAT_RIGHTUP

#define SDL_HAT_RIGHTUP   (SDL_HAT_RIGHT|SDL_HAT_UP)

◆ SDL_HAT_UP

#define SDL_HAT_UP   0x01

Typedef Documentation

◆ SDL_Joystick

typedef struct _SDL_Joystick SDL_Joystick

documentation generated on Wed Nov 24 2021 08:01:51 using doxygen 1.8.15