From 652c89c996f1447e64ccc61ceeaab3a80e7b404d Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Thu, 30 Apr 2026 23:24:58 +1200 Subject: Add theming! its 10:24pm and im sleepy --- src/saffron_window.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/saffron_window.c') diff --git a/src/saffron_window.c b/src/saffron_window.c index 5687f16..41bc050 100644 --- a/src/saffron_window.c +++ b/src/saffron_window.c @@ -1,3 +1,4 @@ +#include "saffron_theme.h" #include #include #include @@ -17,6 +18,7 @@ SaffronWindow* saffron_window_new(const char* title, int w, int h) { Uint32 flags = SDL_WINDOW_RESIZABLE | SDL_WINDOW_HIGH_PIXEL_DENSITY; window->sdl_window = SDL_CreateWindow(title, w, h, flags); window->renderer = SDL_CreateRenderer(window->sdl_window, NULL); + window->root->theme = SF_MACRO_DEFAULT_THEME; return window; } -- cgit v1.2.3