-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathITCoreImageWindowEffect.h
More file actions
39 lines (34 loc) · 953 Bytes
/
ITCoreImageWindowEffect.h
File metadata and controls
39 lines (34 loc) · 953 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* ITKit
* ITCoreImageWindowEffect.h
*
* Effect subclass which performs a Core Image ripple effect on a window.
*
* Copyright (c) 2005 iThink Software
*
*/
#import <Cocoa/Cocoa.h>
#import <ITKit/ITWindowEffect.h>
#import "ITCoreGraphicsHacks.h"
#import <QuartzCore/QuartzCore.h>
@interface CICGSFilter : NSObject
{
void *_cid;
unsigned int _filter_id;
}
+ (id)filterWithFilter:(CIFilter *)filter connectionID:(CGSConnectionID)cid;
- (id)initWithFilter:(CIFilter *)filter connectionID:(CGSConnectionID)cid;
- (void)dealloc;
- (void)setValue:(id)value forKey:(NSString *)key;
- (void)setValuesForKeysWithDictionary:(NSDictionary *)dict;
- (int)addToWindow:(CGSWindowID)windowID flags:(unsigned int)flags;
- (int)removeFromWindow:(CGSWindowID)windowID;
- (id)description;
@end
@interface ITCoreImageWindowEffect : ITWindowEffect {
NSWindow *_effectWindow;
CIFilter *_effectFilter;
CICGSFilter *_windowFilter;
BOOL _ripple;
}
@end