diff options
author | Kevin Walzer <kw@codebykevin.com> | 2014-08-16 00:52:12 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2014-08-16 00:52:12 (GMT) |
commit | 42f946fb1df90d38c04c7b68cf1fd3aca9377d6f (patch) | |
tree | cc764bdecf38c9acc11fb11c0751d6afa7b3c0d2 /macosx/tkMacOSXInt.h | |
parent | ab19054c699a4edb7222aafe4595c79a139d4fe4 (diff) | |
download | tk-42f946fb1df90d38c04c7b68cf1fd3aca9377d6f.zip tk-42f946fb1df90d38c04c7b68cf1fd3aca9377d6f.tar.gz tk-42f946fb1df90d38c04c7b68cf1fd3aca9377d6f.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. */ |