


XmGetColors(3X)						      XmGetColors(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmGGeettCCoolloorrss -	A function that	generates foreground, select, and shadow
  colors

SYNOPSIS


  ##iinncclluuddee <<XXmm//XXmm..hh>>
  vvooiidd XXmmGGeettCCoolloorrss ((_s_c_r_e_e_n, _c_o_l_o_r_m_a_p, _b_a_c_k_g_r_o_u_n_d, _f_o_r_e_g_r_o_u_n_d,
	    _t_o_p__s_h_a_d_o_w,	_b_o_t_t_o_m__s_h_a_d_o_w, _s_e_l_e_c_t))
       SSccrreeeenn	 * _s_c_r_e_e_n;;
       CCoolloorrmmaapp	 _c_o_l_o_r_m_a_p;;
       PPiixxeell	 _b_a_c_k_g_r_o_u_n_d;;
       PPiixxeell	 * _f_o_r_e_g_r_o_u_n_d;;
       PPiixxeell	 * _t_o_p__s_h_a_d_o_w;;
       PPiixxeell	 * _b_o_t_t_o_m__s_h_a_d_o_w;;
       PPiixxeell	 * _s_e_l_e_c_t;;

DESCRIPTION
  XXmmGGeettCCoolloorrss takes a screen, a	colormap, and a	background pixel, and it
  returns pixel	values for foreground, select, and shadow colors.

  _s_c_r_e_e_n Specifies the screen for which	these colors should be allocated.

  _c_o_l_o_r_m_a_p
	 Specifies the colormap	from which these colors	should be allocated.

  _b_a_c_k_g_r_o_u_n_d
	 Specifies the background on which the colors should be	based.

  _f_o_r_e_g_r_o_u_n_d
	 Specifies a pointer to	the returned foreground	pixel value.  If this
	 argument is NULL no value is allocated	or returned for	this color.

  _t_o_p__s_h_a_d_o_w
	 Specifies a pointer to	the returned top shadow	pixel value.  If this
	 argument is NULL no value is allocated	or returned for	this color.

  _b_o_t_t_o_m__s_h_a_d_o_w
	 Specifies a pointer to	the returned bottom shadow pixel value.	 If
	 this argument is NULL no value	is allocated or	returned for this
	 color.

  _s_e_l_e_c_t Specifies a pointer to	the returned select pixel value.  If this
	 argument is NULL no value is allocated	or  returned for this color.

RELATED	INFORMATION
  XXmmCChhaannggeeCCoolloorr((33XX)), XXmmGGeettCCoolloorrCCaallccuullaattiioonn((33XX)),	and
  XXmmSSeettCCoolloorrCCaallccuullaattiioonn((33XX)).









