Icons

Colin Harrison colin.harrison@virgin.net
Sun Aug 28 09:38:00 GMT 2005


Hi,

The 'About' and 'Exit' windows have scruffy icons, for me.
Better if  the 32 bit pixel icon is passed to Windows and it sorts it out!
Probably because our X.ico is a load of junk?

Yet another bodge patch achieves this:-

--- ./programs/Xserver/hw/xwin/save_windialogs.c        2005-08-28
09:35:54.000000000 +0100
+++ ./programs/Xserver/hw/xwin/windialogs.c     2005-08-28
09:36:19.000000000 +0100
@@ -318,7 +318,7 @@
        /* Set icon to standard app icon */
        PostMessage (hDialog,
                     WM_SETICON,
-                    ICON_SMALL,
+                    ICON_BIG,
                     (LPARAM) LoadIcon (g_hInstance,
                                        MAKEINTRESOURCE(IDI_XWIN)));

@@ -616,7 +616,7 @@
       /* Set icon to standard app icon */
       PostMessage (hwndDialog,
                   WM_SETICON,
-                  ICON_SMALL,
+                  ICON_BIG,
                   (LPARAM) LoadIcon (g_hInstance,
MAKEINTRESOURCE(IDI_XWIN)));

       /* Override the URL buttons */

Bit of a dog's dinner all round, proper rework of the icon stuff is needed,
properly tested, this time.
Perhaps we need to post the bitmap screen captures, somewhere, as the
problems/fixes occur. A picture is worth a thousand words, and I don't speak
fluent Microsoft techno-gobbledegook (nor want to :) ). I tried reading one
of their huge books once and nearly lost the will to live!

Colin Harrison 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/



More information about the Cygwin-xfree mailing list