-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPrefsController.h
44 lines (36 loc) · 931 Bytes
/
PrefsController.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
//
// PrefsController.h
// EquaTeX
//
// Created by Thierry Coppey on 31.05.11.
// Copyright 2011 TCKnetwork. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface PrefsController : NSObject {
@private
NSUserDefaults* _defs;
NSObject* _target;
SEL _action;
IBOutlet NSWindow *pane;
// Paths
IBOutlet NSButton *useLa;
IBOutlet NSButton *useXe;
IBOutlet NSTextField *pathLa;
IBOutlet NSTextField *pathXe;
IBOutlet NSTextField *pathGs;
// Margins
IBOutlet NSTextField *mTop;
IBOutlet NSTextField *mLeft;
IBOutlet NSTextField *mRight;
IBOutlet NSTextField *mBot;
// Syntax highlighting
IBOutlet NSButton *chkHighlight;
}
- (void)open:(NSWindow*)window target:(NSObject*)target action:(SEL)action;
@property (readonly) NSWindow *pane;
- (IBAction)apply:(id)sender;
- (IBAction)browse:(id)sender;
- (IBAction)cancel:(id)sender;
- (IBAction)download:(id)sender;
- (IBAction)setProcessor:(id)sender;
@end