1 /* $XConsortium: StdCmap.h,v 1.4 94/04/17 20:16:15 converse Exp $ */
5 Copyright (c) 1988 X Consortium
7 Permission is hereby granted, free of charge, to any person obtaining a copy
8 of this software and associated documentation files (the "Software"), to deal
9 in the Software without restriction, including without limitation the rights
10 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11 copies of the Software, and to permit persons to whom the Software is
12 furnished to do so, subject to the following conditions:
14 The above copyright notice and this permission notice shall be included in
15 all copies or substantial portions of the Software.
17 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
21 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 Except as contained in this notice, the name of the X Consortium shall not be
25 used in advertising or otherwise to promote the sale, use or other dealings
26 in this Software without prior written authorization from the X Consortium.
31 * The interfaces described by this header file are for miscellaneous utilities
32 * and are not part of the Xlib standard.
35 #ifndef _XMU_STDCMAP_H_
36 #define _XMU_STDCMAP_H_
38 #include <X11/Xfuncproto.h>
42 Status
XmuAllStandardColormaps(
43 #if NeedFunctionPrototypes
48 Status
XmuCreateColormap(
49 #if NeedFunctionPrototypes
51 XStandardColormap
* /* colormap */
55 void XmuDeleteStandardColormap(
56 #if NeedFunctionPrototypes
63 Status
XmuGetColormapAllocation(
64 #if NeedFunctionPrototypes
65 XVisualInfo
* /* vinfo */,
67 unsigned long* /* red_max_return */,
68 unsigned long* /* green_max_return */,
69 unsigned long* /* blue_max_return */
73 Status
XmuLookupStandardColormap(
74 #if NeedFunctionPrototypes
77 VisualID
/* visualid */,
78 unsigned int /* depth */,
85 XStandardColormap
*XmuStandardColormap(
86 #if NeedFunctionPrototypes
89 VisualID
/* visualid */,
90 unsigned int /* depth */,
93 unsigned long /* red_max */,
94 unsigned long /* green_max */,
95 unsigned long /* blue_max */
99 Status
XmuVisualStandardColormaps(
100 #if NeedFunctionPrototypes
103 VisualID
/* visualid */,
104 unsigned int /* depth */,
112 #endif /* _XMU_STDCMAP_H_ */