停靠项的上下文菜单不仅是半透明的,而且还模糊了其后面的内容,这种效果适用于半透明浮动面板吗?这与工作表警报对话框中使用的效果相同(例如,退出并未保存更改),但在这种情况下,透明度不同,并且背景是浅色而不是深色
一些背景,我们有一个经常全屏使用的专业应用程序,我们的浮动调色板有一定的透明度,但显然透明度越高,阅读上面的文本就越困难当背景非常活跃/嘈杂时,如果我们可以稍微模糊,我们将能够大大提高文本的可读性,同时仍然允许一些“调色板后面是什么”的上下文
The context menu from dock items is not only translucent but also blurs the contents behind it, Is this effect availible for translucent floating panels? This is the same effect used in Sheet Alert dialogs (e.g. quit with unsaved changes) but in that case the transparency is different, and the background is light rather than dark
Some background, we have a pro app that is frequently used full screen, and our floating palettes have some transparency, but obviously the more transparency we have the harder it is to read the text on them when the background is very active/noisy, if we could have a slight blur we would be able to greatly improve the readability on the text while still allowing some context of "whats behind the palette"
发布评论
评论(1)
我认为这就是您想要的: 在上/下使用核心图像滤镜NSWindow
但请注意,这是私有 API,因此如果您正在为 Mac App Store 进行开发,这将是一个问题。
I think this is what you want: Using Core Image Filters On/Under a NSWindow
Beware that this is private API though, so if you're developing for the Mac App Store, this would be a problem.