home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 2 / MECOMP-CD-II.iso / amiga / tools / workbench / fv-220 / pcurses.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-01-08  |  1.3 KB  |  58 lines

  1. /* fv is a binary file editor written by Chris Hooper (cdh@mtu.edu)
  2.  *      on 6-2-91 and has gone through many revisions since then.
  3.  *      Much inspiration was given by Bill Moore, the first real user!
  4.  *   Owner:  CHRISTOPHER D HOOPER
  5.  *
  6.  *   fv source Copyright (c) 1992 - 1998  Chris Hooper
  7.  *
  8.  *   Modification and redistribution is strictly prohibited.
  9.  *   Sale of this software above media cost is prohibited.
  10.  *
  11.  *   Except for above two restrictions, this software may be used for
  12.  *       any purpose, commercial and private.
  13.  *
  14.  *   Disclaimer:  This product is fit for no use, foreign or domestic.
  15.  *                Use implies knowledge you intend to destroy something.
  16.  */
  17.  
  18. #ifndef PRIVATE_CURSES
  19. #define PRIVATE_CURSES
  20.  
  21. #ifdef OS9
  22. #    undef wstandout
  23. #    undef wstandend
  24. #endif
  25.  
  26. #if !defined(Linux) && !defined(__FreeBSD__)
  27. #    define lwaddstr waddstr
  28. #endif
  29.  
  30. #if !defined(Win32)
  31. #    define lwclear    wclear 
  32. #    define lwaddch    waddch
  33. #    define ltouchwin  touchwin
  34. #    define lwstandout wstandout
  35. #    define lwstandend wstandend
  36. #endif
  37.  
  38. /* curses calls which are not declared in curses.h for some unknown reason */
  39. int lwaddstr();
  40. int lwclear();
  41. int lwaddch();
  42. int ltouchwin();
  43.  
  44. int wgetch();
  45. int endwin();
  46. int delwin();
  47. int wmove();
  48. int wrefresh();
  49. int wclrtobot();
  50. int wclrtoeol();
  51.  
  52. #if !defined(Amiga)
  53. int lwstandout();
  54. int lwstandend();
  55. #endif
  56.  
  57. #endif
  58.