Debian Codegraph @

src/pngfuncs/pngfuncs.h

raw symbols SCIP
1 /* SaveSurf: an example on how to save a SDLSurface in PNG
2 Copyright (C) 2006 Angelo "Encelo" Theodorou
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
18 NOTE:
19
20 This program is part of "Mars, Land of No Mercy" SDL examples,
21 you can find other examples on http://marsnomercy.org
22 */
23 #ifndef pngfuncs_h
24 #define pngfuncs_h
25
26 #include "SDL.h"
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif /* __cplusplus */
31
32 int png_save_surface(const char *filename, const SDL_Surface *surf);
33
34 #ifdef __cplusplus
35 }
36 #endif /* __cplusplus */
37
38 #endif