GlistEngine
Loading...
Searching...
No Matches
gKeyEvent Class Reference

#include <gWindowEvents.h>

Inheritance diagram for gKeyEvent:
Collaboration diagram for gKeyEvent:

Public Member Functions

int getKeyCode () const
 
- Public Member Functions inherited from gEvent
virtual ~gEvent ()=default
 
virtual const char * getEventName () const =0
 
virtual std::size_t getEventType () const =0
 
virtual int getCategoryFlags () const =0
 
bool isInCategory (EventCategory category)
 

Protected Member Functions

 gKeyEvent (const int keycode)
 

Protected Attributes

int keycode
 

Additional Inherited Members

- Public Attributes inherited from gEvent
bool ishandled = false
 

Constructor & Destructor Documentation

◆ gKeyEvent()

gKeyEvent::gKeyEvent ( const int  keycode)
inlineprotected

Member Function Documentation

◆ getKeyCode()

int gKeyEvent::getKeyCode ( ) const
inline

Member Data Documentation

◆ keycode

int gKeyEvent::keycode
protected

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