NetSurf
frontends
riscos
content-handlers
sprite.h
Go to the documentation of this file.
1
/*
2
* Copyright 2003 John M Bell <jmb202@ecs.soton.ac.uk>
3
*
4
* This file is part of NetSurf, http://www.netsurf-browser.org/
5
*
6
* NetSurf is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; version 2 of the License.
9
*
10
* NetSurf is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
/** \file
20
* Content for image/x-riscos-sprite (RISC OS interface).
21
*/
22
23
#ifndef _NETSURF_RISCOS_SPRITE_H_
24
#define _NETSURF_RISCOS_SPRITE_H_
25
26
#include "
utils/config.h
"
27
#include "
utils/errors.h
"
28
29
#ifdef WITH_SPRITE
30
31
nserror
sprite_init
(
void
);
32
33
#else
34
35
static
inline
nserror
sprite_init
(
void
)
36
{
37
return
NSERROR_OK
;
38
}
39
40
#endif
41
42
byte
sprite_bpp
(
const
osspriteop_header *s);
43
44
#endif
config.h
errors.h
Error codes.
nserror
nserror
Enumeration of error codes.
Definition:
errors.h:29
NSERROR_OK
@ NSERROR_OK
No error.
Definition:
errors.h:30
sprite_bpp
byte sprite_bpp(const osspriteop_header *s)
Returns the bit depth of a sprite.
Definition:
sprite.c:249
sprite_init
static nserror sprite_init(void)
Definition:
sprite.h:35
Generated on Sun Oct 20 2024 12:52:27 for NetSurf by
1.9.4