mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-10-07 17:43:28 +00:00
a08967f04c
- NSDocument initWithContentsOfURL, printDocument:, printDocumentWithSettings:, printOperationWithSettings:error: implemented - NSDocumentController recent document menu implemented, and some of the URL based methods. -[NSURL isEqual:], -[NSURL isFileURL] implemented within the limits of the current capabilities -[NSApplication windowsMenu] corrected (finds menu by name in nib) +[NSMenuItem separatorItem] fixed (was returning broken separator) - NSMenu loads special name (windows, font, recent doc.s, etc.) from nib and private API for locating by name - Most NSPrintInfo getters/setters implemented. - NSPrintPanel added - Split KGRenderingContext into KGRenderingContext and KGDeviceContext and cleaned up around these classes - Fixed page locating bug in KGPDFDocument
17 lines
248 B
Objective-C
17 lines
248 B
Objective-C
#import <Foundation/NSObject.h>
|
|
|
|
@class NSMutableDictionary;
|
|
|
|
@interface NSPrintPanel : NSObject {
|
|
NSMutableDictionary *_attributes;
|
|
}
|
|
|
|
+(NSPrintPanel *)printPanel;
|
|
|
|
-(int)runModal;
|
|
|
|
-(void)updateFromPrintInfo;
|
|
-(void)finalWritePrintInfo;
|
|
|
|
@end
|