Exemplo n.º 1
0
 /// <summary>
 /// Handles the mouse button release while the mouse is on this button.
 /// </summary>
 /// <param name="api">The client API</param>
 /// <param name="args">The mouse event arguments</param>
 public override void OnMouseUpOnElement(ICoreClientAPI api, MouseEvent args)
 {
     //if (!Toggleable) On = false;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Handles the event fired when the mouse is released.
 /// </summary>
 /// <param name="api">The client API</param>
 /// <param name="args">Mouse event arguments</param>
 public override void OnMouseUp(ICoreClientAPI api, MouseEvent args)
 {
     //if (!Toggleable) On = false;
     base.OnMouseUp(api, args);
 }
Exemplo n.º 3
0
 public override void OnMouseDownOnElement(ICoreClientAPI api, MouseEvent args)
 {
     // Don't handle this event
 }