From b8aaa96201a6716b7ad5617c0c2987e5def66cb4 Mon Sep 17 00:00:00 2001 From: Leo Prikler Date: Sun, 27 Jun 2021 19:23:20 +0200 Subject: 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. --- doc/api.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3