Ryujinx/Ryujinx.HLE/Ui/IDynamicTextInputHandler.cs

16 lines
443 B
C#

using System;
namespace Ryujinx.HLE.Ui
{
public interface IDynamicTextInputHandler : IDisposable
{
event DynamicTextChangedHandler TextChangedEvent;
event KeyPressedHandler KeyPressedEvent;
event KeyReleasedHandler KeyReleasedEvent;
bool TextProcessingEnabled { get; set; }
void SetText(string text, int cursorBegin);
void SetText(string text, int cursorBegin, int cursorEnd);
}
}