aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2022-12-06 13:06:36 +0000
committerBen Harris <bjh21@bjh21.me.uk>2022-12-06 13:06:36 +0000
commit3e072dff91978e378e39de8cd7410d93689b2f10 (patch)
tree0e8da9f2a9bff45fda59913fe887c9a7253d10ea
parent9afdd4cca4823fa3b27ad2ca2fec33e04d7ab103 (diff)
downloadpuzzles-3e072dff91978e378e39de8cd7410d93689b2f10.zip
puzzles-3e072dff91978e378e39de8cd7410d93689b2f10.tar.gz
puzzles-3e072dff91978e378e39de8cd7410d93689b2f10.tar.bz2
puzzles-3e072dff91978e378e39de8cd7410d93689b2f10.tar.xz
Devel docs: Mention mid-end background clearing
-rw-r--r--devel.but4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel.but b/devel.but
index 4b7988a..5920ca8 100644
--- a/devel.but
+++ b/devel.but
@@ -1438,7 +1438,9 @@ The very first time this function is called for a new
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