Build 0.20.10.0

This commit is contained in:
Markus Isberg
2022-12-05 19:48:59 +02:00
parent 31d2dc658e
commit 9d2f160314
55 changed files with 335 additions and 3511 deletions
@@ -111,6 +111,11 @@ namespace Microsoft.Xna.Framework {
/// Used for displaying uncommitted IME text.
/// </summary>
public event EventHandler<TextEditingEventArgs> TextEditing;
/// <summary>
/// Used for when a key is pressed, including modifiers.
/// </summary>
public event EventHandler<TextInputEventArgs> KeyDown;
#endif
#endregion Events
@@ -158,6 +163,11 @@ namespace Microsoft.Xna.Framework {
EventHelpers.Raise(this, TextInput, e);
}
protected void OnKeyDown(object sender, TextInputEventArgs e)
{
EventHelpers.Raise(this, KeyDown, e);
}
protected void OnTextEditing(object sender, TextEditingEventArgs e)
{
EventHelpers.Raise(this, TextEditing, e);