void pxset_bg_colr_ind (
Pint ws_id, /*workstation identifier */ Pint color_ind /*background color index */
)
This function sets the background color index.
The color index is used to index into the color table on the specified workstation. If the specified color index is beyond the actual range supported by the workstation, color index 1 will be used.
The specified background color will take effect at the next regeneration (immediately, if the deferral mode is ASTI or ASAP). The normal way of changing the workstation background color is to change the color representation of color index 0 using Set Color Representation (routine pset_colr_rep). On some systems, this changes the color immediately, regardless of the display update state.
Open workstation, see popen_ws
Inquire color table definition, see pinq_colr_rep