From 2c0baccbe99f52c402d6c0f9882192477c9b5246 Mon Sep 17 00:00:00 2001 From: Johan Paulsson Date: Sat, 30 Nov 2013 19:32:09 -0800 Subject: osx gui: Added dragging of the preview pdf to other applications. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- tikzit/English.lproj/Preview.xib | 499 ++++++--------------------------------- 1 file changed, 70 insertions(+), 429 deletions(-) (limited to 'tikzit/English.lproj') diff --git a/tikzit/English.lproj/Preview.xib b/tikzit/English.lproj/Preview.xib index 46d3521..cb1e82c 100644 --- a/tikzit/English.lproj/Preview.xib +++ b/tikzit/English.lproj/Preview.xib @@ -1,429 +1,70 @@ - - - - 1050 - 11B26 - 1617 - 1138 - 566.00 - - 1617 - 518 - - - NSView - NSProgressIndicator - NSScrollView - NSWindowTemplate - NSTextView - PDFView - NSScroller - NSCustomObject - - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.pdfkit.ibplugin - - - - - PreviewController - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{196, 138}, {480, 380}} - 536870912 - Preview - NSWindow - - - - - 256 - - - - 18 - - NSFilenamesPboardType - - {480, 380} - - - 0 - NO - 0.47979798913002014 - YES - - - - -2147483374 - - - - 2304 - - - - 2322 - {478, 14} - - - - - - - - - - - - - - - 134 - - - - 478 - 1 - - - 12129 - 0 - - - 3 - MQA - - - - 6 - System - selectedTextBackgroundColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - selectedTextColor - - 3 - MAA - - - - - - - 1 - MCAwIDEAA - - - {8, -8} - 13 - - - - - - 1 - - 6 - {493, 10000000} - {223, 0} - - - - {{1, 1}, {478, 378}} - - - - - - - {4, 5} - - 12582912 - - - - - - TU0AKgAAAHCAFUqgBVKsAAAAwdVQUqwaEQeIRGJRGFlYqwWLQ+JxuOQpVRmEx2RROKwOQyOUQSPyaUym -SxqWyKXyeYxyZzWbSuJTScRCbz2Nz+gRKhUOfTqeUai0OSxiWTiBQSHSGFquGwekxyAgAAAOAQAAAwAA -AAEAEAAAAQEAAwAAAAEAEAAAAQIAAwAAAAIACAAIAQMAAwAAAAEABQAAAQYAAwAAAAEAAQAAAREABAAA -AAEAAAAIARIAAwAAAAEAAQAAARUAAwAAAAEAAgAAARYAAwAAAAEAEAAAARcABAAAAAEAAABnARwAAwAA -AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA - - - - - - 3 - MCAwAA - - - - 4 - - - - 256 - {{464, 1}, {15, 378}} - - - - - _doScroller: - 0.99248120300751874 - - - - -2147483392 - {{-100, -100}, {463, 15}} - - - - 1 - - _doScroller: - 1 - 0.94565218687057495 - - - {480, 380} - - - - 133138 - - - - - - - 1292 - - {{7, 342}, {32, 32}} - - - 28682 - 100 - - - {480, 380} - - - - - {{0, 0}, {1440, 878}} - {10000000000000, 10000000000000} - YES - - - - - - - window - - - - 4 - - - - pdfView - - - - 5 - - - - progressIndicator - - - - 7 - - - - errorText - - - - 12 - - - - errorTextView - - - - 13 - - - - - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 1 - - - - - - - - 2 - - - - - - - - - - 3 - - - - - 6 - - - - - 8 - - - - - - - - - - 9 - - - - - 10 - - - - - 11 - - - - - - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{162, 413}, {480, 380}} - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.pdfkit.ibplugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - - - 13 - - - - - PreviewController - NSWindowController - - NSTextView - NSScrollView - PDFView - NSProgressIndicator - - - - errorText - NSTextView - - - errorTextView - NSScrollView - - - pdfView - PDFView - - - progressIndicator - NSProgressIndicator - - - - IBProjectSource - ./Classes/PreviewController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3