diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2003-12-21 22:10:15 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2003-12-21 22:10:15 +0000 |
commit | adc34761577a0508a3319af88273e3a6d1f0cb90 (patch) | |
tree | d493b50585456e307cdeddf15ebbd200246282d1 /desktop/browser.h | |
parent | 96bbdbc7ab6bcb4affccc7c356587891a15b133d (diff) | |
download | netsurf-adc34761577a0508a3319af88273e3a6d1f0cb90.tar.gz netsurf-adc34761577a0508a3319af88273e3a6d1f0cb90.tar.bz2 |
[project @ 2003-12-21 22:10:15 by jmb]
Tidy up and integrate frames code. Still incomplete.
svn path=/import/netsurf/; revision=439
Diffstat (limited to 'desktop/browser.h')
-rw-r--r-- | desktop/browser.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/desktop/browser.h b/desktop/browser.h index e507b5826..fd25299d8 100644 --- a/desktop/browser.h +++ b/desktop/browser.h @@ -54,6 +54,10 @@ struct browser_window void (*caret_callback)(struct browser_window *bw, char key, void *p); void *caret_p; + + struct browser_window *parent; + unsigned int no_children; + struct browser_window **children; }; @@ -88,8 +92,8 @@ struct box_selection /* public functions */ -struct browser_window* create_browser_window(int flags, int width, int height); -void browser_window_destroy(struct browser_window* bw); +struct browser_window* create_browser_window(int flags, int width, int height, struct browser_window *parent); +void browser_window_destroy(struct browser_window* bw, bool self); void browser_window_open_location(struct browser_window* bw, const char* url); void browser_window_open_location_historical(struct browser_window* bw, const char* url, char *post_urlenc, |