--- hatari/src/includes/screenSnapShot.h 2019/04/01 07:09:16 1.1 +++ hatari/src/includes/screenSnapShot.h 2019/04/09 08:59:21 1.1.1.8 @@ -1,12 +1,18 @@ /* - Hatari + Hatari - screenSnapShot.h + + 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 void ScreenSnapShot_CheckPrintKey(void); +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(/*HWND hWnd,*/BOOL bCaptureChange, int nFramesPerSecond); -extern void ScreenSnapShot_EndRecording(/*HWND hWnd*/); -extern void ScreenSnapShot_RecordFrame(BOOL bFrameChanged); + +#endif /* ifndef HATARI_SCREENSNAPSHOT_H */