Making print history clearable and update with new data
fixing warnings
This commit is contained in:
parent
215e86eb5a
commit
78d4059c80
16 changed files with 447 additions and 247 deletions
|
|
@ -144,6 +144,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
|
|||
else if (stashedContentView != null)
|
||||
{
|
||||
// Switch back to the original view
|
||||
stashedContentView.ClearRemovedFlag();
|
||||
this.ListContentView = stashedContentView;
|
||||
stashedContentView = null;
|
||||
}
|
||||
|
|
@ -158,6 +159,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
|
|||
Ascending = this.Ascending
|
||||
};
|
||||
}
|
||||
|
||||
this.ActiveSort = activeContainer.DefaultSort.SortKey;
|
||||
this.Ascending = activeContainer.DefaultSort.Ascending;
|
||||
}
|
||||
|
|
@ -413,11 +415,11 @@ namespace MatterHackers.MatterControl.CustomWidgets
|
|||
var y = height / 2 - originalImage.Height / 2;
|
||||
|
||||
var center = new RectangleInt(x, y + originalImage.Height, x + originalImage.Width, y);
|
||||
//renderGraphics.FillRectangle(center, this.ThumbnailForeground);
|
||||
// renderGraphics.FillRectangle(center, this.ThumbnailForeground);
|
||||
|
||||
renderGraphics.ImageRenderQuality = Graphics2D.TransformQuality.Best;
|
||||
|
||||
//originalImage = originalImage.Multiply(this.ThumbnailBackground);
|
||||
// originalImage = originalImage.Multiply(this.ThumbnailBackground);
|
||||
|
||||
renderGraphics.Render(originalImage, width /2 - originalImage.Width /2, height /2 - originalImage.Height /2);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue