home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Graphics / Graphics.zip / xfitsvew.zip / XFITSview / helpbox.h < prev    next >
C/C++ Source or Header  |  1998-04-05  |  2KB  |  50 lines

  1. /* help dialog box header for XFITSview */
  2. /*-----------------------------------------------------------------------
  3. *  Copyright (C) 1998
  4. *  Associated Universities, Inc. Washington DC, USA.
  5. *  This program is free software; you can redistribute it and/or
  6. *  modify it under the terms of the GNU General Public License as
  7. *  published by the Free Software Foundation; either version 2 of
  8. *  the License, or (at your option) any later version.
  9. *
  10. *  This program is distributed in the hope that it will be useful,
  11. *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. *  GNU General Public License for more details.
  14. *-----------------------------------------------------------------------*/
  15. #ifndef HELPBOX_H
  16. #define HELPBOX_H
  17. /* create HelpBox */
  18. /* note: visible must be true if the dialog is to be displayed 
  19.    immediately, otherwise it will be created bu invisible */
  20. void MakeHelpBox (Widget parent, Boolean visible); 
  21.  
  22. /* Help callback on a given topic  */
  23. /* MakeHelpBox must have been called first */
  24. /* clientData is pointer to topic string */
  25. void HelpBoxTopicCB (Widget w, XtPointer clientData, XtPointer callData);
  26.  
  27. /* Displays help on a given topic  */
  28. /* MakeHelpBox must have been called first */
  29. void HelpBoxShowTopic (char* topic);
  30.  
  31. /* Show Help dialog */
  32. /* MakeHelpBox must have been called first */
  33. void HelpBoxShow(void);
  34.  
  35. /* Put help text in display */
  36. /* MakeHelpBox must have been called first */
  37. void HelpBoxSetText (char** text);
  38.  
  39. /* adds topic to end of list */
  40. /* MakeHelpBox must have been called first */
  41. void HelpBoxAddTopic (char* topic);
  42.  
  43. /* delete all topics */
  44. /* MakeHelpBox must have been called first */
  45. void HelpBoxDeleteAllTopics(void);
  46.  
  47. #endif /* end HELPBOX_H */
  48.  
  49.  
  50.