diff options
Diffstat (limited to 'hw/xnest/Color.h')
-rw-r--r-- | hw/xnest/Color.h | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/hw/xnest/Color.h b/hw/xnest/Color.h index 6ba6cd97a..0b3c22581 100644 --- a/hw/xnest/Color.h +++ b/hw/xnest/Color.h @@ -12,6 +12,7 @@ the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. */ +/* $XFree86: xc/programs/Xserver/hw/xnest/Color.h,v 1.2 2003/11/16 05:05:20 dawes Exp $ */ #ifndef XNESTCOLOR_H #define XNESTCOLOR_H @@ -40,17 +41,18 @@ typedef struct { #define xnestPixel(pixel) (pixel) -Bool xnestCreateColormap(); -void xnestDestroyColormap (); -void xnestSetInstalledColormapWindows(); -void xnestSetScreenSaverColormapWindow(); -void xnestDirectInstallColormaps(); -void xnestDirectUninstallColormaps(); -void xnestInstallColormap(); -void xnestUninstallColormap(); -int xnestListInstalledColormaps(); -void xnestStoreColors(); -void xnestResolveColor(); -Bool xnestCreateDefaultColormap(); +Bool xnestCreateColormap(ColormapPtr pCmap); +void xnestDestroyColormap(ColormapPtr pCmap); +void xnestSetInstalledColormapWindows(ScreenPtr pScreen); +void xnestSetScreenSaverColormapWindow(ScreenPtr pScreen); +void xnestDirectInstallColormaps(ScreenPtr pScreen); +void xnestDirectUninstallColormaps(ScreenPtr pScreen); +void xnestInstallColormap(ColormapPtr pCmap); +void xnestUninstallColormap(ColormapPtr pCmap); +int xnestListInstalledColormaps(ScreenPtr pScreen, Colormap *pCmapIDs); +void xnestStoreColors(ColormapPtr pCmap, int nColors, xColorItem *pColors); +void xnestResolveColor(unsigned short *pRed, unsigned short *pGreen, + unsigned short *pBlue, VisualPtr pVisual); +Bool xnestCreateDefaultColormap(ScreenPtr pScreen); #endif /* XNESTCOLOR_H */ |