mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
7056765468
* update macOS group indicators proposal for updated Group indicators, inspired by Xcode, and ios Calendar. Discussion over here: https://github.com/transmission/transmission/issues/3058 * Update TorrentCell.mm resolve some pr isssues * Update TorrentCell.mm add a group indicator width definition
22 lines
713 B
Objective-C
22 lines
713 B
Objective-C
// This file Copyright © 2006-2022 Transmission authors and contributors.
|
|
// It may be used under the MIT (SPDX: MIT) license.
|
|
// License text can be found in the licenses/ folder.
|
|
|
|
#import <AppKit/AppKit.h>
|
|
|
|
@interface TorrentCell : NSActionCell
|
|
|
|
@property(nonatomic) BOOL hover;
|
|
@property(nonatomic) BOOL hoverControl;
|
|
@property(nonatomic) BOOL hoverReveal;
|
|
@property(nonatomic) BOOL hoverAction;
|
|
|
|
- (NSRect)iconRectForBounds:(NSRect)bounds;
|
|
- (NSRect)actionRectForBounds:(NSRect)bounds;
|
|
|
|
- (void)addTrackingAreasForView:(NSView*)controlView
|
|
inRect:(NSRect)cellFrame
|
|
withUserInfo:(NSDictionary*)userInfo
|
|
mouseLocation:(NSPoint)mouseLocation;
|
|
|
|
@end
|