Ejemplo n.º 1
0
 internal protected virtual void TriggerOnMouseEntered(Component sender, int x, int y)
 {
     if (OnMouseEntered != null)
     {
         OnMouseEntered.Invoke(new MouseEventArgs(sender, x, y));
     }
 }
Ejemplo n.º 2
0
            protected internal override void MouseEntered()
            {
                base.MouseEntered();

                OnMouseEntered?.Invoke();

                SetOnlyStylePseudoClass(StylePseudoClassHover);
            }
Ejemplo n.º 3
0
 private void Pipeclient_ServerMessage(NamedPipeConnection <JavaEvent, JavaEvent> connection, JavaEvent message)
 {
     if (message.action == "javaShutDown")
     {
         OnJavaShutDown?.Invoke(message.vmID);
     }
     if (message.action == "MouseClicked")
     {
         OnMouseClicked?.Invoke(message.vmID, new AccessibleContextNode(accessBridge, new JavaObjectHandle(message.vmID, new JOBJECT64(message.ac))));
     }
     if (message.action == "MouseEntered")
     {
         OnMouseEntered?.Invoke(message.vmID, new AccessibleContextNode(accessBridge, new JavaObjectHandle(message.vmID, new JOBJECT64(message.ac))));
     }
 }
Ejemplo n.º 4
0
 protected internal virtual void MouseEntered()
 {
     OnMouseEntered?.Invoke(new GUIMouseHoverEventArgs(this));
 }
Ejemplo n.º 5
0
 private void NotifyMouseEntered()
 {
     OnMouseEntered?.Invoke(this, EventArgs.Empty);
 }
Ejemplo n.º 6
0
 internal void InvokeMouseEntered(float mouseX, float mouseY)
 {
     OnMouseEntered?.Invoke(this, mouseX - Transform.Position.X, mouseY - Transform.Position.Y);
 }
Ejemplo n.º 7
0
 private void _OnMouseEntered(int vmID, IntPtr jevent, IntPtr ac) => OnMouseEntered?.Invoke(vmID, jevent, ac);