summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2004-08-15 12:14:22 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2004-08-15 12:14:22 +0000
commitf36a8d6ba8ccccd9ebdd895451a54408040bf01a (patch)
treeadcea111996ba7e319c80924a7388c9eb6ce393f /riscos
parent7264ae50e52050243d9723c47c395975e00b5e50 (diff)
downloadnetsurf-f36a8d6ba8ccccd9ebdd895451a54408040bf01a.tar.gz
netsurf-f36a8d6ba8ccccd9ebdd895451a54408040bf01a.tar.bz2
[project @ 2004-08-15 12:14:22 by rjw]
Updated defines for Tinct 0.06 svn path=/import/netsurf/; revision=1233
Diffstat (limited to 'riscos')
-rw-r--r--riscos/tinct.h23
1 files changed, 14 insertions, 9 deletions
diff --git a/riscos/tinct.h b/riscos/tinct.h
index 83567bbde..9bf05c8ab 100644
--- a/riscos/tinct.h
+++ b/riscos/tinct.h
@@ -8,7 +8,7 @@
*/
/** \file
- * Tinct SWI numbers and flags
+ * Tinct SWI numbers and flags for version 0.06
*/
#ifndef _NETSURF_RISCOS_TINCT_H_
@@ -45,13 +45,18 @@
/* Flags
*/
-#define tinct_READ_SCREEN_BASE 0x01
-#define tinct_BILINEAR_FILTER 0x02
-#define tinct_DITHER 0x04
-#define tinct_INVERT_DITHER 0x08
-#define tinct_FILL_HORIZONTALLY 0x10
-#define tinct_FILL_VERTICALLY 0x20
-#define tinct_FORCE_PALETTE_READ 0x40
-#define tinct_USE_OS_SPRITE_OP 0x80
+#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 */
+
+/* Shifts
+*/
+#define tinct_BACKGROUND_SHIFT 0x08
#endif