GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XmGetColors(3) FreeBSD Library Functions Manual XmGetColors(3)

XmGetColors — A function that generates foreground, select, and shadow colors

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

XmGetColors takes a screen, a colormap, and a background pixel, and returns pixel values for foreground, select, and shadow colors.
screen
Specifies the screen for which these colors should be allocated.
colormap
Specifies the colormap from which these colors should be allocated.
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.

XmChangeColor(3), XmGetColorCalculation(3), and XmSetColorCalculation(3).

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.