diff options
author | John Tytgat <joty@netsurf-browser.org> | 2008-09-28 22:37:13 +0000 |
---|---|---|
committer | John Tytgat <joty@netsurf-browser.org> | 2008-09-28 22:37:13 +0000 |
commit | 2d1481fafc6fd98c5ca8fc46562b725441a0f594 (patch) | |
tree | e28954b7171a739df009d87e8a33c35e2d1c7dc6 /riscos | |
parent | f0926760125501228b2b506c92e8e2bf6fdd83e6 (diff) | |
download | netsurf-2d1481fafc6fd98c5ca8fc46562b725441a0f594.tar.gz netsurf-2d1481fafc6fd98c5ca8fc46562b725441a0f594.tar.bz2 |
'unsigned long' -> 'colour' where it made sense.
svn path=/trunk/netsurf/; revision=5459
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/image.c | 6 | ||||
-rw-r--r-- | riscos/image.h | 3 | ||||
-rw-r--r-- | riscos/plugin.c | 2 | ||||
-rw-r--r-- | riscos/plugin.h | 2 |
4 files changed, 7 insertions, 6 deletions
diff --git a/riscos/image.c b/riscos/image.c index 7826ad7e4..9b3eaa5db 100644 --- a/riscos/image.c +++ b/riscos/image.c @@ -30,7 +30,7 @@ static bool image_redraw_tinct(osspriteop_id header, int x, int y, int req_width, int req_height, int width, int height, - unsigned long background_colour, bool repeatx, bool repeaty, + colour background_colour, bool repeatx, bool repeaty, bool alpha, unsigned int tinct_options); static bool image_redraw_os(osspriteop_id header, int x, int y, int req_width, int req_height, int width, int height); @@ -54,7 +54,7 @@ static bool image_redraw_os(osspriteop_id header, int x, int y, */ bool image_redraw(osspriteop_area *area, int x, int y, int req_width, int req_height, int width, int height, - unsigned long background_colour, + colour background_colour, bool repeatx, bool repeaty, bool background, image_type type) { unsigned int tinct_options; @@ -115,7 +115,7 @@ bool image_redraw(osspriteop_area *area, int x, int y, int req_width, */ bool image_redraw_tinct(osspriteop_id header, int x, int y, int req_width, int req_height, int width, int height, - unsigned long background_colour, bool repeatx, bool repeaty, + colour background_colour, bool repeatx, bool repeaty, bool alpha, unsigned int tinct_options) { _kernel_oserror *error; diff --git a/riscos/image.h b/riscos/image.h index 0997b793d..f0bf2fdf9 100644 --- a/riscos/image.h +++ b/riscos/image.h @@ -20,6 +20,7 @@ #define _NETSURF_RISCOS_IMAGE_H_ #include <stdbool.h> +#include "css/css.h" #include "oslib/osspriteop.h" struct osspriteop_area; @@ -32,7 +33,7 @@ typedef enum { bool image_redraw(osspriteop_area *area, int x, int y, int req_width, int req_height, int width, int height, - unsigned long background_colour, + colour background_colour, bool repeatx, bool repeaty, bool background, image_type type); #endif diff --git a/riscos/plugin.c b/riscos/plugin.c index 1e4279f18..d973e7472 100644 --- a/riscos/plugin.c +++ b/riscos/plugin.c @@ -250,7 +250,7 @@ void plugin_destroy(struct content *c) bool plugin_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, unsigned long background_colour) + float scale, colour background_colour) { /* do nothing */ LOG(("plugin_redraw")); diff --git a/riscos/plugin.h b/riscos/plugin.h index ca73fedc2..39c2d1b3d 100644 --- a/riscos/plugin.h +++ b/riscos/plugin.h @@ -59,7 +59,7 @@ void plugin_destroy(struct content *c); bool plugin_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, unsigned long background_colour); + float scale, colour background_colour); void plugin_open(struct content *c, struct browser_window *bw, struct content *page, unsigned int index, struct box *box, struct object_params *params); |