Display window gradient fill inconsistency

Found a bug or something that needs fixing?
Post Reply
Edgar5
Posts: 63
Joined: Sun Apr 02, 2017 7:22 am

Display window gradient fill inconsistency

Post by Edgar5 »

This image is from the 64-bit 1.3.5 version but the 32-bit has the same problem (I can't get 1.4 to compile).
[attachment=0]gradient.png[/attachment]
I have taken the liberty of cropping out some of the windows to make the image smaller. Note that in the dialog which allows you to customize the gradient fill the gradient is painted side-to-side; in the actual Display Window panel the gradient is painted (what looks like) top-to-bottom. I spent a couple hours with the code and I haven't figured out quite exactly what's going on.

I note that the function (at or near line number 41 of Explorer++\DisplayWindow\MsgHandler.cpp):
[color=#0000FF]void DrawGradientFill(HDC,RECT *,RECT *);[/color]
defines a third parameter which is never used:
[color=#0000FF]void CDisplayWindow::DrawGradientFill(HDC hdc,RECT *rc,RECT *UpdateRect)[/color]
Attachments
gradient.png
gradient.png (59.5 KiB) Viewed 5230 times
Post Reply