GGState.mesa
Copyright © 1986 by Xerox Corporation. All rights reserved.
Last edited by Bier on March 4, 1987 4:40:22 pm PST
Contents: Routines for getting and setting values in the Gargoyle user interface state.
DIRECTORY
GGInterfaceTypes, GGModelTypes;
GGState: CEDAR DEFINITIONS =
BEGIN
ExtendMode: TYPE = GGModelTypes.ExtendMode;
GGData: TYPE = GGInterfaceTypes.GGData;
GravityType: TYPE = GGInterfaceTypes.GravityType;
SelectMode: TYPE = GGModelTypes.SelectMode;
GetShowColors: PROC [ggData: GGData] RETURNS [BOOL];
SetShowColors: PROC [ggData: GGData, showColors: BOOL];
GetGravityType: PROC [ggData: GGData] RETURNS [gravityType: GravityType];
SetGravityType: PROC [ggData: GGData, gravityType: GravityType];
Gravity: PROC [ggData: GGData] RETURNS [BOOL];
SetGravity: PROC [ggData: GGData, gravityOn: BOOL];
Midpoints: PROC [ggData: GGData] RETURNS [BOOL];
SetMidpoints: PROC [ggData: GGData, midpointsOn: BOOL];
Heuristics: PROC [ggData: GGData] RETURNS [BOOL];
SetHeuristics: PROC [ggData: GGData, heuristicsOn: BOOL];
ShowAlignments: PROC [ggData: GGData] RETURNS [BOOL];
SetShowAlignments: PROC [ggData: GGData, showAlignments: BOOL];
Hidden State (yuk)
GetSelectMode: PROC [ggData: GGData] RETURNS [selectMode: SelectMode];
SetSelectMode: PROC [ggData: GGData, selectMode: SelectMode];
GetExtendMode: PROC [ggData: GGData] RETURNS [extendMode: ExtendMode];
SetExtendMode: PROC [ggData: GGData, extendMode: ExtendMode];
Debugging and Experiments
PrecomputeMidpoints: PROC [] RETURNS [BOOL];
END.