defcur(3G)
defcur - defines a cursor glyph
As shipped in IRIX 6.5.15. Unchanged since IRIX 6.5.
NAME defcur - defines a cursor glyph FORTRAN 77 SPECIFICATION subroutine defcur(n, curs) integer*4 n integer*2 curs(*) PARAMETERS n expects the constant you want to assign as a cursor name. By default, an arrow is defined as cursor 0 and cannot be redefined. curs expects the bitmap for the cursor you want to define. The bitmap can be 16x16 or 32x32 and either one or two layers deep. This parameter is ignored for cross-hair cursors. DESCRIPTION defcur defines a cursor glyph with the specified name and bitmap. Call cursty prior to calling defcur to set the type and size of cursor it defines. The name parameter n is used to identify the cursor glyph to other cursor routines. A subsequent call to defcur with the same value of n will replace the current definition of the cursor with the new one. By default, the cursor origin of a bitmap cursor is at (0,0), its lower- left corner, and the cursor origin of a cross-hair cursor is at (15,15), the intersection of its two lines. Use curori to set the cursor origin to somewhere else. The cursor origin is the position controlled by valuators attached to the cursor, and is also the position pick uses for the picking region. SEE ALSO curori, cursty, getcur, getgde, pick, setcur NOTES This routine is available only in immediate mode. Some models do not support two-layer cursor bitmaps. Use the getgde inquiry GDBCUR to determine how many layers are supported.