forked from atg/Ingredients
-
Notifications
You must be signed in to change notification settings - Fork 2
/
XBNewSourceListCell.h
53 lines (38 loc) · 1.24 KB
/
XBNewSourceListCell.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
//
// XBNewSourceListCell.h
// SourceList3
//
// Created by Alex Gordon on 16/01/2009.
// Copyright 2009 Fileability. Written in 2010 by Fileability..
//
#import <Cocoa/Cocoa.h>
extern NSString *const XBSourceListLabelRed;
extern NSString *const XBSourceListLabelOrange;
extern NSString *const XBSourceListLabelYellow;
extern NSString *const XBSourceListLabelGreen;
extern NSString *const XBSourceListLabelBlue;
extern NSString *const XBSourceListLabelPurple;
extern NSString *const XBSourceListLabelGray;
extern NSString *const XBSourceListLabelClear;
extern NSString *const XBSourceListLabelNA;
typedef NSString XBSourceListLabel;
@interface XBNewSourceListCell : NSTextFieldCell {
XBSourceListLabel *label;
BOOL isHighlighted;
NSImage *image;
NSImage *alternateImage;
NSTableView *tableView;
//0 not used, 1 normal, -1 hover, 2 clicked
int actionButtonState;
BOOL hasAddButton;
BOOL hasCloseButton;
}
@property (assign) NSTableView *tableView;
@property (assign) XBSourceListLabel *label;
@property (assign) BOOL isHighlighted;
@property (assign) NSImage *image;
@property (assign) NSImage *alternateImage;
@property (assign) int actionButtonState;
@property (assign) BOOL hasAddButton;
@property (assign) BOOL hasCloseButton;
@end