diff options
author | David Thompson <dthompson2@worcester.edu> | 2022-10-23 07:47:17 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2022-10-25 07:24:01 -0400 |
commit | 77b393cb58cfd7790e5fa8bbea4186f6786cd24b (patch) | |
tree | 65949f91cea8b21cfb7e496e8dc2f79621db146c | |
parent | 078afde332b361226a12151924952c3fe92ee4a9 (diff) |
Update guile-sdl2 project for 0.8.0 release.
-rw-r--r-- | manuals/guile-sdl2/Index.html | 12 | ||||
-rw-r--r-- | manuals/guile-sdl2/Mouse.html | 46 | ||||
-rw-r--r-- | manuals/guile-sdl2/Rendering.html | 9 | ||||
-rw-r--r-- | projects.scm | 3 |
4 files changed, 69 insertions, 1 deletions
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: <a href="Copying-This-Manual.html" accesskey="p" rel="prev">Copying Th <a class="summary-letter" href="#Index_fn_letter-T"><b>T</b></a> +<a class="summary-letter" href="#Index_fn_letter-U"><b>U</b></a> + <a class="summary-letter" href="#Index_fn_letter-W"><b>W</b></a> </td></tr></table> @@ -195,6 +197,7 @@ Previous: <a href="Copying-This-Manual.html" accesskey="p" rel="prev">Copying Th <tr><td colspan="4"> <hr></td></tr> <tr><th id="Index_fn_letter-D">D</th><td></td><td></td></tr> <tr><td></td><td valign="top"><a href="Sound.html#index-delete_002dchunk_0021"><code>delete-chunk!</code></a>:</td><td> </td><td valign="top"><a href="Sound.html">Sound</a></td></tr> +<tr><td></td><td valign="top"><a href="Mouse.html#index-delete_002dcursor_0021"><code>delete-cursor!</code></a>:</td><td> </td><td valign="top"><a href="Mouse.html">Mouse</a></td></tr> <tr><td></td><td valign="top"><a href="Fonts.html#index-delete_002dfont_0021"><code>delete-font!</code></a>:</td><td> </td><td valign="top"><a href="Fonts.html">Fonts</a></td></tr> <tr><td></td><td valign="top"><a href="OpenGL.html#index-delete_002dgl_002dcontext_0021"><code>delete-gl-context!</code></a>:</td><td> </td><td valign="top"><a href="OpenGL.html">OpenGL</a></td></tr> <tr><td></td><td valign="top"><a href="Sound.html#index-delete_002dmusic_0021"><code>delete-music!</code></a>:</td><td> </td><td valign="top"><a href="Sound.html">Sound</a></td></tr> @@ -230,6 +233,7 @@ Previous: <a href="Copying-This-Manual.html" accesskey="p" rel="prev">Copying Th <tr><td></td><td valign="top"><a href="Game-Controllers.html#index-game_002dcontroller_002djoystick"><code>game-controller-joystick</code></a>:</td><td> </td><td valign="top"><a href="Game-Controllers.html">Game Controllers</a></td></tr> <tr><td></td><td valign="top"><a href="Game-Controllers.html#index-game_002dcontroller_002dname"><code>game-controller-name</code></a>:</td><td> </td><td valign="top"><a href="Game-Controllers.html">Game Controllers</a></td></tr> <tr><td></td><td valign="top"><a href="Game-Controllers.html#index-game_002dcontroller_003f"><code>game-controller?</code></a>:</td><td> </td><td valign="top"><a href="Game-Controllers.html">Game Controllers</a></td></tr> +<tr><td></td><td valign="top"><a href="Mouse.html#index-get_002dcursor"><code>get-cursor</code></a>:</td><td> </td><td valign="top"><a href="Mouse.html">Mouse</a></td></tr> <tr><td></td><td valign="top"><a href="Hints.html#index-get_002dhint"><code>get-hint</code></a>:</td><td> </td><td valign="top"><a href="Hints.html">Hints</a></td></tr> <tr><td colspan="4"> <hr></td></tr> <tr><th id="Index_fn_letter-H">H</th><td></td><td></td></tr> @@ -292,6 +296,7 @@ Previous: <a href="Copying-This-Manual.html" accesskey="p" rel="prev">Copying Th <tr><td colspan="4"> <hr></td></tr> <tr><th id="Index_fn_letter-M">M</th><td></td><td></td></tr> <tr><td></td><td valign="top"><a href="Blend-Modes.html#index-make_002dblend_002dmode"><code>make-blend-mode</code></a>:</td><td> </td><td valign="top"><a href="Blend-Modes.html">Blend Modes</a></td></tr> +<tr><td></td><td valign="top"><a href="Mouse.html#index-make_002dcolor_002dcursor"><code>make-color-cursor</code></a>:</td><td> </td><td valign="top"><a href="Mouse.html">Mouse</a></td></tr> <tr><td></td><td valign="top"><a href="Events.html#index-make_002dcontroller_002daxis_002devent"><code>make-controller-axis-event</code></a>:</td><td> </td><td valign="top"><a href="Events.html">Events</a></td></tr> <tr><td></td><td valign="top"><a href="Events.html#index-make_002dcontroller_002dbutton_002devent"><code>make-controller-button-event</code></a>:</td><td> </td><td valign="top"><a href="Events.html">Events</a></td></tr> <tr><td></td><td valign="top"><a href="Events.html#index-make_002dcontroller_002ddevice_002devent"><code>make-controller-device-event</code></a>:</td><td> </td><td valign="top"><a href="Events.html">Events</a></td></tr> @@ -307,6 +312,7 @@ Previous: <a href="Copying-This-Manual.html" accesskey="p" rel="prev">Copying Th <tr><td></td><td valign="top"><a href="Rects.html#index-make_002drect"><code>make-rect</code></a>:</td><td> </td><td valign="top"><a href="Rects.html">Rects</a></td></tr> <tr><td></td><td valign="top"><a href="Rendering.html#index-make_002drenderer"><code>make-renderer</code></a>:</td><td> </td><td valign="top"><a href="Rendering.html">Rendering</a></td></tr> <tr><td></td><td valign="top"><a href="Surfaces.html#index-make_002drgb_002dsurface"><code>make-rgb-surface</code></a>:</td><td> </td><td valign="top"><a href="Surfaces.html">Surfaces</a></td></tr> +<tr><td></td><td valign="top"><a href="Mouse.html#index-make_002dsystem_002dcursor"><code>make-system-cursor</code></a>:</td><td> </td><td valign="top"><a href="Mouse.html">Mouse</a></td></tr> <tr><td></td><td valign="top"><a href="Events.html#index-make_002dtext_002dinput_002devent"><code>make-text-input-event</code></a>:</td><td> </td><td valign="top"><a href="Events.html">Events</a></td></tr> <tr><td></td><td valign="top"><a href="Rendering.html#index-make_002dtexture"><code>make-texture</code></a>:</td><td> </td><td valign="top"><a href="Rendering.html">Rendering</a></td></tr> <tr><td></td><td valign="top"><a href="Windows.html#index-make_002dwindow"><code>make-window</code></a>:</td><td> </td><td valign="top"><a href="Windows.html">Windows</a></td></tr> @@ -412,6 +418,7 @@ Previous: <a href="Copying-This-Manual.html" accesskey="p" rel="prev">Copying Th <tr><td></td><td valign="top"><a href="Basics.html#index-sdl_002dversion"><code>sdl-version</code></a>:</td><td> </td><td valign="top"><a href="Basics.html">Basics</a></td></tr> <tr><td></td><td valign="top"><a href="Sound.html#index-set_002dchannel_002dvolume_0021"><code>set-channel-volume!</code></a>:</td><td> </td><td valign="top"><a href="Sound.html">Sound</a></td></tr> <tr><td></td><td valign="top"><a href="Sound.html#index-set_002dchunk_002dvolume_0021"><code>set-chunk-volume!</code></a>:</td><td> </td><td valign="top"><a href="Sound.html">Sound</a></td></tr> +<tr><td></td><td valign="top"><a href="Mouse.html#index-set_002dcursor_0021"><code>set-cursor!</code></a>:</td><td> </td><td valign="top"><a href="Mouse.html">Mouse</a></td></tr> <tr><td></td><td valign="top"><a href="OpenGL.html#index-set_002dgl_002dattribute_0021"><code>set-gl-attribute!</code></a>:</td><td> </td><td valign="top"><a href="OpenGL.html">OpenGL</a></td></tr> <tr><td></td><td valign="top"><a href="OpenGL.html#index-set_002dgl_002dswap_002dinterval_0021"><code>set-gl-swap-interval!</code></a>:</td><td> </td><td valign="top"><a href="OpenGL.html">OpenGL</a></td></tr> <tr><td></td><td valign="top"><a href="Hints.html#index-set_002dhint_0021"><code>set-hint!</code></a>:</td><td> </td><td valign="top"><a href="Hints.html">Hints</a></td></tr> @@ -460,6 +467,9 @@ Previous: <a href="Copying-This-Manual.html" accesskey="p" rel="prev">Copying Th <tr><td></td><td valign="top"><a href="Fonts.html#index-ttf_002dinit"><code>ttf-init</code></a>:</td><td> </td><td valign="top"><a href="Fonts.html">Fonts</a></td></tr> <tr><td></td><td valign="top"><a href="Fonts.html#index-ttf_002dquit"><code>ttf-quit</code></a>:</td><td> </td><td valign="top"><a href="Fonts.html">Fonts</a></td></tr> <tr><td colspan="4"> <hr></td></tr> +<tr><th id="Index_fn_letter-U">U</th><td></td><td></td></tr> +<tr><td></td><td valign="top"><a href="Rendering.html#index-update_002dtexture"><code>update-texture</code></a>:</td><td> </td><td valign="top"><a href="Rendering.html">Rendering</a></td></tr> +<tr><td colspan="4"> <hr></td></tr> <tr><th id="Index_fn_letter-W">W</th><td></td><td></td></tr> <tr><td></td><td valign="top"><a href="Events.html#index-window_002dclosed_002devent_003f"><code>window-closed-event?</code></a>:</td><td> </td><td valign="top"><a href="Events.html">Events</a></td></tr> <tr><td></td><td valign="top"><a href="Events.html#index-window_002denter_002devent_003f"><code>window-enter-event?</code></a>:</td><td> </td><td valign="top"><a href="Events.html">Events</a></td></tr> @@ -529,6 +539,8 @@ Previous: <a href="Copying-This-Manual.html" accesskey="p" rel="prev">Copying Th <a class="summary-letter" href="#Index_fn_letter-T"><b>T</b></a> +<a class="summary-letter" href="#Index_fn_letter-U"><b>U</b></a> + <a class="summary-letter" href="#Index_fn_letter-W"><b>W</b></a> </td></tr></table> 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: <a href="Joysticks.html" accesskey="n" rel="next">Joysticks</a>, Previous: <dd><p>Return <code>#t</code> if <var>button</var> is not currently being pressed. </p></dd></dl> +<dl> +<dt id="index-make_002dsystem_002dcursor">Procedure: <strong>make-system-cursor</strong> <em>cursor-type</em></dt> +<dd><p>Create a new cursor from the system’s available set, chosen by +<var>cursor-type</var>. The possible values for <var>cursor-type</var> are: +</p> +<ul> +<li> <code>arrow</code> +</li><li> <code>crosshair</code> +</li><li> <code>hand</code> +</li><li> <code>i-beam</code> +</li><li> <code>size-north-south</code> +</li><li> <code>size-northwest-southeast</code> +</li><li> <code>size-northeast-southwest</code> +</li><li> <code>size-west-east</code> +</li><li> <code>size-all</code> +</li><li> <code>no</code> +</li><li> <code>wait</code> +</li><li> <code>wait-arrow</code> +</li></ul> + +</dd></dl> + +<dl> +<dt id="index-make_002dcolor_002dcursor">Procedure: <strong>make-color-cursor</strong> <em>surface hot-x hot-y</em></dt> +<dd><p>Create a new cursor from a surface and the given hotspot coordinates +(<var>hot-x</var>, <var>hot-y</var>). +</p></dd></dl> + +<dl> +<dt id="index-get_002dcursor">Procedure: <strong>get-cursor</strong></dt> +<dd><p>Return the cursor currently in use. The returned cursor object is +internally managed and it’s not necessary to call +<code>delete-cursor!</code> for it. +</p></dd></dl> + +<dl> +<dt id="index-set_002dcursor_0021">Procedure: <strong>set-cursor!</strong> <em>cursor</em></dt> +<dd><p>Set the current cursor to <var>cursor</var>. If <var>cursor</var> is <code>#f</code>, +the system default cursor is restored. +</p></dd></dl> + +<dl> +<dt id="index-delete_002dcursor_0021">Procedure: <strong>delete-cursor!</strong> <em>cursor</em></dt> +<dd><p>Free the memory used by <var>cursor</var>. Be careful! +</p></dd></dl> + 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 @@ -291,6 +291,15 @@ requires that renderer was created with the <code>texture</code> flag. </p></dd></dl> <dl> +<dt id="index-update_002dtexture">Procedure: <strong>update-texture</strong> <em>texture rect pixels pitch</em></dt> +<dd><p>Update the subsection of <var>texture</var> defined by <var>rect</var> with new +pixel data in the <var>pixels</var> bytevector. <var>pitch</var> 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. +</p></dd></dl> + +<dl> <dt id="index-texture_002dcolor_002dmod">Procedure: <strong>texture-color-mod</strong> <em>texture</em></dt> <dd><p>Get color mod of <var>texture</var> as a list of the integers. </p></dd></dl> diff --git a/projects.scm b/projects.scm index 3dd47a7..4abb262 100644 --- a/projects.scm +++ b/projects.scm @@ -116,7 +116,8 @@ following modules:") #:license "GNU LGPLv3+" #:manual? #t #:releases - `(("0.7.0" ,(date 2021 10 07)) + `(("0.8.0" ,(date 2022 10 23)) + ("0.7.0" ,(date 2021 10 07)) ("0.6.0" ,(date 2021 04 13)) ("0.5.0" ,(date 2020 04 07)) ("0.4.0" ,(date 2019 06 02)) |