| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | #ifndef _XMU_STDCMAP_H_ |
| 33 | #define _XMU_STDCMAP_H_ |
| 34 | |
| 35 | #include <X11/Xfuncproto.h> |
| 36 | |
| 37 | _XFUNCPROTOBEGIN |
| 38 | |
| 39 | Status XmuAllStandardColormaps |
| 40 | ( |
| 41 | Display *dpy |
| 42 | ); |
| 43 | |
| 44 | Status XmuCreateColormap |
| 45 | ( |
| 46 | Display *dpy, |
| 47 | XStandardColormap *colormap |
| 48 | ); |
| 49 | |
| 50 | void XmuDeleteStandardColormap |
| 51 | ( |
| 52 | Display *dpy, |
| 53 | int screen, |
| 54 | Atom property |
| 55 | ); |
| 56 | |
| 57 | Status XmuGetColormapAllocation |
| 58 | ( |
| 59 | XVisualInfo *vinfo, |
| 60 | Atom property, |
| 61 | unsigned long *red_max_return, |
| 62 | unsigned long *green_max_return, |
| 63 | unsigned long *blue_max_return |
| 64 | ); |
| 65 | |
| 66 | Status XmuLookupStandardColormap |
| 67 | ( |
| 68 | Display *dpy, |
| 69 | int screen, |
| 70 | VisualID visualid, |
| 71 | unsigned int depth, |
| 72 | Atom property, |
| 73 | Bool replace, |
| 74 | Bool retain |
| 75 | ); |
| 76 | |
| 77 | XStandardColormap *XmuStandardColormap |
| 78 | ( |
| 79 | Display *dpy, |
| 80 | int screen, |
| 81 | VisualID visualid, |
| 82 | unsigned int depth, |
| 83 | Atom property, |
| 84 | Colormap cmap, |
| 85 | unsigned long red_max, |
| 86 | unsigned long green_max, |
| 87 | unsigned long blue_max |
| 88 | ); |
| 89 | |
| 90 | Status XmuVisualStandardColormaps |
| 91 | ( |
| 92 | Display *dpy, |
| 93 | int screen, |
| 94 | VisualID visualid, |
| 95 | unsigned int depth, |
| 96 | Bool replace, |
| 97 | Bool retain |
| 98 | ); |
| 99 | |
| 100 | Bool XmuDistinguishableColors |
| 101 | ( |
| 102 | XColor *colors, |
| 103 | int count |
| 104 | ); |
| 105 | |
| 106 | Bool XmuDistinguishablePixels |
| 107 | ( |
| 108 | Display *dpy, |
| 109 | Colormap cmap, |
| 110 | unsigned long *pixels, |
| 111 | int count |
| 112 | ); |
| 113 | |
| 114 | _XFUNCPROTOEND |
| 115 | |
| 116 | #endif |