FEATURE-757: Store the last region in the greenshot.ini so it's available after a restart.

This commit is contained in:
RKrom 2014-11-03 14:25:14 +01:00
parent 634a4cf262
commit fc7faecaa5
5 changed files with 14 additions and 40 deletions

View file

@ -253,6 +253,9 @@ namespace GreenshotPlugin.Core {
[IniProperty("ProcessEXIFOrientation", Description = "When reading images from files or clipboard, use the EXIF information to correct the orientation", DefaultValue = "True")]
public bool ProcessEXIFOrientation;
[IniProperty("LastCapturedRegion", Description = "The last used region, for reuse in the capture last region")]
public Rectangle LastCapturedRegion;
// Specifies what THIS build is
public BuildStates BuildState = BuildStates.RELEASE_CANDIDATE;
@ -429,6 +432,10 @@ namespace GreenshotPlugin.Core {
if (OutputFileReduceColorsTo > 256) {
OutputFileReduceColorsTo = 256;
}
if (ContextMenuIconSize == Size.Empty) {
ContextMenuIconSize = new Size(16,16);
}
}
}
}