#import <CPVisualEffectView.h>
Additional Inherited Members | |
Class Methods inherited from CPView | |
(Class) | + animatorClass |
(CAAnimation) | + defaultAnimationForKey: |
(CPMenu) | + defaultMenu |
(CPString) | + defaultThemeClass |
(void) | + initialize |
(BOOL) | + isHighDPIDrawingEnabled |
(CPSet) | + keyPathsForValuesAffectingBounds |
(CPSet) | + keyPathsForValuesAffectingFrame |
(void) | + setHighDPIDrawingEnabled: |
(CPDictionary) | + themeAttributes |
Very naive implementation of CPVisualEffectView. This view allows to use vibrancy effect. This is only working with Safari 9+ and the support in Chrome/ium should come quite soon. Using this class with a browser that doesn't support backdrop-filter While still work, but you will not get the blurry effect.
Definition at line 2 of file CPVisualEffectView.h.
|
implementation |
Synthesized accessor method.
Provided by category CPVisualEffectView(CPSynthesizedAccessors).
Definition at line 206 of file CPVisualEffectView.j.
|
implementation |
Archives the view to a coder.
aCoder | the object into which the view's data will be archived. |
Reimplemented from CPView.
Definition at line 172 of file CPVisualEffectView.j.
|
implementation |
Initializes the view from an archive.
aCoder | the coder from which to initialize |
Reimplemented from CPView.
Definition at line 159 of file CPVisualEffectView.j.
|
implementation |
Initializes the receiver for usage with the specified bounding rectangle
Reimplemented from CPView.
Definition at line 60 of file CPVisualEffectView.j.
|
implementation |
Reimplemented from CPView.
Definition at line 132 of file CPVisualEffectView.j.
|
implementation |
Synthesized accessor method.
Provided by category CPVisualEffectView(CPSynthesizedAccessors).
Definition at line 190 of file CPVisualEffectView.j.
|
implementation |
Synthesized accessor method.
Provided by category CPVisualEffectView(CPSynthesizedAccessors).
Definition at line 222 of file CPVisualEffectView.j.
|
implementation |
Sets the appearance of the CPVisualEffectView.
Only CPAppearance named CPAppearanceNameVibrantDark or CPAppearanceNameVibrantLight are valid
anAppearance | the CPAppearance. |
Reimplemented from CPView.
Definition at line 83 of file CPVisualEffectView.j.
|
implementation |
Synthesized accessor method.
Provided by category CPVisualEffectView(CPSynthesizedAccessors).
Definition at line 214 of file CPVisualEffectView.j.
|
implementation |
Synthesized accessor method.
Provided by category CPVisualEffectView(CPSynthesizedAccessors).
Definition at line 198 of file CPVisualEffectView.j.
|
implementation |
Synthesized accessor method.
Provided by category CPVisualEffectView(CPSynthesizedAccessors).
Definition at line 230 of file CPVisualEffectView.j.
|
implementation |
Sets the received effect state. Possible values:
CPVisualEffectStateFollowsWindowActiveState (default) CPVisualEffectStateActive CPVisualEffectStateInactive
Provided by category CPVisualEffectView(CPSynthesizedAccessors).
Definition at line 101 of file CPVisualEffectView.j.
|
implementation |
Synthesized accessor method.
Provided by category CPVisualEffectView(CPSynthesizedAccessors).
Definition at line 238 of file CPVisualEffectView.j.