From ab7a235f895013343500a0a4fe478634c0a7b17d Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Sat, 2 May 2026 21:44:42 +1200 Subject: Lazy loading IT RUNS IT RUNS IT R U N S YESSSSSSSSS THIS TOOK SO LONG I DONT CARE THAT ITS A BLACK SCREEN, IT RUNS!!!!!!!!!!! --- include/saffronwebkit.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'include/saffronwebkit.h') diff --git a/include/saffronwebkit.h b/include/saffronwebkit.h index 4287b48..1cb75f3 100644 --- a/include/saffronwebkit.h +++ b/include/saffronwebkit.h @@ -47,9 +47,17 @@ typedef struct { typedef struct { SaffronWidget base; - WPEToplevel* toplevel; - WPEView* wpeview; - WebKitWebView* wkwebview; + SFWKContext* context; + char* url; + int w, h; + + struct { + WPEToplevel* toplevel; + WPEView* wpeview; + WebKitWebView* wkwebview; + gboolean initialized; + } wpe; + SDL_Renderer* renderer; } SFWKWebView; -- cgit v1.2.3