Line | |
---|
1 | // |
---|
2 | // PiecesWindowController.h |
---|
3 | // Transmission |
---|
4 | // |
---|
5 | // Created by Livingston on 9/23/06. |
---|
6 | // Copyright 2006 __MyCompanyName__. All rights reserved. |
---|
7 | // |
---|
8 | |
---|
9 | #import <Cocoa/Cocoa.h> |
---|
10 | #import "Torrent.h" |
---|
11 | |
---|
12 | @interface PiecesView : NSObject |
---|
13 | { |
---|
14 | int8_t * fPieces; |
---|
15 | |
---|
16 | NSImage * fBack, * fWhitePiece, * fGreenPiece, |
---|
17 | * fBlue1Piece, * fBlue2Piece, * fBlue3Piece; |
---|
18 | |
---|
19 | Torrent * fTorrent; |
---|
20 | int fNumPieces, fAcross, fWidth, fExtraBorder; |
---|
21 | |
---|
22 | IBOutlet NSImageView * fImageView; |
---|
23 | } |
---|
24 | |
---|
25 | - (void) setTorrent: (Torrent *) torrent; |
---|
26 | - (void) updateView: (BOOL) first; |
---|
27 | |
---|
28 | @end |
---|
Note: See
TracBrowser
for help on using the repository browser.