From 77b393cb58cfd7790e5fa8bbea4186f6786cd24b Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 23 Oct 2022 07:47:17 -0400 Subject: Update guile-sdl2 project for 0.8.0 release. --- manuals/guile-sdl2/Index.html | 12 ++++++++++ manuals/guile-sdl2/Mouse.html | 46 +++++++++++++++++++++++++++++++++++++++ manuals/guile-sdl2/Rendering.html | 9 ++++++++ 3 files changed, 67 insertions(+) (limited to 'manuals/guile-sdl2') diff --git a/manuals/guile-sdl2/Index.html b/manuals/guile-sdl2/Index.html index 0f11458..c827b2a 100644 --- a/manuals/guile-sdl2/Index.html +++ b/manuals/guile-sdl2/Index.html @@ -127,6 +127,8 @@ Previous: T   +U +   W   @@ -195,6 +197,7 @@ Previous: delete-chunk!Sound +delete-cursor!Mouse delete-font!Fonts delete-gl-context!OpenGL delete-music!Sound @@ -230,6 +233,7 @@ Previous: game-controller-joystickGame Controllers game-controller-nameGame Controllers game-controller?Game Controllers +get-cursorMouse get-hintHints
H @@ -292,6 +296,7 @@ Previous: make-blend-modeBlend Modes +make-color-cursorMouse make-controller-axis-eventEvents make-controller-button-eventEvents make-controller-device-eventEvents @@ -307,6 +312,7 @@ Previous: make-rectRects make-rendererRendering make-rgb-surfaceSurfaces +make-system-cursorMouse make-text-input-eventEvents make-textureRendering make-windowWindows @@ -412,6 +418,7 @@ Previous: sdl-versionBasics set-channel-volume!Sound set-chunk-volume!Sound +set-cursor!Mouse set-gl-attribute!OpenGL set-gl-swap-interval!OpenGL set-hint!Hints @@ -460,6 +467,9 @@ Previous: ttf-initFonts ttf-quitFonts
+U +update-textureRendering +
W window-closed-event?Events window-enter-event?Events @@ -529,6 +539,8 @@ Previous: T   +U +   W   diff --git a/manuals/guile-sdl2/Mouse.html b/manuals/guile-sdl2/Mouse.html index 34e8a5c..f8dc136 100644 --- a/manuals/guile-sdl2/Mouse.html +++ b/manuals/guile-sdl2/Mouse.html @@ -111,6 +111,52 @@ Next: , Previous:

Return #t if button is not currently being pressed.

+
+
Procedure: make-system-cursor cursor-type
+

Create a new cursor from the system’s available set, chosen by +cursor-type. The possible values for cursor-type are: +

+
    +
  • arrow +
  • crosshair +
  • hand +
  • i-beam +
  • size-north-south +
  • size-northwest-southeast +
  • size-northeast-southwest +
  • size-west-east +
  • size-all +
  • no +
  • wait +
  • wait-arrow +
+ +
+ +
+
Procedure: make-color-cursor surface hot-x hot-y
+

Create a new cursor from a surface and the given hotspot coordinates +(hot-x, hot-y). +

+ +
+
Procedure: get-cursor
+

Return the cursor currently in use. The returned cursor object is +internally managed and it’s not necessary to call +delete-cursor! for it. +

+ +
+
Procedure: set-cursor! cursor
+

Set the current cursor to cursor. If cursor is #f, +the system default cursor is restored. +

+ +
+
Procedure: delete-cursor! cursor
+

Free the memory used by cursor. Be careful! +

+ diff --git a/manuals/guile-sdl2/Rendering.html b/manuals/guile-sdl2/Rendering.html index 87c0175..1d78865 100644 --- a/manuals/guile-sdl2/Rendering.html +++ b/manuals/guile-sdl2/Rendering.html @@ -290,6 +290,15 @@ requires that renderer was created with the texture flag.

Free the memory used by texture.

+
+
Procedure: update-texture texture rect pixels pitch
+

Update the subsection of texture defined by rect with new +pixel data in the pixels bytevector. pitch represents the +number of bytes in a row of pixel data, including any padding between +rows. This is a fairly slow process: Better to use the lock/unlock +mechanism in streaming textures. +

+
Procedure: texture-color-mod texture

Get color mod of texture as a list of the integers. -- cgit v1.2.3