-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPrintOutputController.h
More file actions
46 lines (44 loc) · 1.32 KB
/
Copy pathPrintOutputController.h
File metadata and controls
46 lines (44 loc) · 1.32 KB
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
/* PrintOutputController */
#import <Cocoa/Cocoa.h>
#import "PrinterSimulator.h"
@interface PrintOutputController : NSWindowController
{
IBOutlet NSButton *mContinueButton;
IBOutlet NSButton *mDeleteButton;
IBOutlet NSButton *mPenChangeButton;
IBOutlet NSScrollView *mMainScrollView;
IBOutlet NSButton *mSaveAsButton;
IBOutlet NSButton *mResetConfirmButton;
bool preview;
int numPages;
float printOffset;
PrinterSimulator *currentPrinter;
}
+ (PrintOutputController *)sharedInstance;
- (id)init;
- (int)calcNumPages;
- (void)calcPrinterOffset;
- (void)updatePages;
- (void)printChar:(char) character;
- (void)showPrinterOutput:(id)sender;
- (IBAction)onContinue:(id)sender;
- (IBAction)onDelete:(id)sender;
- (IBAction)onSelectPrinter:(id)sender;
- (void)selectPrinter:(int)printer;
- (IBAction)onResetPrinter:(id)sender;
- (int)resetConfirm;
- (IBAction)resetConfirmYes:(id)sender;
- (IBAction)resetConfirmNo:(id)sender;
- (IBAction)onSaveAs:(id)sender;
- (IBAction)onSkipLine:(id)sender;
- (IBAction)onRevSkipLine:(id)sender;
- (IBAction)onSkipPage:(id)sender;
- (IBAction)onChangePen:(id)sender;
-(void)setPenButtonColor;
- (void)addToPrintArray:(NSObject *)object;
- (NSArray *)getPrintArray;
-(float)getPrintOffset;
- (bool)isPreview;
- (void)setPrinter:(NSObject *)printer;
- (void)enablePenChange:(BOOL)enable;
@end