Re: [user] static.c: PaintIcon fix background colour

2005-11-09 Thread n0dalus
On 11/10/05, Michael Kaufmann <[EMAIL PROTECTED]> wrote: > I've already created a little test program: Windows draws the background > behind the icon, but not the entire client area. It should be easy to > modify the existing code. Yes, I see what you are talking about now. > > Your second patch

Re: [user] static.c: PaintIcon fix background colour

2005-11-09 Thread n0dalus
On 11/10/05, Michael Kaufmann <[EMAIL PROTECTED]> wrote: > Hi Kieran, > > Icons can have transparent and inverted pixels! This patch is not > correct, the background has to be painted always. > The current functionality is not correct either then. It works ok for a normal SS_ICON, but if you use S

Re: [user] static.c: PaintIcon fix background colour

2005-11-09 Thread Michael Kaufmann
Hi, The current functionality is not correct either then. It works ok for a normal SS_ICON, but if you use SS_CENTERIMAGE with it, it paints the background around the icon where there should be no background. I will experiment with transparent icons and improve my patch. Thankyou for the info.

Re: [user] static.c: PaintIcon fix background colour

2005-11-09 Thread Michael Kaufmann
Hi Kieran, Icons can have transparent and inverted pixels! This patch is not correct, the background has to be painted always. * dlls/user/static.c: Kieran Clancy > Only set background for icon control when the icon is invalid. Regards, Mi