views:

20

answers:

0

I've made a picture to describe my question best, as words really could not do it properly this time. The question and notes are included in the picture. http://localhostr.com/files/c7c2fe/Colorization.png

Transcript of notes:

Color Averages:

  • Blur: #FEC1C1
  • Unfocused: #FEC1C1
  • Focused: #DE6868
  • Taskbar: #DC6161

Question: How can I achieve the focused/taskbar color blends on a blur window.

Notes:

  • The blur window is created with DwmEnableBlurBehindWindow

  • The glass windows are created with DwmExtendFrameIntoClientArea

  • No extra color handling has been done (i.e. rectangles/backgrounds)

  • Average colors calculated by a maximal gaussian blur on the GIMP.

  • Colorization information is obtained with DwmGetColorizationParameters

To the possible answerer:

  • I can apply any kind of color, even transpluscent, over the blurred window, since I use WPF.

  • I am also willing to try any P/Invoke / DwmApi code alternative, unlike some .NET programmers.

  • My main goal is to achieve the taskbar blend.