MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Vruta::EventFilter Struct Reference

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::WindowEventTypeevent_type
 
std::optional< IO::Keyskey_code
 
std::optional< IO::MouseButtonsbutton
 

Detailed Description

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.


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