From d21447d096a320a08b3efb2b8768fad0dcdcfd64 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 5 May 2016 22:28:51 +0100 Subject: move frontends into sub directory --- frontends/riscos/image.h | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 frontends/riscos/image.h (limited to 'frontends/riscos/image.h') diff --git a/frontends/riscos/image.h b/frontends/riscos/image.h new file mode 100644 index 000000000..a11388c13 --- /dev/null +++ b/frontends/riscos/image.h @@ -0,0 +1,39 @@ +/* + * Copyright 2004 John M Bell + * + * 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 . + */ + +#ifndef _NETSURF_RISCOS_IMAGE_H_ +#define _NETSURF_RISCOS_IMAGE_H_ + +#include +#include "desktop/plot_style.h" +#include "oslib/osspriteop.h" + +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, + colour background_colour, + bool repeatx, bool repeaty, bool background, image_type type); + +#endif -- cgit v1.2.3