forked from jerrykrinock/ClassesObjC
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSSButton.h
More file actions
33 lines (23 loc) · 685 Bytes
/
SSButton.h
File metadata and controls
33 lines (23 loc) · 685 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
#import <Cocoa/Cocoa.h>
@interface SSButtonCell : NSButtonCell {
NSColor* _color ;
}
- (id)initWithTitleFont:(NSFont*)font ;
- (void)setColor:(NSColor*)color ;
@end
@interface SSButton : NSButton {
NSString* _titleText ;
NSString* _keyEquivalentSuffix ;
BOOL keyEquivalentShowing ;
float widthMargin ;
BOOL keyEquivalentWithOrWithoutAltKey ;
}
- (BOOL)keyEquivalentWithOrWithoutAltKey;
- (void)setKeyEquivalentWithOrWithoutAltKey:(BOOL)value;
- (void)setColor:(NSColor*)color ;
- (void)setTitleText:(NSString*)titleText ;
- (void)setKeyEquivalentSuffix:(NSString*)suffix ;
- (void)setWidthMargin:(float)wm ;
- (void)showKeyEquivalent ;
- (void)hideKeyEquivalent ;
@end