mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 05:23:24 -07:00
Disabled compiling of unused code for the 1.1 release
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2387 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
86dc1fa60d
commit
a57fa7086f
7 changed files with 103 additions and 84 deletions
|
@ -240,15 +240,16 @@ namespace Greenshot.Forms {
|
|||
capture.CursorVisible = !capture.CursorVisible;
|
||||
Invalidate();
|
||||
break;
|
||||
case Keys.V:
|
||||
// Video
|
||||
if (capture.CaptureDetails.CaptureMode != CaptureMode.Video) {
|
||||
capture.CaptureDetails.CaptureMode = CaptureMode.Video;
|
||||
} else {
|
||||
capture.CaptureDetails.CaptureMode = captureMode;
|
||||
}
|
||||
Invalidate();
|
||||
break;
|
||||
//// TODO: Enable when the screen capture code works reliable
|
||||
//case Keys.V:
|
||||
// // Video
|
||||
// if (capture.CaptureDetails.CaptureMode != CaptureMode.Video) {
|
||||
// capture.CaptureDetails.CaptureMode = CaptureMode.Video;
|
||||
// } else {
|
||||
// capture.CaptureDetails.CaptureMode = captureMode;
|
||||
// }
|
||||
// Invalidate();
|
||||
// break;
|
||||
case Keys.Z:
|
||||
if (captureMode == CaptureMode.Region) {
|
||||
// Toggle zoom
|
||||
|
@ -682,11 +683,12 @@ namespace Greenshot.Forms {
|
|||
fixedRect = captureRect;
|
||||
}
|
||||
|
||||
if (capture.CaptureDetails.CaptureMode == CaptureMode.Video) {
|
||||
graphics.FillRectangle(RedOverlayBrush, fixedRect);
|
||||
} else {
|
||||
// TODO: enable when the screen capture code works reliable
|
||||
//if (capture.CaptureDetails.CaptureMode == CaptureMode.Video) {
|
||||
// graphics.FillRectangle(RedOverlayBrush, fixedRect);
|
||||
//} else {
|
||||
graphics.FillRectangle(GreenOverlayBrush, fixedRect);
|
||||
}
|
||||
//}
|
||||
graphics.DrawRectangle(OverlayPen, fixedRect);
|
||||
|
||||
// rulers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue