SVInputMonitor.mesa
Last edited by Bier on August 19, 1984 7:39:34 pm PDT
Copyright © 1984 by Xerox Corporation. All rights reserved.
Contents: A flexible setup, suggested by Scott McGregor, for processing mouse input as fast as you can (but no faster). I will use it to synchronize my mouse point processing with the mousepoint. If the processing algorithms become faster, this procedure will still do the right thing.
DIRECTORY
Menus,
SVInterfaceTypes,
SV2d;
SVInputMonitor: DEFINITIONS =
BEGIN
ArtworkToolData: TYPE = SVInterfaceTypes.ArtworkToolData;
Point2d: TYPE = SV2d.Point2d;
ViewerToolData: TYPE = SVInterfaceTypes.ViewerToolData;
NewMotion: PROC [pt: Point2d, atom: ATOM, viewerToolData: ViewerToolData];
NewArtworkCommand: PROC [atom: ATOM, artworkToolData: ArtworkToolData];
New: PROC RETURNS [x: BOOL];
Restart: PROC [];
END.