mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-09-07 15:54:29 +00:00
added: -printscreen command line to enable display of print screen filename
This commit is contained in:
parent
8bfee03343
commit
77e0423046
@ -258,6 +258,7 @@ void DrawMonoLoResSource ();
|
||||
void DrawMonoTextSource (HDC dc);
|
||||
void DrawTextSource (HDC dc);
|
||||
|
||||
bool g_bDisplayPrintScreenFileName = false;
|
||||
void Util_MakeScreenShotFileName( char *pFinalFileName_ );
|
||||
bool Util_TestScreenShotFileName( const char *pFileName );
|
||||
void Video_TakeScreenShot();
|
||||
@ -2535,5 +2536,8 @@ void Video_SaveScreenShot( const char *pScreenShotFileName )
|
||||
fclose( pFile );
|
||||
}
|
||||
|
||||
if( g_bDisplayPrintScreenFileName )
|
||||
{
|
||||
MessageBox( NULL, pScreenShotFileName, "Screen Captured", MB_OK );
|
||||
}
|
||||
}
|
||||
|
@ -71,6 +71,7 @@ bool VideoGetSW80COL();
|
||||
DWORD VideoGetSnapshot(SS_IO_Video* pSS);
|
||||
DWORD VideoSetSnapshot(SS_IO_Video* pSS);
|
||||
|
||||
extern bool g_bDisplayPrintScreenFileName;
|
||||
void Video_TakeScreenShot();
|
||||
|
||||
BYTE __stdcall VideoCheckMode (WORD pc, WORD addr, BYTE bWrite, BYTE d, ULONG nCyclesLeft);
|
||||
|
Loading…
Reference in New Issue
Block a user