|
|
1.1 root 1:
2: #import <objc/Object.h>
3: #import <appkit/graphics.h>
4: #import <sys/param.h> //for MAXPATHLEN
5:
6: @interface Help:Object
7: {
8: id helpScrollView; /* scrollView to put help text in */
9: id helpBrowser; /* NXBrowser of help topics */
10: id helpPanel; /* the help panel */
11: char helpDirectory[MAXPATHLEN]; /* the directory to find help files */
12: char noHelpFile[MAXPATHLEN]; /* the name of the "no help" file */
13: }
14:
15: /* INIT/FREE METHODS */
16: - init;
17: - setHelpBrowser:anObject;
18:
19: /* TARGET/ACTION METHODS */
20: - generalHelp:sender;
21: - browserHit:sender;
22: - print:sender;
23:
24: /* HELP METHODS */
25: - showHelpFile:(const char*)filename;
26: - helpForWindow:window;
27: - helpForView:view atPoint:(NXPoint *)aPt;
28: - helpForObject:object;
29:
30: /* BROWSER DELEGATE METHODS */
31: - (int)browser:sender fillMatrix:matrix inColumn:(int)column;
32: - browser:sender loadCell:cell atRow:(int)row inColumn:(int)column;
33: - (BOOL)browser:sender selectCell:(const char *)title inColumn:(int)column;
34:
35: /* WINDOW DELEGATE METHODS */
36: - windowWillResize:sender toSize:(NXSize *)frameSize;
37:
38: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.