824N/A * dpsXcmu.c -- Simple color management/allocation utility
824N/A#include "dpsassert.h"
824N/A#include "cslibint.h"
824N/Astatic Bool AllocateColormap(Display *, XStandardColormap *, XVisualInfo *, int *, PixelRec *, int *, int *, unsigned long);
824N/Astatic Bool GetColorCubeFromProperty(Display *, XVisualInfo *, XStandardColormap *, XStandardColormap **, int *);
824N/Astatic Bool GetGrayRampFromProperty(Display *, XVisualInfo *, XStandardColormap *, XStandardColormap **, int *);
824N/AStatus XDPSCreateStandardColormaps(Display *, Drawable, Visual *, int, int, int, int, XStandardColormap *, XStandardColormap *, Bool);
824N/Astatic void AllocateGrayRamp(Display *, XVisualInfo *, XStandardColormap *, XStandardColormap *, PixelRec *);
824N/Astatic void ColorValuesFromMask(unsigned long, unsigned long *, unsigned long *);
824N/Astatic void DefineProperty(Display *, XStandardColormap *, XVisualInfo *, XStandardColormap *, int, Atom);
824N/Astatic void FindStaticGrayRamp(Display *, XVisualInfo *, XStandardColormap *, XStandardColormap *);
824N/Astatic void GetDatabaseValues(Display *, XVisualInfo *, XStandardColormap *, XStandardColormap *);
824N/Astatic void GetHomeDir(char *);
824N/A XVisualInfo *v = 0;
824N/A register XStandardColormap *c;
824N/A register XStandardColormap *c;
824N/A case StaticGray:
824N/A case DirectColor:
824N/A case PseudoColor:
824N/A case StaticColor:
824N/A case PseudoColor:
824N/A case DirectColor:
824N/A case StaticColor:
824N/A case StaticGray:
824N/A#ifndef X_NOT_POSIX