home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!uwm.edu!biosci!parc!ivan.uucp!coombs
- From: coombs@ivan.uucp
- Newsgroups: comp.windows.open-look
- Subject: OL RectButton labelImage byte ordering
- Message-ID: <1993Jan1.000817.15630@parc.xerox.com>
- Date: 1 Jan 93 00:08:17 GMT
- Sender: news@parc.xerox.com
- Reply-To: coombs@ivan.uucp ()
- Organization: IRIS - Brown University
- Lines: 17
-
- I created bitmaps with the 'bitmap' program. I then used XCreateImage
- to generate the image for XtNlabelImage on rect buttons. But the image
- was wrong. After an extended chase, I found that setting the images'
- byte_order and bimap_bit_order to LSBFirst solved the problem.
-
- Setting the orders with ImageByteOrder and BitmapBitOrder did not solve
- the problem.
-
- I ran all pieces on the same machine: 'bitmap', CC, and my
- application.
-
- I tried 'iconedit', which generated the same output as 'bitmap'.
-
- I am not comfortable with hard coding the ordering. Is there a better
- solution?
-
- Thanks. --Jim
-