path: root/desktop/history_core.h
diff options
authorChris Young <>2009-03-08 23:08:27 +0000
committerChris Young <>2009-03-08 23:08:27 +0000
commit2014dac36dd86ee7701f0e263758958c6632aa5e (patch)
treee4037f43ccefafbcaaef4114c0d0e7a87bb8a8b2 /desktop/history_core.h
parent0bdcf4b8e2538d499a95ac7153a5ad101b0100e0 (diff)
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')
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);