julius / silverflow

Quicksilver Interface

This URL has Read+Write access

silverflow / SFCoverFlow.h
100644 55 lines (39 sloc) 0.964 kb
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//
// SFCoverFlow.h
// SilverFlow
//
// Created by Julius Eckert on 02.02.08.
// Copyright 2008 Julius Eckert. All rights reserved.
//
 
#import <Cocoa/Cocoa.h>
#import <QuartzCore/QuartzCore.h>
#import "SFCFObjectManager.h"
 
@class SilverFlow;
 
@interface SFCoverFlow : NSObject {
CALayer* parentLayer;
SilverFlow* sflow;
 
SFCFObjectManager* objMan;
 
NSRange fullRange;
NSRange currentRange;
NSRange selectionRange;
 
int selection;
int selectionRangeStart;
int selectionRangeEnd;
 
id delegate;
 
bool updaterValid;
NSThread* updaterThread;
 
int selector;
 
bool rangeIsNew;
}
 
-(SFCoverFlow*)initWithLayer:(CALayer*)layer;
-(void) setItemCount:(int)size;
-(void) setSelection:(int)sel;
-(NSRange) selectionRange;
- (void)setSilverFlow:(SilverFlow*)sf;
- (void)setImage:(NSImage*)img atIndex:(int)i;
 
-(void) setDelegate:(id)aDelegate;
 
-(void) setSelector:(int)sel;
 
@end
 
@interface NSObject (SFCF)
- (void) requireImageAtIndex:(int)i;
@end;