16 lines
653 B
Objective-C
16 lines
653 B
Objective-C
#import <Carbon/Carbon.h>
|
|
|
|
typedef int CGSWindowID;
|
|
typedef void* CGSConnectionID;
|
|
|
|
extern CGSConnectionID CGSDefaultConnectionForThread(void);
|
|
|
|
// Typedef for the CGSSetWindowBackgroundBlurRadius function, which is a private
|
|
// API.
|
|
typedef CGError CGSSetWindowBackgroundBlurRadiusFunction(CGSConnectionID cid, CGSWindowID wid,
|
|
NSUInteger blur);
|
|
|
|
// Returns a function pointer to the private CGSSetWindowBackgroundBlurRadius
|
|
// API, which can be used to set the background blur radius for an NSWindow.
|
|
CGSSetWindowBackgroundBlurRadiusFunction* GetCGSSetWindowBackgroundBlurRadiusFunction(void);
|