diff --git a/Xune.Wpf/MainWindow.xaml b/Xune.Wpf/MainWindow.xaml index 6287564..1e2242d 100644 --- a/Xune.Wpf/MainWindow.xaml +++ b/Xune.Wpf/MainWindow.xaml @@ -6,9 +6,26 @@ xmlns:local="clr-namespace:Xune.Wpf" xmlns:sk="clr-namespace:SkiaSharp.Views.WPF;assembly=SkiaSharp.Views.WPF" mc:Ignorable="d" - Title="Xune" Height="450" Width="800" - Background="PaleVioletRed"> - + Title="Xune" Height="450" Width="800"> + + + + + + + + + + + + + + + + + + + - + diff --git a/Xune.Wpf/MainWindow.xaml.cs b/Xune.Wpf/MainWindow.xaml.cs index 888c09c..40cf5c6 100644 --- a/Xune.Wpf/MainWindow.xaml.cs +++ b/Xune.Wpf/MainWindow.xaml.cs @@ -1,6 +1,7 @@ using Microsoft.Iris.Render; using SkiaSharp; using SkiaSharp.Views.Desktop; +using System; using System.Threading.Tasks; using System.Windows; @@ -53,12 +54,13 @@ namespace Xune.Wpf private void Init() { #if DEBUG - Microsoft.Iris.Application.DebugSettings.TraceSettings.DebugTraceFile = @"C:\Users\jjask\Desktop\UIX.Skia.log"; + Microsoft.Iris.Application.DebugSettings.TraceSettings.DebugTraceFile + = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "UIX.Skia.log"); #endif Microsoft.Iris.Application.Initialize(Surface, IrisWindow); - string pageUixPath = System.IO.Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory, + string pageUixPath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Pages", "Home.uix"); string uiName = "Default"; //Microsoft.Iris.Application.LoadMarkup("file://" + pageUixPath);