diff options
author | James Bursa <james@netsurf-browser.org> | 2004-11-20 00:02:56 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2004-11-20 00:02:56 +0000 |
commit | a31f6306f96e963a61cfd320e329071af3e281b7 (patch) | |
tree | 46b39512b3c2460ea4a5c48f5511995162275e71 /render/box.h | |
parent | e87e37ca80514fccb53523428208d9ed90b6fb78 (diff) | |
download | netsurf-a31f6306f96e963a61cfd320e329071af3e281b7.tar.gz netsurf-a31f6306f96e963a61cfd320e329071af3e281b7.tar.bz2 |
[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
Diffstat (limited to 'render/box.h')
-rw-r--r-- | render/box.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 |