The class "Cursor" has class variables containing the forms for the different 
cursors.
You can change them with 

        Cursor classPool at: #MoveCursor put: cursor.

In general you can set it to any form like this:


        |form cursor|
        form := (Form
        extent: 23@23
        depth: 32
        fromArray: #( 0 0 0 0 0 0 0 ... 0 0)     "the array representing the 
form"
        offset: 0@0).
        
        cursor := Cursor extent: 23@23 depth: 32.
        cursor offset: -12 @ -12.
        cursor bits: form bits.
        Cursor classPool at: #MoveCursor put: cursor.    "the cursor you may 
want to change"
        cursor beCursor


If in Pharo 2.0 just open Tools -> Configuration Browser. There you will find a 
configuration for "Vista Cursor"
which should give you an example.

Have fun
T.

Reply via email to