shithub: puzzles

Download patch

ref: 3e072dff91978e378e39de8cd7410d93689b2f10
parent: 9afdd4cca4823fa3b27ad2ca2fec33e04d7ab103
author: Ben Harris <bjh21@bjh21.me.uk>
date: Tue Dec 6 08:06:36 EST 2022

Devel docs: Mention mid-end background clearing

--- a/devel.but
+++ b/devel.but
@@ -1438,7 +1438,9 @@
 area. Since this often involves drawing visual furniture which is
 never subsequently altered, it is often simplest to arrange this by
 having a special \q{first time} flag in the draw state, and
-resetting it after the first redraw.
+resetting it after the first redraw.  This function can assume that
+the mid-end has filled the drawing area with colour 0 before the first
+call.
 
 When this function (or any subfunction) calls the drawing API, it is
 expected to pass colour indices which were previously defined by the