SetText(D3nfb)
SetText --
routine to set display to text mode
Synopsis
void xxxSetText(pScreen)
ScreenPtr pScreen;
{
/* device-specific coding to set text on card */
}
Description
SetText( )
sets the display back into text mode after the
SetGraphics(D3nfb)
routine sets the card into graphics mode.
Arguments
pScreen
-
pointer to the X screen structure
Exit codes
None
Usage
This routine is optional.
It is called when the user exits
or switches away from the X server.
For SVR5 and SCO OpenServer 5,
SetText
typically calls the SetText routine from the
grafinfo(DSP/4dsp)
file.
For example:
grafData *grafinfo = DDX_GRAFINFO(pScreen);
grafExec(grafinfo, "SetText", NULL);
Graphics chips that maintain VGA compatibility
typically call the video BIOS to set mode 3.
For AIX 5L NFB drivers,
the device-specific code musts be coded in the driver itself.
Version applicability
This function is supported for NFB drivers
on all releases of SCO OpenServer 5, SVR5, and AIX 5L.
Source files
Driver source file-
xxxScreen.c
References
grafinfo(DSP/4dsp)
CloseScreen(D3nfb),
grafQuery(D3nfb),
scoScreenInfo(D4nfb),
SetGraphics(D3nfb)
``Initializing the hardware'' in Developing NFB graphics adapter drivers
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005