Ejemplo n.º 1
0
 /// <summary>
 /// Sets the hotspot of a cursor mode.
 /// </summary>
 /// <param name="mode">The cursor mode.</param>
 /// <param name="hotspot">The hotspot of the cursor mode.</param>
 public void SetHotspot(CursorMode mode, Point hotspot)
 {
     this.Hotspots[mode.ToString()] = hotspot;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Sets the active mode.
 /// </summary>
 /// <param name="mode">A CursorMode representing the active mode.</param>
 public void SetActiveMode(CursorMode mode)
 {
     this.ActiveMode = mode.ToString();
 }