GGViewerOps.mesa
Copyright © 1985 by Xerox Corporation. All rights reserved.
Last edited by Bier on January 6, 1986 10:59:54 pm PST
Contents: Utility routines to get and set values from buttons, labels, and text viewers.
Pier, May 27, 1986 11:59:07 am PDT
DIRECTORY
GGBasicTypes,
ViewerClasses;
GGViewerOps: CEDAR DEFINITIONS =
BEGIN
Point: TYPE = GGBasicTypes.Point;
Viewer: TYPE = ViewerClasses.Viewer;
GetReal: PROC [textViewer: Viewer, default: REAL] RETURNS [r: REAL];
GetPositiveReal: PROC [textViewer: Viewer, default: REAL] RETURNS [r: REAL];
SetReal: PROC [viewer: Viewer, real: REAL];
GetPoint: PROC [textViewer: Viewer] RETURNS [point: Point, success: BOOL];
SetPoint: PROC [viewer: Viewer, point: Point];
END.