home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / games / chess / Xchess / scrollText.h < prev    next >
Encoding:
Text File  |  1989-10-16  |  782 b   |  33 lines

  1. /*
  2.  * Scrollable Text Window Header File
  3.  *
  4.  * David Harrison
  5.  * University of California,  Berkeley
  6.  * 1986
  7.  *
  8.  * This file contains definitions for a scrollable text window
  9.  * with scroll bar support.
  10.  */
  11.  
  12. int TxtGrab();
  13.    /* Take hold of a previously created window */
  14.  
  15. #define TXT_NO_COLOR    -1
  16.  
  17. int TxtAddFont();
  18.    /* Loads a new font for use later */
  19. int TxtWinP();
  20.    /* Returns non-zero value if the window is text window */
  21. int TxtClear();
  22.    /* Clears text window and resets text buffer */
  23.  
  24. int TxtWriteStr();
  25.    /* Writes a string to window with immediate update */
  26. int TxtJamStr();
  27.    /* Write a string without causing update to screen */
  28.  
  29. int TxtRepaint();
  30.    /* Repaints entire scrollable text window */
  31. int TxtFilter();
  32.    /* Handles events related to text window */
  33.