DirectZ
Loading...
Searching...
No Matches
dz::EventInterface Struct Reference

#include <EventInterface.hpp>

Public Member Functions

 EventInterface (WINDOW *window)

Protected Attributes

std::map< float, std::queue< std::function< void()> > > window_free_priorities

Friends

void window_register_free_callback (WINDOW *, float priority, const std::function< void()> &)
 Adds a destroy event callback function.
void window_free (WINDOW *window)

Constructor & Destructor Documentation

◆ EventInterface()

dz::EventInterface::EventInterface ( WINDOW * window)

◆ window_free

void window_free ( WINDOW * window)
friend

◆ window_register_free_callback

void window_register_free_callback ( WINDOW * ,
float priority,
const std::function< void()> &  )
friend

Adds a destroy event callback function.

Member Data Documentation

◆ window_free_priorities

std::map<float, std::queue<std::function<void()> > > dz::EventInterface::window_free_priorities
protected

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