Platform providers

- New Provider model
- Remove WindowsFileDialogs project
- Remove PlatformAbstract assembly, use AggContext
- Rename OsInformation to OperatingSystem
This commit is contained in:
John Lewin 2017-08-20 02:34:39 -07:00
parent 82c2d333e7
commit 3a9833697d
108 changed files with 398 additions and 435 deletions

View file

@ -29,7 +29,6 @@ either expressed or implied, of the FreeBSD Project.
using System;
using MatterHackers.Agg;
using MatterHackers.Agg.PlatformAbstract;
using MatterHackers.Agg.UI;
namespace MatterHackers.MatterControl
@ -37,6 +36,7 @@ namespace MatterHackers.MatterControl
using System.Collections.Generic;
using Agg.Image;
using CustomWidgets;
using MatterHackers.Agg.Platform;
using MatterHackers.MatterControl.PartPreviewWindow;
using MatterHackers.VectorMath;
@ -119,7 +119,7 @@ namespace MatterHackers.MatterControl
// EnsureRestoreButtonImages
int size = (int)(16 * GuiWidget.DeviceScale);
if (OsInformation.OperatingSystem == OSType.Android)
if (AggContext.OperatingSystem == OSType.Android)
{
restoreNormal = ColorCircle(size, new RGBA_Bytes(200, 0, 0));
}