28 #ifndef GRAPHICS_X11UTIL_H
29 #define GRAPHICS_X11UTIL_H
37 #include <X11/Xatom.h>
38 #include <X11/Xutil.h>
39 #include <X11/Intrinsic.h>
40 #include <X11/Xmu/Xmu.h>
41 #include <X11/Xmu/StdCmap.h>
80 Bool X11TestColormapAlloc(::XDisplay * display,
88 uInt X11QueryColorsAvailable(::XDisplay * display,
95 const char * X11DefaultDisplayName();
98 ::XDisplay * X11DefaultDisplay();
101 Screen * X11DefaultScreen();
109 uInt X11DepthOfVisual(::XDisplay * display, Visual * visual);
112 Visual * X11VisualIdToVisual(::XDisplay * display,
casacore::uInt visualId);
115 XVisualInfo X11VisualInfoFromVisual(::XDisplay *display, Visual *visual);
118 ostream &
operator << (ostream & os,
const XStandardColormap & mapInfo);
121 ostream &
operator << (ostream & os, Visual * visual);
124 ostream &
operator << (ostream & os, Screen * screen);
129 Bool X11InitializeStandardColormap(Screen * screen,
132 XStandardColormap ** mapInfo);
135 Widget X11TopLevelWidget(Widget w);
138 Widget X11ContainingShell(Widget w);
145 #ifndef AIPS_NO_TEMPLATE_SRC
146 #include <graphics/X11/X11Util.tcc>
147 #endif //# AIPS_NO_TEMPLATE_SRC
ostream & operator<<(ostream &os, const PageHeaderCache &cache)
bool Bool
Define the standard types used by Casacore.