From 68df8667f48eee862beda77d076c5e759123bfce Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Mon, 24 Feb 2020 18:13:33 +0100 Subject: [PATCH] update mlem in template and add text input wrapper --- MLEM.Templates/content/MLEM.Templates.DesktopGL/Program.cs | 1 + .../content/MLEM.Templates.DesktopGL/TemplateNamespace.csproj | 4 ++-- .../content/MLEM.Templates.Portable/TemplateNamespace.csproj | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/MLEM.Templates/content/MLEM.Templates.DesktopGL/Program.cs b/MLEM.Templates/content/MLEM.Templates.DesktopGL/Program.cs index 7c935f2..880aa99 100644 --- a/MLEM.Templates/content/MLEM.Templates.DesktopGL/Program.cs +++ b/MLEM.Templates/content/MLEM.Templates.DesktopGL/Program.cs @@ -2,6 +2,7 @@ namespace TemplateNamespace { public static class Program { public static void Main() { + TextInputWrapper.Current = new TextInputWrapper.DesktopGl((w, c) => w.TextInput += c); using (var game = new GameImpl()) game.Run(); } diff --git a/MLEM.Templates/content/MLEM.Templates.DesktopGL/TemplateNamespace.csproj b/MLEM.Templates/content/MLEM.Templates.DesktopGL/TemplateNamespace.csproj index 32fc07a..949a796 100644 --- a/MLEM.Templates/content/MLEM.Templates.DesktopGL/TemplateNamespace.csproj +++ b/MLEM.Templates/content/MLEM.Templates.DesktopGL/TemplateNamespace.csproj @@ -6,8 +6,8 @@ - - + + diff --git a/MLEM.Templates/content/MLEM.Templates.Portable/TemplateNamespace.csproj b/MLEM.Templates/content/MLEM.Templates.Portable/TemplateNamespace.csproj index 4f65412..6e3abb8 100644 --- a/MLEM.Templates/content/MLEM.Templates.Portable/TemplateNamespace.csproj +++ b/MLEM.Templates/content/MLEM.Templates.Portable/TemplateNamespace.csproj @@ -5,7 +5,7 @@ - + all