Command: cursor

Syntax

cursor <name>, <file> { ,<mask_file> }

or

cursor <name> = <ident>

Description

Create or redefine a cursor identifier for use during graphic input.

Parameters

Switches

Notes

For monochome images, the bits in the cursor image which are displayed are those corresponding to a 1 in the mask. Consequently, if the image and mask are identical, only the on bits in the cursor image are visible.

Cursor identifiers can have global or application scope, but cannot have local scope. When local cursor identifiers are required, string identifiers should be used to reference the cursor to which the local identifier refers.

Examples

cursor rp, $MXSYS/cursors/right_ptr
cursor rpm, $MXSYS/cursors/right_ptr, \ 
    $MXSYS/cursors/right_ptrmsk, -col=red, -bcol=white
cursor newrp = rp
cursor myhand, hand.gif,-hot=<8,8>

See Also

Identifiers:

scope (atable)

Structures:

cursor