summaryrefslogtreecommitdiffstats
path: root/tkmacosx/tkmacosx.h
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-03-27 15:59:05 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-03-27 15:59:05 (GMT)
commit6cbd586d1439b7189e3349533ded31de37a2da43 (patch)
tree5da8091542ecd9ad7048d5f1d16afa82ad9354fe /tkmacosx/tkmacosx.h
parente59c06603d7488904582b21295cdaca0cbd373f3 (diff)
downloadblt-6cbd586d1439b7189e3349533ded31de37a2da43.zip
blt-6cbd586d1439b7189e3349533ded31de37a2da43.tar.gz
blt-6cbd586d1439b7189e3349533ded31de37a2da43.tar.bz2
macosx print
Diffstat (limited to 'tkmacosx/tkmacosx.h')
-rw-r--r--tkmacosx/tkmacosx.h14
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**);