This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: XWin Icon Fidelity
- From: "Colin Harrison" <colin dot harrison at virgin dot net>
- To: <cygwin-xfree at cygwin dot com>
- Date: Sun, 1 Jun 2003 16:03:31 +0100
- Subject: Re: XWin Icon Fidelity
- Reply-to: cygwin-xfree at cygwin dot com
Hi,
My fix is only applicable for the tray icon case.
Elsewhere it's a waste of time and obviously makes the task switcher worse
for
apps that default to X, where 32x32 is better.
So only apply to wintrayicon.c
--- save_wintrayicon.c 2003-06-01 14:58:40.000000000 +0100
+++ wintrayicon.c 2003-06-01 15:16:11.000000000 +0100
@@ -49,7 +49,12 @@
nid.uID = pScreenInfo->dwScreen;
nid.uFlags = NIF_ICON | NIF_MESSAGE | NIF_TIP;
nid.uCallbackMessage = WM_TRAYICON;
- nid.hIcon = LoadIcon (g_hInstance, MAKEINTRESOURCE(IDI_XWIN));
+ nid.hIcon = LoadImage (g_hInstance,
+ MAKEINTRESOURCE(IDI_XWIN),
+ IMAGE_ICON,
+ 16,
+ 16,
+ 0);
/* Set display and screen-specific tooltip text */
snprintf (nid.szTip,
Again I've only tested on XP.
Colin