public SoftKeyboardDisplayStateManager(GuiWidget content, RGBA_Bytes backgroundColor) { this.content = content; AnchorAll(); AddChild(content); keyboard = new SoftKeyboard(800, 300); keyboard.BackgroundColor = backgroundColor; AddChild(keyboard); keyboard.Visible = false; TextEditWidget.ShowSoftwareKeyboard += DoShowSoftwareKeyboard; TextEditWidget.HideSoftwareKeyboard += DoHideSoftwareKeyboard; }