🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37703

Re: Where is XmuCvtStringToPixmap ?

#37703
From: Chris D. Peterson
Date: Mon, 05 Mar 1990 18:32
23 lines
1321 bytes
> Can anyone tell me where XmuCvtStringToPixmap has gone in X11R4?

Since that function only converted a string into a Bitmap we renamed it to
StringToBitmap.  The code can be found in "lib/Xmu/StrToBmap.c".  This converter
is registered by the Athena VendorShell to convert a String Resource to a
Bitmap.

The problem was that people were attempting to use this converter for the
Background Pixmap and Border Pixmap of the Core widget.  On color displays this
would cause a Bad Match protocol error.  Since the Pixmap produced what of the
wrong depth.

Most of the Resources in Xaw got updated, but a few were missed.  I will leave
it as an exercise for the Reader to figure out which resources can actually
accept Bitmaps :-).

						Chris D. Peterson     
						MIT X Consortium 

Net:	 kit@expo.lcs.mit.edu
Phone:   (617) 253 - 9608	
Address: MIT - Room NE43-213
Technical Details
Message-ID: <9003051832.AA23057@expo.lcs.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!kit
References: <765@npiatl.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!kit
From: kit@EXPO.LCS.MIT.EDU (Chris D. Peterson)
Newsgroups: comp.windows.x
Subject: Re: Where is XmuCvtStringToPixmap ?
Message-ID: <9003051832.AA23057@expo.lcs.mit.edu>
Date: 5 Mar 90 18:32:26 GMT
References: <765@npiatl.UUCP>
Sender: daemon@athena.mit.edu (Mr Background)
Organization: The Internet
Lines: 23