blob: 92e689e46e22462aa93de4a85e8c81f5707fec24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#ifndef SAFFRON_EVENT_HOOKS_H
#define SAFFRON_EVENT_HOOKS_H
#include <SDL3/SDL.h>
/* this file will not be included in saffron.h. this is an internal file for internal hooking in the event loop. */
typedef struct {
bool (*callback)(SDL_Event* event);
int priority; // higher num = higher priority
} SfInternalEventHook;
#endif
|