cursorListener
cursorListener Activate the cursor.
Contents
Syntax
cursorListener(hObject, eventdata, handles)
Description
Each figure calls this function, via the Buttond down Callback.
Inputs:
- hObject ... currently not used
- eventdata ... currently not used
- handles ... currently not used
- global board ... chess board and related information
- global game ... status of the game
Outputs:
- WindowButtonUpFcn ... sets the Callback for the mouse button up function
- WindowButtonMotionFcn ... sets the Callback for the mouse motion function
Example
Set the callback function of the current object to the cursorListener set(gco,'ButtonDownFcn','cursorListener');
See also
setCursor, stopCursor, reset_cursor
Signature