summaryrefslogtreecommitdiffstats
path: root/tkmacosx/tkmacosx.h
diff options
context:
space:
mode:
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**);