Skip to content

Commit f7eb2ce

Browse files
committed
Update 3.3
1 parent 0ea124a commit f7eb2ce

File tree

9 files changed

+69
-17
lines changed

9 files changed

+69
-17
lines changed

EmptyKeys.UserInterface.Core/EmptyKeys.UserInterface.Core.Standard.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
<PackageId>EmptyKeys.UserInterface.Core</PackageId>
1313
<Description>Core library for Empty Keys UI</Description>
1414
<Product>EmptyKeys.UserInterface.Core</Product>
15-
<Copyright>Copyright © 2018 Empty Keys, Filip Dušek</Copyright>
15+
<Copyright>Copyright © 2020 Empty Keys, Filip Dušek</Copyright>
1616
<Company>Empty Keys, Filip Dušek</Company>
17-
<AssemblyVersion>3.2.0.0</AssemblyVersion>
18-
<Version>3.2.0</Version>
17+
<AssemblyVersion>3.3.0.0</AssemblyVersion>
18+
<Version>3.3.0</Version>
1919
<Authors>Empty Keys, Filip Dušek</Authors>
2020
<AssemblyName>EmptyKeys.UserInterface.Core</AssemblyName>
2121
<RootNamespace>EmptyKeys.UserInterface.Core</RootNamespace>

EmptyKeys.UserInterface.Core/Engine.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,10 @@ public Engine()
6767
{
6868
instance = this;
6969
}
70+
71+
/// <summary>
72+
/// Update method
73+
/// </summary>
74+
public abstract void Update();
7075
}
7176
}

EmptyKeys.UserInterface.Core/Input/InputDeviceBase.cs

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11

2+
using System;
3+
24
namespace EmptyKeys.UserInterface.Input
35
{
46
/// <summary>
@@ -36,13 +38,28 @@ public abstract class InputDeviceBase
3638
/// <value>
3739
/// The state of the touch.
3840
/// </value>
39-
public abstract TouchStateBase TouchState { get; }
41+
public abstract TouchStateBase TouchState { get; }
4042

4143
/// <summary>
4244
/// Initializes a new instance of the <see cref="InputDeviceBase"/> class.
4345
/// </summary>
4446
public InputDeviceBase()
4547
{
4648
}
49+
50+
/// <summary>
51+
/// Shows Virtual Keyboard - this is for gamepad textbox virtual keyboard (A button)
52+
/// </summary>
53+
/// <param name="onSuccess">action on success</param>
54+
/// <param name="onCancel">action on cancel</param>
55+
/// <param name="defaultText">starting text</param>
56+
/// <param name="title">title of the VK UI</param>
57+
/// <param name="maxLength">maximum length</param>
58+
public abstract void ShowVirtualKeyboard(Action<string> onSuccess, Action onCancel = null, string defaultText = null, string title = null, int maxLength = 0);
59+
60+
/// <summary>
61+
/// Update method
62+
/// </summary>
63+
public abstract void Update();
4764
}
4865
}

EmptyKeys.UserInterface.MonoGame/EmptyKeys.UserInterface.MonoGame.Standard.csproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup Label="Globals">
44
<SccProjectName>SAK</SccProjectName>
@@ -12,10 +12,10 @@
1212
<PackageId>EmptyKeys.UserInterface.MonoGame</PackageId>
1313
<Description>MonoGame Library for Empty Keys UI</Description>
1414
<Product>EmptyKeys.UserInterface.MonoGame</Product>
15-
<Copyright>Copyright © 2018 Empty Keys, Filip Dušek</Copyright>
15+
<Copyright>Copyright © 2020 Empty Keys, Filip Dušek</Copyright>
1616
<Company>Empty Keys</Company>
17-
<AssemblyVersion>3.2.0.0</AssemblyVersion>
18-
<Version>3.2.0</Version>
17+
<AssemblyVersion>3.3.0.0</AssemblyVersion>
18+
<Version>3.3.0</Version>
1919
<Authors>Empty Keys, Filip Dušek</Authors>
2020
<AssemblyName>EmptyKeys.UserInterface.MonoGame</AssemblyName>
2121
<RootNamespace>EmptyKeys.UserInterface.MonoGame</RootNamespace>
@@ -46,13 +46,13 @@
4646
</ItemGroup>
4747

