MoNKi
14th February 2004 02:59 UTC
Little problem with ModernUI and bitmap colors
I have a 8bpp bitmap por the welcome and finish page, one of the colors in this bitmap is replaced with MUI_BGCOLOR, maybe because this color is equal to the default window color.
I have fixed it removing this lines on system.nsh, on the MUI_FUNCTION_WELCOMEPAGE macro:
GetDlgItem$MUI_TEMP1$MUI_HWND1200
SetCtlColors$MUI_TEMP1
"""${MUI_BGCOLOR}"
The problem is that in this position of the image, there is a gradient from white to dark grey, and in the middle of this degree a white line appears (MUI_BGCOLOR=white, if I change it to red, a red line appears)
A screenshot (in red, for a better visualization of the problem)
Joost Verburg
14th February 2004 13:28 UTC
I cannot reproduce this problem. Can you attach the bitmap you have used?
MoNKi
14th February 2004 13:34 UTC
Here is the bitmap, i'm working in a set of icons too.
The color replaced is, on my machine, R=232, G=232, B=232. If you didn't notice it with this bitmap, try to create one that contains your window color (i'm using a non default windows xp theme).
Joost Verburg
14th February 2004 15:14 UTC
Reproduced. I'll see what can be done about it.
Joost Verburg
14th February 2004 19:46 UTC
After some investigation with the help of Dave we have identified the cause of this problem. It's a Windows XP issue.
The background color setting for the image has been disabled if the image is stretched, this will fix it for you.
It will be fixed for non-stretched images later.
MoNKi
15th February 2004 00:05 UTC
Now works, thanks :up:
eccles
21st February 2004 15:52 UTC
The fix for non-stretched images is now in cvs.