DESIGN (xvwidgets) functions


LIBRARY ROUTINE

xvw_allocate_color - returns the pixel given the color name

LIBRARY CALL

Pixel xvw_allocate_color(
   xvobject object,
   char     *colorname)

INPUT

OUTPUT

none

RETURN VALUE

The pixel that matches closest

DESCRIPTION

This routine will return a pixel that matches the closest color, specified by the name.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$DESIGN/objects/library/xvwidgets/src/utilities.c

SEE ALSO

xvwidgets(3)

COPYRIGHT

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