transmission/macosx/PiecesView.h

29 lines
583 B
C
Raw Normal View History

2006-09-25 18:37:45 +00:00
//
// PiecesWindowController.h
// Transmission
//
// Created by Livingston on 9/23/06.
// Copyright 2006 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "Torrent.h"
@interface PiecesView : NSObject
2006-09-25 18:37:45 +00:00
{
int8_t * fPieces;
NSImage * fBack, * fWhitePiece, * fGreenPiece,
2006-09-25 18:37:45 +00:00
* fBlue1Piece, * fBlue2Piece, * fBlue3Piece;
Torrent * fTorrent;
int fNumPieces, fAcross, fWidth, fExtraBorder;
IBOutlet NSImageView * fImageView;
}
- (void) setTorrent: (Torrent *) torrent;
- (void) updateView: (BOOL) first;
@end