summaryrefslogtreecommitdiff
path: root/tikzit/src/osx/PreviewController.h
diff options
context:
space:
mode:
authorJohan Paulsson <gonz@Akita.local>2013-11-30 19:32:09 -0800
committerJohan Paulsson <gonz@Akita.local>2013-11-30 19:32:09 -0800
commit2c0baccbe99f52c402d6c0f9882192477c9b5246 (patch)
treee7f41047a1464b836325e8c524f9f8361351431c /tikzit/src/osx/PreviewController.h
parentf054e040a12df4160c632039289b925b251fc81d (diff)
osx gui: Added dragging of the preview pdf to other applications.
The preview area can be dragged as a pasteboard pdf to other applications rich text editor views. Notably, this means that small images can be made and emailed as PDFs. This is not dragging the PDFs as files so dragging to the finder for saving doesn’t work.
Diffstat (limited to 'tikzit/src/osx/PreviewController.h')
-rw-r--r--tikzit/src/osx/PreviewController.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tikzit/src/osx/PreviewController.h b/tikzit/src/osx/PreviewController.h
index d6d855e..6c51a23 100644
--- a/tikzit/src/osx/PreviewController.h
+++ b/tikzit/src/osx/PreviewController.h
@@ -23,12 +23,13 @@
#import <Cocoa/Cocoa.h>
+#import "DraggablePDFView.h"
@class PDFView;
@class PreambleController;
@interface PreviewController : NSWindowController {
- IBOutlet PDFView *pdfView;
+ IBOutlet DraggablePDFView *pdfView;
IBOutlet NSProgressIndicator *progressIndicator;
IBOutlet NSScrollView *errorTextView;
IBOutlet NSTextView *errorText;