home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!news.claremont.edu!ucivax!gateway
- From: akeren@laguna.ICS.UCI.EDU (Alan Keren)
- Subject: using gif files in motif
- Message-ID: <9207221041.aa23130@Paris.ics.uci.edu>
- Newsgroups: comp.windows.x.motif
- Lines: 19
- Date: 22 Jul 92 17:41:31 GMT
-
-
- I am trying to load a gif picture and then draw a grid on it using
- XDrawline(). The aim is to let a user select a location on a picture.
- Drawing a grid pattern in a drawing widget was fairly easy to do.
- Also there are the example programs pict.c and xgifload.c from OSF that
- will load and display gif files. My problem has been in trying to draw
- the grid lines on top of the picture. Also once the grid lines are drawn
- I need to be able to detect button clicks.
-
- Is there a "standard" method for doing this?
-
- The computer setup I am working with includes:
- SCO unix on DEC 433
- Motif 1.0
- cc compiler
-
- Any kind of help with this is greatly appreciated.
-
- -Alan Keren
-