GGGraphicsButton.mesa
Copyright © 1985 by Xerox Corporation. All rights reserved.
Last edited by Bier on August 17, 1985 1:01:16 am PDT
Contents: Procedures dealing selecting and deselecting objects, including both selection actions and selection feedback.
DIRECTORY
GGInterfaceTypes,
Rope,
ViewerClasses;
GGGraphicsButton: CEDAR DEFINITIONS =
BEGIN
GraphicsState: TYPE = REF GraphicsStateObj;
GraphicsStateObj:
TYPE = GGInterfaceTypes.GraphicsStateObj;
BuildGraphicsButton: PROC [viewer: ViewerClasses.Viewer, x,y,w,h: INTEGER, name: Rope.ROPE, initValue: REAL, clientData: REF ANY, atom: ATOM] RETURNS [nextX: INTEGER];
SetButtonValueAndPaint: PROC [graphicsState: GraphicsState, value: REAL];
GetValue: PROC [graphicsState: GraphicsState] RETURNS [value: REAL];
END.