diff options
Diffstat (limited to 'src/views/mac/SkNSView.h')
-rw-r--r-- | src/views/mac/SkNSView.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/src/views/mac/SkNSView.h b/src/views/mac/SkNSView.h index 779c51b7e4..1718b2ac11 100644 --- a/src/views/mac/SkNSView.h +++ b/src/views/mac/SkNSView.h @@ -8,6 +8,7 @@ #import <QuartzCore/QuartzCore.h> #import <Cocoa/Cocoa.h> #import "SkWindow.h" + class SkEvent; @class SkNSView; @@ -18,18 +19,7 @@ class SkEvent; - (void) view:(SkNSView*)view didUpdateMenu:(const SkOSMenu*)menu; @end -@interface SkNSView : NSView { - BOOL fRedrawRequestPending; - - NSString* fTitle; - SkOSWindow* fWind; -#if SK_SUPPORT_GPU - NSOpenGLContext* fGLContext; -#endif - id<SkNSViewOptionsDelegate> fOptionsDelegate; -} - -@property (nonatomic, readonly) SkOSWindow *fWind; +@interface SkNSView : NSView @property (nonatomic, retain) NSString* fTitle; #if SK_SUPPORT_GPU @property (nonatomic, retain) NSOpenGLContext* fGLContext; @@ -54,3 +44,7 @@ class SkEvent; - (void)freeNativeWind; @end + +@interface SkNSView() + @property (nonatomic, readwrite) SkOSWindow *fWind; +@end |