00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035 #ifndef _XMU_STDCMAP_H_
00036 #define _XMU_STDCMAP_H_
00037
00038 #include <X11/Xfuncproto.h>
00039
00040 _XFUNCPROTOBEGIN
00041
00042 Status XmuAllStandardColormaps
00043 (
00044 Display *dpy
00045 );
00046
00047 Status XmuCreateColormap
00048 (
00049 Display *dpy,
00050 XStandardColormap *colormap
00051 );
00052
00053 void XmuDeleteStandardColormap
00054 (
00055 Display *dpy,
00056 int screen,
00057 Atom property
00058 );
00059
00060 Status XmuGetColormapAllocation
00061 (
00062 XVisualInfo *vinfo,
00063 Atom property,
00064 unsigned long *red_max_return,
00065 unsigned long *green_max_return,
00066 unsigned long *blue_max_return
00067 );
00068
00069 Status XmuLookupStandardColormap
00070 (
00071 Display *dpy,
00072 int screen,
00073 VisualID visualid,
00074 unsigned int depth,
00075 Atom property,
00076 Bool replace,
00077 Bool retain
00078 );
00079
00080 XStandardColormap *XmuStandardColormap
00081 (
00082 Display *dpy,
00083 int screen,
00084 VisualID visualid,
00085 unsigned int depth,
00086 Atom property,
00087 Colormap cmap,
00088 unsigned long red_max,
00089 unsigned long green_max,
00090 unsigned long blue_max
00091 );
00092
00093 Status XmuVisualStandardColormaps
00094 (
00095 Display *dpy,
00096 int screen,
00097 VisualID visualid,
00098 unsigned int depth,
00099 Bool replace,
00100 Bool retain
00101 );
00102
00103 Bool XmuDistinguishableColors
00104 (
00105 XColor *colors,
00106 int count
00107 );
00108
00109 Bool XmuDistinguishablePixels
00110 (
00111 Display *dpy,
00112 Colormap cmap,
00113 unsigned long *pixels,
00114 int count
00115 );
00116
00117 _XFUNCPROTOEND
00118
00119 #endif