Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!convex!convex!gstiehl From: gstiehl@convex.convex.COM (Greg Stiehl) Newsgroups: comp.windows.open-look Subject: Re: how do I detect a color framebuffer? Message-ID: <1991Apr09.143923.3067@convex.com> Date: 9 Apr 91 14:39:23 GMT References: <1991Apr5.182435.8354@aucs.AcadiaU.ca> Sender: usenet@convex.com (news access account) Reply-To: gstiehl@convex.com Distribution: na Organization: CONVEX Computer Corporation, Graphics SW Group Lines: 16 Nntp-Posting-Host: pixel.convex.com Ralph Doncaster writes: > I am doing some work in xview/X11, and I would like to be able to tell whether > my program is on a b/w or color display. I know how to do it from a shell, bu > checking /dev for the device, but would like a cleaner way to do it. DefaultDepthOfScreen DefaultVisualOfScreen DefaultDepth DefaultVisual -greg. ---- Greg Stiehl (gstiehl@convex.com) Graphics Software Convex Computer Corp.