diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2009-03-08 23:08:27 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2009-03-08 23:08:27 +0000 |
commit | 2014dac36dd86ee7701f0e263758958c6632aa5e (patch) | |
tree | e4037f43ccefafbcaaef4114c0d0e7a87bb8a8b2 /desktop/history_core.h | |
parent | 0bdcf4b8e2538d499a95ac7153a5ad101b0100e0 (diff) | |
download | netsurf-2014dac36dd86ee7701f0e263758958c6632aa5e.tar.gz netsurf-2014dac36dd86ee7701f0e263758958c6632aa5e.tar.bz2 |
Add ability to render part of a local history window.
This is achieved through new function history_redraw_rectangle.
It takes the co-ordinates of the history area to plot as parameters 2-5
and the co-ordinates of the top-left position to draw this area as params 6,7
Added local history scrolling to Amiga port using the above function.
svn path=/trunk/netsurf/; revision=6740
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 8178baedf..46de18848 100644 --- a/desktop/history_core.h +++ b/desktop/history_core.h @@ -41,6 +41,8 @@ bool history_back_available(struct history *history); bool history_forward_available(struct history *history); void history_size(struct history *history, int *width, int *height); bool history_redraw(struct history *history); +bool history_redraw_rectangle(struct history *history, + int x0, int y0, int x1, int y1, int x, int y); 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); |