diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-17 12:26:41 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-17 12:26:41 +0000 |
commit | 58cd1423383babef4a59e25f3e9f6a950d2fa6dc (patch) | |
tree | 66ecca9b8efa5fc429fd51cc6412d39df45b8f54 /desktop/history_core.h | |
parent | 6e9618484eef9646115cea549c8e4453b9b9e565 (diff) | |
download | netsurf-58cd1423383babef4a59e25f3e9f6a950d2fa6dc.tar.gz netsurf-58cd1423383babef4a59e25f3e9f6a950d2fa6dc.tar.bz2 |
Remember the scroll position in the history, so that it's maintained when going back. (credit: Paweł Blokus)
svn path=/trunk/netsurf/; revision=6793
Diffstat (limited to 'desktop/history_core.h')
-rw-r--r-- | desktop/history_core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/history_core.h b/desktop/history_core.h index 46de18848..4abb94ce8 100644 --- a/desktop/history_core.h +++ b/desktop/history_core.h @@ -46,5 +46,7 @@ bool history_redraw_rectangle(struct history *history, bool history_click(struct browser_window *bw, struct history *history, int x, int y, bool new_window); const char *history_position_url(struct history *history, int x, int y); +void history_set_current_scroll(struct history *history, int sx, int sy); +bool history_get_current_scroll(struct history *history, int *sx, int *sy); #endif |