diff options
author | David Thompson <dthompson2@worcester.edu> | 2022-10-25 20:25:20 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2022-10-25 20:25:44 -0400 |
commit | d64b09771a3987ede912ce62626cb478feb8bd4a (patch) | |
tree | 06d42b30ef4f5ca78e53a986024df0db38359287 /doc/api.texi | |
parent | a7ce7f386de7aff4ebe426004224d3e2c5c5d169 (diff) |
Allow for changing the default clear color in run-game procedure.
Add a matching flag for 'chickadee play', too.
Diffstat (limited to 'doc/api.texi')
-rw-r--r-- | doc/api.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/api.texi b/doc/api.texi index 9d743b4..92d18dc 100644 --- a/doc/api.texi +++ b/doc/api.texi @@ -41,6 +41,7 @@ calling @code{run-game} is already taken care of for you. [#:window-fullscreen? @code{#f}] @ [#:window-resizable? @code{#f}] @ [#:update-hz 60] @ + [#:clear-color] @ [#:load] [#:update] [#:draw] [#:quit] @ [#:key-press] [#:key-release] [#:text-input] @ [#:mouse-press] [#:mouse-release] [#:mouse-move] @ @@ -53,7 +54,8 @@ A new graphical window will be opened with @var{window-width} x @var{window-height} as its dimensions, @var{window-title} as its title, and in fullscreen mode if @var{window-fullscreen?} is @code{#t}. If @var{window-resizable?} is @code{#t} then the window -can be resized by the user. +can be resized by the user. The screen color will be set to +@var{clear-color}, or a pleasant light blue, by default. @itemize @item |