home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / x / motif / 8506 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.5 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!agate!ucbvax!autodesk.com!andy
  2. From: andy@autodesk.com (Andrew Purshottam)
  3. Newsgroups: comp.windows.x.motif
  4. Subject: Re: Use of color with Icons
  5. Message-ID: <9301080101.AA19246@meefun.YP.acad>
  6. Date: 8 Jan 93 01:01:32 GMT
  7. References: <1993Jan6.232656.8498@microware.com>
  8. Sender: daemon@ucbvax.BERKELEY.EDU
  9. Distribution: inet
  10. Organization: The Internet
  11. Lines: 23
  12.  
  13.  
  14. I assume you mean you are writing X/Motif apps and you wish to code
  15. them so that color icons are used.  (As opposed to attempting to
  16. configure existing apps for color icons). The color icons may or may
  17. not work depending on the version of mwm. In particular, on HP Vue,
  18. one needs to configure Vue for color icons.
  19.  
  20. There are several aspects to giving your app a color icon: (1) You
  21. need to draw your icon in color (I have used the pbmplus routines to
  22. convert tiff files to xpm, and used the iconedit editor on sun and HP,
  23. which do color to do this); (2) you need to somehow create a pixmap in
  24. your X server that contains your icon (I use XPM library for this);
  25. (3) You need to use the pixmap as the icon window pixmap. (look on pg 588
  26. of O'reilly #6).
  27.  
  28. [Look for the cute color icons in motif R12 AutoCAD! ;-]
  29. -
  30. Andrew V. Purshottam      /\     |  andy@autodesk.com  ...!fernwood!acad!andy 
  31. Autodesk, Inc.             //\\    |  (415)332-2344x2161  FAX (415) 331-8093
  32. 2320 Marinship Way      ///\\\   |  Sausalito CA 94965
  33. "The views expressed are those of the speaker."
  34.  
  35.  
  36.