Name: | PointerMonitor |
Version: | 1.0 |
ID: | ID_POINTERMONITOR |
Status: | Unspecified |
Category: | GUI |
Date: | January 2001 |
Author: | Rocklyte Systems |
Copyright: | Rocklyte Systems (c) 2000-2001. All rights reserved. |
Short: | Monitors the position of the pointing device. |
The PointerMonitor class provides an accurate indication of a pointer's coordinates as it moves around the display. This can be useful for debugging and other circumstances where it might be useful to know the exact position of the mouse pointer. By default a PointerMonitor object will always look for the object named 'SystemPointer' and monitor it on initialisation. If necessary, you may specify the Pointer object to be monitored by setting the Pointer field.
Creating a valid PointerMonitor object does not require any field presets. Support for setting up the font used to print out the coordinates and the alignment/positioning of the graphic is available if you need it. Once initialised, a PointerMonitor will continuously print changes to the pointer's coordinates until it is freed from the system.
The PointerMonitor object consists of the following public fields:
Align Sets the alignment of the PointerMonitor within its container. ColourRGB Defines the colour of the PointerMonitor font in RGB format. Colour String-based field for setting the colour of a PointerMonitor font. Drawable The object that the PointerMonitor is drawn to. Pointer Refers to the Pointer object that should be monitored. XCoord The horizontal coordinate of the PointerMonitor graphic. YCoord The vertical coordinate of the PointerMonitor graphic.
Field: | ColourRGB | |
Short: | Defines the colour of the PointerMonitor font in RGB format. | |
Type: | RGB | |
Status: | Read/Write | |
|
Field: | Colour | |
Short: | String-based field for setting the colour of a PointerMonitor font. | |
Type: | STRING | |
Status: | Write | |
|
Field: | Drawable | |
Short: | The object that the PointerMonitor is drawn to. | |
Type: | OBJECTID | |
Status: | Read/Init | |
|
Field: | Pointer | |
Short: | Refers to the Pointer object that should be monitored. | |
Type: | OBJECTID | |
Status: | Read/Write | |
|
Field: | XCoord | |
Synonyms: | X | |
Short: | The horizontal coordinate of the PointerMonitor graphic. | |
Type: | LONG | |
Status: | Read/Write | |
|
Field: | YCoord | |
Synonyms: | Y | |
Short: | The vertical coordinate of the PointerMonitor graphic. | |
Type: | LONG | |
Status: | Read/Write | |
|