mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
Use properties instead of ivars (#2453)
This commit is contained in:
@@ -7,23 +7,10 @@
|
||||
#include <libtransmission/transmission.h>
|
||||
|
||||
@interface StatusBarController : NSViewController
|
||||
{
|
||||
IBOutlet NSButton* fStatusButton;
|
||||
IBOutlet NSTextField* fTotalDLField;
|
||||
IBOutlet NSTextField* fTotalULField;
|
||||
IBOutlet NSImageView* fTotalDLImageView;
|
||||
IBOutlet NSImageView* fTotalULImageView;
|
||||
|
||||
tr_session* fLib;
|
||||
|
||||
CGFloat fPreviousDownloadRate;
|
||||
CGFloat fPreviousUploadRate;
|
||||
}
|
||||
|
||||
- (instancetype)initWithLib:(tr_session*)lib;
|
||||
|
||||
- (void)updateWithDownload:(CGFloat)dlRate upload:(CGFloat)ulRate;
|
||||
- (void)setStatusLabel:(id)sender;
|
||||
|
||||
- (void)updateSpeedFieldsToolTips;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user