support for the newer autoconf 2.5x
[wmaker-crm.git] / wrlib / StdCmap.h
bloba1cdd2e7261caae1f03bb8024c83eb99e8dbb1ad
1 /* $XConsortium: StdCmap.h,v 1.4 94/04/17 20:16:15 converse Exp $ */
3 /*
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>
40 _XFUNCPROTOBEGIN
42 Status XmuAllStandardColormaps(
43 #if NeedFunctionPrototypes
44 Display* /* dpy */
45 #endif
48 Status XmuCreateColormap(
49 #if NeedFunctionPrototypes
50 Display* /* dpy */,
51 XStandardColormap* /* colormap */
52 #endif
55 void XmuDeleteStandardColormap(
56 #if NeedFunctionPrototypes
57 Display* /* dpy */,
58 int /* screen */,
59 Atom /* property */
60 #endif
63 Status XmuGetColormapAllocation(
64 #if NeedFunctionPrototypes
65 XVisualInfo* /* vinfo */,
66 Atom /* property */,
67 unsigned long* /* red_max_return */,
68 unsigned long* /* green_max_return */,
69 unsigned long* /* blue_max_return */
70 #endif
73 Status XmuLookupStandardColormap(
74 #if NeedFunctionPrototypes
75 Display* /* dpy */,
76 int /* screen */,
77 VisualID /* visualid */,
78 unsigned int /* depth */,
79 Atom /* property */,
80 Bool /* replace */,
81 Bool /* retain */
82 #endif
85 XStandardColormap *XmuStandardColormap(
86 #if NeedFunctionPrototypes
87 Display* /* dpy */,
88 int /* screen */,
89 VisualID /* visualid */,
90 unsigned int /* depth */,
91 Atom /* property */,
92 Colormap /* cmap */,
93 unsigned long /* red_max */,
94 unsigned long /* green_max */,
95 unsigned long /* blue_max */
96 #endif
99 Status XmuVisualStandardColormaps(
100 #if NeedFunctionPrototypes
101 Display* /* dpy */,
102 int /* screen */,
103 VisualID /* visualid */,
104 unsigned int /* depth */,
105 Bool /* replace */,
106 Bool /* retain */
107 #endif
110 _XFUNCPROTOEND
112 #endif /* _XMU_STDCMAP_H_ */