Normal border glass is nice, but how can I do the second type of transparency like middle part in the window with the list of gadgets? And what about white light on the back of text?
文本周围的光应该只是在后面添加一些发光。尽管 Windows 也在窗口标题中使用它,所以可能有一个函数呈现它。我只是找不到它。
Actually you just extend the glass frame into the client area, which is trivial to do. And then you draw over it, with an alpha channel. The window in question here likely draws a partially transparent white over its main client area. Some more information can be found on MSDN: Aero Glass: Create Special Effects With The Desktop Window Manager.
The light around text should be just some glow added behind. Although Windows uses it in window captions as well, so there might be a function rendering that. I just couldn't find it.
发布评论
评论(1)
实际上,您只需将玻璃框架延伸到客户区域,即 Aero Glass:使用桌面创建特殊效果窗口管理器。
文本周围的光应该只是在后面添加一些发光。尽管 Windows 也在窗口标题中使用它,所以可能有一个函数呈现它。我只是找不到它。
Actually you just extend the glass frame into the client area, which is trivial to do. And then you draw over it, with an alpha channel. The window in question here likely draws a partially transparent white over its main client area. Some more information can be found on MSDN: Aero Glass: Create Special Effects With The Desktop Window Manager.
The light around text should be just some glow added behind. Although Windows uses it in window captions as well, so there might be a function rendering that. I just couldn't find it.