aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/Ui/IDynamicTextInputHandler.cs
blob: 6e7b4c49599ee331d077c925a03163fced1f0f65 (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);
    }
}