diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-05-06 20:40:09 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-05-06 20:40:09 +0000 |
commit | e71691bae890040b83cfd54a2d9a1097d5026866 (patch) | |
tree | 96b2680dc6559ca0ab88fa0b6a533c13b7c9487e /riscos/sprite.h | |
parent | e77b1a29550e4753f771848705975295a6ebe99e (diff) | |
download | netsurf-e71691bae890040b83cfd54a2d9a1097d5026866.tar.gz netsurf-e71691bae890040b83cfd54a2d9a1097d5026866.tar.bz2 |
Merge branches/jmb/content-factory to trunk
svn path=/trunk/netsurf/; revision=12283
Diffstat (limited to 'riscos/sprite.h')
-rw-r--r-- | riscos/sprite.h | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/riscos/sprite.h b/riscos/sprite.h index a0b071425..79e02f44b 100644 --- a/riscos/sprite.h +++ b/riscos/sprite.h @@ -23,24 +23,19 @@ #ifndef _NETSURF_RISCOS_SPRITE_H_ #define _NETSURF_RISCOS_SPRITE_H_ -#include <stdbool.h> -#include "oslib/osspriteop.h" #include "utils/config.h" +#include "utils/errors.h" #ifdef WITH_SPRITE -struct content; -struct rect; - -struct content_sprite_data { - void *data; -}; - -bool sprite_convert(struct content *c); -void sprite_destroy(struct content *c); -bool sprite_redraw(struct content *c, int x, int y, - int width, int height, const struct rect *clip, - float scale, colour background_colour); -bool sprite_clone(const struct content *old, struct content *new_content); + +nserror sprite_init(void); +void sprite_fini(void); + +#else + +#define sprite_init() NSERROR_OK +#define sprite_fini() ((void) 0) + #endif byte sprite_bpp(const osspriteop_header *s); |