Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ wgetbcolor(3W) — HP-UX 9.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

wsetbcolor(3W)

WGETBCOLOR(3W)

NAME

wgetbcolor − get window border colors

SYNOPSIS

int wgetbcolor(fd,fgborder,bgborder);
int fd;
int *fgborder,*bgborder;

DESCRIPTION

fd is an integer file descriptor for an opened window type device interface. 

fgborder,bgborder
the foreground label character color, and background label and border color.

DISCUSSION

Returns the current foreground and background border colors.  The defaults at window creation time are determined by the WMBDRFGCLR and WMBDRBGCLR environment variables. 

If double buffering color mode is enabled via the WMCONFIG environment variable, the colors returned are the lower N/2 bits of the colors actually used, where N is the number of planes on the display. 

SEE ALSO

wsetbcolor(3W). 

DIAGNOSTICS

A return of -1 indicates failure; otherwise 0 is returned.  See errno(2) for more information.

Hewlett-Packard Company  —  HP-UX Release 8.0: January 1991

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026