From a31f6306f96e963a61cfd320e329071af3e281b7 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sat, 20 Nov 2004 00:02:56 +0000 Subject: [project @ 2004-11-20 00:02:56 by bursa] Improvements to overflow and scrolling: scrollbars now have most of the usual RISC OS behaviour. Better rendering of dotted and dashed borders. svn path=/import/netsurf/; revision=1363 --- render/box.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'render/box.h') diff --git a/render/box.h b/render/box.h index c50c7ef00..b401799fa 100644 --- a/render/box.h +++ b/render/box.h @@ -249,4 +249,14 @@ struct box *box_at_point(struct box *box, int x, int y, struct box *box_object_at_point(struct content *c, int x, int y); struct box *box_find_by_id(struct box *box, const char *id); +bool box_vscrollbar_present(const struct box *box); +bool box_hscrollbar_present(const struct box *box); +void box_scrollbar_dimensions(const struct box *box, + int padding_width, int padding_height, int w, + bool *vscroll, bool *hscroll, + int *well_height, + int *bar_top, int *bar_height, + int *well_width, + int *bar_left, int *bar_width); + #endif -- cgit v1.2.3