This is KenoCardView.h in view mode; [Download] [Up]
#import <appkit/appkit.h> #define KENO_NUMROWS 8 #define KENO_NUMCOLS 10 #define KENO_NUMCELLS 80 #define KENO_NOCELL -1 struct KenoCell { int number; float x; float y; float textX; float textY; char text[3]; BOOL isSelected; NXRect cellRect; }; @interface KenoCardView:View { float cellWidth; float cellHeight; struct KenoCell kcell[80]; id cellNumberFont; } - adjustMatrix; - clearCells; - (int)getCellForPoint:(NXPoint *)mousePoint; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.