WPF progress

This commit is contained in:
Tiago Conceição
2020-09-27 05:18:35 +01:00
parent f7a891fb40
commit f1d2cc486d
17 changed files with 503 additions and 126 deletions
+6 -4
View File
@@ -13,6 +13,7 @@ namespace UVtools.WPF
public static void Main(string[] args)
{
Args = args;
BuildAvaloniaApp()
.StartWithClassicDesktopLifetime(args);
}
@@ -21,10 +22,11 @@ namespace UVtools.WPF
public static AppBuilder BuildAvaloniaApp()
=> AppBuilder.Configure<App>()
.UsePlatformDetect()
.With(new Win32PlatformOptions
{
AllowEglInitialization = true,
})
.With(new Win32PlatformOptions { AllowEglInitialization = true})
.With(new X11PlatformOptions { UseGpu = true, UseEGL = true })
.With(new MacOSPlatformOptions { ShowInDock = true })
.With(new AvaloniaNativePlatformOptions { UseGpu = true })
.UseSkia()
.LogToDebug();
}
}