Added: Ctrl-PrintScreen will copy the text screen (auto detect 40/80 columns) to the clipboard.

This commit is contained in:
michaelangel007
2014-08-25 08:35:43 -07:00
parent 7cef5d5031
commit 24e581ba2c
6 changed files with 147 additions and 89 deletions
+9 -5
View File
@@ -1092,16 +1092,20 @@ LRESULT CALLBACK FrameWndProc (
Video_TakeScreenShot( SCREENSHOT_560x384 );
}
else
if (wparam == VK_SNAPSHOT_280)
if (wparam == VK_SNAPSHOT_280) // ( lparam & MOD_SHIFT )
{
if( lparam & MOD_SHIFT)
{
#if _DEBUG
// MessageBox( g_hFrameWindow, "Normal 280x192 size!", "PrintScreen", MB_OK );
// MessageBox( g_hFrameWindow, "Normal 280x192 size!", "PrintScreen", MB_OK );
#endif
}
Video_TakeScreenShot( SCREENSHOT_280x192 );
}
else
if (wparam == VK_SNAPSHOT_TEXT) // ( lparam & MOD_CONTROL )
{
char *pText;
size_t nSize = Util_GetTextScreen( pText );
Util_CopyTextToClipboard( nSize, pText );
}
break;
case WM_KEYDOWN: