diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api.texi | 4 | ||||
-rw-r--r-- | doc/chickadee.texi | 7 |
2 files changed, 10 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 diff --git a/doc/chickadee.texi b/doc/chickadee.texi index c6b2f07..a87a346 100644 --- a/doc/chickadee.texi +++ b/doc/chickadee.texi @@ -261,6 +261,13 @@ Make window resizable. Update the game @var{n} times per second. +@item --clear-color=@var{color} +@itemx -c @var{color} + +Set the screen clear color to @var{color}, a hex code in the format +@code{#RRGGBB}. For example, to set the clear color to black, pass +@code{--clear-color=#000000}. + @item --repl Launch a REPL in the terminal. This will allow the game environment |