DIRECTORY PETypes, PEViewer USING [DrawProc], ViewerClasses USING [Viewer]; PERefresh: CEDAR DEFINITIONS = BEGIN OPEN PETypes, PEViewer; RefreshData: TYPE = REF ANY; CreateRefreshProcess: PROCEDURE [pathViewer: ViewerClasses.Viewer, clientRedrawProc: DrawProc _ NIL] RETURNS [data: RefreshData]; DestroyRefreshProcess: PROCEDURE [data: RefreshData]; EnableSegmentRefresh: PROCEDURE [segment: Segment]; DisableSegmentRefresh: PROCEDURE [segment: Segment]; EnableTrajectoryRefresh: PROCEDURE [trajectory: Trajectory]; DisableTrajectoryRefresh: PROCEDURE [trajectory: Trajectory]; NewRefreshData: PROCEDURE [data: RefreshData, trajectoryList: TrajectoryList, activeTrajectory: TrajectoryNode]; RequestRefresh: PROCEDURE [data: RefreshData, erase: BOOLEAN _ FALSE]; END. ŒPERefresh.mesa Written by Darlene Plebon on August 31, 1983 11:19 am Refresh process routines. This process redraws the entire image at background priority whenever it is notified that an operation has been performed which may have damaged the displayed image. Active segments and vertices are NOT redrawn. Vertices are only drawn for the active trajectory. This routine creates the refresh process. This routine causes the refresh process to kill itself. This routine allows the specified segment to be refreshed on refresh requests. This routine prevents the specified segment from being refreshed. This routine allows the specified trajectory to be refreshed on refresh requests. This routine prevents the specified trajectory from being refreshed. This procedure provides information about the image to be refreshed. In particular, it provides a list of trajectories to be refreshed and which trajectory is active (i.e. the trajectory whose vertices are to be refreshed). This routine should be called whenever this information changes. This routine requests that the image be refreshed. It may optionally request that the screen be erased first. ĘF˜Jšœ™Jšœ5™5J˜J™ŁJ˜šĎk ˜ Jšœ˜Jšœ œ ˜Jšœœ ˜J˜—Jšœ œ˜J˜Jšœœ˜J˜Jšœ œœœ˜J˜šĎnœ œAœœ˜J™)—J˜šžœ œ˜5J™7—J˜šžœ œ˜3J™N—J˜šžœ œ˜4J™A—J˜šžœ œ˜