diff options
author | Kevin Walzer <kw@codebykevin.com> | 2015-11-08 22:02:34 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2015-11-08 22:02:34 (GMT) |
commit | 65696b5bb7348609c6187600bf18b0d38ffdd219 (patch) | |
tree | 1d00e91d143fb512b639198b046df5b23546fc53 /macosx/tkMacOSXPrivate.h | |
parent | 77e0e5439c5a1f5716149e2fa3ee0dcc8c63e56f (diff) | |
download | tk-65696b5bb7348609c6187600bf18b0d38ffdd219.zip tk-65696b5bb7348609c6187600bf18b0d38ffdd219.tar.gz tk-65696b5bb7348609c6187600bf18b0d38ffdd219.tar.bz2 |
Cleanup of last patch to Tk-Cocoa
Diffstat (limited to 'macosx/tkMacOSXPrivate.h')
-rw-r--r-- | macosx/tkMacOSXPrivate.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/macosx/tkMacOSXPrivate.h b/macosx/tkMacOSXPrivate.h index ff3577d..4f96f64 100644 --- a/macosx/tkMacOSXPrivate.h +++ b/macosx/tkMacOSXPrivate.h @@ -299,10 +299,10 @@ VISIBILITY_HIDDEN @interface TKContentView : NSView <NSTextInput> { @private /*Remove private API calls.*/ - #if 0 +#if 0 id _savedSubviews; BOOL _subviewsSetAside; - #endif +#endif NSString *privateWorkingText; } @end @@ -311,6 +311,18 @@ VISIBILITY_HIDDEN - (void) deleteWorkingText; @end +@interface TKContentView(TKWindowEvent) +- (void) drawRect: (NSRect) rect; +- (void) generateExposeEvents: (HIShapeRef) shape; +- (void) generateExposeEvents: (HIShapeRef) shape childrenOnly: (int) childrenOnly; +- (void) viewDidEndLiveResize; +- (void) tkToolbarButton: (id) sender; +- (BOOL) isOpaque; +- (BOOL) wantsDefaultClipping; +- (BOOL) acceptsFirstResponder; +- (void) keyDown: (NSEvent *) theEvent; +@end + VISIBILITY_HIDDEN @interface TKWindow : NSWindow @end @@ -344,4 +356,8 @@ VISIBILITY_HIDDEN @end +/* Helper functions from tkMacOSXDeprecations.c */ + +extern NSPoint convertWindowToScreen( NSWindow *window, NSPoint point); + #endif /* _TKMACPRIV */ |