diff options
author | Kevin Walzer <kw@codebykevin.com> | 2014-08-16 00:52:00 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2014-08-16 00:52:00 (GMT) |
commit | 4ccf614e946e9d871b37e6cd562a038f687e8d7a (patch) | |
tree | 33192a2e02b2dc263520583079b8c24dbe974427 /macosx/tkMacOSXInt.h | |
parent | a5927e8d5f0b12747732ed2d4a6c58ac801314b9 (diff) | |
download | tk-4ccf614e946e9d871b37e6cd562a038f687e8d7a.zip tk-4ccf614e946e9d871b37e6cd562a038f687e8d7a.tar.gz tk-4ccf614e946e9d871b37e6cd562a038f687e8d7a.tar.bz2 |
Fix for shimmering of buttons embedded when scrolled in text and canvas widgets; improvements in scrolling smoothness in text widget. Thanks to Marc Culler for patches.
Diffstat (limited to 'macosx/tkMacOSXInt.h')
-rw-r--r-- | macosx/tkMacOSXInt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/tkMacOSXInt.h b/macosx/tkMacOSXInt.h index 813acce..249d5cf 100644 --- a/macosx/tkMacOSXInt.h +++ b/macosx/tkMacOSXInt.h @@ -24,6 +24,7 @@ #ifndef _TKMAC #include "tkMacOSX.h" +#import <Cocoa/Cocoa.h> #endif /* @@ -196,7 +197,7 @@ MODULE_SCOPE void TkpClipDrawableToRect(Display *display, Drawable d, int x, int y, int width, int height); MODULE_SCOPE void TkpRetainRegion(TkRegion r); MODULE_SCOPE void TkpReleaseRegion(TkRegion r); - +MODULE_SCOPE void TkpShiftButton(NSButton *button, NSPoint delta); /* * Include the stubbed internal platform-specific API. */ |