1 /* screenshot.h: Routines for saving .png screenshots
2    Copyright (c) 2002 Philip Kendall
3 
4    $Id: screenshot.h 4664 2012-02-12 11:51:01Z fredm $
5 
6    This program 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; either version 2 of the License, or
9    (at your option) any later version.
10 
11    This program is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14    GNU General Public License for more details.
15 
16    You should have received a copy of the GNU General Public License along
17    with this program; if not, write to the Free Software Foundation, Inc.,
18    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 
20    Author contact information:
21 
22    E-mail: philip-fuse@shadowmagic.org.uk
23 
24 */
25 
26 #ifndef FUSE_SCREENSHOT_H
27 #define FUSE_SCREENSHOT_H
28 
29 #ifndef SCALER_H
30 #include "ui/scaler/scaler.h"
31 #endif				/* #ifndef SCALER_H */
32 
33 #ifdef USE_LIBPNG
34 
35 int screenshot_write( const char *filename, scaler_type scaler );
36 int screenshot_available_scalers( scaler_type scaler );
37 
38 #endif				/* #ifdef USE_LIBPNG */
39 
40 int screenshot_scr_write( const char *filename );
41 int screenshot_scr_read( const char *filename );
42 
43 #define STANDARD_SCR_SIZE 6912
44 
45 #endif				/* #ifndef FUSE_SCREENSHOT_H */
46