from
Chess with "Greedy Edi"
by Wolfgang Garn
Play chess against "Greedy Edi".
|
| displayCursor |
displayCursor
displayCursor Displays the cursor.
Contents
SyntaxdisplayCursor(varargin) Description
The cursors is displayed, whilst the mouse is moving.
Whenever the cursor gets to a new chess field, the cursor data is updated and the cursor patch is redrawn.
Input and *Output:*
- varargin ... currently not used
- global cursor ... cursor structure containing from, to, current, etc.
Example
Assume a chess figure is activated (cursorListener). The cursorListener starts the mouse motion callback, which starts displayCursor.
See also
cursorListener, setCursor, reset_cursor
TODO: get rid of gca
Signature
|
|
Contact us at files@mathworks.com