#ifndef SAFFRON_WINDOW_H #define SAFFRON_WINDOW_H #include #include #include #include "saffron_event_hooks.h" #include "saffron_widget.h" typedef struct { SaffronWidget *root; SDL_Window *sdl_window; SDL_Renderer *renderer; int w, h; const char* title; SfInternalEventHook hooks[32]; int hook_count; SDL_GLContext gl_context; } SaffronWindow; #endif