aboutsummaryrefslogtreecommitdiff
path: root/include/saffron_window.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/saffron_window.h')
-rw-r--r--include/saffron_window.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/saffron_window.h b/include/saffron_window.h
index 80aaa39..89bf684 100644
--- a/include/saffron_window.h
+++ b/include/saffron_window.h
@@ -2,6 +2,7 @@
#define SAFFRON_WINDOW_H
#include <SDL3/SDL.h>
+#include "saffron_event_hooks.h"
#include "saffron_widget.h"
typedef struct {
@@ -10,6 +11,8 @@ typedef struct {
SDL_Renderer *renderer;
int w, h;
const char* title;
+ SfInternalEventHook hooks[32];
+ int hook_count;
} SaffronWindow;
#endif