GATE
gate::apps::GateGames Class Reference
Inheritance diagram for gate::apps::GateGames:
gate::App gate::graph::GlSurfaceEventSink gate::IRunnable gate::NonCopyable

Protected Member Functions

virtual void onRender (GlSurface &surface)
 
virtual void onExit (GlSurface &surface)
 
virtual void onResize (GlSurface &surface, uint32_t width, uint32_t height)
 
virtual void onKeyDown (GlSurface &surface, Keyboard::code_t keyCode, Keyboard::states_t keyStates)
 
virtual void onKeyUp (GlSurface &surface, Keyboard::code_t keyCode, Keyboard::states_t keyStates)
 
virtual void onPointerDown (GlSurface &surface, uint32_t pointerType, real32_t x, real32_t y)
 
virtual void onPointerMove (GlSurface &surface, uint32_t pointerType, real32_t x, real32_t y)
 
virtual void onPointerUp (GlSurface &surface, uint32_t pointerType, real32_t x, real32_t y)
 
virtual void onScroll (GlSurface &surface, int32_t xDirection, int32_t yDirection)
 
- Protected Member Functions inherited from gate::App
uintptr_t getHandle () const
 
String const & getPath () const
 
Array< String > const & getArgs () const
 
void setExitCode (int value)
 
- Protected Member Functions inherited from gate::graph::GlSurfaceEventSink
virtual GlSurfacegetSurface ()
 

Additional Inherited Members

- Static Public Member Functions inherited from gate::App
static int runApp (App &app, char const *program, char const *const *arguments, gate_size_t argcount, gate_uintptr_t apphandle)
 
static size_t parseAppOptions (Array< String > const &args, AppOptionDef **defs, size_t defsCount)
 
static size_t parseAppOptions (Array< String > const &args, AppOptionDef *defs, size_t defsCount)
 
static void printAppOptions (AppOptionDef const *const *defs, size_t defsCount, Stream &stream)
 
static void printAppOptions (AppOptionDef const *defs, size_t defsCount, Stream &stream)
 

Member Function Documentation

◆ onExit()

void gate::apps::GateGames::onExit ( GlSurface & surface)
protectedvirtual

◆ onKeyDown()

void gate::apps::GateGames::onKeyDown ( GlSurface & surface,
Keyboard::code_t keyCode,
Keyboard::states_t keyStates )
protectedvirtual

◆ onKeyUp()

void gate::apps::GateGames::onKeyUp ( GlSurface & surface,
Keyboard::code_t keyCode,
Keyboard::states_t keyStates )
protectedvirtual

◆ onPointerDown()

void gate::apps::GateGames::onPointerDown ( GlSurface & surface,
uint32_t pointerType,
real32_t x,
real32_t y )
protectedvirtual

◆ onPointerMove()

void gate::apps::GateGames::onPointerMove ( GlSurface & surface,
uint32_t pointerType,
real32_t x,
real32_t y )
protectedvirtual

◆ onPointerUp()

void gate::apps::GateGames::onPointerUp ( GlSurface & surface,
uint32_t pointerType,
real32_t x,
real32_t y )
protectedvirtual

◆ onRender()

void gate::apps::GateGames::onRender ( GlSurface & surface)
protectedvirtual

◆ onResize()

void gate::apps::GateGames::onResize ( GlSurface & surface,
uint32_t width,
uint32_t height )
protectedvirtual

◆ onScroll()

void gate::apps::GateGames::onScroll ( GlSurface & surface,
int32_t xDirection,
int32_t yDirection )
protectedvirtual

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