summaryrefslogtreecommitdiff
path: root/manuals/guile-sdl2/Mouse.html
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-10-23 07:47:17 -0400
committerDavid Thompson <dthompson2@worcester.edu>2022-10-25 07:24:01 -0400
commit77b393cb58cfd7790e5fa8bbea4186f6786cd24b (patch)
tree65949f91cea8b21cfb7e496e8dc2f79621db146c /manuals/guile-sdl2/Mouse.html
parent078afde332b361226a12151924952c3fe92ee4a9 (diff)
Update guile-sdl2 project for 0.8.0 release.
Diffstat (limited to 'manuals/guile-sdl2/Mouse.html')
-rw-r--r--manuals/guile-sdl2/Mouse.html46
1 files changed, 46 insertions, 0 deletions
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&rsquo;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&rsquo;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>
+