home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
511.lha
/
MouseXY_v1.0
/
Mouse-xy.Doc
< prev
next >
Wrap
Text File
|
1991-06-07
|
2KB
|
59 lines
//
\\ // Mouse-xy V1.0
\//
1991
by
Preben Nielsen
WHAT IS MOUSE-XY
This is a little utility that opens a little window in which
it shows the mouse coordinates and the color at that position
If the left mousebutton is being held down, the coordinates
is relative to the spot where the mouse was when button got
pressed.
Moving the mouse out of the screen on which the window is open
will disable the color-function
Double-clicking the right mousebutton while the window is
active will make it try to jump to another screen (if any).
The program has a couple of nice features:
» It can be started from both CLI and Workbench.
» No need to use 'RUN' or 'RUNBACK' when running this program
from the CLI. It is auto-detaching.
» The size of the window and the use of colors in it depends on
the version of the Kickstart/Workbench (1.2/1.3 vs. 2.?). and
the screen mode (LORES vs. HIRES).
» The window will automatically evacuate any closing screen and
try to open on another screen.
» The coordinates can still be monitored while you are moving/re-sizing
a window or moving workbench-icons !!.
Normally this is impossible because intuition freezes all layers on
the screen by calling 'LockLayers'. But I accomplished it by disabling
any call that the graphics functions make to 'LockLayerRom' and
'UnlockLayerRom' with this windows layer.
=====================================================================
Send bug-reports, suggestions, comments etc. to:
///
/// Preben Nielsen
\\\ /// Oehlenschlægersgade 72 st. T.V.
\\\/// 1663 Copenhagen V.
\/// Denmark