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