--- hatari/src/includes/screenSnapShot.h 2019/04/01 07:14:44 1.1.1.4 +++ hatari/src/includes/screenSnapShot.h 2019/04/09 08:59:21 1.1.1.8 @@ -1,14 +1,18 @@ /* Hatari - screenSnapShot.h - This file is distributed under the GNU Public License, version 2 or at - your option any later version. Read the file gpl.txt for details. + This file is distributed under the GNU General Public License, version 2 + or at your option any later version. Read the file gpl.txt for details. */ -extern bool bRecordingAnimation; +#ifndef HATARI_SCREENSNAPSHOT_H +#define HATARI_SCREENSNAPSHOT_H +#include + +extern int ScreenSnapShot_SavePNG_ToFile(SDL_Surface *surface, int destw, + int desth, FILE *fp, int png_compression_level, int png_filter, + int CropLeft , int CropRight , int CropTop , int CropBottom ); extern void ScreenSnapShot_SaveScreen(void); -extern bool ScreenSnapShot_AreWeRecording(void); -extern void ScreenSnapShot_BeginRecording(bool bCaptureChange); -extern void ScreenSnapShot_EndRecording(void); -extern void ScreenSnapShot_RecordFrame(bool bFrameChanged); + +#endif /* ifndef HATARI_SCREENSNAPSHOT_H */