summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
Diffstat (limited to 'riscos')
-rw-r--r--riscos/artworks.c2
-rw-r--r--riscos/artworks.h2
-rw-r--r--riscos/draw.c2
-rw-r--r--riscos/draw.h2
-rw-r--r--riscos/plugin.c2
-rw-r--r--riscos/plugin.h2
-rw-r--r--riscos/sprite.c2
-rw-r--r--riscos/sprite.h2
8 files changed, 8 insertions, 8 deletions
diff --git a/riscos/artworks.c b/riscos/artworks.c
index ecd3c3db2..318666bea 100644
--- a/riscos/artworks.c
+++ b/riscos/artworks.c
@@ -224,7 +224,7 @@ void artworks_destroy(struct content *c)
*/
bool artworks_redraw(struct content *c, int x, int y,
- int width, int height, struct rect *clip,
+ int width, int height, const struct rect *clip,
float scale, colour background_colour)
{
static const ns_os_vdu_var_list vars = {
diff --git a/riscos/artworks.h b/riscos/artworks.h
index 8642f76a9..5acd463ee 100644
--- a/riscos/artworks.h
+++ b/riscos/artworks.h
@@ -42,7 +42,7 @@ struct content_artworks_data {
bool artworks_convert(struct content *c);
void artworks_destroy(struct content *c);
bool artworks_redraw(struct content *c, int x, int y,
- int width, int height, struct rect *clip,
+ int width, int height, const struct rect *clip,
float scale, colour background_colour);
bool artworks_clone(const struct content *old, struct content *new_content);
diff --git a/riscos/draw.c b/riscos/draw.c
index 4c2cfd409..b5c13d621 100644
--- a/riscos/draw.c
+++ b/riscos/draw.c
@@ -105,7 +105,7 @@ void draw_destroy(struct content *c)
*/
bool draw_redraw(struct content *c, int x, int y,
- int width, int height, struct rect *clip,
+ int width, int height, const struct rect *clip,
float scale, colour background_colour)
{
os_trfm matrix;
diff --git a/riscos/draw.h b/riscos/draw.h
index 26c9ee08b..f7a014844 100644
--- a/riscos/draw.h
+++ b/riscos/draw.h
@@ -38,7 +38,7 @@ struct content_draw_data {
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, struct rect *clip,
+ int width, int height, const struct rect *clip,
float scale, colour background_colour);
bool draw_clone(const struct content *old, struct content *new_content);
diff --git a/riscos/plugin.c b/riscos/plugin.c
index 71a0167a9..340eaaf3e 100644
--- a/riscos/plugin.c
+++ b/riscos/plugin.c
@@ -249,7 +249,7 @@ void plugin_destroy(struct content *c)
* \param scale Scale of page (1.0 = 100%)
*/
bool plugin_redraw(struct content *c, int x, int y,
- int width, int height, struct rect *clip,
+ int width, int height, const struct rect *clip,
float scale, colour background_colour)
{
/* do nothing */
diff --git a/riscos/plugin.h b/riscos/plugin.h
index 290a00da3..d23e6539e 100644
--- a/riscos/plugin.h
+++ b/riscos/plugin.h
@@ -59,7 +59,7 @@ bool plugin_convert(struct content *c, int width, int height);
void plugin_reformat(struct content *c, int width, int height);
void plugin_destroy(struct content *c);
bool plugin_redraw(struct content *c, int x, int y,
- int width, int height, struct rect *clip,
+ int width, int height, const struct rect *clip,
float scale, colour background_colour);
void plugin_open(struct content *c, struct browser_window *bw,
struct content *page, unsigned int index, struct box *box,
diff --git a/riscos/sprite.c b/riscos/sprite.c
index cc75b54cd..fbff2f885 100644
--- a/riscos/sprite.c
+++ b/riscos/sprite.c
@@ -112,7 +112,7 @@ void sprite_destroy(struct content *c)
*/
bool sprite_redraw(struct content *c, int x, int y,
- int width, int height, struct rect *clip,
+ int width, int height, const struct rect *clip,
float scale, colour background_colour)
{
if (plot.flush && !plot.flush())
diff --git a/riscos/sprite.h b/riscos/sprite.h
index 44cc029d8..a0b071425 100644
--- a/riscos/sprite.h
+++ b/riscos/sprite.h
@@ -38,7 +38,7 @@ struct content_sprite_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, struct rect *clip,
+ int width, int height, const struct rect *clip,
float scale, colour background_colour);
bool sprite_clone(const struct content *old, struct content *new_content);
#endif