DIRECTORY
Terminal USING [BitmapState, ChannelsVisible, ColorMode, Virtual],
VM USING [Interval, nullInterval];
SetColorBitmapState:
PUBLIC
PROC [vt: Terminal.Virtual,
newState: Terminal.BitmapState,
newMode: Terminal.ColorMode,
newVisibility: Terminal.ChannelsVisible,
widthA, heightA, widthB, heightB: NAT ← 0,
vMem: VM.Interval ← VM.nullInterval
]
RETURNS [
oldState: Terminal.BitmapState,
oldMode: Terminal.ColorMode, oldVisibility: Terminal.ChannelsVisible
];