From e44249f6edb3781ebc6816e79791ba266a568935 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Wed, 25 Aug 2004 23:56:49 +0000 Subject: [project @ 2004-08-25 23:56:48 by bursa] Experimental overflow: scroll code. svn path=/import/netsurf/; revision=1250 --- desktop/browser.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'desktop/browser.h') diff --git a/desktop/browser.h b/desktop/browser.h index 06a7e61a2..51db1c8c6 100644 --- a/desktop/browser.h +++ b/desktop/browser.h @@ -53,6 +53,12 @@ struct browser_window /** Fragment identifier for current_content */ char *frag_id; + + /** Box currently being scrolled, or 0. */ + struct box *scrolling_box; + /** Mouse position last scroll movement. */ + int scrolling_last_x; + int scrolling_last_y; }; @@ -60,6 +66,7 @@ typedef enum { BROWSER_MOUSE_CLICK_1, BROWSER_MOUSE_CLICK_2, BROWSER_MOUSE_HOVER, + BROWSER_MOUSE_DRAG, /**< CLICK is continuing as a drag. */ } browser_mouse_click; -- cgit v1.2.3