summaryrefslogtreecommitdiff
path: root/riscos/tinct.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/tinct.h')
-rw-r--r--riscos/tinct.h25
1 files changed, 14 insertions, 11 deletions
diff --git a/riscos/tinct.h b/riscos/tinct.h
index 9bf05c8ab..2a1a4a44e 100644
--- a/riscos/tinct.h
+++ b/riscos/tinct.h
@@ -1,7 +1,7 @@
/*
* This file is part of NetSurf, http://netsurf.sourceforge.net/
* Licensed under the GNU General Public License,
- * http://www.opensource.org/licenses/gpl-license
+ * http://www.opensource.org/licenses/gpl-license
* Copyright 2004 Richard Wilson <not_ginger_matt@hotmail.com>
*
* Complete details on using Tinct are available from http://www.tinct.net.
@@ -43,20 +43,23 @@
*/
#define Tinct_AvailableFeatures 0x57245
-/* Flags
+/* Flags
*/
-#define tinct_READ_SCREEN_BASE 0x01 /** <-- Use when hardware scrolling */
-#define tinct_BILINEAR_FILTER 0x02 /** <-- Perform bi-linear filtering */
-#define tinct_DITHER 0x04 /** <-- Perform dithering */
-#define tinct_ERROR_DIFFUSE 0x08 /** <-- Perform error diffusion */
-#define tinct_DITHER_INVERTED 0x0C /** <-- Perform dithering with inverted pattern */
-#define tinct_FILL_HORIZONTALLY 0x10 /** <-- Horizontally fill clipping region with image */
-#define tinct_FILL_VERTICALLY 0x20 /** <-- Vertically fill clipping region with image */
+#define tinct_READ_SCREEN_BASE 0x01 /** <-- Use when hardware scrolling */
+#define tinct_BILINEAR_FILTER 0x02 /** <-- Perform bi-linear filtering */
+#define tinct_DITHER 0x04 /** <-- Perform dithering */
+#define tinct_ERROR_DIFFUSE 0x08 /** <-- Perform error diffusion */
+#define tinct_DITHER_INVERTED 0x0C /** <-- Perform dithering with inverted pattern */
+#define tinct_FILL_HORIZONTALLY 0x10 /** <-- Horizontally fill clipping region with image */
+#define tinct_FILL_VERTICALLY 0x20 /** <-- Vertically fill clipping region with image */
#define tinct_FORCE_PALETTE_READ 0x40 /** <-- Use after a palette change when out of the desktop */
-#define tinct_USE_OS_SPRITE_OP 0x80 /** <-- Use when printing */
+#define tinct_USE_OS_SPRITE_OP 0x80 /** <-- Use when printing */
/* Shifts
*/
-#define tinct_BACKGROUND_SHIFT 0x08
+#define tinct_BACKGROUND_SHIFT 0x08
+/* Sprite mode
+*/
+#define tinct_SPRITE_MODE 0x301680b5
#endif