Example #1
0
        protected internal override void OnCharEvent(CharEventArgs _event)
        {
            base.OnCharEvent(_event);
            var focused = this.focusManager.FocusedControl;

            if (focused != null && focused.Visible)
            {
                focused.OnCharEvent(_event);
            }
        }
Example #2
0
            protected internal override void OnCharEvent(CharEventArgs _event)
            {
                base.OnCharEvent(_event);
                var oldText = Control.Text;

                if (Control.editText.ProcessChar(_event.Character))
                {
                    Control.OnTextChanged(new TextChangedEventArgs(oldText, Control.Text));
                }
            }
Example #3
0
 protected internal override void OnCharEvent(CharEventArgs _event)
 {
     base.OnCharEvent(_event);
     fsm.OnCharEvent(_event);
 }
Example #4
0
 internal protected virtual void OnCharEvent(CharEventArgs _event)
 {
     this.Invoke(CHAR_ID, _event);
 }
Example #5
0
 protected internal virtual void OnCharEvent(CharEventArgs _event)
 {
 }
Example #6
0
 internal void OnCharEvent(CharEventArgs _event)
 {
     ActiveState.OnCharEvent(_event);
     Transition(GUIEventID.Char);
 }