2023-02-11 20:49:42 +00:00
|
|
|
// This file Copyright © 2006-2023 Transmission authors and contributors.
|
2022-01-20 18:27:56 +00:00
|
|
|
// It may be used under the MIT (SPDX: MIT) license.
|
|
|
|
// License text can be found in the licenses/ folder.
|
2007-09-16 01:02:06 +00:00
|
|
|
|
2016-09-10 17:08:58 +00:00
|
|
|
#import <AppKit/AppKit.h>
|
|
|
|
|
2008-01-15 03:33:44 +00:00
|
|
|
@interface TorrentCell : NSActionCell
|
2021-08-15 09:41:48 +00:00
|
|
|
|
2022-02-22 16:04:20 +00:00
|
|
|
@property(nonatomic) BOOL hover;
|
|
|
|
@property(nonatomic) BOOL hoverControl;
|
|
|
|
@property(nonatomic) BOOL hoverReveal;
|
|
|
|
@property(nonatomic) BOOL hoverAction;
|
2007-09-16 01:02:06 +00:00
|
|
|
|
2021-08-15 09:41:48 +00:00
|
|
|
- (NSRect)iconRectForBounds:(NSRect)bounds;
|
2022-06-08 20:13:29 +00:00
|
|
|
- (NSRect)actionRectForBounds:(NSRect)bounds;
|
2021-08-15 09:41:48 +00:00
|
|
|
|
|
|
|
- (void)addTrackingAreasForView:(NSView*)controlView
|
|
|
|
inRect:(NSRect)cellFrame
|
|
|
|
withUserInfo:(NSDictionary*)userInfo
|
|
|
|
mouseLocation:(NSPoint)mouseLocation;
|
2008-01-15 03:33:44 +00:00
|
|
|
|
2007-09-16 01:02:06 +00:00
|
|
|
@end
|