#ifndef AURORA_EVENT_H #define AURORA_EVENT_H #include "aurora.h" #include #include #ifdef __cplusplus #include extern "C" { #else #include "stdint.h" #endif typedef enum { AURORA_NONE, AURORA_EXIT, AURORA_SDL_EVENT, AURORA_WINDOW_MOVED, AURORA_WINDOW_RESIZED, AURORA_CONTROLLER_ADDED, AURORA_CONTROLLER_REMOVED, AURORA_PAUSED, AURORA_UNPAUSED, AURORA_DISPLAY_SCALE_CHANGED, } AuroraEventType; struct AuroraEvent { AuroraEventType type; union { SDL_Event sdl; AuroraWindowPos windowPos; AuroraWindowSize windowSize; SDL_JoystickID controller; }; }; #ifdef __cplusplus } #endif #endif