Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
EZ_GetNumberOfAllocatedColors(3)EZWGL FunctionEZ_GetNumberOfAllocatedColors(3)

NAME
       EZ_GetNumberOfAllocatedColors,  EZ_GetNumberOfReservedColorsForGL - re-
       trieve information about	the colormap

SYNOPSIS
       #include	<EZ.h>

       int   EZ_GetNumberOfAllocatedColors(void)

       int   EZ_GetNumberOfReservedColorsForGL(void)

DESCRIPTION
       EZ_GetNumberOfAllocatedColors returns the total number of colors	 allo-
       cated  by EZWGL.	The first 16 colors are	pre-allocated and are used in-
       ternally	by EZWGL for displaying	3D borders.

       EZ_GetNumberOfReservedColorsForGL  returns the  number  of  colors  re-
       served  for  the	graphics library. In the colormap used by EZWGL, these
       reserved	colors starts at index 16. For example,	if this	 function  re-
       turns 125, the entries from 16 to 131 are reserved for the graphics li-
       brary.

SEE ALSO
       EZ_GetColormap(3)

EZWGL					      EZ_GetNumberOfAllocatedColors(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=EZ_GetNumberOfAllocatedColors&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help