This is Minimatrix.h in view mode; [Download] [Up]
#import <appkit/View.h>
@interface Minimatrix:View
{
int numRows;
int numCols;
id backGround;
float backgroundGray;
NXSize elementSize;
NXSize inset;
NXSize intercell;
NXRect insetBounds;
// Holds the id of the current block in a given (row,column)
id *iconMatrix;
}
- initFrame:(const NXRect *)frameRect;
- initFrame:(const NXRect *)frameRect
numRows:(int)rowsHigh numCols:(int)colsWide;
- initFrame:(const NXRect *)frameRect
bitmap:theBitmap numRows:(int)rowsHigh numCols:(int)colsWide;
- bitmapAt:(int)row :(int)column;
- displayAt:(int)row :(int)column;
- drawSelf:(const NXRect *)rects :(int)rectCount;
- getIntercell:(NXSize *)aSize;
- getRect:(NXRect *)theRect for:(int)row :(int)column;
- point:(NXPoint *)thePoint for:(int)row :(int)column;
- setBackgroundGray:(float)gray;
- setBitmap:theBitmap;
- setBitmap:theBitmap at:(int)row :(int)column;
- setElementSize:(const NXSize *)aSize;
- setInset:(const NXSize *)aSize;
- setIntercell:(const NXSize *)aSize;
- free;
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.