Sun Managers:
Thank you to all of those that responded. The Xview 32 x 32 icon worked for me. I was trying to use the Color X Pixmap which did not work. Following is the original request for help and a list of the suggestions that I received:
Sun-Managers,
I seem to be having difficulty drawing an icon for SunNet Manager in the right format. When I look at the icon files from pre-drawn files they are a list of hex addresses but when I look at mine after using the icon editor all I have is an ascii representation of the icon I drew. The only available option to save the file as is the Color X Pixmap. This doesn't seem to be the correct format since the file format is different from the rest of the icon files. What is the correct file format for ic
Thank you,
David Brown
I also used icon editor to create my icons for SNM. The format I use is Xview Icon. SNM does not know how to deal with the Color X Pixmap as you have seen. For the iconmask, I just take the original icon and fill it in.
Bill Barnes
barnes@mdso.vf.ge.com
From: mharris@jpmorgan.com (Michael Harris)
To: dbrown@lizzard.med.utah.edu
Subject: Re: SunNet Manager Icon drawing
Content-Length: 328
Using $OPENWINHOME/iconedit, under the properties->format menu
should be choices:
XView icon, X Bitmap, Color X Pixmap and Mono X Pixmap.
This is new as of OW3.x (it wasn't in the 2.0 iconedit).
The tool has edit->invert *in black-&-white mode* to make the
mask (v3 again but I remember it being there in 2.0).
HTH
mh
From: plord@pioneer.uspto.gov (Paul Lord)
Subject: Re: SunNet Manager Icon drawing
To: dbrown@lizzard.med.utah.edu
Date: Tue, 20 Apr 93 12:03:08 EDT
X-Mailer: ELM [version 2.3 PL11]
Content-Length: 1283
You (David B. Brown) wrote:
>I seem to be having difficulty drawing an icon for SunNet
>Manager in the right format. When I look at the icon files from pre-drawn
>files they are a list of hex addresses but when I look at mine after using
>the icon editor all I have is an ascii represe>ntation of the icon I drew.
>The only available option to save the file as is the Color X Pixmap.
I'm working with a monochrome machine, so this might not be correct, but...
I use X11 bitmaps for all my icons. The format looks like this:
#define jnk_width 64
#define jnk_height 64
#define jnk_x_hot 0
#define jnk_y_hot 0
static char jnk_bits[] = {
0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
...more bits... };
Have you tried using the color X pixmap for an icon? If it fails, you could
pick up the pbmplus utilities (from export.lcs.mit.edu) and convert that
pixmap to an X11 bitmap with the following command line:
% xpmtoppm [file] | ppmtopgm | pgmtopbm | pnmsmooth | pbmtoxbm >file.xbm
Does SunNet manager use it's own internal bitmaps or does it keep a store of
them in /usr/include somewhere?
Paul
-- Paul Lord, System Administrator (703)557-0311 FAX (703)557-0668 The above is my opinion, which bears no official resemblance to that of the PTO.From: mwj@jakes.msfc.nasa.gov (Jake) To: dbrown@lizzard.med.utah.edu Subject: Re: SunNet Manager Icon drawing Content-Length: 1173
DB,
I'm using Sun OS 4.1.2 and SNM 2.0. The icon editor that comes with OpenWin 3.0 works just fine. When you save an icon, save in B&W and size 32. This should produce an ascii file. Then with the same icon image, fill in the blank (white space) so that you have a black image in the outline of the original image and save this in the same way only call it <name>.iconmask instead of <name>.icon. This has always worked for me. Hope it does for you.
Jake
Thank you all, David Brown
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:45 CDT