Code covered by the BSD License  

Highlights from
Chess with "Greedy Edi"

image thumbnail

Chess with "Greedy Edi"

by

 

07 Nov 2009 (Updated )

Play chess against "Greedy Edi".

displayCursor

displayCursor

displayCursor Displays the cursor.

Contents

Syntax

displayCursor(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

  • Copyright 2006 W.Garn

Contact us