I am trying to programatically change the temperature of the entire display dep开发者_开发问答ending on time of day / ambient lighting conditions. Assume that I have a sensor that returns the ambient lighting conditions -- I would like to change the temperature of the display based on that. It's a bit like flux. It will be a Windows box.
It would be great if I can interface with some Windows API if it exists...
I understand you're talking about color temperature - not physical temperature :) See my answer here for that. Basically you can make a transparent layered window (SetLayeredWindowAttributes) in the correct color (blue-ish for cold, red-ish for warm etc) that covers the entire screen.
精彩评论