X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2FSDL-Cursor.html-inc;fp=pages%2FSDL-Cursor.html-inc;h=0a4504dc8df5289ca537b48c0665346bf2e2d5f1;hb=bb5f3b83c1a4c2ae8ddb6bbc7782105067175b3c;hp=bb02e7cbaf748a3322432cf339b7c5179006186d;hpb=562d96e63ec01f096da872f9e3c85050e5b74989;p=sdlgit%2FSDL-Site.git diff --git a/pages/SDL-Cursor.html-inc b/pages/SDL-Cursor.html-inc index bb02e7c..0a4504d 100644 --- a/pages/SDL-Cursor.html-inc +++ b/pages/SDL-Cursor.html-inc @@ -7,10 +7,6 @@
  • DESCRIPTION
  • METHODS
  • AUTHOR
  • @@ -51,39 +47,14 @@ white.

    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'.

    -

    warp(cursor,x, y)

    -
    -

    Set the position of the SDL::Cursor given as first parameter . -the new postion is set to <C>x</C>, <C>y</C> coordinates in the application window. -SDL::warp trigger a new mouse motion event. -It doesn't returns anything.

    - -
    -

    use(cursor)

    -
    -

    Set the SDL::Cursor given as first parameter to the active cursor.

    - -
    -

    get()

    -
    -

    When used statically <C>SDL::Cursor::get()</C>, it will return the instance of the current cursor in use. Called as a method, it will return itself.

    -

    This method can be useful if you are dealing with several cursors.

    - -
    -

    show($toggle)

    -
    -

    Set the visibility of the cursor. A false value will make the cursor -invisible in the Application window. A true value will show it back.

    - -

    AUTHOR

    Top

    -

    David J. Goehrig

    +

    David J. Goehrig, Tobias Leich

    SEE ALSO

    Top

    -

    perl SDL::Surface

    +

    perl SDL::Mouse

    \ No newline at end of file