Tesla Graphics Engine Documentation (January 2012)
IMouseWrapper Interface
TeslaTesla.InputIMouseWrapper
Wrapper interface used to communicate with a native mouse.
Declaration Syntax
C#
public interface IMouseWrapper
Members
All Members Methods Properties



Icon Member Description
GetMouseState()()()()
Queries the current state of the mouse buttons and screen position.

GetMouseState(IntPtr)
Queries the current state of the mouse buttons and screen position, using the specified window handle.

Handle
Gets or sets the window handle the mouse is bound to. Mouse screen coordinates are relative to the top-left corner of this window.

SetPosition(Int32, Int32)
Sets the position of the mouse relative to the top-left corner of the window the mouse wrapper is bound to.

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)