aboutsummaryrefslogtreecommitdiff
path: root/gnu/games/chess/Xchess/scrollText.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/games/chess/Xchess/scrollText.h')
-rw-r--r--gnu/games/chess/Xchess/scrollText.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/games/chess/Xchess/scrollText.h b/gnu/games/chess/Xchess/scrollText.h
new file mode 100644
index 000000000000..d9d05b08dc0b
--- /dev/null
+++ b/gnu/games/chess/Xchess/scrollText.h
@@ -0,0 +1,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 */