4848
<ItemGroup>
49-
<ProjectReference Include="..\EmptyKeys.UserInterface.Core\EmptyKeys.UserInterface.Core.Standard.csproj" />
49+
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.0.1641">
50+
<PrivateAssets>All</PrivateAssets>
51+
</PackageReference>
5052
</ItemGroup>
5153

5254
<ItemGroup>
53-
<Reference Include="MonoGame.Framework">
54-
<HintPath>C:\Program Files (x86)\MonoGame\v3.0\Assemblies\Windows\MonoGame.Framework.dll</HintPath>
55-
</Reference>
55+
<ProjectReference Include="..\EmptyKeys.UserInterface.Core\EmptyKeys.UserInterface.Core.Standard.csproj" />
5656
</ItemGroup>
5757

5858
</Project>

EmptyKeys.UserInterface.MonoGame/Input/MonoGameInputDevice.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,16 @@ public MonoGameInputDevice()
6969
{
7070
TouchPanel.EnabledGestures = GestureType.Tap | GestureType.HorizontalDrag |
7171
GestureType.VerticalDrag;
72-
}
72+
}
73+
74+
/// <inheritdoc/>
75+
public override void ShowVirtualKeyboard(Action<string> onSuccess, Action onCancel = null, string defaultText = null, string title = null, int maxLength = 0)
76+
{
77+
}
78+
79+
/// <inheritdoc/>
80+
public override void Update()
81+
{
82+
}
7383
}
7484
}

EmptyKeys.UserInterface.MonoGame/MonoGameEngine.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ public MonoGameEngine(GraphicsDevice graphicsDevice, int nativeScreenWidth, int
7474
: base()
7575
{
7676
renderer = new MonoGameRenderer(graphicsDevice, nativeScreenWidth, nativeScreenHeight);
77-
}
77+
}
78+
79+
/// <inheritdoc/>
80+
public override void Update()
81+
{
82+
}
7883
}
7984
}

EmptyKeys.UserInterface.Xenko/EmptyKeys.UserInterface.Xenko.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<Description>Empty Keys UI Xenko engine library</Description>
1616
</PropertyGroup>
1717
<ItemGroup>
18-
<PackageReference Include="Xenko" Version="3.0.0.5">
18+
<PackageReference Include="Xenko" Version="3.1.0.2">
1919
<PrivateAssets>contentfiles;analyzers</PrivateAssets>
2020
</PackageReference>
2121
</ItemGroup>

EmptyKeys.UserInterface.Xenko/Input/XenkoInputDevice.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,16 @@ public XenkoInputDevice()
7777
NativeInputManager.Gestures.Add(new GestureConfigFlick());
7878
//NativeInputManager.Gestures.Add(new GestureConfigTap());
7979
NativeInputManager.Gestures.Add(new GestureConfigComposite());
80-
}
80+
}
81+
82+
/// <inheritdoc/>
83+
public override void ShowVirtualKeyboard(Action<string> onSuccess, Action onCancel = null, string defaultText = null, string title = null, int maxLength = 0)
84+
{
85+
}
86+
87+
/// <inheritdoc/>
88+
public override void Update()
89+
{
90+
}
8191
}
8292
}

EmptyKeys.UserInterface.Xenko/XenkoEngine.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ public XenkoEngine(GraphicsDeviceManager manager, EffectSystem effectSystem)
7575
: base()
7676
{
7777
renderer = new XenkoRenderer(manager, effectSystem);
78-
}
78+
}
79+
80+
/// <inheritdoc/>
81+
public override void Update()
82+
{
83+
}
7984
}
8085
}

0 commit comments

Comments
 (0)