Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gpr_set_cursor_origin(A) — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gpr_$inq_cursor

GPR_$SET_CURSOR_ORIGIN            GPR Calls             GPR_$SET_CURSOR_ORIGIN


NAME
     gpr_$set_cursor_origin - defines one of the cursor's pixels as the cursor
     origin.

FORMAT
     gpr_$set_cursor_origin (origin, status)

DESCRIPTION
     This routine defines one of the cursor's pixels as the cursor origin.  A
     program uses gpr_$set_cursor_origin to designate one pixel in the cursor
     pattern as the cursor origin.  Thereafter, when the cursor is moved, the
     pixel designated as the cursor origin moves to the screen coordinate
     designated as the cursor position.

   Input Parameters
     origin
          The position of one cursor pixel (the origin) relative to the entire
          cursor, in gpr_$position_t format.  This data type is 4 bytes long.

   Output Parameters
     status
          Completion status, in status_$t format.

SEE ALSO
     gpr_$inq_cursor.

NOTES
     The default cursor origin depends  on  the  default  cursor  size,  which
     depends on the size of the Display Manager's standard font.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026