mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-29 01:33:16 +03:00
db528c82f2
Proper names for flagword flags. "Magic numbers are evil" (zamez :P) svn path=/import/netsurf/; revision=939
55 lines
1.8 KiB
C
55 lines
1.8 KiB
C
/*
|
|
* 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 Richard Wilson <not_ginger_matt@hotmail.com>
|
|
*/
|
|
|
|
/** \file
|
|
* Tinct SWI numbers and flags
|
|
*/
|
|
|
|
#ifndef _NETSURF_RISCOS_TINCT_H_
|
|
#define _NETSURF_RISCOS_TINCT_H_
|
|
|
|
/* Tinct_PlotAlpha plots the RGBA sprite pointed to by R2 at the OS screen location (R3,R4). Flags are
|
|
supplied in R7 - see the Tinct documentation for further details.
|
|
*/
|
|
#define Tinct_PlotAlpha 0x57240
|
|
|
|
/* Tinct_PlotScaledAlpha plots the RGBA sprite pointed to by R2 at the OS screen location (R3,R4)
|
|
scaled to (R5,R6) OS units. Flags are supplied in R7 - see the Tinct documentation for further details.
|
|
*/
|
|
#define Tinct_PlotScaledAlpha 0x57241
|
|
|
|
/* Tinct_PlotAlpha plots the RGB0 sprite pointed to by R2 at the OS screen location (R3,R4). Flags are
|
|
supplied in R7 - see the Tinct documentation for further details.
|
|
*/
|
|
#define Tinct_Plot 0x57242
|
|
|
|
/* Tinct_PlotScaledAlpha plots the RGB0 sprite pointed to by R2 at the OS screen location (R3,R4)
|
|
scaled to (R5,R6) OS units. Flags are supplied in R7 - see the Tinct documentation for further details.
|
|
*/
|
|
#define Tinct_PlotScaled 0x57243
|
|
|
|
/* Tinct_ConvertSprite creates a 32bpp sprite (pointer to memory supplied in R3) from a paletted sprite
|
|
provided in R2 - see the Tinct documentation for further details.
|
|
*/
|
|
#define Tinct_ConvertSprite 0x57244
|
|
|
|
/* Tinct_AvailableFeatures returns the current feature set.
|
|
*/
|
|
#define Tinct_AvailableFeatures 0x57245
|
|
|
|
/* 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
|
|
|
|
#endif
|