aboutsummaryrefslogtreecommitdiff
path: root/devel.but
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2008-06-10 17:24:09 +0000
committerSimon Tatham <anakin@pobox.com>2008-06-10 17:24:09 +0000
commit2066ddabd64ca9047ccc2c1071b38df14ec14ee0 (patch)
treeb6e2600a953cb66685608ab6e92578895c0ddee8 /devel.but
parent3633fec8ae2178782a59136049c1552c9c331556 (diff)
downloadpuzzles-2066ddabd64ca9047ccc2c1071b38df14ec14ee0.zip
puzzles-2066ddabd64ca9047ccc2c1071b38df14ec14ee0.tar.gz
puzzles-2066ddabd64ca9047ccc2c1071b38df14ec14ee0.tar.bz2
puzzles-2066ddabd64ca9047ccc2c1071b38df14ec14ee0.tar.xz
Just noticed that the return value of midend_process_key() wasn't
documented. [originally from svn r8062]
Diffstat (limited to 'devel.but')
-rw-r--r--devel.but5
1 files changed, 5 insertions, 0 deletions
diff --git a/devel.but b/devel.but
index e481ec6..ea23d52 100644
--- a/devel.but
+++ b/devel.but
@@ -2671,6 +2671,11 @@ Calling this function is very likely to result in calls back to the
front end's drawing API and/or \cw{activate_timer()}
(\k{frontend-activate-timer}).
+The return value from \cw{midend_process_key()} is non-zero, unless
+the effect of the keypress was to request termination of the
+program. A front end should shut down the puzzle in response to a
+zero return.
+
\H{midend-colours} \cw{midend_colours()}
\c float *midend_colours(midend *me, int *ncolours);