Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!watmath!focsys!walter From: walter@focsys.UUCP (WalteR Steinemann) Newsgroups: comp.windows.x Subject: GreyScale Application with Athena Widgets Message-ID: <571@focsys.UUCP> Date: 7 Sep 89 21:53:03 GMT Reply-To: walter@focsys.UUCP (WalteR Steinemann) Organization: Focus Automation Systems, Waterloo, Ontario. Lines: 25 HI, I am developing an application on X11R2 (on a Sony NEWS), which puts up images in greyscale. (6, 7, or 8 bits). I change the whole colortable each time I the number of bits in the image changes, because I use different color overlays in the unused bit planes. My application uses the whole screen so I don't worry about other applications looking ugly when my colormap is in. I am trying to get some Athena Widget windows to come up (little menus, and dialog boxes) but I am having trouble making them appear. If I leave my colormap in they come up all black. If I switch back to the orignal (root window) colormap then they look right (but my images look ugly). I tried changing the colormap very early in the startup of the program, before the widgets get created, hoping they would use it ... but it doesn't help. Is there some way to accomplish what I want? Will it be easier to do with 11R3 or some other widget set? I have lots of books on X but haven't found the information I need, so if you know where I might find it please let me know. Thanks for any help you can give me. WalteR -- Walter R. Steinemann -- Focus Automation Systems -- Waterloo, Ontario watmath!focsys!walter (519) 746-4918