home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Examples / AppKit / BusyBox / Help.h < prev    next >
Text File  |  1990-10-26  |  1KB  |  39 lines

  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. - windowWillResi(Hender toSize:(NXSize *)frameSize;
  37.  
  38. @end
  39.