summaryrefslogtreecommitdiff
path: root/render/box.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2009-08-14 23:10:53 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2009-08-14 23:10:53 +0000
commitc26611b32b3796d4bbc886e7efd839ad999885c6 (patch)
treed6ba79dc0aa97c326449ee0e7eb57e25abed21c0 /render/box.h
parent45e05288f0b7f521dfe706ce152072c422cc8ae1 (diff)
downloadnetsurf-c26611b32b3796d4bbc886e7efd839ad999885c6.tar.gz
netsurf-c26611b32b3796d4bbc886e7efd839ad999885c6.tar.bz2
Merge from Paul Blokus' selectscroll branch. Fixes text input scrollbar behaviour.
svn path=/trunk/netsurf/; revision=9306
Diffstat (limited to 'render/box.h')
-rw-r--r--render/box.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/render/box.h b/render/box.h
index 39a6c2521..b53e0481c 100644
--- a/render/box.h
+++ b/render/box.h
@@ -91,6 +91,7 @@
#include <stdio.h>
#include <libxml/HTMLparser.h>
+#include "desktop/browser.h"
#include "css/css.h"
struct box;
@@ -314,8 +315,8 @@ bool box_visible(struct box *box);
void box_dump(FILE *stream, struct box *box, unsigned int depth);
bool box_extract_link(const char *rel, const char *base, char **result);
-bool box_handle_scrollbars(struct box *box, int x, int y, bool bottom,
- bool right);
+bool box_handle_scrollbars(struct browser_window *bw, struct box *box,
+ bool bottom, bool right);
bool box_vscrollbar_present(const struct box *box);
bool box_hscrollbar_present(const struct box *box);