WGET_HW_SPRITE_COLOR(3W)
NAME
wget_hw_sprite_color − get hardware sprite colors
SYNOPSIS
int wget_hw_sprite_color(fd,fgcolor,bgcolor);
int fd;
int *fgcolor,*bgcolor;
DESCRIPTION
fd is an integer file descriptor for an opened window type device interface.
fgcolor,bgcolor
the foreground sprite color, and background sprite color.
DISCUSSION
Returns the foreground and background colors given by the last wset_hw_sprite_color call. If no call has yet been made to wset_hw_sprite_color, then defaults will be returned.
This call can be made on all devices, but the returned value will only be valid on the HP98730.
SEE ALSO
DIAGNOSTICS
A return of -1 indicates failure; otherwise 0 is returned. See errno(2) for more information.
Hewlett-Packard Company — May 11, 2021