开发者

Programmatically change the temperature of the display

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