summaryrefslogtreecommitdiff
path: root/tikzit/src/osx/TikzWindowController.h
diff options
context:
space:
mode:
Diffstat (limited to 'tikzit/src/osx/TikzWindowController.h')
-rw-r--r--tikzit/src/osx/TikzWindowController.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/tikzit/src/osx/TikzWindowController.h b/tikzit/src/osx/TikzWindowController.h
new file mode 100644
index 0000000..e35b7eb
--- /dev/null
+++ b/tikzit/src/osx/TikzWindowController.h
@@ -0,0 +1,31 @@
+//
+// TikzWindowController.h
+// TikZiT
+//
+// Created by Aleks Kissinger on 26/01/2011.
+// Copyright 2011 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+@class TikzDocument, GraphicsView, TikzSourceController;
+
+@interface TikzWindowController : NSWindowController {
+ GraphicsView *graphicsView;
+ TikzSourceController *tikzSourceController;
+ TikzDocument *document;
+}
+
+@property IBOutlet GraphicsView *graphicsView;
+@property IBOutlet TikzSourceController *tikzSourceController;
+
+- (id)initWithDocument:(TikzDocument*)doc;
+
+// pass these straight to the tikz source controller
+- (void)parseTikz:(id)sender;
+- (void)revertTikz:(id)sender;
+- (void)zoomIn:(id)sender;
+- (void)zoomOut:(id)sender;
+- (void)zoomToActualSize:(id)sender;
+
+@end