<> <> DIRECTORY Cubic USING [Bezier], Complex USING [Vec], Seq USING [ComplexSequence,NatSequence], FitBasic USING [Handle, SampleHandle]; FitStateUndo: CEDAR DEFINITIONS = BEGIN Undo: PROC[handle: Handle]; --reverses the last operation DataType: TYPE = {samples, links, nodes, cusps, contour} RestoreData: PROC[handle: Handle, type: DataType, all: BOOLEAN]; --copies old data from undo <> InvertTransform: PROC [handle: Handle]; --xform and all flag off of undo <> <> <> <> <> <> <> <> <> RemoveLast: PROC [handle: Handle, type: DataType]; --narrow, then call corresponding routine RestoreLast: PROC [handle: Handle, type: DataType]; --narrow, then call corresponding routine <> <> <> <> <> <> <> <> <> <> RestoreCurrentContour: PROC[handle: Handle]; --keeps a ref to the last contour on the undo <> <> RestoreClosed: PROC[handle: Handle]; RestoreMinDist: PROC[handle: Handle]; <> <> END.