namespace MonoGame.Extended.NuclexGui.Controls
{
///
/// Interface for controls that can be written into using the keyboard
///
public interface IWritable : IFocusable
{
/// Title to be displayed in the on-screen keyboard
string GuideTitle { get; }
/// Description to be displayed in the on-screen keyboard
string GuideDescription { get; }
/// Text currently contained in the control
///
/// Called before the on-screen keyboard is displayed to get the text currently
/// contained in the control and after the on-screen keyboard has been
/// acknowledged to assign the edited text to the control
///
string Text { get; set; }
/// Called when the user has entered a character
/// Character that has been entered
void OnCharacterEntered(char character);
}
}