DIRECTORY PrincOps USING [PageNumber, PageCount], ColorDisplayFace USING [Mode]; ColorDisplayFaceExtras: DEFINITIONS = BEGIN DisplayType: TYPE = {none, ramtek714, hitachi2713, conrac7211Hi, conrac7211Lo}; PagesForMode: PUBLIC PROC[mode: ColorDisplayFace.Mode] RETURNS[PrincOps.PageCount]; SetMonitorType: PUBLIC PROC [ newMonitorType: DisplayType, newWidth, newHeight: NAT ]; SetDisplaySize: PUBLIC PROC [ newWidthA, newHeightA: NAT, newWidthB, newHeightB: NAT _ 0]; SetAOffsets: PUBLIC PROC [ xOffset, yOffset: NAT ]; SetBOffsets: PUBLIC PROC [ xOffset, yOffset: NAT ]; SwitchChannels: PUBLIC PROC []; Connect: PUBLIC PROC [ mode: ColorDisplayFace.Mode, firstPage: PrincOps.PageNumber, nPages: PrincOps.PageCount ]; END. îColorDisplayFaceExtras.mesa Last Edited by: Frank Crow, October 8, 1984 12:53:47 pm PDT Get storage amount necessary for bitmap Set color display size and monitor type Set color display window size Adjust position of Display Control Block on screen For double buffering. Alternates displaying achannel buffer and bchannel buffer on achannel Establishes the specified mode; allocates bitmap(s) and colormap(s) from a client-supplied block of nPages pages of mapped virtual memory. If mode.full=TRUE, nPages may be less than PagesForMode[mode]; in this case, the raster size will be reduced to fit. Subsequent changes to the bitmap or color map will affect the color image, but the image will not appear on the screen until TurnOn is called. ÊN˜šœ™J™;—J˜šÏk ˜ Jšœ œ˜*Jšœœ˜J˜—Jšœ œ˜%J˜Jš˜J˜šœ œ>˜OJ™J™'—šÏn œœœœ˜SJ™'—šžœœœ5œ˜VJ™—Jšžœœœ˜:šœ#œ˜,J™2—Jšž œœœœ˜3šž œœœœ˜3J™[—šžœœœ˜Jšœ™—šžœœœ˜Jšœ˜Jšœ ˜ Jšœ˜Jšœ˜—Jšœ˜J˜J˜—…—ì(