DESIGN (xvisual) functions


LIBRARY ROUTINE

xvw_create_colorcell - create a colorcell xvobject

LIBRARY CALL

xvobject xvw_create_colorcell(
   xvobject parent,
   char     *name)

INPUT

OUTPUT

none

RETURN VALUE

The colorcell object on success, NULL on failure

DESCRIPTION

A colorcell visual object is used to display the color and the value of pixels in an image object; thus, it is designed to be used in conjunction with an image object. It is comprised of a square area in which the color of the pixel(s) are displayed. When a single pixel is associated with the colorcell object, the numeric value of that pixel may also be shown. The colorcell object may be used simply to reflect the color of one or more pixels in the image, or it may be used to control those colors.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$DESIGN/objects/library/xvisual/src/ColorCell.c

SEE ALSO

xvisual(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.