diff options
author | Kevin Walzer <kw@codebykevin.com> | 2015-11-08 22:01:01 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2015-11-08 22:01:01 (GMT) |
commit | a7dfb1b21893c1ab01d02b00e7f9e1b7ebd0198c (patch) | |
tree | 853c345562af0dafffc1638132f56e7cbf04f35b /macosx/tkMacOSXPrivate.h | |
parent | 8e14ee04b3964bb9118b78ee62722fbf9f2129cb (diff) | |
download | tk-a7dfb1b21893c1ab01d02b00e7f9e1b7ebd0198c.zip tk-a7dfb1b21893c1ab01d02b00e7f9e1b7ebd0198c.tar.gz tk-a7dfb1b21893c1ab01d02b00e7f9e1b7ebd0198c.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 1d20081..9cdc27c 100644 --- a/macosx/tkMacOSXPrivate.h +++ b/macosx/tkMacOSXPrivate.h @@ -301,10 +301,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 @@ -313,6 +313,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 @@ -345,4 +357,8 @@ VISIBILITY_HIDDEN keyEquivalentModifierMask:(NSUInteger)keyEquivalentModifierMask; @end +/* Helper functions from tkMacOSXDeprecations.c */ + +extern NSPoint convertWindowToScreen( NSWindow *window, NSPoint point); + #endif /* _TKMACPRIV */ |