aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/Ui/IDynamicTextInputHandler.cs
blob: e530d2c4e2b319d61dae374c510538659666a7b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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);
    }
}