|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
Filter criteria for window events. More...
#include <EventSource.hpp>
Collaboration diagram for MayaFlux::Vruta::EventFilter:Public Member Functions | |
| EventFilter ()=default | |
| EventFilter (Core::WindowEventType type) | |
| Constructs filter for specific event type. | |
| EventFilter (IO::Keys key) | |
| Constructs filter for specific key event. | |
Public Attributes | |
| std::optional< Core::WindowEventType > | event_type |
| std::optional< IO::Keys > | key_code |
| std::optional< IO::MouseButtons > | button |
Filter criteria for window events.
Used to filter events in the pending queue. Multiple criteria can be combined to create specific filters (e.g., a specific key press).
Definition at line 22 of file EventSource.hpp.