Elevate Engine 1
Loading...
Searching...
No Matches
Elevate::MouseButtonEvent Class Reference

#include <MouseEvent.h>

Inheritance diagram for Elevate::MouseButtonEvent:
Elevate::Event Elevate::MouseButtonPressedEvent Elevate::MouseButtonReleasedEvent

Public Member Functions

int GetMouseButton () const
 
- Public Member Functions inherited from Elevate::Event
virtual EventType GetEventType () const =0
 
virtual const char * GetName () const =0
 
virtual int GetCategoryFlags () const =0
 
virtual std::string ToString () const
 
bool IsInCategory (EventCategory category)
 

Protected Member Functions

 MouseButtonEvent (const int button)
 

Protected Attributes

int m_Button
 
- Protected Attributes inherited from Elevate::Event
bool m_Handled = false
 

Additional Inherited Members

- Public Attributes inherited from Elevate::Event
bool Handled = false
 

Detailed Description

Definition at line 52 of file MouseEvent.h.

Constructor & Destructor Documentation

◆ MouseButtonEvent()

Elevate::MouseButtonEvent::MouseButtonEvent ( const int  button)
inlineprotected

Definition at line 59 of file MouseEvent.h.

60 : m_Button(button) {}

Member Function Documentation

◆ GetMouseButton()

int Elevate::MouseButtonEvent::GetMouseButton ( ) const
inline

Definition at line 55 of file MouseEvent.h.

55{ return m_Button; }

Member Data Documentation

◆ m_Button

int Elevate::MouseButtonEvent::m_Button
protected

Definition at line 62 of file MouseEvent.h.


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