mirror of
https://github.com/greenshot/greenshot
synced 2025-07-15 01:23:47 -07:00
Turned on the code for the Greenshot file format, hat to refactor the ImageOutput to accept an ISurface so we could wait to export it to an image until the last moment or save the surace-image & serialize the elements.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2373 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
745a17c3b1
commit
f5e9618cd2
16 changed files with 159 additions and 77 deletions
|
@ -336,6 +336,10 @@ namespace Greenshot {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This is called when the size of the surface chances, used for resizing and displaying the size information
|
||||
/// </summary>
|
||||
/// <param name="source"></param>
|
||||
private void SurfaceSizeChanged(object source) {
|
||||
if (editorConfiguration.MatchSizeToCapture) {
|
||||
// Set editor's initial size to the size of the surface plus the size of the chrome
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue