From e71691bae890040b83cfd54a2d9a1097d5026866 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 6 May 2011 20:40:09 +0000 Subject: Merge branches/jmb/content-factory to trunk svn path=/trunk/netsurf/; revision=12283 --- riscos/draw.h | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'riscos/draw.h') diff --git a/riscos/draw.h b/riscos/draw.h index f7a014844..a0843202a 100644 --- a/riscos/draw.h +++ b/riscos/draw.h @@ -24,23 +24,17 @@ #define _NETSURF_RISCOS_DRAW_H_ #include "utils/config.h" -#ifdef WITH_DRAW +#include "utils/errors.h" -#include +#ifdef WITH_DRAW -struct content; -struct rect; +nserror draw_init(void); +void draw_fini(void); -struct content_draw_data { - int x0, y0; -}; +#else -bool draw_convert(struct content *c); -void draw_destroy(struct content *c); -bool draw_redraw(struct content *c, int x, int y, - int width, int height, const struct rect *clip, - float scale, colour background_colour); -bool draw_clone(const struct content *old, struct content *new_content); +#define draw_init() NSERROR_OK +#define draw_fini() ((void) 0) #endif /* WITH_DRAW */ -- cgit v1.2.3