diff options
author | Sven Weidauer <sven.weidauer@gmail.com> | 2011-01-26 10:52:13 +0000 |
---|---|---|
committer | Sven Weidauer <sven.weidauer@gmail.com> | 2011-01-26 10:52:13 +0000 |
commit | 7b2694e9f6c35d9f50c3fb3cf38b0fc766478162 (patch) | |
tree | c4e3d07a6bb51de884f53312a96d05849f072db1 /cocoa/PSMTabBarControl/PSMTabBarController.h | |
parent | a663cf8f84942e1147d1d2f3db292308639c7fa5 (diff) | |
download | netsurf-7b2694e9f6c35d9f50c3fb3cf38b0fc766478162.tar.gz netsurf-7b2694e9f6c35d9f50c3fb3cf38b0fc766478162.tar.bz2 |
Updated PSMTabBarControl source code to version from https://github.com/dergraf83/PSMTabBarControl
svn path=/trunk/netsurf/; revision=11490
Diffstat (limited to 'cocoa/PSMTabBarControl/PSMTabBarController.h')
-rw-r--r-- | cocoa/PSMTabBarControl/PSMTabBarController.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/cocoa/PSMTabBarControl/PSMTabBarController.h b/cocoa/PSMTabBarControl/PSMTabBarController.h index c675b981e..447011f44 100644 --- a/cocoa/PSMTabBarControl/PSMTabBarController.h +++ b/cocoa/PSMTabBarControl/PSMTabBarController.h @@ -10,12 +10,17 @@ @class PSMTabBarControl, PSMTabBarCell; -@interface PSMTabBarController : NSObject { - PSMTabBarControl *_control; - NSMutableArray *_cellTrackingRects, *_closeButtonTrackingRects; - NSMutableArray *_cellFrames; - NSRect _addButtonRect; - NSMenu *_overflowMenu; +@interface PSMTabBarController : NSObject +#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060 + <NSMenuDelegate> +#endif +{ + PSMTabBarControl *_control; + NSMutableArray *_cellTrackingRects; + NSMutableArray *_closeButtonTrackingRects; + NSMutableArray *_cellFrames; + NSRect _addButtonRect; + NSMenu *_overflowMenu; } - (id)initWithTabBarControl:(PSMTabBarControl *)control; |