Index Index for
Section 9
Index Alphabetical
listing for W
Bottom of page Bottom of
page

ws_color_cell(9s)

NAME

ws_color_cell - Graphics: Used by the display driver to describe a single color entry in a colormap

SYNOPSIS

typedef struct { u_int index; u_short red; u_short green; u_short blue; u_short pad; } ws_color_cell;

MEMBERS

index Specifies the offset of this entry from the beginning of the colormap. red Specifies the intensity of red in this color entry. green Specifies the intensity of green in this color entry. blue Specifies the intensity of blue in this color entry. pad Forces structure to align on a word boundary.

DESCRIPTION

The colormap is made up of a number of ws_color_cell data structures. Each entry in the colormap determines the amount of red, green, and blue in the color.

FILES

<sys/workstation.h>

Index Index for
Section 9
Index Alphabetical
listing for W
Top of page Top of
page