internal void Internal_OnClosed() { Closed?.Invoke(); GUI.Dispose(); // Force clear all events (we cannot use window after close) KeyDown = null; KeyUp = null; MouseLeave = null; MouseDown = null; MouseUp = null; MouseDoubleClick = null; MouseWheel = null; MouseMove = null; TouchDown = null; TouchMove = null; TouchUp = null; GotFocus = null; LostFocus = null; LeftButtonHit = null; HitTest = null; Closing = null; Closed = null; }
public DelegatePresenter(Action <T> render, HitTestDelegate hitTest) { this.render = render; this.hitTest = hitTest; }
public DelegatePresenter(HitTestDelegate hitTest) { this.hitTest = hitTest; }