Re: Gradient Color for Caption Bar

2004-10-30 Thread William Poetra Yoga H
My patch didn't get merged... :( Anything wrong with it? Maybe I should make NC_DrawCaption() call DrawCaption() instead? Otherwise I think it's good enough. Any ideas why my patch wasn't merged? Lack of testsuite? Thanks. __ Do you Yahoo!? Yah

Re: Gradient Color for Caption Bar

2004-10-28 Thread William Poetra Yoga H
--- Shachar Shemesh <[EMAIL PROTECTED]> wrote: > Mike McCormack wrote: > > > > > GradientFill is pretty slow, as it files the rectangle line by line. > > I'm not sure how much this is going to slow down a normal application. > > It used to draw pixel by pixel, and that was a very noticable > >

Re: Gradient Color for Caption Bar

2004-10-27 Thread Shachar Shemesh
Mike McCormack wrote: William Poetra Yoga H wrote: Use GdiGradientFill (not GradientFill) to implement gradient caption bar (for now). GradientFill is pretty slow, as it files the rectangle line by line. I'm not sure how much this is going to slow down a normal application. It used to draw pixe

Re: Gradient Color for Caption Bar

2004-10-27 Thread Mike McCormack
William Poetra Yoga H wrote: Use GdiGradientFill (not GradientFill) to implement gradient caption bar (for now). GradientFill is pretty slow, as it files the rectangle line by line. I'm not sure how much this is going to slow down a normal application. It used to draw pixel by pixel, and that was

Re: Gradient Color for Caption Bar

2004-10-27 Thread Andreas Mohr
Hi, On Wed, Oct 27, 2004 at 04:42:22AM -0700, William Poetra Yoga H wrote: > Well, I can't find GdiGradientFill by searching at MSDN. I found some links > through Google, though. Is it a deprecated, old API? If that's the case, I > think we'd better link to msimg32. It might be a deprecated API, b

Re: Gradient Color for Caption Bar

2004-10-27 Thread Dmitry Timoshkov
"William Poetra Yoga H" <[EMAIL PROTECTED]> wrote: > Well, I can't find GdiGradientFill by searching at MSDN. I found some links > through Google, though. Is it a deprecated, old API? If that's the case, I > think we'd better link to msimg32. GdiGradientFill is the gdi32 entry point to which msim

Re: Gradient Color for Caption Bar

2004-10-27 Thread William Poetra Yoga H
--- Dmitry Timoshkov <[EMAIL PROTECTED]> wrote: > > -IMPORTS = gdi32 advapi32 kernel32 ntdll > > +IMPORTS = msimg32 gdi32 advapi32 kernel32 ntdll > > Use gdi32.GdiGradientFill instead of msimg32.GradientFill, the latter one > is forwarded to gdi32 anyway. > Well, I can't find GdiGradientFi

Re: Gradient Color for Caption Bar

2004-10-26 Thread Dmitry Timoshkov
"William Poetra Yoga H" <[EMAIL PROTECTED]> wrote: > This patch is for filling the caption bar (a.k.a. title bar) with gradient > colors, like in Win98/WinME/Win2K/WinXP. > > I've modified nonclient.c too heavily (work on other parts of it), so this > patch may generate offsets or things like tha