summaryrefslogtreecommitdiff
path: root/desktop/browser.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-11-20 00:02:56 +0000
committerJames Bursa <james@netsurf-browser.org>2004-11-20 00:02:56 +0000
commita31f6306f96e963a61cfd320e329071af3e281b7 (patch)
tree46b39512b3c2460ea4a5c48f5511995162275e71 /desktop/browser.h
parente87e37ca80514fccb53523428208d9ed90b6fb78 (diff)
downloadnetsurf-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 'desktop/browser.h')
-rw-r--r--desktop/browser.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/desktop/browser.h b/desktop/browser.h
index c77a5d13f..750cf329b 100644
--- a/desktop/browser.h
+++ b/desktop/browser.h
@@ -58,9 +58,15 @@ struct browser_window {
/** Box currently being scrolled, or 0. */
struct box *scrolling_box;
- /** Mouse position last scroll movement. */
- int scrolling_last_x;
- int scrolling_last_y;
+ /** Mouse position at start of current scroll drag. */
+ int scrolling_start_x;
+ int scrolling_start_y;
+ /** Scroll offsets at start of current scroll draw. */
+ int scrolling_start_scroll_x;
+ int scrolling_start_scroll_y;
+ /** Well dimensions for current scroll drag. */
+ int scrolling_well_width;
+ int scrolling_well_height;
/** Referer for current fetch, or 0. */
char *referer;