2004-08-15 23:06:24 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2004 John M Bell <jmb202@ecs.soton.ac.uk>
|
2007-08-08 20:16:03 +04:00
|
|
|
*
|
|
|
|
* This file is part of NetSurf, http://www.netsurf-browser.org/
|
|
|
|
*
|
|
|
|
* NetSurf is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; version 2 of the License.
|
|
|
|
*
|
|
|
|
* NetSurf is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2004-08-15 23:06:24 +04:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _NETSURF_RISCOS_IMAGE_H_
|
|
|
|
#define _NETSURF_RISCOS_IMAGE_H_
|
|
|
|
|
2008-07-27 02:29:15 +04:00
|
|
|
#include <stdbool.h>
|
2008-09-29 02:37:13 +04:00
|
|
|
#include "css/css.h"
|
2008-07-27 02:29:15 +04:00
|
|
|
#include "oslib/osspriteop.h"
|
2005-06-23 21:24:23 +04:00
|
|
|
|
2004-08-15 23:06:24 +04:00
|
|
|
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,
|
2008-09-29 02:37:13 +04:00
|
|
|
colour background_colour,
|
2004-11-03 02:23:07 +03:00
|
|
|
bool repeatx, bool repeaty, bool background, image_type type);
|
2004-08-15 23:06:24 +04:00
|
|
|
|
|
|
|
#endif
|