diff --git a/inf3.csproj b/inf3.csproj index 3438185..8521899 100644 --- a/inf3.csproj +++ b/inf3.csproj @@ -76,6 +76,7 @@ + diff --git a/src/Gui/SplashScreen.cd b/src/Gui/SplashScreen.cd new file mode 100644 index 0000000..e02abfc --- /dev/null +++ b/src/Gui/SplashScreen.cd @@ -0,0 +1 @@ + diff --git a/src/Gui/Splashscreen.cs b/src/Gui/Splashscreen.cs new file mode 100644 index 0000000..c04735d --- /dev/null +++ b/src/Gui/Splashscreen.cs @@ -0,0 +1,29 @@ +using System; +using System.Drawing; +using System.Windows.Forms; + +namespace WorldOfPeacecraft +{ + public class SplashScreen : Form + { + private string ImagesFolder = "textures/"; + private Image Logo; + + public SplashScreen () + { + Logo = Image.FromFile (ImagesFolder + "splashscreen.png"); + //TODO: Play splashscreen.ogg + } + + protected override void OnPaint (PaintEventArgs e) + { + Graphics g = e.Graphics; + } + + public void PaintImage(Graphics g) + { + g.DrawImage (Logo, 100, 20, 450, 150); + } + } +} + diff --git a/textures/playerOnline.png b/textures/playerOnline.png new file mode 100644 index 0000000..4ef1bad Binary files /dev/null and b/textures/playerOnline.png differ