From 53f4da342088e0fe685034d0582cbf6fa13527ae Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 14 Jun 2011 20:00:18 +0000 Subject: First pass at core iframes. Currently lacking scrollbars. svn path=/trunk/netsurf/; revision=12474 --- desktop/selection.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'desktop/selection.h') diff --git a/desktop/selection.h b/desktop/selection.h index 7eafb2c7d..8dc3ce103 100644 --- a/desktop/selection.h +++ b/desktop/selection.h @@ -59,12 +59,15 @@ typedef bool (*seln_traverse_handler)(const char *text, size_t length, size_t whitespace_length); -struct selection *selection_create(struct browser_window *bw); +struct selection *selection_create(void); void selection_destroy(struct selection *s); void selection_init(struct selection *s, struct box *root); void selection_reinit(struct selection *s, struct box *root); +void selection_set_browser_window(struct selection *s, + struct browser_window *bw); + /* struct box *selection_root(struct selection *s); */ #define selection_root(s) ((s)->root) -- cgit v1.2.3