when a window has focus, the button looks ok (winxp, with chrome style)
but when a window is deselected, the button background correctly fades to a light color, but the image does not,
it stays solid black.
(beta 12)
DisplayFusion currently only has the ability to mimic the background, not the foreground. Duplicating the same look and feel of the foreground would require creating custom image icons for each possible custom theme, which would be virtually impossible to maintain, sorry.
most of the images (about 90%) are one or 2 colors only,
so it should be possible to define those colors as colorkey, and replace those colors with lighter colors when de-focused?
optionally, and more generally, it should also be possible to make a copy from the image in memory, and make it a bit lighter.
ps: if you resolve the window message only at dll injection, and cache the result, it might speed up the postmessage slightly :)
(not having to resolve the string to unique window message on each mouse event)
The issue isn't with making the images lighter, it's deciding how much lighter to make it when the window isn't focused. Some Windows themes use the same image colour when the window is focused and unfocused, while some use different colours. Detecting this is almost impossible, and supporting it would be extremely difficult with all of the different themes out there. Sorry that I don't have better news, but I have entertained this idea in the past and decided against it.
if you don't mind an extra option, you could make a slider to control how much its made lighter.
Unfortunately it's more work than just a slider. Each one of the images would need to be changed to allow this to happen correctly, along the UI elements, documentation and code behind the scenes that processes the TitleBar Buttons images. I'll add this feature request to my list, but I don't have plans to implement it right now.