summaryrefslogtreecommitdiff
path: root/riscos/image.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2004-08-15 19:06:24 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2004-08-15 19:06:24 +0000
commit006344401cfaedda64387fd59c1626b71cb178d6 (patch)
tree56480bd73e57dda657c30a37596af6b2f9058484 /riscos/image.h
parentf36a8d6ba8ccccd9ebdd895451a54408040bf01a (diff)
downloadnetsurf-006344401cfaedda64387fd59c1626b71cb178d6.tar.gz
netsurf-006344401cfaedda64387fd59c1626b71cb178d6.tar.bz2
[project @ 2004-08-15 19:06:23 by jmb]
Rationalise image redraw. Supply background colour when redrawing contents Reenable printing of background images Require Tinct 0.07 svn path=/import/netsurf/; revision=1234
Diffstat (limited to 'riscos/image.h')
-rw-r--r--riscos/image.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/riscos/image.h b/riscos/image.h
new file mode 100644
index 000000000..17b9f08b6
--- /dev/null
+++ b/riscos/image.h
@@ -0,0 +1,24 @@
+/*
+ * This file is part of NetSurf, http://netsurf.sourceforge.net/
+ * Licensed under the GNU General Public License,
+ * http://www.opensource.org/licenses/gpl-license
+ * Copyright 2004 John M Bell <jmb202@ecs.soton.ac.uk>
+ */
+
+#ifndef _NETSURF_RISCOS_IMAGE_H_
+#define _NETSURF_RISCOS_IMAGE_H_
+
+struct osspriteop_area;
+
+typedef enum {
+ IMAGE_PLOT_TINCT_ALPHA,
+ IMAGE_PLOT_TINCT_OPAQUE,
+ IMAGE_PLOT_OS
+} image_type;
+
+bool image_redraw(osspriteop_area *area, int x, int y, int req_width,
+ int req_height, int width, int height,
+ unsigned long background_colour,
+ bool repeatx, bool repeaty, image_type type);
+
+#endif