DIRECTORY ColorTrixBasics, Commander, ImagerPixelMap, Rope; ColorTrixDispatch: CEDAR DEFINITIONS ~ BEGIN ROPE: TYPE ~ Rope.ROPE; CommandProc: TYPE ~ Commander.CommandProc; DeviceRectangle: TYPE ~ ImagerPixelMap.DeviceRectangle; PixelMap: TYPE ~ ColorTrixBasics.PixelMap; PixelMapMisc: TYPE ~ ColorTrixBasics.PixelMapMisc; Op: TYPE ~ RECORD [name: ROPE, proc: CommandProc, usage: ROPE]; Ops: TYPE ~ REF OpsSequence; OpsSequence: TYPE ~ RECORD [ length: NAT _ 0, element: SEQUENCE maxLength: NAT OF Op ]; RegisterCmOp: PUBLIC PROC [name: ROPE, proc: CommandProc, usage: ROPE]; RegisterCtOp: PUBLIC PROC [name: ROPE, proc: CommandProc, usage: ROPE]; GetCmOp: PUBLIC PROC [name: ROPE] RETURNS [Op]; GetCtOp: PUBLIC PROC [name: ROPE] RETURNS [Op]; ColorTrixDispatch: PUBLIC CommandProc; GetWindow: PUBLIC PROC [cmd: Commander.Handle, pm: PixelMap] RETURNS [window: DeviceRectangle]; GetWindowedPm: PUBLIC PROC [cmd: Commander.Handle] RETURNS [pm: PixelMap]; GetWindowedPmMisc: PUBLIC PROC [cmd: Commander.Handle] RETURNS [pmMisc: PixelMapMisc]; SetGlobalWindow: PUBLIC PROC [window: DeviceRectangle]; GetGlobalWindow: PUBLIC PROC RETURNS [DeviceRectangle]; GetInitialWindow: PUBLIC PROC RETURNS [DeviceRectangle]; END. ¦ColorTrixDispatch.mesa Copyright c 1985 by Xerox Corporation. All rights reserved. Bloomenthal, January 16, 1987 11:52:03 pm PST Color Trix Registry Register a color map command proc with the Color Trix dispatcher. Register a color trix command proc with the Color Trix dispatcher. Return the named color trix map op. Return the named color trix op. Dispatcher Parse the command line and dispatch the command. Window Support Search for -w switch with arguments. Return the color display pixel map windowed according to any -w switch with arguments. As above but for PixelMapMisc. Set the global window. Return the global window. Return the default global window. Κa˜šœ™Jšœ Οmœ1™