diff options
| author | Arslaan Pathan <[email protected]> | 2026-05-02 21:44:42 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-05-02 21:44:42 +1200 |
| commit | ab7a235f895013343500a0a4fe478634c0a7b17d (patch) | |
| tree | aa9cc4edd5b8e260f0c626f3b5b6b213bbb1bedf /include | |
| parent | 89e3064626fb05b2e90cd092ff918a7c3dc63326 (diff) | |
| download | saffronwebkit-ab7a235f895013343500a0a4fe478634c0a7b17d.tar.xz saffronwebkit-ab7a235f895013343500a0a4fe478634c0a7b17d.zip | |
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!!!!!!!!!!!
Diffstat (limited to 'include')
| -rw-r--r-- | include/saffronwebkit.h | 14 |
1 files changed, 11 insertions, 3 deletions
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; |
