Some time ago, Andy Piper wrote...
|+
| At 03:03 PM 4/26/98 +0400, Kirill M. Katsnelson wrote:
| >What I want to say is that the new icon sucks big straws. To avoid
| >scaling problems, maybe we can load nt/xemacs.ico instead of
| >etc/xemacs-icon.xpm right in glyphs-msw.el? It is right 32x32 pixels.
|
| Sucks rocks? I haven't written icon file support so it would have to be
| done in C I guess. I agree the current one is ugly (but not by X-windows
| standards :)
|-
I do not say that X icon is ugly by itself. It becomes so when scaled down
to 16x16 size, then up to 32x32. Original size is 48x48, so scaling it is
no good anyways.
The icon in nt/ is 32x32, and is a scaled down and manually cleaned up
version of etc/xemacs-icon-3.xpm.
Andy I thought you wrothe this method, no?
static void
mswindows_set_frame_icon (struct frame *f)
{
if (IMAGE_INSTANCEP (f->icon)
&& IMAGE_INSTANCE_PIXMAP_TYPE_P (XIMAGE_INSTANCE (f->icon)))
{
if (!XIMAGE_INSTANCE_MSWINDOWS_ICON (f->icon))
{
mswindows_create_icon_from_image(f->icon, f, 16);
}
SetClassLong (FRAME_MSWINDOWS_HANDLE (f), GCL_HICON,
(LONG) XIMAGE_INSTANCE_MSWINDOWS_ICON (f->icon));
}
}