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