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

FreeBSD Manual Pages

  
 
  

home | help
XmGetColors(3)		   Library Functions Manual		XmGetColors(3)

NAME
       XmGetColors -- A	function that generates	foreground, select, and	shadow
       colors

SYNOPSIS
       #include	<Xm/Xm.h>
       void XmGetColors(
       Screen *	screen,
       Colormap	colormap,
       Pixel background,
       Pixel * foreground,
       Pixel * top_shadow,
       Pixel * bottom_shadow,
       Pixel * select);

DESCRIPTION
       XmGetColors takes a screen, a colormap, and a background	pixel, and re-
       turns pixel values for foreground, select, and shadow colors.

       screen	 Specifies  the	 screen	for which these	colors should be allo-
		 cated.

       colormap	 Specifies the colormap	from which these colors	should be  al-
		 located.

       background
		 Specifies the background on which the colors should be	based.

       foreground
		 Specifies  a  pointer to the returned foreground pixel	value.
		 If this argument is NULL, no value is allocated  or  returned
		 for this color.

       top_shadow
		 Specifies  a  pointer to the returned top shadow pixel	value.
		 If this argument is NULL, no value is allocated  or  returned
		 for this color.

       bottom_shadow
		 Specifies  a  pointer	to  the	 returned  bottom shadow pixel
		 value.	 If this argument is NULL, no value  is	 allocated  or
		 returned for this color.

       select	 Specifies  a  pointer to the returned select pixel value.  If
		 this argument is NULL,	no value is allocated or returned  for
		 this color.

RELATED
       XmChangeColor(3),   XmGetColorCalculation(3),   and  XmSetColorCalcula-
       tion(3).

								XmGetColors(3)

NAME | SYNOPSIS | DESCRIPTION | RELATED

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

home | help