diff options
author | James Bursa <james@netsurf-browser.org> | 2004-06-10 20:41:26 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2004-06-10 20:41:26 +0000 |
commit | 08177fa58119f9e67fdffb32ee20dbf05bd4fa78 (patch) | |
tree | daa1124c9304e218045d12b9d531bd35e3a51565 /riscos/sprite.h | |
parent | ff5e70f86538bfd5a08a0ebbb7bc484ae9b841e6 (diff) | |
download | netsurf-08177fa58119f9e67fdffb32ee20dbf05bd4fa78.tar.gz netsurf-08177fa58119f9e67fdffb32ee20dbf05bd4fa78.tar.bz2 |
[project @ 2004-06-10 20:41:26 by bursa]
Add global content list. Better error handling in content code. Improved code documentation. Remove some obsolete functions. Implement debug window listing contents.
svn path=/import/netsurf/; revision=951
Diffstat (limited to 'riscos/sprite.h')
-rw-r--r-- | riscos/sprite.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/riscos/sprite.h b/riscos/sprite.h index 183a5494f..39cf23eb1 100644 --- a/riscos/sprite.h +++ b/riscos/sprite.h @@ -17,15 +17,12 @@ struct content_sprite_data { unsigned long length; }; -void sprite_init(void); -void sprite_create(struct content *c, const char *params[]); -void sprite_process_data(struct content *c, char *data, unsigned long size); -int sprite_convert(struct content *c, unsigned int width, unsigned int height); -void sprite_revive(struct content *c, unsigned int width, unsigned int height); -void sprite_reformat(struct content *c, unsigned int width, unsigned int height); +bool sprite_create(struct content *c, const char *params[]); +bool sprite_process_data(struct content *c, char *data, unsigned int size); +bool sprite_convert(struct content *c, int width, int height); void sprite_destroy(struct content *c); -void sprite_redraw(struct content *c, long x, long y, - unsigned long width, unsigned long height, - long clip_x0, long clip_y0, long clip_x1, long clip_y1, +void sprite_redraw(struct content *c, int x, int y, + int width, int height, + int clip_x0, int clip_y0, int clip_x1, int clip_y1, float scale); #endif |