MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Core::WindowEvent Struct Reference

Event data for window and input events. More...

#include <GlobalGraphicsInfo.hpp>

+ Collaboration diagram for MayaFlux::Core::WindowEvent:

Classes

struct  KeyData
 
struct  MouseButtonData
 
struct  MousePosData
 
struct  ResizeData
 
struct  ScrollData
 

Public Types

using EventData = std::variant< std::monostate, ResizeData, KeyData, MousePosData, MouseButtonData, ScrollData, std::any >
 

Public Member Functions

 WindowEvent ()=default
 
 WindowEvent (const WindowEvent &)=default
 
 WindowEvent (WindowEvent &&) noexcept=default
 
WindowEventoperator= (const WindowEvent &)=default
 
WindowEventoperator= (WindowEvent &&) noexcept=default
 
 ~WindowEvent ()=default
 

Public Attributes

WindowEventType type
 
double timestamp
 
EventData data
 

Detailed Description

Event data for window and input events.

Definition at line 403 of file GlobalGraphicsInfo.hpp.


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