transmission/macosx/TorrentTableView.h

42 lines
1.0 KiB
C
Raw Normal View History

// This file Copyright © Transmission authors and contributors.
// 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
#import <AppKit/AppKit.h>
2009-10-11 02:22:38 +00:00
@class Torrent;
extern CGFloat const kGroupSeparatorHeight;
@interface TorrentTableView : NSOutlineView<NSOutlineViewDelegate, NSAnimationDelegate, NSPopoverDelegate>
2007-09-16 01:02:06 +00:00
- (void)reloadVisibleRows;
- (BOOL)isGroupCollapsed:(NSInteger)value;
- (void)removeCollapsedGroup:(NSInteger)value;
- (void)removeAllCollapsedGroups;
- (void)saveCollapsedGroups;
@property(nonatomic) NSArray<Torrent*>* selectedTorrents;
- (NSRect)iconRectForRow:(NSInteger)row;
2022-05-16 17:08:20 +00:00
- (void)copy:(id)sender;
- (void)paste:(id)sender;
- (void)hoverEventBeganForView:(id)view;
- (void)hoverEventEndedForView:(id)view;
- (void)toggleGroupRowRatio;
- (IBAction)toggleControlForTorrent:(id)sender;
- (IBAction)displayTorrentActionPopover:(id)sender;
2007-09-16 01:02:06 +00:00
- (void)togglePiecesBar;
@property(nonatomic, readonly) CGFloat piecesBarPercent;
- (void)selectAndScrollToRow:(NSInteger)row;
2007-09-16 01:02:06 +00:00
@end