eyeDrops  v2.3
A new approach to detecting eye blinks.
Instance Methods | Protected Types | Protected Member Functions | Protected Attributes | List of all members
BlurredWindow Class Reference

The Blurred Window controller.. More...

#import <BlurredWindow.h>

Inherits NSWindowController.

Instance Methods

(void) - enableBlurForWindow:withRadius:
 
(void) - startBlur
 
(void) - stopBlur
 

Protected Types

typedef void * CGSConnection
 

Protected Member Functions

(OSStatus) - CGSSetWindowBackgroundBlurRadius
 
(CGSConnection- CGSDefaultConnectionForThread
 

Protected Attributes

float blurStep
 
float blurStepDelay
 
float currentBlurRadius
 
float maxBlurRadius
 
bool isBlurring
 

Detailed Description

The Blurred Window controller..

This class represents a blurred window..

Authors
Benjamin Thiemann, Benjamin Völker
Date
2016/12/08

Member Typedef Documentation

◆ CGSConnection

- (typedef void*) CGSConnection
protected

A Core Graphics connection.

Method Documentation

◆ CGSDefaultConnectionForThread()

- (CGSConnection) CGSDefaultConnectionForThread

Enable the connection to be threaded.

◆ CGSSetWindowBackgroundBlurRadius()

- (OSStatus) CGSSetWindowBackgroundBlurRadius (CGSConnection connection
(NSInteger)  windowNumber
(int)  radius 

Enable the window to be blurred by Core Graphics.

◆ enableBlurForWindow:withRadius:()

- (void) enableBlurForWindow: (NSWindow *)  window
withRadius: (int)  radius 

This method enables blurring for the given window with the given radius.

Parameters
windowThe window to blur.
radiusThe blur radius.

◆ startBlur()

- (void) startBlur

This method starts a fading blurring of the window.

◆ stopBlur()

- (void) stopBlur

This method stops the blurring of the window.

Member Data Documentation

◆ blurStep

- (float) blurStep
protected

Float value representing the blur step.

◆ blurStepDelay

- (float) blurStepDelay
protected

Float value that represents the blur speed.

◆ currentBlurRadius

- (float) currentBlurRadius
protected

Float value that represents the current blur radius.

◆ isBlurring

- (bool) isBlurring
protected

Boolean value that indicates whether a blurring is ongoing.

◆ maxBlurRadius

- (float) maxBlurRadius
protected

Float value that represents the maximum blur radius.


The documentation for this class was generated from the following files: