DIRECTORY Menus, GGBasicTypes, GGInterfaceTypes, Rope; GGDrawProcess: CEDAR DEFINITIONS = BEGIN GargoyleData: TYPE = GGInterfaceTypes.GargoyleData; Point: TYPE = GGBasicTypes.Point; EventProc: TYPE = PROC [event: LIST OF REF ANY, gargoyleData: GargoyleData]; MouseEventProc: TYPE = PROC [input: LIST OF REF ANY, gargoyleData: GargoyleData, worldPt: Point]; QueueInputAction: PROC [callBack: MouseEventProc, inputAction: LIST OF REF ANY, worldPt: Point, gargoyleData: GargoyleData]; QueueOrBashInputAction: PROC [callBack: MouseEventProc, inputAction: LIST OF REF ANY, worldPt: Point, gargoyleData: GargoyleData]; QueueInputActionNoPoint: PROC [callBack: EventProc, inputAction: LIST OF REF ANY, gargoyleData: GargoyleData]; QueueOrBashInputActionNoPoint: PROC [callBack: EventProc, inputAction: LIST OF REF ANY, gargoyleData: GargoyleData]; QueueInputActionAndWait: PROC [callBack: MouseEventProc, inputAction: LIST OF REF ANY, worldPt: Point, gargoyleData: GargoyleData]; Restart: PROC []; OutputLog: PROC []; LogRawMouse: PROC [point: Point]; OpenSessionLog: PROC [fileName: Rope.ROPE]; CloseSessionLog: PROC []; END. ¦GGDrawProcess.mesa Last edited by Bier on January 6, 1986 11:22:02 pm PST Copyright c 1985 by Xerox Corporation. All rights reserved. Contents: A flexible setup 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. Pier, December 6, 1985 10:01:30 am PST Queues the paint action and returns immediately. The action is guaranteed to be done eventually (unless the queue overflows). Queues the paint action and returns immediately. If this paint action is right behind another of the same type, it replaces it. For paint actions generated from menu points (i.e. not from mouse points. Behaves like QueuePaintAction. For paint actions generated from menu points (i.e. not from mouse points. Behaves like QueueOrBashPaintAction. Queues the paint action, and does not return until it is accomplished. Useful when so many calls are planned that the paint queue is sure to overflow with QueuePaintAction. Creates a new draw process. Call this procedure if a bug in the draw process forces it to be aborted. Κζ˜Icode™Kšœ6™6Kšœ Οmœ1™<šœ™K™&—K˜šΟk ˜ Kšœ,˜,—K˜Kšœžœž œ˜"Kšž˜˜Kšœžœ!˜3Kšœžœ˜!K˜—KšΟn œžœžœ žœžœžœžœ˜LKšŸœžœžœ žœžœžœžœ.˜aK˜š Ÿœžœ)žœžœžœžœ.˜|K™~—š Ÿœžœ)žœžœžœžœ.˜‚K™€—š Πbnœžœ$žœžœžœžœ˜nKšœi™i—š  œžœ$žœžœžœžœ˜tKšœo™o—š Ÿœžœ)žœžœžœžœ.˜ƒKšœ­™­—K˜KšŸœžœ˜KšŸ œžœ˜KšŸ œžœ˜!K˜KšŸœžœžœ˜+šŸœžœ˜K™f—K˜Kšžœ˜K˜—…—j φ