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 --- desktop/browser.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'desktop/browser.h') 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; -- cgit v1.2.3