internal static TextButtonManager CreateInstance(KeyboardControl parent, TextKey key) { var button = new KeyboardButton(); var manager = new TextButtonManager(parent, key, button); manager.UpdateStateModifiers(); return(manager); }
void IKeyboardControl.Create(TextKeyRef keyRef, TextKey key) { var manager = TextButtonManager.CreateInstance(_parent, key); _parent.AddManager(this, keyRef, manager); }