home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / calculat / rpn30src.zip / HELPS.H < prev    next >
Text File  |  1990-05-25  |  836b  |  36 lines

  1. #ifndef HELPS_H
  2. #define HELPS_H
  3. /*---------------------------------------------------------------------*
  4.  * make_disp stuff
  5.  */
  6. void make_display(
  7.     int left, int top, int right, int bottom);
  8.  
  9. /*---------------------------------------------------------------------*
  10.  * make_help stuff
  11.  */
  12. typedef struct {
  13.     char *text;
  14.     int color;
  15. } help_text;
  16.  
  17. void make_help(const char *, help_text *, const char *signature);
  18.  
  19. /*---------------------------------------------------------------------*/
  20.  
  21. /*** #define PAUSE ***/
  22.  
  23. #ifdef PAUSE
  24. #include <dos.h>
  25.  
  26. #define keypause() {        \
  27.     sound(300); sound(3000); sound(3000); sound(600); nosound();    \
  28.     if (getch() == 'x') return;    \
  29. }
  30. #else
  31. #define keypause()
  32. #endif
  33.  
  34. /*---------------------------------------------------------------------*/
  35. #endif    /* HELPS_H */
  36.