This is PileOfChips.h in view mode; [Download] [Up]
/* skeleton generated by Interface Builder */
#import <appkit/View.h>
@interface PileOfChips:View
{
#define STEPUP 10.0
#define STARTUP 10.0
#define STARTRIGHT 10.0
#define STEPRIGHT 60.0
#define CLEARANCE 60.0
id chipImageOne; // image to be composited
id myTextField; // field to display number of chips in
id otherPile;
int totalValue; // totalValue in view
int height; // height of view
int width; // width of view
}
- setChips:(int)number;
- takeChipValueFrom:sender;
- testTakeChipValueFrom:sender;
- initFrame:(const NXRect *)frameRect;
- drawSelf:(const NXRect *)rects :(int)rectCount;
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.