<li><a href="#SYNOPSIS">SYNOPSIS</a></li>
<li><a href="#DESCRIPTION">DESCRIPTION</a></li>
<li><a href="#METHODS">METHODS</a>
-<ul><li><a href="#new_data_gt_surface_data_mask_gt_sur">new( -data => $surface_data, -mask => $surface_mask, x => $x, y => $y)</a></li>
+<ul><li><a href="#new">new</a></li>
</ul>
</li>
<li><a href="#AUTHOR">AUTHOR</a></li>
</div>
<h1 id="SYNOPSIS">SYNOPSIS</h1><p><a href="#TOP" class="toplink">Top</a></p>
<div id="SYNOPSIS_CONTENT">
-<pre> $cursor = SDL::Cursor->new(
- -data => new SDL::Surface "cursor.png",
- -mask => new SDL::Surface "mask.png",
- -x => 0, -y => 0 );
- $cusor->use;
+<pre> my $cursor = SDL::Cursor->new(
+ SDL::Video::load_BMP("cursor.png"),
+ SDL::Video::load_BMP("mask.png"),
+ 0, 0 );
+ SDL::Mouse::set_cursor($cursor);
</pre>
</div>
<h1 id="DESCRIPTION">DESCRIPTION</h1><p><a href="#TOP" class="toplink">Top</a></p>
<div id="DESCRIPTION_CONTENT">
-<p>the SDL::Cursor module handles mouse cursors, and provide the developer to
+<p>the <code>SDL::Cursor</code> module handles mouse cursors, and provide the developer to
use custom made cursors. Note that the cursors can only be in black and
white.</p>
<div id="METHODS_CONTENT">
</div>
-<h2 id="new_data_gt_surface_data_mask_gt_sur">new( -data => $surface_data, -mask => $surface_mask, x => $x, y => $y)</h2>
-<div id="new_data_gt_surface_data_mask_gt_sur-2">
-<p>Creates a new cursor. The <C>-data</C> and <C>-mask</C> parameters should be both black and white pictures. The height and width of these surfaces should be a multiple of 8. The <C>-x</C> and <C>-y</C> are the coordinates of the cursor 'hot spot'.</p>
+<h2 id="new">new</h2>
+<div id="new_CONTENT">
+<pre> object new( object $data, object $mask, int $x, int $y )
+
+</pre>
+<p>Creates a new cursor. The <code>data</code> and <code>mask</code> parameters should be both black and white pictures. The height and width of these surfaces
+should be a multiple of 8. The <code>x</code> and <code>y</code> are the coordinates of the cursor 'hot spot'.</p>
</div>
<h1 id="AUTHOR">AUTHOR</h1><p><a href="#TOP" class="toplink">Top</a></p>