diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-06-30 15:48:07 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-06-30 15:48:07 +0000 |
commit | eddae6af0663243a2677674d501f9a87d55798f5 (patch) | |
tree | 08562171f870a6b592d624adfbfd0d6fa11fcdcb /desktop/thumbnail.h | |
parent | a5dc6b9e6637c85d18510ac6446ee4a8a7955e7b (diff) | |
download | netsurf-eddae6af0663243a2677674d501f9a87d55798f5.tar.gz netsurf-eddae6af0663243a2677674d501f9a87d55798f5.tar.bz2 |
Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
svn path=/trunk/netsurf/; revision=12543
Diffstat (limited to 'desktop/thumbnail.h')
-rw-r--r-- | desktop/thumbnail.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop/thumbnail.h b/desktop/thumbnail.h index 71efdd81e..655c25339 100644 --- a/desktop/thumbnail.h +++ b/desktop/thumbnail.h @@ -24,6 +24,7 @@ #define _NETSURF_DESKTOP_THUMBNAIL_H_ #include <stdbool.h> +#include "utils/types.h" struct hlcache_handle; struct bitmap; @@ -37,6 +38,7 @@ struct bitmap; * \param content The content to redraw for thumbnail * \param width The thumbnail width * \param height The thumbnail height + * \param ctx current redraw context * \return true if successful, false otherwise * * The thumbnail is guaranteed to be filled to its width/height extents, so @@ -45,7 +47,7 @@ struct bitmap; * Units for width and height are pixels. */ bool thumbnail_redraw(struct hlcache_handle *content, - int width, int height); + int width, int height, const struct redraw_context *ctx); /* In platform specific thumbnail.c. */ |