-
Notifications
You must be signed in to change notification settings - Fork 1
/
LabelPicker.h
50 lines (37 loc) · 955 Bytes
/
LabelPicker.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
//
// LabelPicker.h
// SproutedInterface
//
// Created by Philip Dow on 11/12/05.
// Copyright 2005 Sprouted. All rights reserved.
// Inquiries should be directed to [email protected]
//
#import <Cocoa/Cocoa.h>
@interface LabelPicker : NSView {
NSInteger _tag;
id _target;
SEL _selector;
NSImage *_labelImage;
NSImage *_labelSelectedImage;
NSImage *_labelHoverImage;
NSInteger _labelSelection;
NSRect _clearRect;
NSRect _redRect;
NSRect _orangeRect;
NSRect _yellowRect;
NSRect _greenRect;
NSRect _blueRect;
NSRect _purpleRect;
NSRect _greyRect;
}
- (NSInteger) tag;
- (void) setTag:(NSInteger)aTag;
- (id) target;
- (void) setTarget:(id)targetObject;
- (SEL) action;
- (void) setAction:(SEL)targetSelector;
- (NSInteger) labelSelection;
- (void) setLabelSelection:(NSInteger)value;
+ (NSInteger) finderEquivalentForPickerLabel:(NSInteger)value;
+ (NSInteger) pickerEquivalentForFinderLabel:(NSInteger)value;
@end