aboutsummaryrefslogtreecommitdiff
path: root/include/saffronwebkit.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/saffronwebkit.h')
-rw-r--r--include/saffronwebkit.h14
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;