-
Notifications
You must be signed in to change notification settings - Fork 20
/
FPToolPaletteController.h
43 lines (35 loc) · 1010 Bytes
/
FPToolPaletteController.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
/* FPToolPaletteController */
#import <Cocoa/Cocoa.h>
enum {
FPToolArrow = 0,
FPToolEllipse,
FPToolRectangle,
FPToolSquiggle,
FPToolTextArea,
FPToolTextField,
FPToolCheckmark,
FPToolStamp
};
extern NSString *FPToolChosen;
@interface FPToolPaletteController : NSWindowController
{
IBOutlet NSButton *arrowToolButton;
IBOutlet NSButton *ellipseToolButton;
IBOutlet NSButton *rectangleToolButton;
IBOutlet NSButton *squiggleToolButton;
IBOutlet NSButton *textAreaToolButton;
IBOutlet NSButton *textFieldToolButton;
IBOutlet NSButton *checkmarkToolButton;
IBOutlet NSButton *stampToolButton;
NSArray *_buttonArray;
BOOL _inQuickMove;
unsigned int _toolBeforeQuickMove;
}
+ (FPToolPaletteController*)sharedToolPaletteController;
- (IBAction)chooseTool:(id)sender;
- (unsigned int)currentTool;
- (Class)classForCurrentTool;
- (void)keyDown:(NSEvent *)theEvent;
- (void)beginQuickMove:(id)unused;
- (void)endQuickMove:(id)unused;
@end