UI/ Mouse.js

This library creates an object that can be used to track the current mouse position.  This library creates and object called Mouse which is an instance of MouseImpl described here (meaning you’ll probably never need to make an instance of MouseImpl).

em.AddMoveListener(
function(e) {
Sortie.UI.Mouse.SetCoords(e);
window.status = "X: " + Sortie.UI.Mouse.X + " Y:" + Sortie.UI.Mouse.Y;
}
);

that will set the windows status to the X and Y position on every mouse move for example.

Copyright

2005-2006 Rob Rohan (robr.nosp@m.ohan@gmai.nosp@m.l.com)

Summary
This library creates an object that can be used to track the current mouse position.
Constructor for SystemMouse this holds the current mouse position on the screen in X and Y
gets the current mouse position and puts it into the MouseImpl object
An instance of MouseImpl for use in everyday code
the current version

MouseImpl

Constructor for SystemMouse this holds the current mouse position on the screen in X and Y

Namespace

Sortie.UI

Summary
gets the current mouse position and puts it into the MouseImpl object
An instance of MouseImpl for use in everyday code
the current version

Functions

MouseImpl. SetCoords

gets the current mouse position and puts it into the MouseImpl object

Parameters

ethe event

Variables

Sortie. UI. Mouse

Sortie.UI.Mouse

An instance of MouseImpl for use in everyday code

Sortie. UI. Mouse. VERSION

the current version

Sortie.UI.Mouse
An instance of MouseImpl for use in everyday code