This is FortuneView.h in view mode; [Download] [Up]
#import <appkit/appkit.h> #import "Thinker.h" // this code is copyright Darcy Brockbank, 1993 // // You may freely reuse and distribute this code in any way shape or // form, provided that this notice stays intact. // // darcy@hasc.ca, samurai@cs.mcgill.ca // // If you do improve this thing, send me a copy! // // - darcy @interface FortuneView:View { id fe; int fontNum; int numWords; const char *words; int len; int maxlen; BOOL useColor; unsigned threshold; NXColor currentColor; char * currentWord; const char * const * fontNames; int numFonts; int maxWordLen; int iteration; id font; int gray; float blue; float red; float green; float xpos; float ypos; NXPoint maxCoord; NXSize oldSize; int currentFrame; id sharedInspectorPanel; id speedSlider; id highlightSwitch; int fortuneFile; id databaseMatrix; id databaseTrigger; NXStream * fortuneStream; id appowner; id colorSwitch; char * excluded; id fontWindow; id availableBrowser; } - addFont:sender; - removeFont:sender; - showFonts:sender; - useColor:sender; - doDrawing; - loadWords:(const char *)db; - loadDBList; - newDatabase:sender; - setGray:sender; - setThreshold:sender; - oneStep; - sizeTo:(NXCoord)width :(NXCoord)height; - newViewSize; - (const char *)windowTitle; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.