forked from coo-ona/cooViewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathThumbnailController.h
89 lines (63 loc) · 1.81 KB
/
ThumbnailController.h
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/* ThumbnailController */
#import <Cocoa/Cocoa.h>
#import "COImageLoader.h"
@interface ThumbnailController : NSObject
{
BOOL bookmarkMode;
int nowBookmarkPage;
COImageLoader *imageLoader;
int doCount;
int cellCount;
BOOL stop;
BOOL mangaMode;
IBOutlet id controller;
IBOutlet id matrix;
IBOutlet id panel;
NSMutableArray *pathArray;
NSMutableDictionary *pathDic;
int now;
int sortMode;
IBOutlet id sortPopUpButton;
IBOutlet id stateTextField;
IBOutlet id nameTextField;
IBOutlet id onlyBookmarkButton;
IBOutlet id comicModeButton;
IBOutlet id contextMenu;
NSArray *keyArray;
NSMutableArray *thumImageArray;
int maxCacheCount;
float wheelSensitivity;
NSTimer *wheelUpTimer,*wheelDownTimer;
}
-(void)setmaxCacheCount:(int)size;
-(void)setImageLoader:(COImageLoader*)loader;
-(id)loadImage:(int)index;
-(void)showBookmarkThumbnail;
-(void)setBookmarkImageCells:(BOOL)back;
-(void)setBookmarkImageCellsMethod:(NSNumber*)backValue;
-(void)setBookmarkImageCellWithInfo:(id)infoDic;
-(BOOL)isVisible;
-(void)setCellRow:(int)rowI column:(int)columnI;
-(void)showThumbnail:(int)nowPage;
-(void)setImageCells:(BOOL)back;
-(void)setImageCellsMethod:(NSNumber*)backValue;
-(void)setImageCellWithInfo:(id)info;
-(void)setImageToCellAtRow:(int)row column:(int)col back:(BOOL)back;
-(void)clearCell;
-(void)clearAll;
- (void)imageSelected:(id)sender;
-(void)appleRemoteAction:(NSString*)characters;
-(void)action:(NSEvent*)event;
-(void)wheelAction:(NSEvent*)event;
-(void)wheelSetting:(float)set;
-(void)wheelUp;
-(void)wheelDown;
-(void)setPageKey:(NSArray*)array;
-(IBAction)sort:(id)sender;
-(IBAction)next:(id)sender;
-(IBAction)prev:(id)sender;
-(void)mangaModePrev;
-(IBAction)onlyBookmark:(id)sender;
-(IBAction)comicMode:(id)sender;
-(IBAction)contextAction:(id)sender;
@end