1
/* $XConsortium: StdCmap.h,v 1.3 91/07/22 23:46:03 converse Exp $
3
* Copyright 1988 by the Massachusetts Institute of Technology
5
* Permission to use, copy, modify, and distribute this software and its
6
* documentation for any purpose and without fee is hereby granted, provided
7
* that the above copyright notice appear in all copies and that both that
8
* copyright notice and this permission notice appear in supporting
9
* documentation, and that the name of M.I.T. not be used in advertising
10
* or publicity pertaining to distribution of the software without specific,
11
* written prior permission. M.I.T. makes no representations about the
12
* suitability of this software for any purpose. It is provided "as is"
13
* without express or implied warranty.
15
* The X Window System is a Trademark of MIT.
17
* The interfaces described by this header file are for miscellaneous utilities
18
* and are not part of the Xlib standard.
21
#ifndef _XMU_STDCMAP_H_
22
#define _XMU_STDCMAP_H_
24
#include <X11/Xfuncproto.h>
28
Status XmuAllStandardColormaps(
29
#if NeedFunctionPrototypes
34
Status XmuCreateColormap(
35
#if NeedFunctionPrototypes
37
XStandardColormap* /* colormap */
41
void XmuDeleteStandardColormap(
42
#if NeedFunctionPrototypes
49
Status XmuGetColormapAllocation(
50
#if NeedFunctionPrototypes
51
XVisualInfo* /* vinfo */,
53
unsigned long* /* red_max_return */,
54
unsigned long* /* green_max_return */,
55
unsigned long* /* blue_max_return */
59
Status XmuLookupStandardColormap(
60
#if NeedFunctionPrototypes
63
VisualID /* visualid */,
64
unsigned int /* depth */,
71
XStandardColormap *XmuStandardColormap(
72
#if NeedFunctionPrototypes
75
VisualID /* visualid */,
76
unsigned int /* depth */,
79
unsigned long /* red_max */,
80
unsigned long /* green_max */,
81
unsigned long /* blue_max */
85
Status XmuVisualStandardColormaps(
86
#if NeedFunctionPrototypes
89
VisualID /* visualid */,
90
unsigned int /* depth */,
98
#endif /* _XMU_STDCMAP_H_ */