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

#include <gWindowEvents.h>

Inheritance diagram for gMouseButtonEvent:
Collaboration diagram for gMouseButtonEvent:

Public Member Functions

int getMouseButton () const
 
int getX () const
 
int getY () 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

 gMouseButtonEvent (const int button, const int x, const int y)
 

Protected Attributes

int button
 
int x
 
int y
 

Additional Inherited Members

- Public Attributes inherited from gEvent
bool ishandled = false
 

Constructor & Destructor Documentation

◆ gMouseButtonEvent()

gMouseButtonEvent::gMouseButtonEvent ( const int  button,
const int  x,
const int  y 
)
inlineprotected

Member Function Documentation

◆ getMouseButton()

int gMouseButtonEvent::getMouseButton ( ) const
inline

◆ getX()

int gMouseButtonEvent::getX ( ) const
inline

◆ getY()

int gMouseButtonEvent::getY ( ) const
inline

Member Data Documentation

◆ button

int gMouseButtonEvent::button
protected

◆ x

int gMouseButtonEvent::x
protected

◆ y

int gMouseButtonEvent::y
protected

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