home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Education Sampler 1992 [NeXTSTEP]
/
Education_1992_Sampler.iso
/
NeXT
/
GnuSource
/
Chess-9
/
Board.h
< prev
next >
Wrap
Text File
|
1992-03-23
|
601b
|
28 lines
@interface Board : Control
{
id square[8][8];
id backBitmap;
void *print_image;
int print_size;
int print_pwide;
int print_phigh;
int print_bps;
int print_ssp;
int print_config;
int print_mask;
}
+ newFrame:(const NXRect *) f;
- slidePieceFrom: (int)r1 : (int)c1 to: (int)r2 : (int)c2;
- drawSelf:(const NXRect *) f :(int)rectCount;
- setupPieces;
- printPSCode: sender;
- (int)typeAt: (int)r : (int)c;
- layoutBoard: (short *)b color: (short *)c;
- highlightSquareAt: (int)r : (int) c;
- flashSquareAt: (int)r : (int) c;
- placePiece: (const char *)p at: (int)r : (int)c;
@end