File indexing completed on 2025-01-18 10:14:26
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032 #ifndef _XMU_STDCMAP_H_
0033 #define _XMU_STDCMAP_H_
0034
0035 #include <X11/Xfuncproto.h>
0036
0037 _XFUNCPROTOBEGIN
0038
0039 Status XmuAllStandardColormaps
0040 (
0041 Display *dpy
0042 );
0043
0044 Status XmuCreateColormap
0045 (
0046 Display *dpy,
0047 XStandardColormap *colormap
0048 );
0049
0050 void XmuDeleteStandardColormap
0051 (
0052 Display *dpy,
0053 int screen,
0054 Atom property
0055 );
0056
0057 Status XmuGetColormapAllocation
0058 (
0059 XVisualInfo *vinfo,
0060 Atom property,
0061 unsigned long *red_max_return,
0062 unsigned long *green_max_return,
0063 unsigned long *blue_max_return
0064 );
0065
0066 Status XmuLookupStandardColormap
0067 (
0068 Display *dpy,
0069 int screen,
0070 VisualID visualid,
0071 unsigned int depth,
0072 Atom property,
0073 Bool replace,
0074 Bool retain
0075 );
0076
0077 XStandardColormap *XmuStandardColormap
0078 (
0079 Display *dpy,
0080 int screen,
0081 VisualID visualid,
0082 unsigned int depth,
0083 Atom property,
0084 Colormap cmap,
0085 unsigned long red_max,
0086 unsigned long green_max,
0087 unsigned long blue_max
0088 );
0089
0090 Status XmuVisualStandardColormaps
0091 (
0092 Display *dpy,
0093 int screen,
0094 VisualID visualid,
0095 unsigned int depth,
0096 Bool replace,
0097 Bool retain
0098 );
0099
0100 Bool XmuDistinguishableColors
0101 (
0102 XColor *colors,
0103 int count
0104 );
0105
0106 Bool XmuDistinguishablePixels
0107 (
0108 Display *dpy,
0109 Colormap cmap,
0110 unsigned long *pixels,
0111 int count
0112 );
0113
0114 _XFUNCPROTOEND
0115
0116 #endif