home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / PROG_C / SNIP9404.ZIP / DOANSI.H < prev    next >
Text File  |  1994-04-03  |  1KB  |  34 lines

  1. /*
  2. **  DOANSI.H - Portable ANSI screen code interpreter
  3. **
  4. **  From DRSK_105.LZH (ansi.c), hereby declared free for use for whatever
  5. **  purposes by author: Mark Kimes
  6. */
  7.  
  8. /* set maxx,maxy as desired */
  9. void set_screensize (int reservedlines);
  10.  
  11. /* put character c at x,y using attr as attribute */
  12. void put_char (char c,char attr,int x,int y);
  13.  
  14. /* position hardware cursor at x,y */
  15. void pos_hardcursor (int x,int y);
  16.  
  17. /* turn hardware cursor off */
  18. void hardcursor_off (void);
  19.  
  20. /* turn hardware cursor on at x,y */
  21. void hardcursor_on (int x,int y);
  22.  
  23. /* scroll window tx,ty - bx,by up one line; fill with blank+attr */
  24. void scroll_up (int tx,int ty,int bx,int by,char attr);
  25.  
  26. /* clear the window from tx,ty - bx,by; fill with blank+attr */
  27. void clearwindow (int tx,int ty,int bx,int by,char attr);
  28.  
  29. /* clear line y from col x to eol (ex); fill with blank+attr */
  30. void cleartoeol (int x,int y,int ex,char attr);
  31.  
  32. /* the ansi string interpreter */
  33. int ansi_out (char *buf);
  34.