aboutsummaryrefslogtreecommitdiff
path: root/include/saffron_window.h
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-04-08 13:41:35 +1200
committerArslaan Pathan <[email protected]>2026-04-08 13:41:35 +1200
commitc9660a840256308d4dde40613a1af3296d3fdead (patch)
tree13e3049ea6bc6d2606bffeced7dc1ead990a1169 /include/saffron_window.h
parent04ff8c0a6acc2cc9204492690b7f99f892ed439a (diff)
downloadsaffron-c9660a840256308d4dde40613a1af3296d3fdead.tar.xz
saffron-c9660a840256308d4dde40613a1af3296d3fdead.zip
what (i cannot put the commit message into words)
I added a lot of stuff, it dont really work fully yet but its very good stuff
Diffstat (limited to 'include/saffron_window.h')
-rw-r--r--include/saffron_window.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/saffron_window.h b/include/saffron_window.h
index e69de29..80aaa39 100644
--- a/include/saffron_window.h
+++ b/include/saffron_window.h
@@ -0,0 +1,15 @@
+#ifndef SAFFRON_WINDOW_H
+#define SAFFRON_WINDOW_H
+
+#include <SDL3/SDL.h>
+#include "saffron_widget.h"
+
+typedef struct {
+ SaffronWidget *root;
+ SDL_Window *sdl_window;
+ SDL_Renderer *renderer;
+ int w, h;
+ const char* title;
+} SaffronWindow;
+
+#endif