[comp.windows.x.motif] Help- drawn button colors

dwilbert@bbn.com (Deborah Wilbert) (09/11/90)

Hello,

I have an application which uses drawn buttons, whose pixmaps are
defined in UIL. This worked fine until I started using a library
(which my application must use), which installs a color map.

This library frees the unused color cells, and motif is relatively
happy.  Everything appears normal, except for the colors of the drawn
buttons.  These come up as colors used by the library (and they seem
to change with different invocations!).

Anyone have a suggestion on how to get the drawn button colors to
appear normal?

Also, out of curiosity, I would like to know how UIL goes about
defining the pixmaps and choosing the color cells.

The environment:
	Open Windows 2.0
	Motif 1.0 from ICS
	Sun OS 4.0.3 on a Sparc
	

-Deborah

-------------------------------------------------------------------------------
Deborah Wilbert			   (Alien examining Pioneer 10)
Bolt, Beranek & Newman		   "Looks to me like what we got here is a race
dwilbert@bbn.com		   of hydrogen-obsessed pervert science wimps."
Luckily, my last name's not Ilbert.            			-Dave Barry