summaryrefslogtreecommitdiffstats
path: root/gnu/games/chess/Xchess/scrollText/scrollText.h
blob: d9d05b08dc0bc368bdecab04aeed99ced03a4ecb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * Scrollable Text Window Header File
 *
 * David Harrison
 * University of California,  Berkeley
 * 1986
 *
 * This file contains definitions for a scrollable text window
 * with scroll bar support.
 */

int TxtGrab();
   /* Take hold of a previously created window */

#define TXT_NO_COLOR	-1

int TxtAddFont();
   /* Loads a new font for use later */
int TxtWinP();
   /* Returns non-zero value if the window is text window */
int TxtClear();
   /* Clears text window and resets text buffer */

int TxtWriteStr();
   /* Writes a string to window with immediate update */
int TxtJamStr();
   /* Write a string without causing update to screen */

int TxtRepaint();
   /* Repaints entire scrollable text window */
int TxtFilter();
   /* Handles events related to text window */
OpenPOWER on IntegriCloud