1 /* PXPreviewController */ 2 3 #import <AppKit/AppKit.h> 4 5 @class PXCanvas, PXCanvasView; 6 7 @interface PXPreviewController : NSWindowController 8 { 9 IBOutlet PXCanvasView *view; 10 PXCanvas *canvas; 11 NSRect updateRect; 12 NSWindow *resizeSizeWindow; 13 NSTimer *fadeOutTimer; 14 15 BOOL temporarilyHiding; // this is a little hack so a nil canvas is never shown, the window just hides itself for a while 16 } 17 + sharedPreviewController; 18 - (void)setCanvas:aCanvas; 19 @end 20