diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-03-27 15:59:05 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-03-27 15:59:05 (GMT) |
commit | 6cbd586d1439b7189e3349533ded31de37a2da43 (patch) | |
tree | 5da8091542ecd9ad7048d5f1d16afa82ad9354fe /tkmacosx/tkmacosx.h | |
parent | e59c06603d7488904582b21295cdaca0cbd373f3 (diff) | |
download | blt-6cbd586d1439b7189e3349533ded31de37a2da43.zip blt-6cbd586d1439b7189e3349533ded31de37a2da43.tar.gz blt-6cbd586d1439b7189e3349533ded31de37a2da43.tar.bz2 |
macosx print
Diffstat (limited to 'tkmacosx/tkmacosx.h')
-rw-r--r-- | tkmacosx/tkmacosx.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/tkmacosx/tkmacosx.h b/tkmacosx/tkmacosx.h index 3c4d6a2..853b3ba 100644 --- a/tkmacosx/tkmacosx.h +++ b/tkmacosx/tkmacosx.h @@ -9,19 +9,31 @@ #include <vector.h> +@interface PMView : NSView +{ +} +- (PMView*)init; +- (void)alloc; +- (void)dealloc; +- (void)drawRect: (NSRect)rect; +@end + class TkMacosx { private: Tcl_Interp* interp; - int showDialog; Matrix canvasToPage; + PMView* pmView; + /* + int showDialog; CGContextRef context; OSStatus status; PMPageFormat pageFormat; PMPrintSettings printSettings; PMPrintSession printSession; + */ int pmPrint(int, const char**); int pmPrintBegin(int, const char**); |