TerminalPrivate.mesa
Copyright © 1985 by Xerox Corporation. All rights reserved.
last edited by: Levin on: September 22, 1983 12:51 pm
Doug Wyatt, April 29, 1985 11:50:07 am PDT
DIRECTORY
ColorDisplayFace USING [ColorMap],
CountedVM USING [Handle],
Terminal;
TerminalPrivate: CEDAR DEFINITIONS
~ BEGIN OPEN Terminal;
VirtualImpl: TYPE ~ REF VirtualImplRep;
VirtualImplRep: PUBLIC TYPE ~ RECORD[
keyboard: KeyBits ← ALL[up], -- keyboard state, when not selected
mouse: Position ← [0, 0], -- mouse position, when not selected
bwCursorPosition: Position ← [0, 0], -- b/w cursor position, when not selected
bwCursorPattern: BWCursorBitmap ← ALL[0], -- b/w cursor pattern
bwBitmapState: BitmapState ← none, -- state of b/w display
bwBackground: BWBackground ← white, -- b/w background color
bwBorderOdd: BWBorder ← 0, -- b/w border pattern
bwBorderEven: BWBorder ← 0, -- b/w border pattern
bwFrameBuffer: FrameBuffer ← NIL, -- b/w frame buffer
colorMode: ColorMode ← [FALSE, 0, 0],
colorMapVM: CountedVM.Handle ← NIL,
colorMap: ColorDisplayFace.ColorMap ← NIL,
colorBitmapState: BitmapState ← none,
colorVisibility: ChannelsVisible ← none,
colorFrameBufferA: FrameBuffer ← NIL,
colorFrameBufferB: FrameBuffer ← NIL,
colorCursorPosition: Terminal.Position ← [0, 0],
colorCursorPattern: Terminal.ColorCursorBitmap ← ALL[0],
colorCursorPresentation: Terminal.ColorCursorPresentation ← onesAreBlack,
colorCursorState: Terminal.ColorCursorBitmapState ← visible,
colorCursorDisplayed: BOOLFALSE,
colorFrameLocked: BOOLFALSE,
xmin, ymin, xmax, ymax: NAT ← 0,
colorCursorSourceA, colorCursorSourceB: LONG POINTERNIL,
colorCursorBackupA, colorCursorBackupB: LONG POINTERNIL,
colorCursorVM: CountedVM.Handle ← NIL,
colorDisplayChanging: BOOLFALSE,
colorDisplayStable: CONDITION,
notifiers: Notifier ← NIL -- swap notifiers
];
Notifier: TYPE ~ REF NotifierItem;
NotifierItem: TYPE ~ RECORD[
next, prev: Notifier,
proc: SwapNotifier,
clientData: REF ANY
];
END.