diff --git a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Images/SplashScreen.png b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Images/SplashScreen.png new file mode 100644 index 00000000..0bfd622d Binary files /dev/null and b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Images/SplashScreen.png differ diff --git a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Images/SplashScreen.xcf b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Images/SplashScreen.xcf new file mode 100644 index 00000000..0582b868 Binary files /dev/null and b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Images/SplashScreen.xcf differ diff --git a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/UniversalEditor.Content.PlatformIndependent.csproj b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/UniversalEditor.Content.PlatformIndependent.csproj index 933c7b87..14d88ac8 100644 --- a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/UniversalEditor.Content.PlatformIndependent.csproj +++ b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/UniversalEditor.Content.PlatformIndependent.csproj @@ -694,6 +694,9 @@ + + + diff --git a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/splash.bmp b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/splash.bmp new file mode 100644 index 00000000..05d239ae Binary files /dev/null and b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/splash.bmp differ diff --git a/CSharp/Libraries/UniversalEditor.UserInterface/SplashScreenWindow.cs b/CSharp/Libraries/UniversalEditor.UserInterface/SplashScreenWindow.cs index 168938ef..18d18a2a 100644 --- a/CSharp/Libraries/UniversalEditor.UserInterface/SplashScreenWindow.cs +++ b/CSharp/Libraries/UniversalEditor.UserInterface/SplashScreenWindow.cs @@ -33,11 +33,18 @@ namespace UniversalEditor.UserInterface { this.Decorated = false; this.Layout = new BoxLayout(Orientation.Vertical); - this.Size = new Dimension2D(300, 300); this.StartPosition = WindowStartPosition.Center; PictureFrame image = new PictureFrame(); - image.IconName = "universal-editor"; + if (System.IO.File.Exists("splash.bmp")) + { + image.Image = Image.FromFile("splash.bmp"); + } + else + { + image.IconName = "universal-editor"; + this.Size = new Dimension2D(300, 300); + } image.IconSize = new Dimension2D(128, 128); Label lbl = new Label("Universal Editor");