Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!rochester!uhura.cc.rochester.edu!ur-valhalla!deke From: deke@valhalla.ee.rochester.edu Newsgroups: comp.windows.x Subject: converting icons Message-ID: <2194@valhalla.ee.rochester.edu> Date: 11 May 89 20:45:34 GMT Sender: usenet@valhalla.ee.rochester.edu Reply-To: deke@ee.rochester.edu (Dikran Kassabian) Organization: URochester Department of Electrical Engineering Lines: 32 I've just started to use X (X11R3) on SUN workstations. Previously I had been using 'suntools' and had fiddled with NeWS and X a bit. I'd like to be able to use some of the classier icons I've collected and had been using with suntools. As a first pass, I just pulled out the sunview icon header, put in my notion of a reasonable X icon header, and used 'bitmap' to display the icon image. It looked almost right... but not quite. It was as though each of the objects were mirror imaged, but were correctly placed relative to eachother. Additionally, some of the borders seemed out of place. Here is the sunview version /* Format_version=1, Width=64, Height=64, Depth=1, Valid_bits_per_item=16 */ [bitmap here] And here is what I replaced it with for X #define Notes_width 64 #define Notes_height 64 static short Notes_bits[] = { [bitmap here] } Now for the question: Is there a known way to do whatever bitmap translation is necessary here? Have I missed the obvious? Thanks in advance ^Deke Kassabian, deke@ee.rochester.edu or ...!rochester!ur-valhalla!deke University of Rochester, Department of Electrical Engineering Work: +1 716-275-3106 Home: +1 716-328-5676