From 87066f9f8dbad2416c53f70497aeb7c940ccb239 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 26 Apr 2017 20:48:54 +0100 Subject: simplify the browser window operations by removing scroll API The browser window scrollingAPI was duplicated in window operation table, this simplifies it to a single set_scroll API. --- include/netsurf/browser_window.h | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'include/netsurf/browser_window.h') diff --git a/include/netsurf/browser_window.h b/include/netsurf/browser_window.h index c56cf5571..567e314c5 100644 --- a/include/netsurf/browser_window.h +++ b/include/netsurf/browser_window.h @@ -572,26 +572,6 @@ void browser_window_get_position(struct browser_window *bw, bool root, */ void browser_window_set_position(struct browser_window *bw, int x, int y); -/** - * Scroll the browser window to display the passed area - * - * \param bw browser window to scroll - * \param rect area to display - */ -void browser_window_scroll_visible(struct browser_window *bw, - const struct rect *rect); - -/** - * Set scroll offsets for a browser window. - * - * \param bw The browser window - * \param x The x scroll offset to set - * \param y The y scroll offset to set - * - * \todo Do we really need this and browser_window_scroll_visible? - * Ditto for gui_window_* variants. - */ -void browser_window_set_scroll(struct browser_window *bw, int x, int y); /** * Set drag type for a browser window, and inform front end -- cgit v1.2.3