CursoryDoc.tioga
Frank Crow, July 8, 1986 12:55:16 pm PDT
Cursory
CEDAR 6.1 — FOR INTERNAL XEROX USE ONLY
Cursory
© Copyright 1986 Xerox Corporation. All rights reserved.
Abstract: A place for cursors to hang their hacks.
Maintained by: Frank Crow <Crow.pa>
Keywords: mouse, cursor, user interface
XEROX  Xerox Corporation
   Palo Alto Research Center
   3333 Coyote Hill Road
   Palo Alto, California 94304

For Internal Xerox Use Only
Cursory
Cursory is a framework for placing cursor hacks so that they can attempt compatibility with other parts of the world. Two procedures are provided, currently:
SetMousePosition: PUBLIC PROC [vt: Terminal.Virtual, position: Terminal.Position];
Sets the mouse position (calling Terminal.SetMousePosition). But, first it calls any packages who have registered themselves, supplying the new mouse position, so that they may make whatever adjustments they wish. Fastmouse is the first client to register itself.
CallWhenMousePositionChanges: PUBLIC PROC[proc: Cursory.SetMousePositionProc];
Registers a procedure to be called whenever SetMousePosition is called.
SetMousePositionProc: TYPE ~ PROC [newPosition: Terminal.Position];