aboutsummaryrefslogtreecommitdiff
path: root/include/saffron_window.h
blob: 89bf684c7b746feb419fe74bc0ce604a6940f9d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef SAFFRON_WINDOW_H
#define SAFFRON_WINDOW_H

#include <SDL3/SDL.h>
#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;
} SaffronWindow;

#endif