This is PenView.h in view mode; [Download] [Up]
// Created summer 1992
// I have to thank Mark for the fast algorithm of life and
// Jan for his support and ideas.
// This code is Freeware !
#import <appkit/View.h>
#define Feld_x 180
#define Feld_y 180
#define Win_x 71
#define Win_y 57
#define Offset_x 45
#define Offset_y 45
@interface PenView : View
{
BOOL running; // Whether we are animating or not.
DPSTimedEntry linesTimedEntry;
id infoPanel;
id Count;
id pencilCursor;
NXPoint hotSpot;
int feld1[Feld_x*Feld_y],feld2[Feld_x*Feld_y],Redraw,ac,counter;
}
/* instance methods */
- free;
- toggleRun:sender;
- animate;
- clearView:sender;
- initFrame:(const NXRect*)framerect;
- drawSelf:(NXRect*)rects:(int) rectCount;
- mouseDown:(NXEvent*)ptr;
- resetCursorRects;
- showInfo:sender;
- open:sender;
- save:sender;
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.