diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-04-26 20:48:54 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-04-26 20:48:54 +0100 |
commit | 87066f9f8dbad2416c53f70497aeb7c940ccb239 (patch) | |
tree | 4dac3a7c9eff12f4ec7d2cfd09882f72d7923e3c /include/netsurf/browser_window.h | |
parent | 796bb0f652a5557f6903d96c6b7652a1565e6885 (diff) | |
download | netsurf-87066f9f8dbad2416c53f70497aeb7c940ccb239.tar.gz netsurf-87066f9f8dbad2416c53f70497aeb7c940ccb239.tar.bz2 |
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.
Diffstat (limited to 'include/netsurf/browser_window.h')
-rw-r--r-- | include/netsurf/browser_window.h | 20 |
1 files changed, 0 insertions, 20 deletions
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 |