diff options
author | 2011-06-16 14:46:26 +0000 | |
---|---|---|
committer | 2011-06-16 14:46:26 +0000 | |
commit | 6c4cd265e368531f6c73f4bbb0cf073d3899e10c (patch) | |
tree | 5fdccc1b83af1363827ccb7a7e18952283a86ab9 /experimental/SimpleCocoaApp/SkNSView.h | |
parent | e67bd3fbc9bcd0929033635d546544527784b4c0 (diff) |
Added SimpleCocoaApp to the experimental directory
http://codereview.appspot.com/4576059/
git-svn-id: http://skia.googlecode.com/svn/trunk@1614 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental/SimpleCocoaApp/SkNSView.h')
-rw-r--r-- | experimental/SimpleCocoaApp/SkNSView.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/experimental/SimpleCocoaApp/SkNSView.h b/experimental/SimpleCocoaApp/SkNSView.h new file mode 100644 index 0000000000..eded2b8494 --- /dev/null +++ b/experimental/SimpleCocoaApp/SkNSView.h @@ -0,0 +1,19 @@ +#import <Cocoa/Cocoa.h> +class SkNSContainerView; +class SkView; + +@interface SkNSView : NSView { + SkNSContainerView* fView; + + @private + NSPoint offset, center; + CGFloat scale, rotation; +} + @property(readwrite) NSPoint offset, center; + @property(readwrite) CGFloat scale, rotation; + + -(void) addSkView:(SkView*)aView; + -(void) resetTransformations; +@end + + |