summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLeo Prikler <leo.prikler@student.tugraz.at>2021-06-27 19:23:20 +0200
committerDavid Thompson <dthompson2@worcester.edu>2021-06-30 09:24:14 -0400
commitb8aaa96201a6716b7ad5617c0c2987e5def66cb4 (patch)
tree35cfb2648d1376da76f27003891f64423c9c29ac /doc
parent031605783e630d46b7294d6ac8bfbf5e4884bb82 (diff)
Add support for SDL_SetWindowIcon.
* sdl/bindings.scm (sdl-set-window-icon): New variable. * sdl/video.scm (set-window-icon!): New variable. * doc/api.texi (Windows): Document it.
Diffstat (limited to 'doc')
-rw-r--r--doc/api.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/api.texi b/doc/api.texi
index 8a352a4..204db9e 100644
--- a/doc/api.texi
+++ b/doc/api.texi
@@ -162,6 +162,10 @@ remove the border.
Set the title of @var{window} to the string @var{title}.
@end deffn
+@deffn {Procedure} set-window-icon! window icon
+Set the icon of @var{window} to the surface @var{icon}.
+@end deffn
+
@deffn {Procedure} set-window-position! window x y
Set the position of @var{window} to (@var{x}, @var{y}).
@end deffn