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

#include <gWindowEvents.h>

Inheritance diagram for gKeyPressedEvent:
Collaboration diagram for gKeyPressedEvent:

Public Member Functions

 gKeyPressedEvent (const int keycode, bool isrepeat=false)
 
bool isRepeat () const
 
- Public Member Functions inherited from gKeyEvent
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)
 

Additional Inherited Members

- Public Attributes inherited from gEvent
bool ishandled = false
 
- Protected Member Functions inherited from gKeyEvent
 gKeyEvent (const int keycode)
 
- Protected Attributes inherited from gKeyEvent
int keycode
 

Constructor & Destructor Documentation

◆ gKeyPressedEvent()

gKeyPressedEvent::gKeyPressedEvent ( const int  keycode,
bool  isrepeat = false 
)
inline

Member Function Documentation

◆ isRepeat()

bool gKeyPressedEvent::isRepeat ( ) const
inline

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