mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-16 15:49:24 +03:00
[project @ 2004-03-09 12:57:20 by rjw]
svn path=/import/netsurf/; revision=594
This commit is contained in:
parent
25a98ce2c0
commit
b7d5355f6f
12
riscos/gif.c
12
riscos/gif.c
@ -18,6 +18,7 @@
|
||||
#include "netsurf/utils/config.h"
|
||||
#include "netsurf/content/content.h"
|
||||
#include "netsurf/riscos/gif.h"
|
||||
#include "netsurf/riscos/tinct.h"
|
||||
#include "netsurf/utils/log.h"
|
||||
#include "netsurf/utils/messages.h"
|
||||
#include "netsurf/utils/utils.h"
|
||||
@ -137,6 +138,17 @@ void nsgif_redraw(struct content *c, long x, long y,
|
||||
long clip_x0, long clip_y0, long clip_x1, long clip_y1,
|
||||
float scale)
|
||||
{
|
||||
/* Tinct currently only handles 32bpp sprites that have an embedded alpha mask. Any
|
||||
sprites not matching the required specifications are ignored. See the Tinct
|
||||
documentation for further information.
|
||||
*/
|
||||
/* _swix(Tinct_PlotScaledAlpha, _IN(2) | _IN(3) | _IN(4) | _IN(5) | _IN(6) | _IN(7),
|
||||
((char *) c->data.gif.sprite_area + c->data.gif.sprite_area->first),
|
||||
x, (int)(y - height),
|
||||
width, height,
|
||||
(options_filter_sprites?0:(1<<1)) | (options_dither_sprites?0:(1<<2)));
|
||||
*/
|
||||
|
||||
unsigned int size;
|
||||
osspriteop_trans_tab *table;
|
||||
os_factors factors;
|
||||
|
12
riscos/png.c
12
riscos/png.c
@ -18,6 +18,7 @@
|
||||
#include "netsurf/utils/config.h"
|
||||
#include "netsurf/content/content.h"
|
||||
#include "netsurf/riscos/png.h"
|
||||
#include "netsurf/riscos/tinct.h"
|
||||
#include "netsurf/utils/log.h"
|
||||
#include "netsurf/utils/messages.h"
|
||||
#include "netsurf/utils/utils.h"
|
||||
@ -380,6 +381,17 @@ void nspng_redraw(struct content *c, long x, long y,
|
||||
long clip_x0, long clip_y0, long clip_x1, long clip_y1,
|
||||
float scale)
|
||||
{
|
||||
|
||||
/* Tinct currently only handles 32bpp sprites that have an embedded alpha mask. Any
|
||||
sprites not matching the required specifications are ignored. See the Tinct
|
||||
documentation for further information.
|
||||
*/
|
||||
/* _swix(Tinct_PlotScaledAlpha, _IN(2) | _IN(3) | _IN(4) | _IN(5) | _IN(6) | _IN(7),
|
||||
((char *) c->data.png.sprite_area + c->data.png.sprite_area->first),
|
||||
x, (int)(y - height),
|
||||
width, height,
|
||||
(options_filter_sprites?0:(1<<1)) | (options_dither_sprites?0:(1<<2)));
|
||||
*/
|
||||
int size;
|
||||
osspriteop_trans_tab *table;
|
||||
os_factors factors;
|
||||
|
18
riscos/tinct.h
Normal file
18
riscos/tinct.h
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* 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
|
||||
*/
|
||||
|
||||
#ifndef _NETSURF_RISCOS_TINCT_H_
|
||||
#define _NETSURF_RISCOS_TINCT_H_
|
||||
|
||||
//#define Tinct_PlotAlpha 0x00000
|
||||
//#define Tinct_PlotScaledAlpha 0x00000
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user