public FocusEvent(EEventName type, FocusEventInit eventInit) : base(type, eventInit) { this.relatedTarget = eventInit.relatedTarget; }
/// <summary> /// /// </summary> /// <param name="screenX">x-coordinate of the position where the event occurred relative to the origin of the <see cref="VisualViewport"/>.</param> /// <param name="screenY">y-coordinate of the position where the event occurred relative to the origin of the <see cref="VisualViewport"/>.</param> /// <param name="clientX">x-coordinate of the position where the event occurred relative to the origin of the <see cref="Viewport"/>.</param> /// <param name="clientY">y-coordinate of the position where the event occurred relative to the origin of the <see cref="Viewport"/>.</param> /// <param name="button"></param> /// <param name="buttons"></param> /// <param name="relatedTarget"></param> public MouseEventInit(long screenX, long screenY, long clientX, long clientY, EMouseButton button, EMouseButtonFlags buttons, EventTarget relatedTarget) { this.screenX = screenX; this.screenY = screenY; this.clientX = clientX; this.clientY = clientY; this.button = button; this.buttons = buttons; this.relatedTarget = relatedTarget; }
public EventHandlerMap(EventTarget Owner) { this.Owner = Owner; Map = new Dictionary <EventName, LinkedList <EventHandler> >(0); }