Re: Icons

2005-09-01 Thread Joe Krahn
Joe Krahn wrote: ... It looks like can go from a device dependent X Pixmap (DDPixmap) to a device dependent Win32 bitmap (DDBitmap), then use Windows functions to scale when needed. This can only work if pixel data formats are the same between Windows and Cygwin/X. Does anyone know if there is

Re: Icons

2005-08-29 Thread Colin Harrison
Hi, Joe Krahn wrote:- (Are you running XP?) Running XP and 2003 Server. Colin Harrison -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ:

Re: Icons

2005-08-29 Thread Joe Krahn
Colin Harrison wrote: Hi, Here are my screen dumps http://www.straightrunning.com/test/icons_working.png http://www.straightrunning.com/test/icons_faulty.png Ignore the taskbar entries for [EMAIL PROTECTED] they are my PuTTY shells. Shows icon stripes and crappy X icon on exit window (exit

Re: Icons

2005-08-29 Thread Colin Harrison
Hi, Here's my rough solution (to iconSize conversion problem):- --- save_winmultiwindowicons.c 2005-08-30 01:57:27.0 +0100 +++ winmultiwindowicons.c 2005-08-30 01:45:58.0 +0100 @@ -54,6 +54,7 @@ winScaleXBitmapToWindows (int iconSize, int effBPP,

Re: Icons

2005-08-28 Thread Colin Harrison
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.c2005-08-28

Re: Icons

2005-08-27 Thread Colin Harrison
Hi, Taskbar icons are a bit of a mess at the moment...background stripes have crept in (I think?) as a regression, compared with what I remember as to how they looked when first introduced. I'll see if I can find an old version to verify and then trawl CVS for clues. Colin Harrison --

Re: Icons

2005-08-27 Thread Colin Harrison
Hi, Still ongoing, but if I force iconSize = 32 in winXIconToHICON --- save_winmultiwindowicons.c 2005-08-27 19:08:59.0 +0100 +++ winmultiwindowicons.c 2005-08-27 19:25:12.0 +0100 @@ -285,6 +285,8 @@ iconPtr = (PixmapPtr) LookupIDByType (hints.icon_pixmap, RT_PIXMAP);

Re: Icons in 6.7-6

2004-04-25 Thread Earle F. Philhower III
Howdy, At 01:18 PM 4/25/2004 -0400, Lev S Bishop wrote: The recent changes from LoadIcon to LoadImage, while technically The Right Thing, have made the default X icon less pretty in the small size (ie in window titles, on the taskbar). I can explain in detail the cause of this if anyone cares.

Re: Icons in 6.7-6

2004-04-25 Thread Lev S Bishop
Earle wrote: Sure, I'd like to hear the cause! When you use LoadIcon(), windows keeps track of the original source of the icon, so that if a different sized icon is required, it can go back to that resource/file and load up the appropriate sized icon from there. If you use loadimage, then it

Re: Icons in 6.7-6

2004-04-25 Thread Harold L Hunt II
Earle F. Philhower III wrote: PNG icon support would be neat and easy too, but it doesn't look like libpng is standard in the X tree and I wouldn't want to add dependencies... I'd say go for it, as long as we can turn it on or off with a flag in cygwin.cf... so just #ifdef everything so that we

Re: Icons [in Server Test 87]

2003-05-31 Thread Earle F. Philhower III
Howdy Lev, Colin, At 09:16 AM 5/30/2003 +0100, you wrote: This one crept passed quality control :). I can confirm your problem at 32 bit colour with xclock etc. OK at 24 bit and 16 bit (1280x1024) on my machine. Out with the magnifying glass again! Colin, you ran a 32bpp test and attached a screen

Re: Icons [in Server Test 87]

2003-05-31 Thread Colin Harrison
Hi Earle, I thought we were OK at 32bpp (1280x1024) until I looked again! Device dependence maybe, I'm got an old ATI Rage Pro card (don't ask why?). It's the black and white icon's images that's are going wrong not the masks. The black (0) is rendered transparent. I've just started a trace on

Re: Icons [in Server Test 87]

2003-05-31 Thread Lev Bishop
In response to Earle's question: I'm using ATI Mobility Radeon. Lev

Re: Icons [in Server Test 87]

2003-05-31 Thread Earle F. Philhower, III
Howdy Lev and Colin... -- Original Message - Subject: Re: Icons [in Server Test 87] I thought we were OK at 32bpp (1280x1024) until I looked again! Device dependence maybe, I'm got an old ATI Rage Pro card (don't ask why?). It's the black and white icon's images that's

Re: Icons [in Server Test 87]

2003-05-31 Thread Colin Harrison
Hi Earle, I just love ATI, great hardware... pity about the software! It's always a struggle with drivers, I've got loads of soundcards I have 'fun' with as well. At least the 'old' hardware maybe has a driver on Linux (that's why I still use 'em...) Putting the trumpet away:- Here's my

Re: Icons [in Server Test 87]

2003-05-31 Thread Earle F. Philhower III
Howdy Colin, At 01:30 AM 5/31/2003 +0100, you wrote: I just love ATI, great hardware... pity about the software! They had and still have the best TV out support. I wish my GF or Voodoos had 1/2 the configurability. Here's my 'results' (attached) using Harold's Test87 binary at 32bpp 1280x1024 on

Re: Icons [in Server Test 87]

2003-05-31 Thread Earle F. Philhower III
Hi Colin and Lev: Here's a fix for 32bpp icons on ATI machines. It turns out that I was setting an alpha value which is technically not supposed to be set in each 32bpp pixel. 3dfx and nVidia drivers ignore the value, but ATI looks looks at it and says, Whoa, junk this bitmap! Tests on my

Re: Icons [in Server Test 87]

2003-05-30 Thread Colin Harrison
Hi Lev, This one crept passed quality control :). I can confirm your problem at 32 bit colour with xclock etc. OK at 24 bit and 16 bit (1280x1024) on my machine. Out with the magnifying glass again! Colin

Re: icons not showing

2002-05-31 Thread Hrafnkell EirĂ­ksson
The -depth parameter to XWin.exe seems enough. I can leave the screen depth at what it was (32bit) and just add -depth 24 to XWin.exe. Thanks Hrafnkell On 2002-05-30, 14:47:08 (+0100), Scott Alexander wrote: Yep a work around for this is to lower the screen depth of your windows box to 16

Re: icons not showing

2002-05-30 Thread Scott Alexander
Yep a work around for this is to lower the screen depth of your windows box to 16 bit or what ever is closest normaly one down from max. - Original Message - From: Hrafnkell EirĂ­ksson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 30, 2002 2:06 PM Subject: icons not showing