Base class for mouse button events. More...
#include <MouseEvent.h>
Public Member Functions | |
int | GetMouseButton () const |
![]() | |
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 (int button) | |
Protected Attributes | |
int | m_Button |
Additional Inherited Members | |
![]() | |
bool | Handled = false |
Base class for mouse button events.
Abstract base class that provides common functionality for all mouse button events. Stores and provides access to the button code of the affected mouse button.