NEW: Support for basic CPVisualEffectView

This patch contains a very naive implementation of the
NSVisualEffectView. This will only work on very recent unreleased
version of Safari, but should be supported by all at some point. This
allow to use the Yosemite/iOS blurry effect.

Not all options are supported (especially the
`CPVisualEffectBlendingModeBehindWindow` mode…). But hey! it’s a start
:)

Tests in Manual/CPVisualEffectViewTest
This commit is contained in:
Antoine Mercadal
2015-08-13 20:53:53 -07:00
parent 20289ff81b
commit fa1f739458
14 changed files with 1063 additions and 1 deletions
+2 -1
View File
@@ -605,5 +605,6 @@ var NSClasses = {
"NSWindowController" : YES,
"NSWorkspace" : YES,
"NSPopover": YES,
"NSAppearance" : YES
"NSAppearance" : YES,
"NSVisualEffectView" : YES,
};